$${
if(yhits);
log(" ");
log("&b&l[yHits] &cDesligado");
log(" ");
unset(yhits);
unset(@yhits_chat);
set(yhits_config);
stop();
else;
log(" ");
log("&b&l[yHits] &aLigado");
log(" ");
set(yhits);
set(@yhits_chat);
endif;
}$$/g ligando o [yhits] #FelipeWillas <3$${
&cenotata="^392$|^391$";&carnepodre="^367$";
&ztools="^256$|^267$";&ferro="^265$";
&ouro="^266$";&espadaouro="^283$";&pepita="^371$";
&polvora="^289$";&linha="^287$";&olho="^375$";
&vara="^369$";&arco="^261$";&flecha="^262$";
&osso="^352$";&magma="^378$";&bau="^54$|^146$";
&weapons="^276$|^267$|^272$|^268$|^279$|^258$|^275$|^271$";
ifmatches(%DIRECTION%,N);
&direction=NORTH;
endif;
ifmatches(%DIRECTION%,S);
&direction=SOUTH;
endif;
ifmatches(%DIRECTION%,E);
&direction=EAST;
endif;
ifmatches(%DIRECTION%,W);
&direction=WEST;
endif;
wait(500ms);
gui();
getslotitem(9,#id);
ifmatches(%#id%,%&weapons%);
if(%#id%=276);
#durability=50;
endif;
if(%#id%=267);
#durability=35;
endif;
if(%#id%=272);
#durability=25;
endif;
if(%#id%=268);
#durability=20;
endif;
if(%#id%=279);
#durability=50;
endif;
if(%#id%=258);
#durability=35;
endif;
if(%#id%=275);
#durability=25;
endif;
if(%#id%=271);
#durability=20;
endif;
else;
log(" ");
log("&b&l[yHits] &6Sem espada ou machado no slot &b9");
log("&b&l[yHits] &cDesligado");
log(" ");
unset(yhits);
stop();
endif;
if(yhits_config);
do;
clearchat();
log("&b&l[yHits] &6Deseja usar a configuração anterior ?");
log(" ");
log("&b&l1 &b» &6Sim");
log("&b&l2 &b» &6Não");
ifmatches(%KEY_1%,true);
#yhits_configurations=1;
break;
endif;
ifmatches(%KEY_2%,true);
#yhits_configurations=2;
break;
endif;
loop;
else;
#yhits_configurations=2;
endif;
if(%#yhits_configurations%=2);
#j_cenotata=0;
#J_carnepodre=0;
#j_ztools=0;
#j_ferro=0;
#j_ouro=0;
#j_espadaouro=0;
#j_pepita=0;
#j_arco=0;
#j_flecha=0;
#j_osso=0;
wait(500ms);
do;
clearchat();
log("&b&l[yHits] &6Você é &bVIP &6?");
log(" ");
log("&b&l1 &b» &6Sim");
log("&b&l2 &b» &6Não");
ifmatches(%KEY_1%,true);
#tp_delay=5;
break;
endif;
ifmatches(%KEY_2%,true);
#tp_delay=7;
break;
endif;
loop;
wait(500ms);
do;
clearchat();
log("&b&l[yHits] &6Você vai &bReparar &6ou &bTrocar &6a Espada/Machado&6?");
log(" ");
log("&b&l1 &b» &6Reparar");
log("&b&l2 &b» &6Trocar");
ifmatches(%KEY_1%,true);
&yhits_rep=true;
break;
endif;
ifmatches(%KEY_2%,true);
&yhits_rep=false;
break;
endif;
loop;
wait(500ms);
do;
clearchat();
log("&b&l[yHits] &6De que modo você vai upar");
log(" ");
log("&b&l1 &b» &6Hitar ao ver um Mob");
log("&b&l2 &b» &6Hit Contínuo (MobSpawn de muitas gaiolas)");
ifmatches(%KEY_1%,true);
#yhits_mode=1;
break;
endif;
ifmatches(%KEY_2%,true);
#yhits_mode=2;
break;
endif;
loop;
wait(500ms);
do;
clearchat();
log("&b&l[yHits] &6Em que tipo de mob você vai upar ?");
log(" ");
log("&b&l1 &b» &6Blaze");
log("&b&l2 &b» &6Zombie");
log("&b&l3 &b» &6Zombie Pigman");
log("&b&l4 &b» &6Esqueleto");
log("&b&l5 &b» &6MagmaCube");
log("&b&l6 &b» &6Aranha da Caverna");
log("&b&l7 &b» &6Creeper");
ifmatches(%KEY_1%,true);
#yhits_mob=1;
&pick=%&vara%;
&yhits_look=-25;
break;
endif;
ifmatches(%KEY_2%,true);
#yhits_mob=2;
&yhits_look=-25;
&pick=%&carnepodre%|%&cenotata%|%&ferro%|%&ztools%;
break;
endif;
ifmatches(%KEY_3%,true);
#yhits_mob=3;
&yhits_look=-25;
&pick=%&carnepodre%|%&pepita%|%&ouro%|%&espadaouro%;
break;
endif;
ifmatches(%KEY_4%,true);
#yhits_mob=4;
&yhits_look=-25;
&pick=%&flecha%|%&arco%|%&osso%;
break;
endif;
ifmatches(%KEY_5%,true);
#yhits_mob=5;
&pick=%&magma%;
&yhits_look=-45;
break;
endif;
ifmatches(%KEY_6%,true);
#yhits_mob=6;
&yhits_look=-55;
&pick=%&olho%|%&linha%;
break;
endif;
ifmatches(%KEY_7%,true);
#yhits_mob=7;
&yhits_look=-25;
&pick=%&polvora%;
break;
endif;
loop;
ifmatches(%#yhits_mob%,"^1$|^5$|^6$|^7$");
do;
clearchat();
log("&b&l[yHits] &6Em relação aos drops, o que você deseja fazer?");
log(" ");
log("&b&l1 &b» &6Guardar todos os drops");
log("&b&l2 &b» &6Apenas upar, não guardar.");
ifmatches(%KEY_1%,true);
&jogar=false;
&guardar=true;
break;
endif;
ifmatches(%KEY_2%,true);
&jogar=false;
&guardar=false;
break;
endif;
loop;
endif;
ifmatches(%#yhits_mob%,"^2$|^3$|^4$");
wait(500ms);
do;
clearchat();
log("&b&l[yHits] &6Em relação aos drops, o que você deseja fazer?");
log(" ");
log("&b&l1 &b» &6Guardar todos os drops.");
log("&b&l2 &b» &6Apenas upar, não guardar.");
log("&b&l3 &b» &6Escolher quais Drops jogar.");
ifmatches(%KEY_1%,true);
&jogar=false;
&guardar=true;
break;
endif;
ifmatches(%KEY_2%,true);
&jogar=false;
&guardar=false;
break;
endif;
ifmatches(%KEY_3%,true);
&jogar=true;
&guardar=true;
wait(500ms);
if(%#yhits_mob%=4);
do;
clearchat();
log("&b&l[yHits] &6Deseja jogar &bOssos &6?");
log(" ");
log("&b&l1 &b» &6Sim");
log("&b&l2 &b» &6Não");
ifmatches(%KEY_1%,true);
#j_osso=1;
break;
endif;
ifmatches(%KEY_2%,true);
#j_osso=0;
break;
endif;
loop;
else;
do;
clearchat();
log("&b&l[yHits] &6Deseja jogar &bCarne Podre &6?");
log(" ");
log("&b&l1 &b» &6Sim");
log("&b&l2 &b» &6Não");
ifmatches(%KEY_1%,true);
#j_carnepodre=1;
break;
endif;
ifmatches(%KEY_2%,true);
#j_carnepodre=0;
break;
endif;
loop;
endif;
wait(500ms);
if(%#yhits_mob%=2);
do;
clearchat();
log("&b&l[yHits] &6Deseja jogar &bFerro &6?");
log(" ");
log("&b&l1 &b» &6Sim");
log("&b&l2 &b» &6Não");
ifmatches(%KEY_1%,true);
#j_ferro=1;
break;
endif;
ifmatches(%KEY_2%,true);
#j_ferro=0;
break;
endif;
loop;
wait(500ms);
do;
clearchat();
log("&b&l[yHits] &6Deseja jogar &bBatatas e Cenouras &6?");
log(" ");
log("&b&l1 &b» &6Sim");
log("&b&l2 &b» &6Não");
ifmatches(%KEY_1%,true);
#j_cenotata=1;
break;
endif;
ifmatches(%KEY_2%,true);
#j_cenotata=0;
break;
endif;
loop;
wait(500ms);
do;
clearchat();
log("&b&l[yHits] &6Deseja jogar &bEspadas/Pás de Ferro &6?");
log(" ");
log("&b&l1 &b» &6Sim");
log("&b&l2 &b» &6Não");
ifmatches(%KEY_1%,true);
#j_ztools=1;
break;
endif;
ifmatches(%KEY_2%,true);
#j_ztools=0;
break;
endif;
loop;
endif;
if(%#yhits_mob%=3);
do;
clearchat();
log("&b&l[yHits] &6Deseja jogar &bOuro &6?");
log(" ");
log("&b&l1 &b» &6Sim");
log("&b&l2 &b» &6Não");
ifmatches(%KEY_1%,true);
#j_ouro=1;
break;
endif;
ifmatches(%KEY_2%,true);
#j_ouro=0;
break;
endif;
loop;
wait(500ms);
do;
clearchat();
log("&b&l[yHits] &6Deseja jogar &bEspadas de Ouro &6?");
log(" ");
log("&b&l1 &b» &6Sim");
log("&b&l2 &b» &6Não");
ifmatches(%KEY_1%,true);
#j_espadaouro=1;
break;
endif;
ifmatches(%KEY_2%,true);
#j_espadaouro=0;
break;
endif;
loop;
wait(500ms);
do;
clearchat();
log("&b&l[yHits] &6Deseja jogar &bPepitas &6?");
log(" ");
log("&b&l1 &b» &6Sim");
log("&b&l2 &b» &6Não");
ifmatches(%KEY_1%,true);
#j_pepita=1;
break;
endif;
ifmatches(%KEY_2%,true);
#j_pepita=0;
break;
endif;
loop;
endif;
if(%#yhits_mob%=4);
do;
clearchat();
log("&b&l[yHits] &6Deseja jogar &bArcos &6?");
log(" ");
log("&b&l1 &b» &6Sim");
log("&b&l2 &b» &6Não");
ifmatches(%KEY_1%,true);
#j_arco=1;
break;
endif;
ifmatches(%KEY_2%,true);
#j_arco=0;
break;
endif;
loop;
wait(500ms);
do;
clearchat();
log("&b&l[yHits] &6Deseja jogar &bFlechas&6?");
log(" ");
log("&b&l1 &b» &6Sim");
log("&b&l2 &b» &6Não");
ifmatches(%KEY_1%,true);
#j_flecha=1;
break;
endif;
ifmatches(%KEY_2%,true);
#j_flecha=0;
break;
endif;
loop;
endif;
wait(500ms);
break;
endif;
loop;
endif;
#yhits_weaponslot=0;
log(" ");
log("&b&l[yHits] &bConfiguração &6salva com sucesso");
log(" ");
else;
if(guard_conf);
do;
clearchat();
log("&b&l[yHits] &6Deseja ativar a função de armazenamento novamente sem perder a configuração ?");
log(" ");
log("&b&l1 &b» &6Sim");
log("&b&l2 &b» &6Não");
ifmatches(%KEY_1%,true);
&guardar=true;
&jogar=true;
break;
endif;
ifmatches(%KEY_2%,true);
&guardar=false;
&jogar=false;
break;
endif;
loop;
unset(guard_conf);
endif;
log(" ");
log("&b&l[yHits] &6Usando &bconfiguração &6anterior");
log(" ");
endif;
}$$/home yhits_mob$${
log("&b&l[yHits] &6Inicializando... Aguarde!");
wait(%#tp_delay%);
do;
do(80);
if(@yhits_restart);
log(" ");
log("&b&l[yHits] &6Parece que o servidor vai reiniciar");
log("&b&l[yHits] &6Vamos aguardar 5 minutos e continuar em seguida");
log(" ");
wait(300);
unset(@yhits_restart);
endif;
slot(9);
look(%&direction%);
look(,%&yhits_look%);
if(%#yhits_mode%=2);
key(attack);
wait(150ms);
else;
ifmatches(%HIT%,ENTITY);
key(attack);
wait(150ms);
endif;
endif;
if(%DURABILITY%<=%#durability%);
log(" ");
log("&b&l[yHits] &6Sua arma está com durabilidade baixa!");
log("&b&l[yHits] &6Aguarde que já resolvo

");
log(" ");
wait(1);
ifmatches(%&yhits_rep%,true);
log(" ");
log("&b&l[yHits] &6Reparando a Arma...");
log(" ");
look(%&direction%);
look(,90);
wait(200ms);
key(use);
wait(500ms);
log(" ");
log("&b&l[yHits] &6Arma reparada.");
log(" ");
else;
if(@yhits_restart);
log(" ");
log("&b&l[yHits] &6Parece que o servidor vai reiniciar");
log("&b&l[yHits] &6Vamos aguardar 5 minutos e continuar em seguida");
log(" ");
wait(300);
unset(@yhits_restart);
endif;
gui();
getslotitem(9,#id);
if(%#id%!=0);
if(%#yhits_weaponslot%=54);
log(" ");
log("&b&l[yHits] &6Suas armas acabaram!");
log("&b&l[yHits] &4&lDesligado");
log(" ");
unset(yhits);
#yhits_weaponslot=0;
stop();
endif;
log(" ");
log("&b&l[yHits] &6Pegando outra Arma...");
log(" ");
wait(150ms);
do;
look(%&direction%);
look(,65);
key(use);
wait(1);
ifmatches(%GUI%,GUICHEST);
break;
endif;
loop;
wait(500ms);
slotclick(%#yhits_weaponslot%,l,false);
wait(350ms);
slotclick(89,l,true);
wait(350ms);
slotclick(89,l,false);
wait(350ms);
inc(#yhits_weaponslot);
gui();
log(" ");
log("&b&l[yHits] &6Arma trocada.");
log(" ");
endif;
endif;
endif;
loop;
ifmatches(%&jogar%,true);
wait(500ms);
gui(inventory);
#yinc=0;
for(#slot,9,35);
getslotitem(%#slot%,#id);
if(%#id%!=0);
inc(#yinc);
endif;
next;
if(%#yinc%>=22);
wait(500ms);
gui();
log("&b&l[yHits] &6Inventário cheio. Jogando lixo fora:");
gui();
wait(150ms);
look(%&direction%);
look(+180,0);
gui(inventory);
wait(500ms);
for(#slot,9,35);
getslotitem(%#slot%,#id);
ifmatches(%#id%,"%&pick%|^387$");
ifmatches(%#id%,%&ferro%);
if(%#j_ferro%=1);
slotclick(%#slot%,l,false);
slotclick(-999);
wait(100ms);
endif;
endif;
ifmatches(%#id%,%&cenotata%);
if(%#j_cenotata%=1);
slotclick(%#slot%,l,false);
slotclick(-999);
wait(100ms);
endif;
endif;
ifmatches(%#id%,%&ztools%);
if(%#j_ztools%=1);
slotclick(%#slot%,l,false);
slotclick(-999);
wait(100ms);
endif;
endif;
ifmatches(%#id%,%&carnepodre%);
if(%#j_carnepodre%=1);
slotclick(%#slot%,l,false);
slotclick(-999);
wait(100ms);
endif;
endif;
ifmatches(%#id%,%&ouro%);
if(%#j_ouro%=1);
slotclick(%#slot%,l,false);
slotclick(-999);
wait(100ms);
endif;
endif;
ifmatches(%#id%,%&pepita%);
if(%#j_pepita%=1);
slotclick(%#slot%,l,false);
slotclick(-999);
wait(100ms);
endif;
endif;
ifmatches(%#id%,%&espadaouro%);
if(%#j_espadaouro%=1);
slotclick(%#slot%,l,false);
slotclick(-999);
wait(100ms);
endif;
endif;
ifmatches(%#id%,%&arco%);
if(%#j_arco%=1);
slotclick(%#slot%,l,false);
slotclick(-999);
wait(100ms);
endif;
endif;
ifmatches(%#id%,%&osso%);
if(%#j_osso%=1);
slotclick(%#slot%,l,false);
slotclick(-999);
wait(100ms);
endif;
endif;
ifmatches(%#id%,%&flecha%);
if(%#j_flecha%=1);
slotclick(%#slot%,l,false);
slotclick(-999);
wait(100ms);
endif;
endif;
else;
slotclick(%#slot%,l,false);
slotclick(-999);
wait(100ms);
endif;
next;
endif;
gui();
endif;
ifmatches(%&guardar%,true);
wait(100ms);
gui(inventory);
wait(500ms);
#yinc=0;
for(#slot,9,35);
getslotitem(%#slot%,#id);
if(%#id%!=0);
inc(#yinc);
endif;
next;
if(%#yinc%>=22);
gui();
log("&b&l[yHits] &6Iniciando processo de &barmazenamento");
#yxpos=%XPOS%;
#yzpos=%ZPOS%;
#yypos=%YPOS%;
do;
if((%XPOS%!=%#yxpos%)||(%YPOS%!=%#yypos%)||(%ZPOS%!=%#yzpos%));
break;
endif;
}$$/home yhits_baus$${
wait(%#tp_delay%);
loop;
keydown(jump);
wait(1);
keyup(jump);
wait(500ms);
do;
do;
key(use);
wait(1);
ifmatches(%GUI%,GUICHEST);
break;
endif;
loop;
for(#slot,54,80);
getslotitem(%#slot%,#id);
if(%#id%!=0);
slotclick(%#slot%,l,true);
wait(130ms);
endif;
next;
#yinc=0;
for(#slot,0,53);
getslotitem(%#slot%,#id);
if(%#id%!=0);
inc(#yinc);
endif;
next;
if(%#yinc%=54);
gui();
wait(100ms);
#yhits_xpos=%XPOS%;
#yhits_zpos=%ZPOS%;
keydown(sneak);
keydown(right);
do;
wait(10ms);
until((%XPOS%=%#yhits_xpos%+1)||(%XPOS%=%#yhits_xpos%-1)||(%ZPOS%=%#yhits_zpos%+1)||(%ZPOS%=%#yhits_zpos%-1));
wait(150ms);
keyup(sneak);
keyup(right);
wait(100ms);
}$$/sethome yhits_baus$${
wait(500ms);
ifmatches(%HITID%,%&bau%);
else;
ifmatches(%&yhits_rep%,true);
log(" ");
log("&b&l[yHits] &6Você não tem mais baús disponíveis!");
log("&b&l[yHits] &6Vou apenas upar a partir de agora");
log(" ");
&guardar=false;
&jogar=false;
set(guard_conf);
gui();
#yxpos=%XPOS%;
#yzpos=%ZPOS%;
#yypos=%YPOS%;
do;
if((%XPOS%!=%#yxpos%)||(%YPOS%!=%#yypos%)||(%ZPOS%!=%#yzpos%));
break;
endif;
}$$/home yhits_mob$${
wait(%#tp_delay%);
loop;
keydown(jump);
wait(1);
keyup(jump);
wait(500ms);
break;
else;
log("&b&l[yHits] &6Seus baús acabaram

");
log("&b&l[yHits] &cDesligado");
log(" ");
unset(yhits);
stop();
endif;
endif;
else;
gui();
#yxpos=%XPOS%;
#yzpos=%ZPOS%;
#yypos=%YPOS%;
do;
if((%XPOS%!=%#yxpos%)||(%YPOS%!=%#yypos%)||(%ZPOS%!=%#yzpos%));
break;
endif;
}$$/home yhits_mob$${
wait(%#tp_delay%);
loop;
keydown(jump);
wait(1);
keyup(jump);
wait(500ms);
break;
endif;
loop;
endif;
gui();
endif;
loop;
}$$