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.
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.
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.
1 comment
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 =/