ok how do I change the start and end rgb values of a particleEmitter?
01 | function onButtonClicked() |
02 | if game.Workspace.STAGELIGHTS.BlueStageLights.Center.PointLight.Enabled = = false then |
03 | game.Workspace.STAGELIGHTS.BlueStageLights.Center.PointLight.Enabled = true |
04 | game.Workspace.STAGELIGHTS.BlueStageLights.Left.PointLight.Enabled = true |
05 | game.Workspace.STAGELIGHTS.BlueStageLights.Right.PointLight.Enabled = true |
06 | game.Workspace.CrowdParticles.One.ParticleEmitter.Color = ColorSequence.new(Color 3. new( 255 / 255 , 255 / 255 , 0 ), Color 3. new( 0 , 255 / 255 , 255 / 255 )) |
07 |
08 | --Particles |
09 |
10 | [[ |
11 | game.Workspace.CrowdParticles.Two.ParticleEmitter.Color.Start |
12 | game.Workspace.CrowdParticles.Three.ParticleEmitter.Color.Start |
13 | game.Workspace.CrowdParticles.Four.ParticleEmitter.Color.Start |
14 | game.Workspace.CrowdParticles.Five.ParticleEmitter.Color.Start |
15 | game.Workspace.CrowdParticles.Six.ParticleEmitter.Color.Start |
01 | function onButtonClicked() |
02 | if game.Workspace.STAGELIGHTS.BlueStageLights.Center.PointLight.Enabled = = false then |
03 | game.Workspace.STAGELIGHTS.BlueStageLights.Center.PointLight.Enabled = true |
04 | game.Workspace.STAGELIGHTS.BlueStageLights.Left.PointLight.Enabled = true |
05 | game.Workspace.STAGELIGHTS.BlueStageLights.Right.PointLight.Enabled = true |
06 | game.Workspace.CrowdParticles.One.ParticleEmitter.Color = ColorSequence.new(Color 3. new( 255 / 255 , 255 / 255 , 0 ), Color 3. new( 0 , 255 / 255 , 255 / 255 )) |
07 |
08 | --Particles |
09 |
10 | --[[ |
11 | game.Workspace.CrowdParticles.Two.ParticleEmitter.Color.Start |
12 | game.Workspace.CrowdParticles.Three.ParticleEmitter.Color.Start |
13 | game.Workspace.CrowdParticles.Four.ParticleEmitter.Color.Start |
14 | game.Workspace.CrowdParticles.Five.ParticleEmitter.Color.Start |
15 | game.Workspace.CrowdParticles.Six.ParticleEmitter.Color.Start |
1 | script.Parent.ParticleEmitter.Color = ColorSequence.new(Color 3. new( 0 / 255 , 0 / 255 , 0 / 255 ), Color 3. new( 0 / 255 , 0 / 255 , 0 / 255 )) |
The First Color3 is StartColour and the Second Color3 is EndColour. :)
1 | function onButtonClicked() |
2 | if game.Workspace.STAGELIGHTS.BlueStageLights.Center.PointLight.Enabled = = false then |
3 | game.Workspace.STAGELIGHTS.BlueStageLights.Center.PointLight.Enabled = true |
4 | game.Workspace.STAGELIGHTS.BlueStageLights.Left.PointLight.Enabled = true |
5 | game.Workspace.STAGELIGHTS.BlueStageLights.Right.PointLight.Enabled = true |
6 | --Particles |
7 | game.Workspace.CrowdParticles.One.ParticleEmitter.Color.Start.Color 3 = Color 3. new( 255 / 255 , 255 / 255 , 0 ) |
8 | game.Workspace.CrowdParticles.One.ParticleEmitter.Color.End.Color 3 = Color 3. new( 0 , 255 / 255 , 255 / 255 ) |
I usually make color changing s cripts and I've always used Color3, However I've never come against (Number/Number, Number/Number), I think your porblems lies there, I read through all the pages in the wiki and yet again never once did I come up against (Number/Number, Number/Number) Try doing this
1 | ( 255 , 255 , 255 ) |