Advertisement
Sanwi

Autorun with autoeat

Mar 21st, 2014
514
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. $${
  2.  
  3. //Loops forward and sprint keys to autorun
  4. // Remove the comment tags (//) from before keyup(jump); and keydown(jump); to make the script jump while it's sprinting
  5.  
  6. if(autowalk);
  7. unset(autowalk);
  8. keyup(sprint);
  9. keyup(forward);
  10. // keyup(jump);
  11. stop();
  12. else;
  13. set(autowalk);
  14. do;
  15. keydown(sprint);
  16. keydown(forward);
  17. // keydown(jump);
  18. wait(500ms);
  19. in(#foodtimer);
  20. if(%#foodtimer% > 500);
  21. pick(golden_carrot);
  22. if(%ITEM% = "golden_carrot");
  23. do(100);
  24. key(use);
  25. loop;
  26. inc(#atefood);
  27. else;
  28. disconnect();
  29. endif;
  30. endif;
  31. while(autowalk);
  32. endif;
  33.  
  34. stop();
  35. }$$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement