Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Why is the script not changing TextLabel's TextColor3?

A have a script and a GUI. Inside the GUI is 'Status2' and with my script I am trying to change the TextLabel's (Status2) TextColor3 to orange. When I play the game, the TextLabel's TextColor3 is not changed and I do not get any error.

The script (inside Workspace):

game.StarterGui:WaitForChild("Status").Status2.TextColor3 = Color3.new(255/255, 176/255, 0/255)

1 answer

✓ Accepted answer

Children of StarterGui is actually not what a player sees on their screen. StarterGui's children get cloned and parented under the newly joined player's PlayerGui, a special instance that actually shows what the player is seeing on their screen currently.

1 comment

0

Thanks for the answer

This discussion is preserved as it was. New answers, comments, and votes are closed.