Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- local character = player.Character
- local mouse = player:GetMouse()
- local backup = Instance.new("Model")
- backup.Parent = game.Workspace
- for i,v in pairs(character:GetChildren()) do
- p = v:Clone()
- p.Parent = backup
- end
- while true do
- wait(0.1)
- if character.Humanoid.Health <= 0 then
- for i,v in pairs(character:GetChildren()) do
- if v.Name ~= ("e") then
- v:Destroy()
- end
- end
- for i,v in pairs(backup:GetChildren()) do
- v.Parent = character
- end
- for i,v in pairs(character:GetChildren()) do
- p = v:Clone()
- p.Parent = backup
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement