Basically making the parent of the model's child and the model itself the same, and deleting the model but not its former child
function ungroup(model) for _,v in pairs(model:GetChildren()) do v.Parent = model.Parent end model:Destroy() end