Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2018
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.14 KB | None | 0 0
  1. #include <titanone.gph>
  2.  
  3. /*########################################################################################################################################################################################################################################
  4. ################################# CALL OF DUTY:BLACK OPS 4 GAMEPACK FOR CRONUSMAX / TITAN ONE / TITAN TWO ################################################################################################################################
  5. #################################=========================================================================################################################################################################################################
  6. ################################## TOGGLE MENU ############################################# DESCRIPTION #################################################################################################################################
  7. ##################################=============#############################################=============#################################################################################################################################
  8. ######################|------*/int In_Game_Sens = 4; /*######|----------------IMPORTANT FOR NORECOIL & AIMASSIST-------------------|################################################################################################
  9. ######################|------*/int ButtonSwap = FALSE; /*######|----------------ENABLED: aim = L1/LB , shoot = R1/RB-----------------|###################################################################################################
  10. ######################|------*/int RapidFire = FALSE;/*#######|-------HOLD "Scope_BTN" and press "Jump_BTN" for toggle on_off-------|################################################################################################
  11. ######################|------*/int NoRecoil = TRUE; /*#######|-------HOLD "Scope_BTN" and press "Crouch_BTN" for toggle on_off-----|################################################################################################
  12. ######################|------*/int AutoRun = TRUE; /*#######|-------NO TOGGLE WHILE IN-GAME POSSIBLE!-----------------------------|################################################################################################
  13. ######################|------*/int AutoHoldBreath = TRUE; /*#######|-------NO TOGGLE WHILE IN-GAME POSSIBLE!-----------------------------|################################################################################################
  14. ######################|------*/int AutoAim = FALSE;/*#######|-------HOLD "Scope_BTN" and press "D-PAD DOWN" for toggle on_off-----|################################################################################################
  15. ######################|------*/int AimAssist = TRUE; /*#######|-------HOLD "Scope_BTN" and press "D-PAD LEFT" for toggle on_off-----|################################################################################################
  16. ######################|------*/int HairTrigger = TRUE; /*######|--------------NO TOGGLE WHILE IN-GAME POSSIBLE!----------------------|################################################################################################
  17. #########################################################################################################################################################################################################################################*/
  18. //\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\|
  19. // SHOP: selly.gg/@xXSkyWalkerXx1 |
  20. //----------------------------------------------------------------------------------|
  21. // CREDITS GO TO: xXSkyWalkerXx1 |
  22. //----------------------------------------------------------------------------------|
  23. // VERSION: GAMEPACK V1.0 |
  24. //----------------------------------------------------------------------------------|
  25. // NOTICE: - SCAMMER PROTECT - LEAKER WILL FIND OUT FAST! |
  26. // - To optimize this GamePack for your sensitivity you have to change: |
  27. // "int In_Game_Sens" & "int delayA" |
  28. ////////////////////////////////////////////////////////////////////////////////////|
  29. //###########################################################################################################
  30. int Scope_BTN;int Shoot_BTN;int LY;int Run_BTN;int Reload_BTN;int Jump_BTN;int UP;int RY;int RIGHT;int LX;
  31. int Crouch_BTN;int RightBumber;int LeftBumber;int Left;int Down;int a;int b;int Melee_BTN; int Switch_BTN;
  32. int RX;
  33.  
  34. //Aimbot [only on Zombie Mode! & maybe on Battle Royale Mode?]:
  35. int AimDelay = 430; //Time until you have zoomed in your weapon
  36. int Zoom_In = 22;
  37. int Zoom_Out = 12;
  38.  
  39. //RapidFire:
  40. int shoot_rate = 5; // Bullets per second
  41. int rapidfire;
  42.  
  43. //AimAssist:
  44. int valueA = 28; // Y-Axis & X-Axis AimAssist value
  45. int delayA;
  46. int Correction_Activator = 38;
  47. int valueXP = 36;
  48. int valueXN = -36;
  49. int AimCorrection1 = FALSE; // More AimStability
  50. int AimCorrection2 = FALSE; // Correct your Aim if you move to left or right
  51.  
  52. //NoRecoil:
  53. int antirecoil_sg = 11; // NoRecoil_value for slow guns
  54. int antirecoil_fg = 19; // NoRecoil_value for fast guns
  55. int antirecoil;
  56.  
  57. //BlockMod:
  58. int button;
  59. int blockmod;
  60.  
  61. //Notify:
  62. int RumbleNotify = TRUE;
  63. int Battery = TRUE; // Controller and CronusMax lights change to red if controller is under 20%
  64. //###########################################################################################################
  65. init{
  66. if(get_controller() == PIO_WII){ combo_run(Notify);a=2;b=0;}
  67. else { combo_run(Notify);a=0;b=2;}
  68.  
  69. if(get_console() == PIO_PS4){
  70. Shoot_BTN = PS4_R2;
  71. Scope_BTN = PS4_L2;
  72. Jump_BTN = PS4_CROSS;
  73. Crouch_BTN= PS4_CIRCLE;
  74. Down = PS4_DOWN;
  75. RX = PS4_RX;
  76. RY = PS4_RY;
  77. Run_BTN = PS4_L3;
  78. LY = PS4_LY;
  79. Left = PS4_LEFT;
  80. LX = PS4_LX;
  81. }else{
  82. Shoot_BTN = XB1_RT;
  83. Scope_BTN = XB1_LT;
  84. Jump_BTN = XB1_A;
  85. Crouch_BTN= XB1_B;
  86. Down = XB1_DOWN;
  87. RX = XB1_RX;
  88. RY = XB1_RY;
  89. Run_BTN = XB1_LS;
  90. LY = XB1_LY;
  91. Left = XB1_LEFT;
  92. LX = XB1_LX;
  93. }
  94.  
  95. //RapidFire - Settings
  96. rapidfire = (1000/10)/shoot_rate; set_val(TRACE_1,rapidfire);
  97.  
  98. //NoRecoil - InGameSens Optimizing
  99. antirecoil_sg = antirecoil_sg*4/In_Game_Sens;
  100. antirecoil_fg = antirecoil_fg*4/In_Game_Sens;
  101.  
  102. //AimAssist Settings
  103. delayA = (3 * valueA ) / In_Game_Sens; set_val(TRACE_2, delayA);
  104.  
  105. }//CREDITS: xXSkyWalkerXx1
  106. //###########################################################################################################
  107. main{
  108. if(HairTrigger){
  109. if(get_val(Scope_BTN)){set_val(Scope_BTN,100);}
  110. if(get_val(Shoot_BTN)){set_val(Shoot_BTN,100);}
  111. }
  112. if(get_val(Scope_BTN) && event_press(Jump_BTN)){
  113. button = Jump_BTN;
  114. combo_run(BlockButton);
  115. RapidFire =! RapidFire;
  116. if(RapidFire == TRUE){combo_run(Notify);a=0;b=2;}
  117. if(RapidFire == FALSE){combo_run(Notify);a=2;b=0;}
  118. }
  119. if(get_val(Scope_BTN) && event_press(Down)){
  120. button = Down;
  121. combo_run(BlockButton);
  122. AutoAim =! AutoAim;
  123. if(AutoAim == TRUE){combo_run(Notify);a=0;b=2;}
  124. if(AutoAim == FALSE){combo_run(Notify);a=2;b=0;}
  125. }
  126. if(get_val(Scope_BTN) && event_press(Left)){
  127. button = Left;
  128. combo_run(BlockButton);
  129. AimAssist =! AimAssist;
  130. if(AimAssist == TRUE){combo_run(Notify);a=0;b=2;}
  131. if(AimAssist == FALSE){combo_run(Notify);a=2;b=0;}
  132. }
  133. //
  134. //
  135. if(AimAssist){
  136. if(get_val(Scope_BTN)){
  137. combo_run(AssY);
  138. combo_run(AssX);
  139. if(AimCorrection1){sensitivity(RX, 28,73); sensitivity(RY, 28,73);}
  140. } //##########^^######################^^##########//
  141. //##########||######################||##########//
  142. //######## CHANGE THIS VALUE LOWER FOR A ####//
  143. //######## HIGHER AIMSPEED! ####//
  144. //##############################################//
  145. if((get_val(RY)) > valueA || (get_val(RY)) < valueA*(-1)){
  146. combo_stop(AssY);
  147. }
  148. if((get_val(RX)) > valueA || (get_val(RX)) < valueA*(-1)){
  149. combo_stop(AssX);
  150. }
  151. if(AimCorrection2){
  152. if(get_val(Scope_BTN) && get_val(LX) < Correction_Activator*(-1)){
  153. combo_run(Correction_right);
  154. combo_stop(AssX);
  155. }
  156. if(get_val(Scope_BTN) && get_val(LX) > Correction_Activator){
  157. combo_run(Correction_left);
  158. combo_stop(AssX);
  159. }
  160. if(abs (get_val(RX)) > valueXP || get_val(RX) < valueXN ){
  161. combo_stop(Correction_left);
  162. combo_stop(Correction_right);
  163. }
  164. }
  165. }
  166. if(RapidFire){
  167. if(get_val(Shoot_BTN)){ combo_run(Rapidfire);}
  168. if(event_release(Shoot_BTN)){ combo_stop(Rapidfire);}
  169. }
  170.  
  171. if(NoRecoil){
  172. if(get_val(Shoot_BTN)){ combo_run(Norecoil);}
  173. if(get_rumble(RUMBLE_A) < 50){antirecoil = antirecoil_fg;}
  174. if(get_rumble(RUMBLE_A) > 50){antirecoil = antirecoil_sg;}
  175. if(abs(get_val(RY)) >= antirecoil+ 10 || abs(get_val(RX)) >= antirecoil+ 10){combo_stop(Norecoil);}
  176. if(event_release(Shoot_BTN)){ combo_stop(Norecoil);}
  177. }
  178.  
  179. if(AutoHoldBreath){
  180. if(get_val(Scope_BTN)>= 80){
  181. set_val(Run_BTN, 100);
  182. }
  183. }
  184.  
  185. if(AutoRun){
  186. if(get_val(LY) <= -20){
  187. set_val(Run_BTN, 100);
  188. }
  189. }
  190.  
  191. if(AutoAim){
  192. if(get_val(Scope_BTN) && get_ptime(Scope_BTN) >= AimDelay ){
  193. combo_run(Autoaim); set_val(Run_BTN,0);
  194. }
  195. }
  196.  
  197. if(Battery){
  198. // if(get_battery ()<=10){ a=0;b=2;}
  199. // if(get_battery ()<=6){ a=2;b=2;}
  200. if(get_battery ()<=2){
  201. set_led(LED_1,0);
  202. set_led(LED_2,2);
  203. set_led(LED_3,0);
  204. set_led(LED_4,0);
  205. }
  206. }
  207.  
  208. }
  209. //###########################################################################################################
  210. combo Notify {
  211. set_led(LED_1,0);
  212. set_led(LED_2,a);
  213. set_led(LED_3,b);
  214. set_led(LED_4,0);
  215. wait(550);
  216. set_led(LED_1,0);
  217. set_led(LED_2,0);
  218. set_led(LED_3,0);
  219. set_led(LED_4,0);
  220. wait(250);
  221. set_led(LED_1,0);
  222. set_led(LED_2,a);
  223. set_led(LED_3,b);
  224. set_led(LED_4,0);
  225. wait(250);
  226. set_led(LED_1,0);
  227. set_led(LED_2,0);
  228. set_led(LED_3,0);
  229. set_led(LED_4,0);
  230. wait(250);
  231. set_led(LED_1,0);
  232. set_led(LED_2,a);
  233. set_led(LED_3,b);
  234. set_led(LED_4,0);
  235. wait(250);
  236. reset_leds();
  237. }
  238.  
  239. combo BlockButton{
  240. set_val(button,0);
  241. wait(700);
  242. }
  243.  
  244. combo Autoaim {
  245. set_val(Scope_BTN, 100);
  246. wait(Zoom_In);
  247. set_val(Scope_BTN, 0);
  248. wait(Zoom_Out);
  249. }
  250.  
  251. combo Rapidfire {
  252. set_val(Shoot_BTN, -21);
  253. wait(rapidfire);
  254. set_val(Shoot_BTN, 0);
  255. wait(rapidfire);
  256. set_val(Shoot_BTN, 0);
  257. }
  258.  
  259. combo Correction_right {
  260. set_val(RX, valueXP);
  261. wait(1);
  262. set_val(RX, valueXP);
  263. }
  264.  
  265. combo Correction_left {
  266. set_val(RX, valueXN);
  267. wait(1);
  268. set_val(RX, valueXN);
  269. }
  270.  
  271. combo AssY {
  272. wait(delayA);
  273. set_val(RY, valueA);
  274. wait(delayA);
  275. set_val(RY, valueA*(-1));
  276. wait(delayA);
  277. }
  278.  
  279. combo AssX {
  280. wait(delayA/1.5);
  281. set_val(RX, valueA);
  282. wait(delayA/1.5);
  283. set_val(RX, valueA*(-1));
  284. wait(delayA/1.5);
  285. }
  286.  
  287. combo Norecoil {
  288. set_val(RY, antirecoil);
  289. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement