Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local toolamount = 250
- x = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- wait()
- local LocalPlayer = game:GetService("Players").LocalPlayer
- local died = false
- local savepos = LocalPlayer.Character.HumanoidRootPart.CFrame
- repeat
- for _, tool in pairs(LocalPlayer.Backpack:GetChildren()) do
- if tool:IsA("Tool") then
- tool.Parent = LocalPlayer
- end
- end
- LocalPlayer.Character:ClearAllChildren()
- local char = Instance.new("Model", workspace)
- char.Name = "character"
- Instance.new("Part", char).Name = "Torso";
- Instance.new("Part", char).Name = "Head";
- Instance.new("Humanoid", char).Name = "Humanoid";
- LocalPlayer.Character = char
- repeat wait() until LocalPlayer.Character
- until #LocalPlayer:GetChildren() - 4 >= toolamount
- for _, char in pairs(workspace:GetChildren()) do
- if char.Name == "character" and char:IsA("Model") then
- char:Destroy()
- end
- end
- repeat wait() until LocalPlayer.Character.HumanoidRootPart
- LocalPlayer.Character.HumanoidRootPart.CFrame = savepos
- for _, tool in pairs(LocalPlayer:GetChildren()) do
- if tool:IsA("Tool") then
- tool.Parent = LocalPlayer.Backpack
- end
- end
- wait(0.5)
- for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
- if v:IsA("Tool") then
- v.Parent = game.Players.LocalPlayer.Character
- end
- end
- wait(0.5)
- for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if (v:IsA("Tool")) then
- v.Parent = workspace
- end
- end
- wait()
- game.Players.LocalPlayer.Character.Humanoid.Health = 0
- wait(0.85)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = x
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement