local block = script.Parent function changeColor() block.BrickColor = BrickColor.Random() end block.Touched:Connect(changeColor)