I want a script so say BlockA is Green and BlockB is Blue, BlockB then touches BlockA, BlockA turns blue.
function onTouched(hit) if hit.Name == "BlockB" then script.Parent.BrickColor = BrickColor.Blue() end end script.Parent.Touched:connect(onTouched)