xxxxxxxxxx
-- Changes the color of loopingPart every few seconds
-- Create a variable to store the part
local loopingPart = script.Parent
-- Looping Code
while true do
-- Changes loopingPart's color
loopingPart.BrickColor = BrickColor.new(0.7, 0.9, 0.9)
-- Wait 3 seconds before next instruction
wait(3)
loopingPart.BrickColor = BrickColor.new(0.9, 0.4, 0.9)
wait(3)
loopingPart.BrickColor = BrickColor.new(0.4, 0.5, 0.4)
wait(3)
end