02-15-2021, 08:38 PM
i got problem with this scirpt. I wanna if >=4 monster and safe shoot gfb if 1-3 monster shoot exori con if 4 >=monster and player around too cast exori con
local Monsters = { 'xxxx', 'xxx', 'xxx', 'xxxx' }
local Rune = 'great fireball rune'
local MinMonsters = 4 -- Min. count to shoot rune.
local SafeHealth = 55 -- Shoot runes only if your HP % is higher or equal to this valaue.
local PlayerSafe = true -- Check if there's another player on screen. If so, don't shoot rune.
local SafeList = { 'xxx', 'yyyy' }
if hppc() >= SafeHealth and cancast() and maround(7, unpack(Monsters)) >= MinMonsters and (PlayerSafe == false or (PlayerSafe and paroundignore(table.unpack(SafeList)) == 0)) then
if shootarearune(Rune, MinMonsters, unpack(Monsters)) then
wait(120)
elseif (maround(7, unpack(Monsters)) < MinMonsters and attacked().id > 0) or (paround() > 0) then
cast('exori con')
wait(100, 120)
end
end
local Monsters = { 'xxxx', 'xxx', 'xxx', 'xxxx' }
local Rune = 'great fireball rune'
local MinMonsters = 4 -- Min. count to shoot rune.
local SafeHealth = 55 -- Shoot runes only if your HP % is higher or equal to this valaue.
local PlayerSafe = true -- Check if there's another player on screen. If so, don't shoot rune.
local SafeList = { 'xxx', 'yyyy' }
if hppc() >= SafeHealth and cancast() and maround(7, unpack(Monsters)) >= MinMonsters and (PlayerSafe == false or (PlayerSafe and paroundignore(table.unpack(SafeList)) == 0)) then
if shootarearune(Rune, MinMonsters, unpack(Monsters)) then
wait(120)
elseif (maround(7, unpack(Monsters)) < MinMonsters and attacked().id > 0) or (paround() > 0) then
cast('exori con')
wait(100, 120)
end
end

