wait(4) for i,p in pairs(script.Parent:GetChildren()) do p.Anchored = false wait(.005) p.Size = Vector3.new(2,2,2) wait(.005) end wait(5) for i,p in pairs(script.Parent:GetChildren()) do p:remove() wait(.005) end
Everything is working correctly. It's just how I want it... except the blocks don't get removed properly. Did I do something incorrectly with it?
Remove is deprecated, try destroy.
Remove sets object's parent to nil, destroy sets it to nil and locks it.
And try having the script avoid destroying itself in the loop.
if p~=script then p:destroy() wait() end