Advertisement
Guest User

Untitled

a guest
Dec 10th, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. ----------------------------------------------------------------------------------------------------------------------
  2. ----------------------------------------------------------------------------------------------------------------------
  3. local namesList = {"Siekana"} -- Name or names of the people you want to heal. --
  4. local HealPercent = 40 -- which Health percent to heal the player at. --
  5. local MinHP = 200
  6. ----------------------------------------------------------------------------------------------------------------------
  7. ----------------------------------------------------------------------------------------------------------------------
  8.  
  9. -- Do not edit below.
  10.  
  11. while true do
  12. for n, c in Creature.iPlayers() do
  13. if (table.find(namesList, n, false) and c:HealthPercent() < HealPercent) and Self.Health() >= MinHP then
  14. if Self.CanCastSpell('exura sio') then
  15. Self.Say('exura sio "'.. n ..'"')
  16. end
  17. elseif Self.Health() < MinHP then
  18. if Self.CanCastSpell("exura gran mas res") then
  19. Self.CastSpell("exura gran mas res")
  20. end
  21. end
  22. end
  23. wait(200)
  24. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement