But currently im having a problem, when it reaches waypoint 13 the bot stop and receives this problem.

<!-- # 13 --><waypoint x="-16112" z="-604">
if(player.free_counter1 == 0) then player.free_counter1 = os.time(); end;
if( os.difftime(os.time(), player.free_counter1) > 3600 )
player.free_counter1 = os.time();
player:rest(1);
RoMScript("UseSkill(=);"); --recall
yrest(40000); --wait while load screen
loadPaths("37repair.xml");
end
</waypoint>
This is my first time trying to make a repair waypoint. The repair and return waypoint works fine but only having a problem with the above.