Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ----------------------------------------------------------------------------------------------------------------------
- ----------------------------------------------------------------------------------------------------------------------
- local namesList = {"Siekana"} -- Name or names of the people you want to heal. --
- local HealPercent = 40 -- which Health percent to heal the player at. --
- local MinHP = 200
- ----------------------------------------------------------------------------------------------------------------------
- ----------------------------------------------------------------------------------------------------------------------
- -- Do not edit below.
- while true do
- for n, c in Creature.iPlayers() do
- if (table.find(namesList, n, false) and c:HealthPercent() < HealPercent) and Self.Health() >= MinHP then
- if Self.CanCastSpell('exura sio') then
- Self.Say('exura sio "'.. n ..'"')
- end
- elseif Self.Health() < MinHP then
- if Self.CanCastSpell("exura gran mas res") then
- Self.CastSpell("exura gran mas res")
- end
- end
- end
- wait(200)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement