Can someone help me with making this code shorter to change the RGB of a part? Here's the code:
local part = script.Parent
while true do
part.Color = Color3.fromRGB(0, 45, 255)
wait(2)
part.Color = Color3.fromRGB(213, 231, 0)
wait(3)
part.Color = Color3.fromRGB(12, 43, 123)
wait(2)
end
Does someone have any suggestions?

1 comment
I don't think you can shorten this code any more since there are different wait periods and color combinations, and this seems pretty short already.