Meu script de rook buga quando chega nessa action
if back == itemid("bag") and itemcount("backpack") > 0 and paround(7) == 0
then
wait(1000)
moveitems(back, "back", ground(posx,posy,posz), 100)
wait(1000)
moveitems("backpack", "all", "back", 100)
else wait(1000) gotolabel(wpt.id-2)
end
ai depois volta pra essa action:
wait(1000)
depotdeposit("Backpack", "gold coin")
Como resolver?