Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.66 KB | None | 0 0
  1. $${
  2. IF(rxoneto);
  3. Unset(rxoneto);
  4. log(off);
  5. KEYUP(RIGHT);
  6. KEYUP(LEFT);
  7. KEYUP(SNEAK);
  8. stop();
  9. Else;
  10. Set(rxoneto);
  11. #trap = 1;
  12. #bau = 1;
  13. log(on);unset(@matar_fantasma);
  14. echo(/home fileira);
  15. wait(5);
  16. do;
  17. IF(%HEALTH%<10);ECHO(/sethome fantasma);wait(500ms);
  18. #look = 0;
  19. do;
  20. unsafe();
  21. if(%HEALTH%<5);ECHO(/SPAWN);pick(carrot);do;look(,-90);key(use);until(%HUNGER% = 20);do;until(%HEALTH%=20);echo(/home fantasma);endif;
  22. LOOK(%#look%,35);slot(2);
  23. if(%HIT% = "ENTITY");KEY(attack);
  24. WAIT(1ms);endif;
  25. inc(#look,25);
  26. if(%#look%>359);
  27. #look = 0;
  28. endif;
  29. endunsafe;
  30. until(@matar_fantasma);
  31. echo(/spawn);
  32. do;
  33. slot(4);
  34. key(use);
  35. until(%HUNGER% = 20);
  36. do;until(%HEALTH%=20);
  37. unset(@matar_fantasma);
  38. ECHO(/home fileira);wait(5);
  39. ENDIF;
  40.  
  41. echo(/delhome fileira);
  42. wait(500ms);
  43. echo(/sethome fileira);
  44. do;
  45. IF(%HEALTH%<10);
  46. #look = 0;
  47. do;
  48. unsafe();
  49. if(%HEALTH%<5);ECHO(/SPAWN);pick(carrot);do;look(,-90);key(use);until(%HUNGER% = 20);endif;
  50. LOOK(%#look%,35);slot(2);
  51. if(%HIT% = "ENTITY");KEY(attack);
  52. WAIT(1ms);endif;
  53. inc(#look,25);
  54. if(%#look%>359);
  55. #look = 0;
  56. endif;
  57. endunsafe;
  58. until(@matar_fantasma);
  59. echo(/spawn);
  60. do;
  61. slot(4);
  62. key(use);
  63. until(%HUNGER% = 20);
  64. unset(@matar_fantasma);
  65. ECHO(/home fileira);wait(5);
  66. ENDIF;
  67. look(SOUTH);
  68. look(,90);
  69. keydown(left);
  70. slot(1);
  71. key(attack);
  72. wait(15ms);
  73. if(%HITID% = "dirt");
  74. slot(3);
  75. key(use);
  76. endif;
  77. #x = %XPOS% + 1;
  78. getid(%#x%,%YPOS%,%ZPOS%,&id);
  79. until((%HITID%="stone_slab") && (%&id%="dirt"));
  80. keyup(left);
  81.  
  82. do;
  83. IF(%HEALTH%<10);
  84. #look = 0;
  85.  
  86. do;
  87. unsafe();
  88. if(%HEALTH%<5);ECHO(/SPAWN);pick(carrot);do;look(,-90);key(use);until(%HUNGER% = 20);endif;
  89. LOOK(%#look%,35);slot(2);
  90. if(%HIT% = "ENTITY");KEY(attack);
  91. WAIT(1ms);endif;
  92. inc(#look,25);
  93. if(%#look%>359);
  94. #look = 0;
  95. endif;
  96. endunsafe;
  97. until(@matar_fantasma);
  98. echo(/spawn);
  99. do;
  100. slot(4);
  101. key(use);
  102. until(%HUNGER% = 20);
  103. unset(@matar_fantasma);
  104. ECHO(/home fileira);wait(5);
  105. ENDIF;
  106. look(SOUTH);
  107. look(,90);
  108. keydown(right);
  109. pick(carrot);
  110. key(use);
  111. wait(1ms);
  112. #x = %XPOS% - 1;
  113. getid(%#x%,%YPOS%,%ZPOS%,&id);
  114. until((%HITID%="stone_slab") && (%&id%="dirt"));
  115. keyup(right);
  116.  
  117.  
  118.  
  119.  
  120. gui(inventory);
  121. #inv_cheio=0;
  122. unsafe();
  123. for(#inv,9,44);
  124. getslotitem(%#inv%,&id,#stack);
  125. if(%#stack%!=0);
  126. inc(#inv_cheio);
  127. endif;
  128. next;
  129. endunsafe();
  130. gui();
  131. if(%#inv_cheio%>30);
  132.  
  133. echo(/home bau%#trap%);wait(5);
  134. gui();
  135. do;
  136. ifmatches(%#bau%,1);wait(1);look(NORTH);look(-32,-25);wait(400ms);endif;
  137. ifmatches(%#bau%,2);wait(1);look(NORTH);look(0,-25);wait(400ms);endif;
  138. ifmatches(%#bau%,3);wait(1);look(NORTH);look(32,-25);wait(400ms);endif;
  139. ifmatches(%#bau%,4);wait(1);look(NORTH);look(-32,0);wait(400ms);endif;
  140. ifmatches(%#bau%,5);wait(1);look(NORTH);look(0,0);wait(400ms);endif;
  141. ifmatches(%#bau%,6);wait(1);look(NORTH);look(32,0);wait(400ms);endif;
  142. ifmatches(%#bau%,7);wait(1);look(NORTH);look(-32,30);wait(400ms;endif;
  143. ifmatches(%#bau%,8);wait(1);look(NORTH);look(0,30);wait(400ms);endif;
  144. ifmatches(%#bau%,9);wait(1);look(NORTH);look(32,30);wait(400ms);endif;
  145. do;key(use);wait(500ms);until(%GUI%="GUICHEST");wait(500ms);
  146. getslotitem(53,&id,#stack);
  147. if(%#stack% != 0);
  148. inc(#bau);gui();
  149. else;
  150. for(#guardar_bau,54,89);
  151. getslotitem(%#guardar_bau%,&id);
  152. ifmatches(%&id%,"carrot");
  153. slotclick(%#guardar_bau%,r,true);wait(100ms);
  154. endif;
  155. next;
  156. endif;
  157. gui();
  158.  
  159. if(%#bau%>10);
  160. inc(#trap);
  161. #bau = 1=;
  162. echo(/home bau%#trap%);wait(5);gui();
  163. endif;
  164. gui(inventory);
  165. #guardar = 0;
  166. for(#inv_cenoura,9,44);
  167. getslotitem(%#inv_cenoura%,&id,#stack);
  168. ifmatches(%&id%,"carrot");
  169. inc(#guardar);
  170. endif;
  171. next;
  172. gui();
  173. until(%#guardar% = 0);
  174. ECHO(/home fileira);
  175. wait(5);
  176. endif;
  177.  
  178.  
  179. #z = %ZPOS%;
  180. do;
  181. keydown(sneak);
  182. keydown(forward);
  183. #zpos = %ZPOS% + 1;
  184. #ypos = %YPOS% - 1;
  185. GETID(%XPOS%,%#ypos%,%#zpos%,&id);
  186. until((%ZPOS% = %#z% + 1) || (%&id% = "dirt"));
  187. if(%&id% = "dirt");
  188. keyup(sneak);
  189. keyup(forward);
  190. echo(/home fileira1);wait(5);
  191. endif;
  192. keyup(sneak);
  193. keyup(forward);
  194.  
  195. keydown(left);
  196. keydown(sneak);
  197. wait(1);
  198. keyup(left);
  199. keyup(sneak);
  200.  
  201. loop;
  202. endif;
  203. }$$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement