Advertisement
CorrM

Cod4 Zombies by CorrM

Nov 17th, 2018
621
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2.  ______     ______     ______     ______     __    __    
  3. /\  ___\   /\  __ \   /\  == \   /\  == \   /\ "-./  \  
  4. \ \ \____  \ \ \/\ \  \ \  __<   \ \  __<   \ \ \-./\ \  
  5.  \ \_____\  \ \_____\  \ \_\ \_\  \ \_\ \_\  \ \_\ \ \_\
  6.   \/_____/   \/_____/   \/_/ /_/   \/_/ /_/   \/_/  \/_/
  7.  
  8. https://www.youtube.com/watch?v=_ie__YwTE2U
  9. */
  10.  
  11. define b_SafeKnife          = TRUE;
  12. define t_SafeKnife          = 350;
  13.  
  14. define b_AimBot             = TRUE;
  15. define t_AimBot_AimReady    = 350;
  16. define t_AimBot_AimShoot    = 700;
  17. define t_AimBot_GoToHead    = 26;
  18.  
  19. define b_RappidFire         = TRUE;
  20. define t_RappidFire         = 24;
  21.  
  22. define b_AutoRun            = TRUE;
  23. define t_AutoRun            = 150;
  24.  
  25.  
  26. // #####################
  27. // ##   Don't Touch   ##
  28. // #####################
  29. int b_UseAimAssist          = FALSE;
  30.  
  31.  
  32. main
  33. {
  34.     if (b_SafeKnife)
  35.     {
  36.         if (event_press(PS4_R3))
  37.             combo_run(SafeKnife_C);
  38.     }
  39.    
  40.     if (b_AimBot)
  41.     {
  42.         if (get_val(PS4_L2) && get_val(PS4_L1))
  43.         {
  44.             set_val(PS4_L1, 0);
  45.             if (get_ptime(PS4_L2) > t_AimBot_AimReady)
  46.             {
  47.                 if (!combo_running(AimBot_C))
  48.                     combo_run(AimBot_C);
  49.                 if (b_UseAimAssist && !combo_running(AimAssist_C))
  50.                     combo_run(AimAssist_C);
  51.             }
  52.         }
  53.         else
  54.         {
  55.             b_UseAimAssist = FALSE;
  56.             combo_stop(AimAssist_C);
  57.             combo_stop(AimBot_C);
  58.         }
  59.     }
  60.    
  61.     if (b_RappidFire)
  62.     {
  63.         if (get_val(PS4_L2) && get_val(PS4_R1))
  64.         {
  65.             set_val(PS4_R1, 0);
  66.             if (!combo_running(RappidFire_C))
  67.                 combo_run(RappidFire_C);
  68.         }
  69.         else
  70.         {
  71.             combo_stop(RappidFire_C);
  72.         }
  73.     }
  74.    
  75.     if (b_AutoRun && !get_val(PS4_L2) && get_val(PS4_LY) < -40)
  76.     {
  77.         if (!combo_running(AutoRun_C))
  78.             combo_run(AutoRun_C);
  79.     }
  80. }
  81.  
  82. combo SafeKnife_C
  83. {
  84.     set_val(PS4_LY, 100);
  85.     wait(t_SafeKnife);
  86.    
  87.     set_val(PS4_LY, 0);
  88.     wait(t_SafeKnife / 5);
  89. }
  90.  
  91. combo AimBot_C
  92. {
  93.     b_UseAimAssist = TRUE;
  94.    
  95.     wait(t_AimBot_AimShoot);
  96.    
  97.     b_UseAimAssist = FALSE;
  98. }
  99.  
  100. combo AimAssist_C
  101. {
  102.     set_val(PS4_L2, 100);
  103.     wait(60);
  104.    
  105.     // Go To Head
  106.     //set_val(PS4_RY, -90);
  107.     //wait(t_AimBot_GoToHead);
  108.    
  109.     set_val(PS4_R2, 100);
  110.     wait(t_RappidFire);
  111.     set_val(PS4_R2, 0);
  112.     wait(t_RappidFire / 2);
  113.    
  114.     set_val(PS4_L2, 0);
  115.     wait(25);
  116. }
  117.  
  118. combo RappidFire_C
  119. {
  120.     set_val(PS4_R2, 100);
  121.     wait(t_RappidFire);
  122.     set_val(PS4_R2, 0);
  123.     wait(t_RappidFire / 2);
  124. }
  125.  
  126. combo AutoRun_C
  127. {
  128.     set_val(PS4_L3, 100);
  129.     wait(t_AutoRun);
  130.     set_val(PS4_L3, 0);
  131.     wait(t_AutoRun / 2);
  132. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement