Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
0

Problems changing Text Label Text?

Asked by 3 months ago
Edited 3 months ago

Ok... I'm changing the value of a text label using a regular script, and this is the output:

18:55:35.376 - Workspace.Scripts.Chat.StarterIsland.Script:16: attempt to index field 'TextLabel' (a string value)

What i technically typed was :

game.Players.PlayerAdded:Connect(function(plr)
    local gui = plr.PlayerGui.ScreenGui.Frame -- or whatever
    gui.TextLabel.Text = "Hiya"
    wait(2)
    gui.TextLabel.Text = "I SAID HIYA"
end)

Ples help lol

0
why don't you just change it in the properties windows? MasterToothBrush 0 — 3mo
0
cause it is constantly changing Clasterboy 15 — 3mo
0
Full script? Golembyte -5 — 3mo
0
Do plr.PlayerGui:WaitForChild() SuperSamyGamer 311 — 3mo

Answer this question