local deb = false
local isBlue = true
local brick = script.Parent
brick.Touched:connect(function(hit)
if not deb then
deb = true
brick.BrickColor = isBlue and BrickColor.new("Bright red") or BrickColor.new("Bright blue")
isBlue = not isBlue
wait(1)
deb = false
end
end) |