Advertisement
Guest User

Untitled

a guest
Jun 29th, 2016
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. --[[
  2. Utamo Ring For Archlight
  3. Version 1.5
  4. Created by Mr Trala
  5. ]]
  6.  
  7.  
  8. local RingID = 3051 -- Ring ID.
  9. local RingOLD = 9585 --The ID of the normal ring you wear.
  10. local EquipHP = 45 -- Equip Ring at % Health.
  11. local UnEquipHP = 80 -- Health % When you UnEquip The ring and put your other one back.
  12.  
  13.  
  14. while (true) do
  15. local creature = Creature.GetByID(Self.ID())
  16. if ((creature:HealthPercent() <= EquipHP) and Self.Ring().id == RingOLD) then
  17. Self.Equip(RingID, "ring")
  18. sleep(math.random(300, 300))
  19.  
  20. elseif ((creature:HealthPercent() >= UnEquipHP)) then
  21. Self.Equip(RingOLD, "ring")
  22. sleep(math.random(200, 300))
  23. end
  24. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement