Advertisement
Grubb

Script request 2

Feb 25th, 2020
1,377
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.14 KB | None | 0 0
  1.  
  2. /*
  3.  
  4. /$$$$$$$ /$$ /$$$$$$$ /$$ /$$ /$$ /$$
  5. | $$__ $$ | $$ | $$__ $$| $$ |__/| $$|__/
  6. | $$ \ $$ /$$$$$$ /$$$$$$ /$$$$$$$ | $$ \ $$| $$$$$$$ /$$| $$ /$$ /$$$$$$
  7. | $$$$$$$ /$$__ $$|____ $$ /$$__ $$ | $$$$$$$/| $$__ $$| $$| $$| $$ /$$__ $$
  8. | $$__ $$| $$ \__/ /$$$$$$$| $$ | $$ | $$____/ | $$ \ $$| $$| $$| $$| $$ \ $$
  9. | $$ \ $$| $$ /$$__ $$| $$ | $$ | $$ | $$ | $$| $$| $$| $$| $$ | $$
  10. | $$$$$$$/| $$ | $$$$$$$| $$$$$$$ | $$ | $$ | $$| $$| $$| $$| $$$$$$$/
  11. |_______/ |__/ \_______/ \_______//$$$$$$|__/ |__/ |__/|__/|__/|__/| $$____/
  12. |______/ | $$
  13. | $$
  14. |__/
  15. ??????????
  16. SCRIPT FEATURES:|
  17. Aim Assit |
  18. Aim Abuse |
  19. Anti Recoil |
  20. 100% Accuracy |
  21. ________________|
  22.  
  23.  
  24. Credits: WalterHMartinez
  25. Tested With Builder Pro (XB1/PS4)
  26. -------------------------------------------------
  27. NOTE INSTRUCTIONS ARE BELOW!
  28. DROP A LIKE ON THIS SCRIPT AND SHOW SOME LOVE*/
  29.  
  30. //IN GAME SENS X/Y
  31. int In_Game_Sens = 7.0;
  32.  
  33. //SINGLE SHOT
  34. int SINGLESHOT = TRUE;
  35.  
  36. //AIM ABUSE
  37. int AimAbuse = TRUE;
  38. int AimSpeed = 85;
  39. int delay = 14;
  40.  
  41. //AIM ASSIST
  42. int AimAssist = TRUE;
  43. int valueX = 20;
  44. int delayA = 7;
  45.  
  46. //ANTI RECOIL
  47. int recoil_onoff = TRUE;
  48. int ANTI_RECOIL = 17;
  49. int ANTI_RECOIL_H = 0;
  50. /*-----------------*/
  51. int anti_recoil_H;
  52. int anti_recoil;
  53. /*-----------------*/
  54. define AR_Release = 70;
  55. define SCOPE_ACTIVATED = TRUE;
  56.  
  57.  
  58. /*=========================================================================================
  59. INSTRUCTIONS OF USE:
  60. WARNING: This Script Is Very Overpowered! :¬D
  61. ===========================================================================================
  62. AIM ABUSE: Aim Abuse Is Always On, If Using Scoped Weapons Hold ADS Button Less Than 95%
  63. You'll Be Able To Use Scope.
  64. ===========================================================================================
  65. ANTI RECOIL: This Is Always On, Just Shoot Away!
  66. ===========================================================================================
  67. SINGLE SHOT: This Is Always On, Hold ADS Button And Right Bumper To Shoot Players At
  68. A Greater Distance.
  69. ===========================================================================================
  70. AIM ASSIST: This Is Always On, Hold ADS And Abuse The Aim Assist.
  71. =================================================*/
  72.  
  73. //--------------------------------------------> INITALIZATION
  74. int a; int b; int rumble_type = RUMBLE_A;
  75.  
  76. define HOME = 0 //XB1_XBOX | PS4_PS
  77. define VIEW = 1 //XB1_VIEW | PS4_SHARE
  78. define RIGHT_BUMP = 3 //XB1_RB | PS4_R1
  79. define FIRE_BTN = 4 //XB1_RT | PS4_R2
  80. define CROUCH_BTN = 5 //XB1_RS | PS4_R3
  81. define LEFT_BUMP = 6 //XB1_LB | PS4_L1
  82. define ADS_BTN = 7 //XB1_LT | PS4_L2
  83. define SPRINT_BTN = 8 //XB1_LS | PS4_L3
  84. define RX = 9 //XB1_RX | PS4_RX
  85. define RY = 10 //XB1_RY | PS4_RY
  86. define LX = 11 //XB1_LX | PS4_LX
  87. define LY = 12 //XB1_LY | PS4_LY
  88. define UP = 13 //XB1_UP | PS4_UP
  89. define DOWN = 14 //XB1_DOWN | PS4_DOWN
  90. define LEFT = 15 //XB1_LEFT | PS4_LEFT
  91. define RIGHT = 16 //XB1_RIGHT | PS4_RIGHT
  92. define SWAP_BTN = 17 //XB1_Y | PS4_TRIANGLE
  93. define BUILD_BTN = 18 //XB1_B | PS4_CIRCLE
  94. define JUMP_BTN = 19 //XB1_A | PS4_CROSS
  95. define RELOAD_BTN = 20 //XB1_X | PS4_SQUARE
  96. /*------------------------------
  97.  
  98. BUILDER PRO*/
  99. define WALL_BTN = XB1_RT;
  100. define STAIRS_BTN = XB1_LT;
  101. define FLOOR_BTN = XB1_RB;
  102. define ROOF_BTN = XB1_LB;
  103.  
  104. //<--Settings-->
  105. init{ //Change 7 to the sens you use in game.
  106. delayA = (7 * valueX ) / In_Game_Sens; set_val(TRACE_2, delayA);
  107. }
  108.  
  109. //------------------| MAIN |-----------------------------
  110.  
  111. main {
  112.  
  113. //////AIM ASSIST//////---------------<3
  114. if (AimAssist){
  115. if (get_val(ADS_BTN)){
  116. combo_run(Aim_Assist);
  117. }
  118. if ((get_val(RX)) > valueX || (get_val(RX)) < valueX*(-1)){
  119. combo_stop(Aim_Assist);
  120. }
  121. }
  122.  
  123. //////ANTI RECOIL//////---------------<3
  124. if (!SCOPE_ACTIVATED || get_val(ADS_BTN) && get_val(FIRE_BTN )) {
  125. combo_run(AntiRecoil);
  126. }
  127.  
  128. if ( abs(get_val(10)) > AR_Release || abs(get_val(9)) > AR_Release) {
  129. combo_stop (AntiRecoil);
  130. }
  131.  
  132. //////AIM ABUSE//////---------------<3
  133. if (AimAbuse){
  134. if (get_val(ADS_BTN) > 95) {
  135. combo_run(AIM_ABUSE);}
  136. if (event_release(ADS_BTN)){ combo_stop(AIM_ABUSE);}
  137. }
  138.  
  139. //////DEAD ZONE(0)//////---------------<3
  140. if (abs(get_val(XB1_LY)) < 0 && abs(get_val(XB1_LX)) < 0 ){
  141. set_val(XB1_LY,0);
  142. set_val(XB1_LX,0);
  143. }
  144. if (abs(get_val(XB1_RY)) < 0 && abs(get_val(XB1_RX)) < 0 ){
  145. set_val(XB1_RY,0);
  146. set_val(XB1_RX,0);
  147. }
  148.  
  149. //////SINGLE SHOT//////---------------<3
  150. if (get_val(ADS_BTN) && get_val(RIGHT_BUMP)) {
  151. combo_run(SINGLESHOT);
  152. combo_run(Notify);a=0;b=2;
  153. set_val(RIGHT_BUMP, 0);
  154. } else {
  155. combo_stop(SINGLESHOT);
  156. }
  157. }
  158.  
  159.  
  160. // MAIN BLOCK END
  161. //---------------------------------------------| COMBO's
  162.  
  163.  
  164. combo Notify {
  165. set_led(LED_1,0);
  166. set_led(LED_2,a);
  167. set_led(LED_3,b);
  168. set_led(LED_4,0);
  169. wait(550);
  170. set_led(LED_1,0);
  171. set_led(LED_2,0);
  172. set_led(LED_3,0);
  173. set_led(LED_4,0);
  174. wait(250);
  175. set_led(LED_1,0);
  176. set_led(LED_2,a);
  177. set_led(LED_3,b);
  178. set_led(LED_4,0);
  179. wait(250);
  180. set_led(LED_1,0);
  181. set_led(LED_2,0);
  182. set_led(LED_3,0);
  183. set_led(LED_4,0);
  184. wait(250);
  185. set_led(LED_1,0);
  186. set_led(LED_2,a);
  187. set_led(LED_3,b);
  188. set_led(LED_4,0);
  189. wait(250);
  190. reset_leds();
  191. }
  192.  
  193. combo Aim_Assist {
  194. wait(4)
  195. set_val(RX, valueX);
  196. wait(delayA);
  197. set_val(RX, valueX*(-1));
  198. wait(delayA);
  199. }
  200.  
  201. combo AIM_ABUSE{
  202. set_val(ADS_BTN,100);
  203. wait(AimSpeed);
  204. set_val(ADS_BTN,0);
  205. wait(delay);
  206. }
  207.  
  208. combo SINGLESHOT {
  209. set_val(FIRE_BTN,100);
  210. wait(120);
  211. wait(250);
  212. set_val(FIRE_BTN,100);
  213. }
  214.  
  215. combo VIBRATE {
  216. set_rumble(rumble_type, 100);
  217. wait(300);
  218. reset_rumble();
  219. }
  220.  
  221. combo AntiRecoil { // This combo must be the last one
  222. if(recoil_onoff) {
  223. anti_recoil = get_val(10) + ANTI_RECOIL;
  224. if(anti_recoil > 100) anti_recoil = 100;
  225. set_val(10, anti_recoil);
  226. anti_recoil_H = get_val(9) + ANTI_RECOIL_H;
  227. if(anti_recoil_H > 100) anti_recoil_H = 100;
  228. set_val(9, anti_recoil_H);
  229. }
  230. }
  231.  
  232. function rumble_A_if_true(var) {
  233. if (var) rumble_type = RUMBLE_A;
  234. else rumble_type = RUMBLE_B;
  235. combo_run(VIBRATE);
  236. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement