$${
if(@rep);
LOG("&3[%PLAYER%] &dMacro &6100 de Rep &4[OFF]");
unset(@rep);
unset(@semcoble);
unset(@cabopedra);
volume(100);
stop;
else;
set(@rep);
unset(@cabopedra);
unset(@semcoble);
unset(parou);
unset(@parouparou);
volume(0);
LOG("&3[%PLAYER%] &dMacro &6100 de Rep &2[ON]");
endif;
&nome=mob;
#baup=1;
#bau=1;
slot(9);
if((%ITEM%!="stone_shovel")&&(%ITEM%!="stone_axe")&&(%ITEM%!="stone_sword")&&(%ITEM%!="stone_pickaxe"));
LOG("&3[%PLAYER%] &6Vai bater com a mao msm?");
LOG("&3[%PLAYER%] &6Falta a ferramenta de pedra no ultimo slot! &fTente novamente!");
LOG("&3[%PLAYER%] &dMacro &6100 de Rep &4[OFF]");
unset(@rep);
stop;
endif;
echo(/home %&nome%);
wait(5);
do();
do();
if(@parouparou);
LOG("&3[%PLAYER%] &dMacro &6100 de Rep &4[OFF]");
unset(@rep);
unset(@cabopedra);
unset(@semcoble);
unset(parou);
unset(@parouparou);
stop;
endif;
slot(9);
if((%ITEM%!="stone_shovel")&&(%ITEM%!="stone_axe")&&(%ITEM%!="stone_sword")&&(%ITEM%!="stone_pickaxe"));
LOG("&3[%PLAYER%] &6Ferramenta Quebrou!
");
LOG("&3[%PLAYER%] &dMacro &6100 de Rep &4[OFF]");
unset(@rep);
stop;
endif;
if(%DURABILITY%<35);
look(,90);
do;
look(,90);
keydown(jump);
wait(20ms);
key(use);
wait(10ms);
keyup(jump);
if(@semcoble);
unset(@semcoble);
if(@cabopedra);
LOG("&3[%PLAYER%] &6Acabaram as pedras! Parando a macro! &4[OFF]");
LOG("&3[%PLAYER%] &dMacro &6100 de Rep &4[OFF]");
unset(@rep);
unset(@baucheio);
unset(@semcoble);
unset(@cabopedra);
stop;
endif;
LOG("&3[%PLAYER%] &6Pegando mais pedras!");
wait(300ms);
if(%#baup%=1);wait(100ms);look(0,50);endif;
if(%#baup%=2);wait(100ms);look(180,50);endif;
wait(500ms);
key(use);
wait(1);
#sl=81;
for(#slot,0,53);
getslotitem(%#slot%,&id);
if(%&id%="stone");
if(%#sl%<=88);
slotclick(%#slot%,left,false);
wait(20ms);
slotclick(%#sl%,left,false);
inc(#sl);
wait(20ms);
slotclick(%#slot%,left,false);
endif;
endif;
next;
#sl=81;
getslotitem(53,&pedra);
if(%&pedra%!="stone");
inc(#baup);
endif;
if(%#baup%>2);
set(@cabopedra);
endif;
gui;
endif;
until((%DURABILITY%>=110)||(%ITEM%="air"));
endif;
look(east);
key(attack);
wait(100ms);
key(attack);
wait(100ms);
loop;
loop;
}$$