local l=speed/60 while true do for w=1,20,1 do color=Color3.new(color.r+.05,0,color.b-.05)particle.Color=ColorSequence.new(color)wait(l)end for w=1,20,1 do color=Color3.new(color.r-.05,color.g+.05,0)particle.Color=ColorSequence.new(color)wait(l)end for w=1,20,1 do color=Color3.new(0,color.g-.05,color.b+.05)particle.Color=ColorSequence.new(color)wait(l)end end
--NOTE: speed may be slower than you want due to server lag
local waittime = speed / 60

while true do
	for x = 1, 20 do
		color = Color3.new(color.r + 0.05, 0, color.b - 0.05)
		particle.Color = ColorSequence.new(color)
		wait(waittime)
	end
	for x = 1, 20 do
		color = Color3.new(color.r - 0.05, color.g + 0.05, 0)
		particle.Color = ColorSequence.new(color)
		wait(waittime)
	end
	for x = 1, 20 do
		color = Color3.new(0, color.g - 0.05, color.b + 0.05)
		particle.Color = ColorSequence.new(color)
		wait(waittime)
	end
end
