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: BrickColor random

Previous Thread :: Next Thread 
Vemeric is not online. Vemeric
Joined: 05 Dec 2012
Total Posts: 462
22 Aug 2015 10:56 AM
script.Parent.BrickColor = BrickColor.new(math.random("Really red","Toothpaste","Lime green","New Yeller","Neon orange","Pink"))
For some reason it won't work, Can someone fix it?
Report Abuse
magicalandre13 is not online. magicalandre13
Joined: 21 Jan 2011
Total Posts: 5327
22 Aug 2015 10:59 AM
script.Parent.BrickColor = BrickColor.random()


Green tea is green tea if its just green tea
Report Abuse
AgentL3r is not online. AgentL3r
Joined: 14 Jan 2013
Total Posts: 1671
22 Aug 2015 11:02 AM
script.Parent.BrickColor = BrickColor.random("Really red","Toothpaste","Lime green","New Yeller","Neon orange","Pink")
Report Abuse
Vemeric is not online. Vemeric
Joined: 05 Dec 2012
Total Posts: 462
22 Aug 2015 11:04 AM
Above
i want it so it only picks ONLY the colours like Really red and toothpaste from the script I pasted :)
Report Abuse
ShadyShock is not online. ShadyShock
Joined: 03 Dec 2013
Total Posts: 3372
22 Aug 2015 11:06 AM
broke obc chain
Report Abuse
Vemeric is not online. Vemeric
Joined: 05 Dec 2012
Total Posts: 462
22 Aug 2015 11:06 AM
Above above
It still picks random colours
Report Abuse
ShadyShock is not online. ShadyShock
Joined: 03 Dec 2013
Total Posts: 3372
22 Aug 2015 11:08 AM
you should use @ when typing to people it's easier
Report Abuse
Vemeric is not online. Vemeric
Joined: 05 Dec 2012
Total Posts: 462
22 Aug 2015 11:09 AM
@shady get out pls
Report Abuse
ShadyShock is not online. ShadyShock
Joined: 03 Dec 2013
Total Posts: 3372
22 Aug 2015 11:12 AM
just use while true do and write each color out like:

while true do
workspace.Part.BrickColor = ("Really red")
wait(1)
workspace.Part.BrickColor = ("Black")
end

if nothing else works
Report Abuse
ShadyShock is not online. ShadyShock
Joined: 03 Dec 2013
Total Posts: 3372
22 Aug 2015 11:13 AM
i know i screwed up on that script ^
Report Abuse
lostend is not online. lostend
Joined: 21 Aug 2011
Total Posts: 8265
22 Aug 2015 11:13 AM
How about you get out.

script.Parent.BrickColor = BrickColor.random("Really red","Toothpaste","Lime green","New Yeller","Neon orange","Pink")

local colors={
'Really red','Toothpaste','Lime green','New Yeller','Neon Orange','Pink'
}

math.randomseed(tick())
script.Parent.BrickColor=BrickColor.new(colors[math.random(#colors)])
Report Abuse
Ripepperoni is not online. Ripepperoni
Joined: 04 Jul 2010
Total Posts: 5715
22 Aug 2015 11:14 AM
do this instead

local Colors = {"Really red","Toothpaste","Lime green","New Yeller","Neon orange","Pink"}

script.Parent.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
Report Abuse
ironrobot914 is not online. ironrobot914
Joined: 08 Jan 2010
Total Posts: 183
22 Aug 2015 11:15 AM
local colors = {"Really red","Toothpaste","Lime green","New Yeller","Neon orange","Pink"}

script.Parent.BrickColor = BrickColor.new(colors[math.random(1, #colors)])
Report Abuse
lostend is not online. lostend
Joined: 21 Aug 2011
Total Posts: 8265
22 Aug 2015 11:16 AM
thats exactly what i posted o3o
Report Abuse
ironrobot914 is not online. ironrobot914
Joined: 08 Jan 2010
Total Posts: 183
22 Aug 2015 11:16 AM
that guy above stole my script from the future
Report Abuse
lostend is not online. lostend
Joined: 21 Aug 2011
Total Posts: 8265
22 Aug 2015 11:17 AM
guys guys u only need one argument for math.random

if there is just 1 argument, it automatically starts at 1
Report Abuse
ironrobot914 is not online. ironrobot914
Joined: 08 Jan 2010
Total Posts: 183
22 Aug 2015 11:17 AM
nice to know thanks :^)
Report Abuse
Vemeric is not online. Vemeric
Joined: 05 Dec 2012
Total Posts: 462
22 Aug 2015 11:23 AM
@losten u get out
my post
i cant get out of it LOL
idiot
gtfo
Report Abuse
lostend is not online. lostend
Joined: 21 Aug 2011
Total Posts: 8265
22 Aug 2015 11:39 AM
nice to see dumbasses like you cant see what help means.
Report Abuse
Fribet is not online. Fribet
Joined: 08 Feb 2014
Total Posts: 700
22 Aug 2015 11:41 AM
I don't like this guy, hes kinda mean. I aint helping.
Report Abuse
ironrobot914 is not online. ironrobot914
Joined: 08 Jan 2010
Total Posts: 183
22 Aug 2015 11:43 AM
meanie pants

we come here to help you and then you're absolutely rewd to us
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