I want to create a particle effect that has a color sequence with Instance.new(); however, I don't know how to set and write out a color sequence.
COMMUNITY QUESTION
How to Make Color Sequence with Code for Particle Effect?
1 answer
Like So:
local P = Instance.new('ParticleEmitter')
P.Color = ColorSequence.new(Color3.fromRGB(0,0,0), Color3.fromRGB(0,0,0))
Now you can modify how you get the colors like by using BrickColor or HSV up to you.
Hoped this helped
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
http://wiki.roblox.com/index.php?title=API:ColorSequence
wow thanks
You can also print a color sequence to see how they are constructed
Thanks, that'll be useful for NumberSequence assuming they are similar.