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

How to set a GUI TextLabel BackgroundColor3?

This is what I have right now: script.Parent.Parent.Main.Main.BackgroundColor3 = Color3.fromRGB(209, 209, 209)

For some reason, it doesn't work and I have no idea how to fix it.

1 comment

0

you should use waitforchilds if you don't want to try to add a wait(2) to the start of your script, if it still doesn't work tell the errors =/

1 answer

✓ Accepted answer

That code is correct actually, you probably have the wrong code for the "script.Parent.Parent.Main.Main" and you should add WaitForChild's instead because sometimes the script looks for the TextLabel before everything loads in.

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