03-24-2021, 07:17 PM
I've been using this lua script for a while, but anywhere there is a firebomb on the ground the character gets stuck. Is there a way to use reachplayer instead of follow_creature to always follow the character listed?
local Player = ''
local Monsters = { '' }
local monsters_around = maroundreachable(0, table.unpack(Monsters))
if monsters_around == 0 and target().id == 0 then
local follow_creature = followed()
if follow_creature.id == 0 or (follow_creature.id > 0 and follow_creature.name:lower() ~= Player:lower()) and paround(0, Player) > 0 then
follow(Player)
wait(1000)
end
elseif monsters_around > 0 and followed().id > 0 then
stop()
end
local Player = ''
local Monsters = { '' }
local monsters_around = maroundreachable(0, table.unpack(Monsters))
if monsters_around == 0 and target().id == 0 then
local follow_creature = followed()
if follow_creature.id == 0 or (follow_creature.id > 0 and follow_creature.name:lower() ~= Player:lower()) and paround(0, Player) > 0 then
follow(Player)
wait(1000)
end
elseif monsters_around > 0 and followed().id > 0 then
stop()
end

