09-20-2021, 08:08 PM
Auto Mana Shield if NO monsters
local CONFIG = {
Spell = 'utamo vita', -- Spell to cast.
Mana = 50, -- Mana to cast spell.
SafeHealth = 80, -- Only cast spell if your hp% is equal or higher this value.
Monsters = { 'Rat', 'Demon', 'Rotworm' }, -- Leave it empty to check for all creatures
}
if connected() and cancast() and not manashielded() and hppc() >= CONFIG.SafeHealth and mp() >= CONFIG.Mana and maround(0, table.unpack(CONFIG.Monsters)) == 0 then
cast(CONFIG.Spell)
wait(300, 600)
end