script.Parent.Brickcolor = BrickColor.new("Bright green")
✓ ANSWER ACCEPTED
My code to change the brick color of a part doesn't work. Anything im doing wrong?
1 answer
✓ Accepted answer
You need to use BrickColor not Brickcolor
Your script is good. only have this error
Here is fixed:
script.Parent.BrickColor = BrickColor.new("Bright green")
Hope it helped :)
You can see more here in wiki: BrickColor
3 comments
0
It is "BrickColor" he never put Brickcolor
2
The first BrickColor had a lowercase color.
0
thanks it helped alot!
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Brickcolor should be BrickColor. Lua is case sensitive and in the context of ROBLOX, the properties are to be spelt correctly.