I am making a game that has a button you click, in a part called "button" and it would change the color to the brick called "rm1" to be bright red. If the button is clicked again "rm1" changes back to the original color of bright green.
I would really like the script for this, if there is one.
Thanks!

4 comments
What have you tried so far?
So far I got it to turn red, but I cannot get it back to green. When the "button" brick changes colors I want the "rm1" brick to change to the same color this is the code I used function onClicked(playerWhoClicked) script.Parent.BrickColor = BrickColor.Red() end script.Parent.ClickDetector.MouseClick:connect(onClicked)
Mainly the one roblox exampled
This is an easy script to make. However, scripting helpers is not a request site. You have to have some kind of script that you tried and failed with. You cannot just simply ask for a script.