RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"Now make it cycle between blue and red and yellow."
-- put this script under the part you want to cycle colors local part = script.Parent local colors = { Color3.fromRGB(255, 0, 0), Color3.fromRGB(0, 255, 0), Color3.fromRGB(0, 0, 255) } local currentColor = 1 local function cycleColors() part.BrickColor = colors[currentColor] currentColor = currentColor + 1 if currentColor > #colors then currentColor = 1 end end while true do cycleColors() wait(1) end