Advertisement
LegitHacksYT

Best Infinite Health Script

Jun 27th, 2019
10,207
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.93 KB | None | 0 0
  1. -- Best Infinite Health Script (Made From Original)
  2. -- If you get damaged, you will get back to 100 health in 0 seconds.
  3. -- It is also used for games, Recommended Not For Games.
  4. -- add me if you have bugs or it is not working: 05wo
  5. -- I also Make Exploits.
  6. -- Use it carefully.
  7.  
  8. local REGEN_RATE = 100/100 -- If you change these settings it will broke.
  9. local REGEN_STEP = 0 -- Don't Change These Settings!
  10. -- DON'T CHANGE!
  11. --------------------------------------------------------------------------------
  12.  
  13. local Character = script.Parent
  14. local Humanoid = Character:WaitForChild'Humanoid'
  15.  
  16. --------------------------------------------------------------------------------
  17.  
  18. while true do
  19.     while Humanoid.Health < Humanoid.MaxHealth do
  20.         local dt = wait(REGEN_STEP)
  21.         local dh = dt*REGEN_RATE*Humanoid.MaxHealth
  22.         Humanoid.Health = math.min(Humanoid.Health + dh, Humanoid.MaxHealth)
  23.     end
  24.     Humanoid.HealthChanged:Wait()
  25. end
  26. -- Lmao
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement