Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void onStart() {
- //Set your typing speed when spamming
- getMouse().getMouseSettings().setWordsPerMinute(Calculations.random(101, 483));
- // Anti lure (Starting area generated)
- int x = getLocalPlayer().getX();
- int y = getLocalPlayer().getY();
- int radius = 2;
- startingArea = Area.generateArea(2, new Tile(x, y));
- }
- public int onLoop() {
- // Walk back to starting area if lured
- if (!startingArea.contains(getLocalPlayer())) {
- getWalking().walk(startingArea.getRandomTile());
- log("Running to starting area");
- sleepUntil(() -> startingArea.contains(getLocalPlayer()), 5000);
- } else {
- getKeyboard().type("i am a taxi driver from mars!!");
- }
- return 500;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement