Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Work in progress: AFK spinning bot that bonemeals grass and shears it.
- $${
- if(autoshears);
- log("&2[Macro] &fAutoattack Stopped.");
- unset(autoshears);
- keyup(attack);
- stop();
- else;
- log("&2[Macro] &fAutoattack Started.");
- set(autoshears);
- #i = 0;
- look(450,0);
- #x = %XPOS% - 1;
- #z = %ZPOS%;
- do;
- key(attack);
- #i = %#i% + 1;
- if(#i >= 20);
- look(+10,+0);
- #i = 0;
- endif;
- CALCYAWTO(%#x%,%#z%,#yaw,#distance);
- if(%#yaw% > 450);
- pick("bonemeal");
- key(use);
- endif;
- while(autoshears);
- endif;
- }$$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement