Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How to Make Color Sequence with Code for Particle Effect?

Asked by
Pyracel 55
6 years ago

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.

0
wow thanks Pyracel 55 — 6y
0
You can also print a color sequence to see how they are constructed Griffi0n 315 — 6y
0
Thanks, that'll be useful for NumberSequence assuming they are similar. Pyracel 55 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

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

Ad

Answer this question