xXLiLxJXx
|
  |
| Joined: 15 Mar 2012 |
| Total Posts: 687 |
|
|
| 07 Jul 2014 07:19 PM |
I got this so far, but how can I make the color changing random?
colors = "Really red", "Really black", "Lime green", "Institutional white"
while wait() do for x = 1,57 do script.Parent.Parent[tostring(x)].BrickColor = BrickColor.new("Really red") end end |
|
|
| Report Abuse |
|
|
xXLiLxJXx
|
  |
| Joined: 15 Mar 2012 |
| Total Posts: 687 |
|
|
| 07 Jul 2014 07:59 PM |
| 20 views as of now, no really knows? D: |
|
|
| Report Abuse |
|
|
Vuva
|
  |
| Joined: 22 Jan 2010 |
| Total Posts: 1102 |
|
|
| 07 Jul 2014 08:00 PM |
colors ={"Really red", "Really black", "Lime green", "Institutional white"}--You forgot brackets
while true do --You want the wait() inside of the for loop to make all the colors changes noticeable for x = 1,57 do script.Parent.Parent[tostring(x)].BrickColor = colors[math.random(1,#colors)]--accessing a random element in the table. wait() end end |
|
|
| Report Abuse |
|
|