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 » Scripting Helpers
Home Search
 

Re: Random color picker

Previous Thread :: Next Thread 
FootBa11 is not online. FootBa11
Joined: 16 Sep 2008
Total Posts: 11501
27 Nov 2011 12:01 PM
insted of a set color, please make it pick a color at random.

Bullet.BrickColor=BrickColor.new("Really red")
Report Abuse
citymaster22 is not online. citymaster22
Joined: 10 Jan 2010
Total Posts: 4993
27 Nov 2011 12:04 PM
Why should we?
Since I'm bored here:

num1 = math.random(1,255)
num2 = math.random(1,255)
num3 = math.random(1,255)
Bullet.BrickColor = Color3.new(num1/255, num2/255, num3/255)
Report Abuse
FootBa11 is not online. FootBa11
Joined: 16 Sep 2008
Total Posts: 11501
27 Nov 2011 12:05 PM
isnt there like a color3.new type command?
Report Abuse
citymaster22 is not online. citymaster22
Joined: 10 Jan 2010
Total Posts: 4993
27 Nov 2011 12:06 PM
Hun?
i gave you a script take it and be happy :D
Report Abuse
AeroMcFly is not online. AeroMcFly
Joined: 16 Jul 2008
Total Posts: 546
27 Nov 2011 12:18 PM
Part.BrickColor = BrickColor.new(math.random(),math.random(),math.random())

You can treat BrickColor objects like Color3s. It will translate it into the correct BrickColor
Report Abuse
Pyzothon is not online. Pyzothon
Joined: 26 Oct 2011
Total Posts: 822
27 Nov 2011 12:40 PM
part.BrickColor = BrickColor.random()

Oh, cry me a babbling brook.
Report Abuse
thejoker1997 is not online. thejoker1997
Joined: 19 Aug 2009
Total Posts: 155
27 Nov 2011 01:17 PM
Above wouldn't work.. try this.

Part.BrickColor = BrickColor:random()
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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