|
| 05 Jan 2014 11:57 PM |
for _,x in pairs(game.Workspace:GetChildren()) do for _,y in pairs(x:GetChildren()) do for _,z in pairs(y:GetChildren()) do for _,v in pairs(v:GetChildren()) do end end end end
i'd like to clean it up some |
|
|
| Report Abuse |
|
|
Nagrath99
|
  |
| Joined: 26 Mar 2011 |
| Total Posts: 1537 |
|
| |
|
|
| 06 Jan 2014 01:01 AM |
Em.
function doStuff(obj) for k,v in pairs(obj:GetChildren()) do --Code here if #v:GetChildren() > 0 then doStuff(v) end end end
doStuff(workspace)
http://wiki.roblox.com/index.php/User:ElectricBlaze |
|
|
| Report Abuse |
|
|
|
| 06 Jan 2014 02:51 AM |
ElectricBlaze banned again? :c
Keyboard not found. Press F1 to continue. |
|
|
| Report Abuse |
|
|
|
| 06 Jan 2014 02:54 AM |
@Basewobble - If ROBLOX was bound by the 5th Amendment, I wouldn't be. :(
They committed double jeopardy. I got banned for the same exact forum post that I was banned for 2 weeks ago. Another twist: THE POST WAS MADE 2 YEARS AGO. It's like the moderators are digging up my post history deliberately to get me terminated. Unfortunately, they have a lot of ammunition. :(
http://wiki.roblox.com/index.php/User:ElectricBlaze |
|
|
| Report Abuse |
|
|
|
| 06 Jan 2014 02:54 AM |
*Basswobble
http://wiki.roblox.com/index.php/User:ElectricBlaze |
|
|
| Report Abuse |
|
|
|
| 06 Jan 2014 01:10 PM |
That's pretty stupid...
Keyboard not found. Press F1 to continue. |
|
|
| Report Abuse |
|
|