Alscara

Untitled

Sep 14th, 2015
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. local hpPerc = 85 -- Health
  2. local uh = 11604
  3. local item = uh
  4. Self.HealthPercent = function ()
  5. return math.abs(Self.Health() / (Self.MaxHealth() * 0.01))
  6. end
  7. Module.New('heal', function()
  8. if (Self.HealthPercent() < hpPerc) then
  9. Self.UseItem(item)
  10. wait(500,700)
  11. end
  12. end)
Advertisement
Add Comment
Please, Sign In to add comment