Hello there! Do you have an answer? I have a problem! You see? I have a script, and it works... for the most part. But why is the color not changing when the brick collides? It does though change the material so I am confused! Did I mess up?
function onTouched(hit) if hit.Name == "Part" then hit.BrickColor = BrickColor.new("Lily white") hit.Material = "Sand" end end connection = script.Parent.Touched:connect(onTouched)