Creating a color changing particle emitter

I want to create rainbow particles coming out of a particle emitter and I think it has something to do with a color sequence because I can’t use a color3.HSV for it
“Unable to assign property Color. ColorSequence expected, got Color3”
Any help is appreciated!

Code:

local emitter = script.Parent
local hue = 0.01

emitter.Enabled = false

while true do
	emitter.Color = Color3.fromHSV(hue,1,1) -- part I want to figure out
	if hue < 1 then
		hue += 0.01
	else
		hue = 0.01
	end
	wait(0.05)
end
1 Like

ColorSequence.new() is the way, search it up on google, there are many post about it

1 Like
1 Like

This has already been referenced in the post below:

1 Like

would this make the the particles change color constantly like in a rainbow order?

1 Like

Try it and you will see, it is always good to try

1 Like

ooh you can put a color3 in a color sequence huh

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.