Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

How do you change the Background color of a Gui Button, box, or label?

Asked by 10 years ago

I am making a Gui where you can manage a server, the only problem is it won't know if a player is being kicked or removed or banned, so what I am trying to make the script do is change the background color to what I want it to be, I will show you the scripting code I can't seem to make work.

    script.Parent.BackgroundColor3=BackgroundColor3.new(255,255,255) --As you can see the BackgroundColor3 is what I don't know how it is said in code.

Please help me out with this.

1
Color3.new(1, 1, 1), not BackgroundColor3.new. Also, it's out of 1, not 255, but you can make a function to divide the values by 255. GoldenPhysics 474 — 10y

Answer this question