I need to know how to make a script that can (for example) change the colour of a brick so that it will continuously cycle through the colours of the rainbow.
I'm not on about a script like this:
while true do
script.Parent.BrickColor = BrickColor.new("Really red")
wait(0.1)
script.Parent.BrickColor = BrickColor.new("New yeller")
-- etc...
I need a more in-depth script that possibly uses the Color3 property to smoothly cycle through the different hues on the spectrum of light. I've seen it done before somewhere so I know that its' possible, I just can't think of the math or wrap my head around how I would do it.
Any help would be appreciated.

3 comments
try
:Lerp()Why? He wants a ColorSequence, probably for a trail or whatever else needs ColorSequences
A ColorSequence would be beneficial but I don't think you can have ColorSequences when using Parts? (Unless I'm mistaken)