Persuas
|
  |
| Joined: 20 Jan 2011 |
| Total Posts: 1972 |
|
| |
|
|
| 05 Sep 2015 12:13 AM |
Hmmmmmm ok..... So let me think
for i, v in pairs(game.Workspace.Model:GetChildren()) if v:IsA("BasePart") then v.Name = "TERRAIN" end end
for i, v in pairs(game.Workspace.Model.TERRAIN:GetChildren()) do v:Destroy() end |
|
|
| Report Abuse |
|
|
Persuas
|
  |
| Joined: 20 Jan 2011 |
| Total Posts: 1972 |
|
|
| 05 Sep 2015 12:16 AM |
| Still no. Should I just ungroup and try? |
|
|
| Report Abuse |
|
|
| |
|
|
| 05 Sep 2015 12:19 AM |
function recurse(obj) for i, v in pairs(obj:GetChildren()) do if v:IsA("SpecialMesh") then v:Destroy else recurse(v) end end end |
|
|
| Report Abuse |
|
|
Persuas
|
  |
| Joined: 20 Jan 2011 |
| Total Posts: 1972 |
|
|
| 05 Sep 2015 12:23 AM |
| Hmm, studio is just crashing when I do that. Let me try something really quick. |
|
|
| Report Abuse |
|
|
Persuas
|
  |
| Joined: 20 Jan 2011 |
| Total Posts: 1972 |
|
|
| 05 Sep 2015 12:25 AM |
| It's not gonna let me ungroup. |
|
|
| Report Abuse |
|
|