while true do wait(1) print("working") for i,v in pairs(script.Parent:GetChildren()) do wait() if v:IsA("Part") then print("still working") if v.BrickColor == BrickColor.new("Really blue") then v.BrickColor = BrickColor.new("Really red") print("red") elseif v.BrickColor == BrickColor.new("Really red") then v.BrickColor = BrickColor.new("Lime green") print("green") elseif v.BrickColor == BrickColor.new("Lime green") then v.BrickColor = BrickColor.new("Really blue") print("blue") if v.BrickColor == BrickColor.new("Really red") then v.BrickColor = BrickColor.new("Lime green") print("green") elseif v.BrickColor == BrickColor.new("Lime green") then v.BrickColor = BrickColor.new("Really blue") print("blue") elseif v.BrickColor == BrickColor.new("Really blue") then v.BrickColor = BrickColor.new("Really red") print("red") if v.BrickColor == BrickColor.new("Lime green") then v.BrickColor = BrickColor.new("Really blue") print("blue") elseif v.BrickColor == BrickColor.new("Really blue") then v.BrickColor = BrickColor.new("Really red") print("red") elseif v.BrickColor == BrickColor.new("Really red") then v.BrickColor = BrickColor.new("Lime green") print("green") end end end end end end
output blue red green meaning they all turn green