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 |
|
|
|
| 22 Aug 2015 10:59 AM |
script.Parent.BrickColor = BrickColor.random()
Green tea is green tea if its just green tea |
|
|
| Report Abuse |
|
|
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
|
  |
| 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 |
|
|
| |
|
Vemeric
|
  |
| Joined: 05 Dec 2012 |
| Total Posts: 462 |
|
|
| 22 Aug 2015 11:06 AM |
Above above It still picks random colours |
|
|
| Report Abuse |
|
|
|
| 22 Aug 2015 11:08 AM |
| you should use @ when typing to people it's easier |
|
|
| Report Abuse |
|
|
Vemeric
|
  |
| Joined: 05 Dec 2012 |
| Total Posts: 462 |
|
| |
|
|
| 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 |
|
|
|
| 22 Aug 2015 11:13 AM |
| i know i screwed up on that script ^ |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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 |
|
|
|
| 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
|
  |
| Joined: 21 Aug 2011 |
| Total Posts: 8265 |
|
|
| 22 Aug 2015 11:16 AM |
| thats exactly what i posted o3o |
|
|
| Report Abuse |
|
|
|
| 22 Aug 2015 11:16 AM |
| that guy above stole my script from the future |
|
|
| Report Abuse |
|
|
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 |
|
|
| |
|
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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 22 Aug 2015 11:43 AM |
meanie pants
we come here to help you and then you're absolutely rewd to us |
|
|
| Report Abuse |
|
|