my script
1 | local part = script.Parent |
2 |
3 | part.Touched:Connect( function () |
4 |
5 | part.BrickColor = "Cyan" |
6 |
7 | end ) |
1 | part.BrickColor = = "Cyan" |
What you gave was a string, it expects for you to give it a BrickColor to fix this script you should change it to
1 | part.BrickColor = = BrickColor.new( "Cyan" ) |