Answered by
5 years ago Edited 5 years ago
For one color use ColorSequence.new(Color3)
, in your case: ColorSequence.new(Color3.new(0, 200, 0))
Basically for put diferrent colors, you need to create a Keypoint
, ColorSequenceKeypoint.new(Time, Color3)
save it to a variable and on put the ColorSequence load it in a table...
So. the time is limited to 0(Start) and 1(End)
Here a example:
1 | local ParticleEmitter = script.Parent.ParticleEmitter |
2 | local Red = ColorSequenceKeypoint.new( 0 , Color 3. fromRGB( 255 , 0 , 0 )) |
3 | local Blue = ColorSequenceKeypoint.new( 0.5 , Color 3. fromRGB( 0 , 0 , 255 )) |
4 | local EndRed = ColorSequenceKeypoint.new( 1 , Color 3. fromRGB( 255 , 0 , 0 )) |
5 | ParticleEmitter.Color = ColorSequence.new( { Red, Blue, EndRed } ) |
Wiki pages:
ColorSequence
ColorSequenceKeypoint
Hope it helped :)