My super basic color change script wont work

So here it is


it becomes 0.5 transparent but the color no

2 Likes

So, when you set the variable “color” as p.BrickColor you’re setting it to the current color of that brick. If you want this to work, when you set the color, replace “color” with p.BrickColor. If that makes sense.

2 Likes

Still wont work. (i have tried this already)

1 Like

I recommend you use Color3 to change colors anyway.
Try something like this.

2 Likes

Properties and BrickColor (roblox.com)
read this article, it shows you how to do it

3 Likes

Thanks for everyone’s replies!

1 Like

No Problem! It’s my pleasure to help you

a.BrickColor = p.BrickColor
Or the other way round, depending on which part you want to change the color of.

1 Like