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 10 days ago
Edited 10 days 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 — 10d
0
cause it is constantly changing Clasterboy -8 — 10d
0
Full script? Golembyte -5 — 10d
0
Do plr.PlayerGui:WaitForChild() SuperSamyGamer 32 — 10d

Answer this question