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 » Roblox » All Things ROBLOX
Home Search
 

Re: Math.random

Previous Thread :: Next Thread 
puppy432 is not online. puppy432
Joined: 20 Jan 2011
Total Posts: 88
01 Nov 2013 01:42 PM
Im trying to generate a random color in studio doing this:
script.Parent.BrickColor = BrickColor.new(math.random())

But it won't work how do I make it so I can use brickcolor.new with
math.random so I don't have to use color3?
Report Abuse
Wesker6543 is not online. Wesker6543
Joined: 09 Jan 2011
Total Posts: 17125
01 Nov 2013 01:42 PM
Lol, maybe..

✯7 Minutes, 7 Minutes is all I can spare to play with you .✯
Report Abuse
TooLame is not online. TooLame
Joined: 25 Oct 2013
Total Posts: 1329
01 Nov 2013 01:42 PM
Try asking this at Scripting Helpers.
Report Abuse
akosbenjamin is not online. akosbenjamin
Joined: 01 Aug 2012
Total Posts: 487
01 Nov 2013 01:44 PM
I guess it's BrickColor.random

Report Abuse
TooLame is not online. TooLame
Joined: 25 Oct 2013
Total Posts: 1329
01 Nov 2013 01:44 PM
script.Parent.BrickColor = BrickColor.Random()
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Roblox » All Things ROBLOX
   
 
   
  • 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