if (monster == 2 && (checkDead() == false)) { MobCollor = guardcolor; PathTowalk = guardpath; String TextToClick = "k G"; while (monster == 2 && (checkDead() == false)) { waitTillMovingStop(); attackGuards(); Kills++; log("step3 check"); } } else if (checkDead() == true) { log("step4 check"); WieldAndDrop(); log("step5 check"); theTabs.Options.setRun(true); Deaths++; status = "Walking back to fighting area"; log("step6 check"); varrockWalkBack.walkToEnd(); script(); }