Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Character = script.Parent
- local Humanoid = Character:WaitForChild'Humanoid'
- WHILE true DO
- wait(0)
- Humanoid.HealthChanged:connect(FUNCTION()
- IF Humanoid.Health < 0 THEN
- Humanoid.Health = Humanoid.MaxHealth
- END
- END)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement