Advertisement
KananGamer

Macro Turron

Aug 18th, 2019
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.27 KB | None | 0 0
  1. $${
  2.  
  3. // //
  4. // Créditos: Useems //
  5. // Canal no youtube: https://www.youtube.com/channel/UCyuwm8kuKcvyOsf0TrdXTWQ //
  6. // Versão atual da Macro: 1.0 //
  7. // Macro feita para o Turron //
  8. // //
  9.  
  10. // --------------- CONFIGURAÇÕES --------------- //
  11.  
  12. // Home que você quer ir
  13. &home = "axe";
  14.  
  15. // Id do item que você deseja ter na mão
  16. #pick_item = 279;
  17.  
  18. // Tempo que ele demorará para verificar se você está morto (em milissegundos)
  19. #loop_time = 10000;
  20.  
  21. // Configurações específicas
  22. &prefix_message = "&6&l[&3&lA&7&lxe&3&lR&7&lespawn&6&l]&6&l";
  23.  
  24. // -------------------------------------------- //
  25.  
  26. do;
  27. if(%HEALTH%<=0);
  28. unset(found);
  29.  
  30. log("%&prefix_message% Parece que você está morto... Iniciando protocolo de respawn em 5 segundos...");
  31. wait(5000ms);
  32. respawn();
  33. log("%&prefix_message% Teleportando para a home principal em 5 segundos...");
  34. wait(5000ms);
  35. echo("/home %&home%");
  36. log("%&prefix_message% Aguardando 5 segundos para inicializar as ações de verificação de inventário e/ou baú...");
  37. wait(5000ms);
  38.  
  39. for(#o,0,3);
  40. #v = %#o%*90;
  41. look(%#v%,60);
  42. wait(200ms);
  43.  
  44. ifmatches(%HITID%,54);
  45. key(USE);
  46. for(#i,0,62);
  47. getslotitem(%#i%,#id);
  48. ifmatches(%#id%,%#pick_item%);
  49. set(found);
  50. slotclick(%#i%);
  51. slotclick(54);
  52. wait(500ms);
  53. gui;
  54. slot(1);
  55. break;
  56. endif;
  57. next;
  58. wait(500ms);
  59. gui;
  60. endif;
  61. next;
  62.  
  63. if(!found)
  64. gui(inventory);
  65. for(#i,0,35);
  66. getslotitem(%#i%,#id);
  67. ifmatches(%#id%,%#pick_item%);
  68. set(found);
  69. slotclick(%#i%);
  70. slotclick(36);
  71. wait(500ms);
  72. gui;
  73. slot(1);
  74. break;
  75. endif;
  76. next;
  77. endif;
  78.  
  79. if(!found);
  80. log("%&prefix_message% Não foi possível achar o item, confira se tudo está em seu devido lugar, por favor.");
  81. else;
  82. log("%&prefix_message% Sucesso! Teleportando para a home principal em 5 segundos...");
  83. wait(5000ms);
  84. echo("/home %&home%");
  85. wait(5000ms);
  86. unset(up);
  87. }$$$$<axe.txt>$${
  88. endif;
  89. endif;
  90. wait(%#loop_time%ms);
  91. loop;
  92. }$$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement