|
| 06 Nov 2011 08:03 AM |
while true do script.Parent:Model.Ungroup() end
Why isnt it working? Please fix it. |
|
|
| Report Abuse |
|
|
|
| 06 Nov 2011 08:04 AM |
Wrong indexing. script.Parent.Model:UnGroup() -- I don't even think this is a function. You might have to use a loop.
~The Official Princess Luna of Roblox~ |
|
|
| Report Abuse |
|
|
dirk29
|
  |
| Joined: 26 May 2010 |
| Total Posts: 1142 |
|
|
| 06 Nov 2011 08:06 AM |
| I haven't tried to do it. But if it was a command it would be :Ungroup and you should add a wait. |
|
|
| Report Abuse |
|
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
|
| 06 Nov 2011 08:07 AM |
function UnGroup(Model) for i,v in pairs(Model:GetChildren()) do v.Parent = Model.Parent end Model:remove() end
UnGroup(game.Workspace.Model.Model) |
|
|
| Report Abuse |
|
|
|
| 06 Nov 2011 08:07 AM |
| So how would the script be? Or can it move all the children to workspace? |
|
|
| Report Abuse |
|
|
| |
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
|
| 06 Nov 2011 08:08 AM |
| The script is in my last post |
|
|
| Report Abuse |
|
|
| |
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
| |
|
|
| 06 Nov 2011 08:23 AM |
Assuming the name of the Group is "Group" and it's parent is workspace, this would work:
for i,v in pairs(workspace.Model:GetChildren()) do v.Parent = workspace end |
|
|
| Report Abuse |
|
|
| |
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
| |
|
| |
|
|
| 06 Nov 2011 02:14 PM |
| :P Whatever you say and Haider Skip! |
|
|
| Report Abuse |
|
|
mityguy
|
  |
| Joined: 07 Jun 2008 |
| Total Posts: 5483 |
|
|
| 06 Nov 2011 02:32 PM |
Add a wait and do
Modle:Ungroup() |
|
|
| Report Abuse |
|
|