script.Parent.MouseButtonClick:connect(function()
script.Parent.BackgroundColor3.new = BrickColor.Red().Color
end)
This is in a local script
script.Parent.MouseButtonClick:connect(function()
script.Parent.BackgroundColor3.new = BrickColor.Red().Color
end)
This is in a local script
This is how you use BrickColor,
brick.BrickColor = BrickColor.new("Really red")
This is a how you use Color3,
script.Parent.BackgroundColor3 = Color3.new(1,0,0)--Red
The event should be MouseButton1Click, or MouseButton2Click
script.Parent.MouseButton1Click:connect(function()
script.Parent.BackgroundColor3 = Color3.new(1,0,0)
end)
Good Luck!
This discussion is preserved as it was. New answers, comments, and votes are closed.