Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char = game.Players.LocalPlayer.Character
- h = char.Humanoid
- AntiDeath = true
- local function resethealth()
- h.MaxHealth = 100
- h.Health = 100
- end
- h.Died:connect(function()
- if AntiDeath == true then
- char:MakeJoints()
- resethealth()
- char:MakeJoints()
- resethealth()
- end
- end)
- h.Changed:connect(function()
- if (AntiDeath == true) then
- resethealth()
- char:MakeJoints()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement