Answered by
8 years ago Edited 8 years ago
Astreal is correct, but you have another problem. You're making your changes to the gui in StarterGui.
StarterGui isn't actually what the player is seeing, it is merely a container to store guis, which later get cloned into the PlayerGui. The gui in the PlayerGui is what your players are seeing. They won't see any changes made to the objects in StarterGui until they respawn.
So basically, make your changes to the guis in the PlayerGui. It's hard to give code because I don't know your hierarchy, but it'll be something like this:
1 | script.Parent.MouseButton 1 Click:connect( function () |
2 | script.Parent.Parent.cmds.BackgroundColor 3 = Color 3. fromRGB( 24 , 255 , 62 ) |