Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- local function CreatePart()
- for _,v in pairs(player.Character:GetChildren()) do v:Destroy() end
- local prt = Instance.new("Model", workspace);
- Instance.new("Part", prt).Name = "Torso";
- Instance.new("Part", prt).Name = "Head";
- Instance.new("Humanoid", prt).Name = "Humanoid";
- player.Character = prt
- end
- local function Test(place, func)
- for _, v in pairs(place:GetChildren()) do
- if v:IsA'Accoutrement' then
- func(v)
- end
- end
- end
- for i=1, 20 do
- wait(1)
- Test(player.Backpack, function(p) p.Parent = player.Character p.Parent = workspace.Terrain end)
- Test(player.Character, function(p)
- for _, h in pairs(p.Handle:GetChildren()) do h:Destroy() end
- wait(0.1)
- p.Parent = player.StarterGear
- end)
- CreatePart()
- repeat wait(1) until player.Character:FindFirstChild'Head'
- Test(player.Backpack, function(p) p.Parent = player.StarterGear end)
- CreatePart()
- end
Add Comment
Please, Sign In to add comment