@Override public void execute() { volunteer.interact("Lure"); if (Execution.delayUntil(() -> ChatDialog.getContinue() != null, 1200, 1600)) { Keyboard.type(" ", false); Execution.delay(800, 1300); if (Execution.delayUntil(() -> ChatDialog.getContinue() != null, 1200, 1600)) { Keyboard.type(" ", false); } else { return; } } else { return; } CExecution.delayUntil( () -> volunteer.interact("Knock-out"), Random.nextInt(700, 1000), 3000, 4000); Execution.delayUntil(() -> volunteer.getAnimationId() == 12413, 3000, 4000); while (volunteer.getAnimationId() == 12413) { volunteer.interact("Loot"); Execution.delay(580, 735); } }