Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (myPlayer().isAnimating()) {
- double x = Math.random();
- if (x<0.05) {
- mouse.move(random(0,500),random(0,500));
- sleep(random(0,200));
- }
- if (mouse.isOnScreen()) {
- mouse.moveOutsideScreen();
- }
- } else {
- RS2Object tree = getObjects().closest("Tree");
- double x = Math.random();
- if (tree!=null) {
- tree.interact("Chop");
- sleep(random(0,200));
- if (x<0.1) {
- tree.interact("Chop");
- }
- if (x<0.9) {
- mouse.move(random(0, 500), random(0, 500));
- sleep(random(20,500));
- }
- if (x>0.3) {
- mouse.moveOutsideScreen();
- }
- sleep(randomUtil.gRandom(500,3000));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement