I put a script into a gui so when you click it, the gui turns red. The problem is it instead turns white, what have I done wrong?
gui=script.Parent
function clicked()
gui.BackgroundColor3=Color3.new(255, 38, 96)
end
script.Parent.MouseButton1Click:connect(clicked)

3 comments
What is with the down votes? It's a perfectly good answer.
No idea. There now at least it's not negative.
Thanks. I've had this for quite a few days now.