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

4 comments

0

why don't you just change it in the properties windows?

0

cause it is constantly changing

0

Full script?

0

Do plr.PlayerGui:WaitForChild()