Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Color Property of Particle Emmitters?

What is the colour property of Particle Emmitters?

.Color? .Start? .End?

2 answers

✓ Accepted answer

The ParticleEmitter uses ColorSequence:

Wiki Link

ParticleEmitter.Color  = ColorSequence.new(color1,color2)
-- or for one Color, use this
ParticleEmitter.Color = ColorSequence.new(color1)

color1 and color2 can be returned as a Color3 Value. Color3.new is not required. If you want to use a BrickColor, do the following,

local BrickColor = game.Workspace.Part.BrickColor -- basically put any brickColor value here
local Color3 = BrickColor.Color-- Using The Color Property of BrickColor, we can get the Color3 value of BrickColor 
ParticleEmitter.Color = ColorSequence.new(Color3)

4 comments

0

Sorry, didn't see your answer while typing mine.

0

Can't get it to work.

0

I sent you a PM.

0

Actually got it to work, Thanks alot for your help!!!

The Color property of ParticleEmitters takes a ColorSequence value. ColorSequence takes up to two Color3 values and can be used to fade between one colour to another in ParticleEmitters.

If you only want to use 1 Color3 argument, do this:

ColorSequence.new(Color3.new(1,1,1)) --Makes a new ColorSequence, the color white is both the start and end color.

For 2 Color3 arguments, do this:

ColorSequence.new(Color3.new(1,1,1),Color3.new(0,0,0)) --Makes a new ColorSequence, white as the start color and black as the end color.

I hope my answer helped you. If it did, be sure to accept it.

1 comment

0

Cannot get it to work

This discussion is preserved as it was. New answers, comments, and votes are closed.