Advertisement
Guest User

Untitled

a guest
Mar 24th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. $${
  2. if(x);
  3. log("&3Macro Desligado");
  4. unset(x);stop;else;
  5. log("&3Macro Ligado");
  6. set(x);
  7. &capacete="^310$|^314$|^298$|^306$|^302$";
  8. &peitoral="^311$|^315$|^299$|^307$|^303$";
  9. &calca="^312$|^316$|^300$|^308$|^304$";
  10. &bota="^313$|^317$|^301$|^309$|^305$";
  11. #first=21;#firsta=22;#firstb=22;#firstc=21;
  12. #capacete=5;
  13. #peitoral=6;
  14. #calca=7;
  15. #bota=8;
  16. do;
  17. if(%HELMDURABILITY%<50);
  18. gui(inventory);wait(1ms);
  19. slotclick(%#capacete%,l,true);
  20. do;
  21. getslotitem(%#first%,#id,#stack);
  22. ifmatches(%#id%,%&capacete%);slotclick(%#first%,l,true);wait(1ms);gui;BREAK;else;inc(#first,1);endif;
  23. if(%#first%=44);log("&3Seus Capacetes Acabaram!!");log("&4MACRO DESLIGADO");GUI;endif;
  24. wait(10ms);
  25. loop;
  26. endif;
  27.  
  28. if(%CHESTPLATEDURABILITY%<50);
  29. gui(inventory);wait(1ms);
  30. slotclick(%#peitoral%,l,true);
  31. do;
  32. getslotitem(%#firsta%,#id,#stack);
  33. ifmatches(%#id%,%&peitoral%);slotclick(%#firsta%,l,true);wait(1ms);gui;BREAK;else;inc(#firsta,1);endif;
  34. if(%#firsta%=44);log("&aSeus Peitorais Acabaram!!");log("&4MACRO DESLIGADO");GUI;STOP;endif;
  35. wait(10ms);
  36. loop;
  37. endif;
  38.  
  39. if(%LEGGINGSDURABILITY%<50);
  40. gui(inventory);wait(1ms);
  41. slotclick(%#calca%,l,true);
  42. do;
  43. getslotitem(%#firstb%,#id,#stack);
  44. ifmatches(%#id%,%&calca%);slotclick(%#firstb%,l,true);wait(1ms);gui;BREAK;else;inc(#firstb,1);endif;
  45. if(%#firstb%=44);log("&aSuas Calças Acabaram!!");log("&4MACRO DESLIGADO");GUI;STOP;endif;
  46. wait(10ms);
  47. loop;
  48. endif;
  49.  
  50. if(%BOOTSDURABILITY%<50);
  51. gui(inventory);wait(1ms);
  52. slotclick(%#bota%,l,true);
  53. do;
  54. getslotitem(%#firstc%,#id,#stack);
  55. ifmatches(%#id%,%&bota%);slotclick(%#firstc%,l,true);wait(1ms);gui;BREAK;else;inc(#firstc,1);endif;
  56. if(%#firstc%=44);log("&aSuas Botas Acabaram!!");log("&4MACRO DESLIGADO");GUI;STOP;endif;
  57. wait(10ms);
  58. loop;
  59. endif;
  60. loop;
  61. }$$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement