|
| 23 Jun 2015 07:16 PM |
I've tried multiple ways, and non of them worked.
Attempt 1: game.Workspace.Part.ParticleEmitter.Color = BrickColor.new("Hot Pink")
Attempt 2: game.Workspace.Part.ParticleEmitter.Color.Start = BrickColor.new("Hot Pink")
Attempt 3: game.Workspace.Part.ParticleEmitter.Color.Start.Color = BrickColor.new("Hot Pink")
Attempt 4: game.Workspace.Part.ParticleEmitter.Color.BrickColor = BrickColor.new("Hot Pink")
Can someone help me out here? I'm desperately needed to know please. |
|
|
| Report Abuse |
|
|
|
| 23 Jun 2015 07:22 PM |
This property is not a BrickColor. It's something called a ColorSequence:
http://wiki.roblox.com/index.php?title=API:ColorSequence
~The herp lerped a derp~ |
|
|
| Report Abuse |
|
|
|
| 23 Jun 2015 07:26 PM |
Perhaps give me an example of using it? That'll be helpful :)
Theres already an example but can you do it in a different way? |
|
|
| Report Abuse |
|
|
|
| 23 Jun 2015 07:39 PM |
| no just use the example they give u lol |
|
|
| Report Abuse |
|
|
|
| 23 Jun 2015 07:40 PM |
local Color1 = BrickColor.new("Hot pink").Color local Color2 = BrickColor.new("Hot pink").Color
game.Workspace.Part.ParticleEmitter.Color = ColorSequence.new(Color1, Color2)
~The herp lerped a derp~ |
|
|
| Report Abuse |
|
|
| |
|
|
| 23 Jun 2015 08:11 PM |
I tried using the example from the and converting it into my own script, but it doesn't work.
local Pink = ("Hot Pink") local White = ("White")
game.Workspace.Part.ParticleEmitter.Color = ColorSequence.new(Pink,White) |
|
|
| Report Abuse |
|
|
| |
|
|
| 23 Jun 2015 08:12 PM |
Of course that doesnt work. You only inputted strings lol.
local Pink = BrickColor.new("Hot Pink").Color local White = BrickColor.new("White").Color
game.Workspace.Part.ParticleEmitter.Color = ColorSequence.new(Pink,White) |
|
|
| Report Abuse |
|
|
|
| 23 Jun 2015 08:17 PM |
@CloneTrooper1019 it sorta works.
Instead of Pink it inserts Grey. |
|
|
| Report Abuse |
|
|
|
| 23 Jun 2015 08:18 PM |
Oh, its actually should be "Hot pink" not "Hot Pink" The BrickColor names are case sensitive. If you input an unknown name it will just return Medium stone grey.
|
|
|
| Report Abuse |
|
|
|
| 23 Jun 2015 08:19 PM |
/\ This guy made a cool game
The Stalker |
|
|
| Report Abuse |
|
|
|
| 23 Jun 2015 08:20 PM |
| P.S. The Stalker: Reborn (or The Stalker 2) is coming ;) |
|
|
| Report Abuse |
|
|
|
| 23 Jun 2015 08:26 PM |
@CloneTrooper1019 oh whoops, I also keep forgetting that too xD
Thanks @CloneTrooper1019. |
|
|
| Report Abuse |
|
|