Originally Posted by
Sisusaatana
Copied ur text and replaced " Draadloos " with Trixar ( my friends name ) BUT it still wont EXECUTE to a running script.. I cant understand how i'll get it working Just the text down here should be working as u tried it.. but it wont for me for some reason.. The text below is all thats needed ? I open a notepad, put that text in, Save as .. all files, name it ( TRIXARSIO.Lua ) And try to run it but it wont .. what am i doing wrong? -.- starting to get annoyed by my own retardness lol.
local friends = { -- add targets u want to heal and at what percent
['Trixar'] = 80,
['Furpan'] = 70
}
Module.New('HEAL', function(mod)
for name, percent in pairs(friends) do
local c = Creature.New(name)
if (c:isOnScreen()) then
if (c:HealthPercent() < percent) then
Self.Say('exura sio "' .. name)
break
end
end
end
mod:Delay(500)
end)