|
| 28 Jul 2012 05:30 PM |
Rainbow/Disco.
Using: while wait() do game.Workspace.Part.BrickColor = BrickColor.random() end
Using GetChildren()? |
|
|
| Report Abuse |
|
|
|
| 28 Jul 2012 05:31 PM |
put in model
for k, v in pairs(script.Parent:GetChildren()) do if v:IsA("BasePart") then v.BrickColor = BrickColor.random() end end
† KMXD † - Evil Duck Overlord, bent on world domination. |
|
|
| Report Abuse |
|
|
| |
|
|
| 28 Jul 2012 05:36 PM |
You're welcome. :)
† KMXD † - Evil Duck Overlord, bent on world domination. |
|
|
| Report Abuse |
|
|
|
| 28 Jul 2012 05:38 PM |
| There was one problem. It would change into random color, but stay that color. Any way to keep it changing? |
|
|
| Report Abuse |
|
|
|
| 28 Jul 2012 05:44 PM |
while wait(0.5) do for k, v in pa2irs(script.Parent:GetChildren()) do if v:IsA("BasePart") then v.BrickColor = BrickColor.random() end end end
† KMXD † - Evil Duck Overlord, bent on world domination. |
|
|
| Report Abuse |
|
|
|
| 28 Jul 2012 05:44 PM |
while wait(0.5) do for k, v in pairs(script.Parent:GetChildren()) do if v:IsA("BasePart") then v.BrickColor = BrickColor.random() end end end
whoops, random "2"
† KMXD † - Evil Duck Overlord, bent on world domination. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 28 Jul 2012 05:48 PM |
I know right, spread the word of me. Lol, jk.
† KMXD † - Evil Duck Overlord, bent on world domination. |
|
|
| Report Abuse |
|
|
|
| 28 Jul 2012 05:49 PM |
| I'll tell my friend about you when he needs help. :3 We are working on stuff and just trying to figure out different things about scripting. |
|
|
| Report Abuse |
|
|