Guys, this action out of the hunt immediately by the nearest exit (north or south) when staying with 0 royal spear is not working, where is the problem?
local northy = 32814
local southy = 32837
local middley = (northy+(southy-northy)/2)
if weaponamount == 0 then
if (southy-middley) > (middley-northy) then