Advertisement
Guest User

Untitled

a guest
Aug 16th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. case LOOT:
  2.             scriptState = "LOOT";
  3.             GroundItem loot = ctx.groundItems.id(lootItems).poll();
  4.             if (ctx.groundItems.get().contains(loot)) {
  5.                 lootOnGround = true;
  6.                 if (loot.valid()) {
  7.                     if (loot.inViewport()) {
  8.                         loot.interact("Take");
  9.                         Condition.sleep(300);
  10.                     } else {
  11.                         ctx.camera.turnTo(loot);
  12.                         ctx.movement.step(loot);
  13.                         ctx.camera.pitch(true);
  14.                         Condition.sleep(300);
  15.                     }
  16.                 }
  17.             }
  18.             break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement