Guest User

Untitled

a guest
Dec 2nd, 2019
104
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local plr = game.Players.LocalPlayer
  2. repeat wait() until plr.Character and plr.Character:FindFirstChild("Humanoid")
  3. local hum = plr.Character['Humanoid']
  4.  
  5. hum.HealthChanged:connect(function(health)
  6. if health<= 0 then
  7. hum.Health = hum.MaxHealth
  8. plr.Character:MakeJoints()
  9. end
  10. end)
RAW Paste Data