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: This little script aint workin so well..

Previous Thread :: Next Thread 
zachattack220 is not online. zachattack220
Joined: 20 Jan 2013
Total Posts: 2196
05 Sep 2015 07:08 PM
while true do
wait(0.1)
script.Parent.ParticleEmitter.Color=BrickColor.Random()
end



-zachattack220
Report Abuse
Sypr is not online. Sypr
Joined: 14 Feb 2013
Total Posts: 556
05 Sep 2015 07:10 PM
=BrickColor.New(math.rad,math.rad,math.rad)
Report Abuse
zachattack220 is not online. zachattack220
Joined: 20 Jan 2013
Total Posts: 2196
05 Sep 2015 07:13 PM
@Sypr

I did what you said but it dosnt work...

while true do
wait(0.1)
script.Parent.ParticleEmitter.Color=BrickColor.New(math.rad,math.rad,math.rad)
end



-zachattack220
Report Abuse
RoflBread is not online. RoflBread
Joined: 18 Jun 2009
Total Posts: 3803
05 Sep 2015 07:14 PM
ParticleEmitters take ColorSequences, not BrickColors or Color3s, apparently. You could do this though:

function RandomColSq(transition)
if transition then
return ColorSequence.new(BrickColor.Random().Color,BrickColor.Random().Color)
else
return ColorSequence.new(BrickColor.Random().Color)
end
end

while true do
wait(0.1)
script.Parent.ParticleEmitter.Color=RandomColSq(false)
-- set it true if you want it to tween between 2 colours, I think.
end
Report Abuse
zachattack220 is not online. zachattack220
Joined: 20 Jan 2013
Total Posts: 2196
05 Sep 2015 07:20 PM
@RoflBread

I dont believe that worked..:/
Thanks though :)



-zachattack220
Report Abuse
zachattack220 is not online. zachattack220
Joined: 20 Jan 2013
Total Posts: 2196
05 Sep 2015 07:23 PM
@RoflBread

Because there are Start and End colors as well..



-zachattack220
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