I'm trying to get it so when the click detector is pressed a part would go red any help?
So, I'm trying to figure out a code to change the color of my part Color1 but it's not working I'm making a game and I take the testing very seriously because without a working game it will get dislikes. And I've trying to make this script for about a day now.
Heres my script:
1 | script.Parent.ClickDetector.MouseClick:connect( function () |
2 | script.Parent.Color 1. BrickColor = BrickColor.Red() |
I know it's not a lot but it's one of the main parts of my game.
Any help will be appreciated.