Advertisement
memberhero

anti death

Feb 2nd, 2019
364
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. wait(0.2)
  2. local plr = game.Players.LocalPlayer
  3. local char = plr.Character
  4. function antideath()
  5. for i,v in next, char:GetChildren() do
  6. if v.ClassName == "Part" then
  7. local huma = char:FindFirstChildOfClass("Humanoid"):Destroy()
  8. local humanoid = Instance.new("Humanoid",char)
  9. local weld = Instance.new("Weld",v)
  10. weld.Part1 = v
  11. weld.Part0 = v
  12. char:MakeJoints()
  13. end
  14. end
  15. end
  16. char.Humanoid.Died:Connect(function()
  17. antideath()
  18. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement