generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Is there a way to change Start/color of a ParticleEmitter?

Previous Thread :: Next Thread 
DesignerDavid is not online. DesignerDavid
Joined: 18 Feb 2014
Total Posts: 8422
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
filiptibellrpg is not online. filiptibellrpg
Joined: 10 Jul 2013
Total Posts: 4
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
DesignerDavid is not online. DesignerDavid
Joined: 18 Feb 2014
Total Posts: 8422
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
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
23 Jun 2015 07:39 PM
no just use the example they give u lol
Report Abuse
filiptibell is not online. filiptibell
Joined: 10 Mar 2013
Total Posts: 2362
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
DesignerDavid is not online. DesignerDavid
Joined: 18 Feb 2014
Total Posts: 8422
23 Jun 2015 07:51 PM
Please?
Report Abuse
DesignerDavid is not online. DesignerDavid
Joined: 18 Feb 2014
Total Posts: 8422
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
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
23 Jun 2015 08:11 PM
you need brickcolor.new
Report Abuse
CloneTrooper1019 is not online. CloneTrooper1019
Joined: 19 Jan 2009
Total Posts: 6227
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
DesignerDavid is not online. DesignerDavid
Joined: 18 Feb 2014
Total Posts: 8422
23 Jun 2015 08:17 PM
@CloneTrooper1019 it sorta works.

Instead of Pink it inserts Grey.
Report Abuse
CloneTrooper1019 is not online. CloneTrooper1019
Joined: 19 Jan 2009
Total Posts: 6227
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
MKofOrbiter is not online. MKofOrbiter
Joined: 28 Aug 2010
Total Posts: 910
23 Jun 2015 08:19 PM
/\ This guy made a cool game


The Stalker
Report Abuse
CloneTrooper1019 is not online. CloneTrooper1019
Joined: 19 Jan 2009
Total Posts: 6227
23 Jun 2015 08:20 PM
P.S. The Stalker: Reborn (or The Stalker 2) is coming ;)
Report Abuse
DesignerDavid is not online. DesignerDavid
Joined: 18 Feb 2014
Total Posts: 8422
23 Jun 2015 08:26 PM
@CloneTrooper1019 oh whoops, I also keep forgetting that too xD

Thanks @CloneTrooper1019.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image