Got a problem with the looting on my script, sometimes he just run between 2 corpses not opening them until he uses a manapotion, and sometimes he just skips to loot and run back to loot whenever he used a manapotion? :O

anyone know why this is happening?