I have this but how would I make it so once the player isn't touching the brick I could make it reset back to its original color?
function onTouched(hit)
script.Parent.BrickColor = BrickColor.new("Really red")
end
script.Parent.Touched:connect(onTouched)

1 comment
What function would I have to use?