GPC SCRIPT LIBRARY

MWR PRO (ALL IN ONE, EASY TO USE)

A lightweight script featuring all the best mods for MWR in one.
Never worry about toggling different modes ever again.

With MWR PRO, you can use your different classes easily with the press
of one hotkey. That's right, change your primary weapon settings, secondary weapon settings, turn on different modes all with the press of one fully customizable hotkey.

The settings at the top are barely worth changing. Scroll down to the
gun classes to set the type of mods you want on each individual
class. I have added the beginning of a weapon info table to aid you in
setting up your own classes. I also left my classes 1-5 as an example.

If you find some values I don't have in the weapon info tables, please let me know so I can update my script.
Version 1.0
Author terp outmypores
Published Date 2017-01-06 15:43:21
Latest Date 2017-01-06 15:43:21
Downloads 452
VOTE NOW

3

0
Contact Author
Scripts by Author
RELEASE NOTES
Sniper mode isn't auto-firing(?)
Code:Select all
/************************************************************|
AUTHOR   : terp outmypores (Xbox GT)   					  	 |
GAME     : Modern Warfare Remastered             		  	 |                                                                                                             
Console  : Xbox One / PS4   							  	 |
VERSION  : 1.0											  	 |
HOTKEYS  : You MUST press SELECT before                   	 |
		 : hitting the assigned class hotkey              	 |
	SELECT + DOWN   = CLASS 0 (DISABLES ALL MODS)	  		 |
	SELECT + JUMP		 = CLASS 1						  	 |
	SELECT + PRONE 	 	 = CLASS 2						  	 |
	SELECT + SWAP WEAPON = CLASS 3						  	 |
	SELECT + RELOAD		 = CLASS 4						  	 |
	SELECT + MELEE_BTN   = CLASS 5						  	 |
	SELECT + SHOOT		 = CLASS 6						  	 |
	SELECT + ADS		 = CLASS 7						  	 |
	SELECT + TACTICAL	 = CLASS 8						  	 |
	SELECT + LETHAL		 = CLASS 9						  	 |
	SELECT + START		 = CLASS 10						  	 |
NOTES    : 												  	 |
	Sometimes if you die with your secondary or run out	  	 |
	of ammo and switch to your secondary without pressing 	 |
	switch weapon, the script will get confused and think 	 |
	you are holding your secondary when you aren't. If    	 |
	this happens, your reload cancels with fail. To fix   	 |
	this, hold down the reload button the amount of time  	 |
	equal to your PRIMARY_SWAP_TIME value. You will feel  	 |
	a small vibration.									  	 |
*************************************************************|
//============================================================\
//=============================================================\
//==============================================================\
////_____________________________________________________________\
////########################  SETTINGS  ##########################\
*///---------------------------------------------------------------\
//          There are more changable settings  			         	\
//         below inside of the class profiles.	            		 \
define CONSOLE            =   1; // 1 for Xbox One, 2 for PS4.	  	  \
define DEFAULT_CLASS      =   0; // Defaults to empty class.    	   \   
define PRIMARY_SWAP_TIME  = 350; // Time you need to hold X to          \
								 // tell thescript you are holding you.  \
								 // primary when it thinks you're not.    \
define SNIPER_CANCEL_MIN =  100; // Range in which sniper will             \
define SNIPER_CANCEL_MAX = 3000; // automatically shoot upon zooming out.   \
//===========================================================================\
//============================================================================\
//=============================================================================\								  
/*******************************************************************************| 
 This Script was made and intended for www.cronusmax.com & CronusMAX ONLY.      | 
 UNLESS permission is given by the creator and/or copywritee,                   | 
 All rights reserved. This material may not be reproduced, displayed,           | 
 modified or distributed without the express prior written permission of the    | 
 copyright holder. For permission, contact CronusMax.                           | 
     __  ____   ___   ____   __ __  _____ ___ ___   ____  __ __                 | 
    /  ]|    \ /   \ |    \ |  |  |/ ___/|   |   | /    ||  |  |                | 
   /  / |  D  )     ||  _  ||  |  (   \_ | _   _ ||  o  ||  |  |                | 
  /  /  |    /|  O  ||  |  ||  |  |\__  ||  \_/  ||     ||_   _|                | 
 /   \_ |    \|     ||  |  ||  :  |/  \ ||   |   ||  _  ||     |                | 
 \     ||  .  \     ||  |  ||     |\    ||   |   ||  |  ||  |  |                | 
  \____||__|\_|\___/ |__|__| \__,_| \___||___|___||__|__||__|__|                | 
                                                                                | 
********************************************************************************|
//______________________________________________________________________________|
//##############  VARIABLES BELOW USED BY THE SCRIPT (DON'T TOUCH)  ############|
*///----------------------------------------------------------------------------|
define SELECT      		  =  XB1_VIEW; 							  //DON'T TOUCH!!
define MENU               =  XB1_MENU; 							  //DON'T TOUCH!!
define HOME               =  XB1_XBOX; 							  //DON'T TOUCH!!
define JUMP_BTN           =     XB1_A; 							  //DON'T TOUCH!!
define RELOAD_BTN         =     XB1_X; 							  //DON'T TOUCH!!
define PRONE_BTN          =     XB1_B; 							  //DON'T TOUCH!!
define SWITCH_WEAPON   	  =     XB1_Y; 							  //DON'T TOUCH!!
define TACTICAL 		  =    XB1_LB; 							  //DON'T TOUCH!!
define LETHAL 			  =    XB1_RB; 							  //DON'T TOUCH!!
define UP 				  =    XB1_UP; 							  //DON'T TOUCH!!
define DOWN				  =  XB1_DOWN; 							  //DON'T TOUCH!!
define RIGHT		 	  = XB1_RIGHT; 							  //DON'T TOUCH!!
define LEFT 			  =  XB1_LEFT; 							  //DON'T TOUCH!!
define SHOOT_BTN  		  =    XB1_RT; 							  //DON'T TOUCH!!
define ADS_BTN  	      =    XB1_LT; 							  //DON'T TOUCH!!
define SPRINT_BTN		  =    XB1_LS; 							  //DON'T TOUCH!!
define MELEE_BTN  		  =    XB1_RS; 							  //DON'T TOUCH!!
define LY 			 	  =    XB1_LY; 							  //DON'T TOUCH!!
define LX  				  =    XB1_LX; 							  //DON'T TOUCH!!
define RY  				  =    XB1_RY; 							  //DON'T TOUCH!!
define RX  			   	  =    XB1_RX; 							  //DON'T TOUCH!!
/*==============================================================================|
//==============================================================================|
				   Please help me crowd source these values.				    |
				   			I use (5) sensitivity                               |  
														 		                |
							GUN TABLES									 	    |
				         RELOAD TIME | ANTI-RECOIL(5) | ANTI-RECOIL (7)    	    |    
			G3    	   :     1551    |       0   	  |					   		|       
			MP5   	   : 	 1811    |       0   						   		|         
			AK47       : 	 1538    |      (?)   						   		|
			M16        :	 1544    |       0   						   		|
			M40A3      :	 1013    |       0   						   		|
			RPD        :	 6060    |      (?)             			   		|
			M9         :	 1236    |       0   					       		|
			USP        :	 1236    |       0    					       		|
			DEAGLE     :	 1481    |      55         		               		|
			M1014      :                                                   		|
			G36C       :                                                   		|
			M4 Carbine :                                                   		|
			M14        :                                                   		|
			MP44       :                                                   		|
			M249       :                                                   		|
			M60E4      :                                                   		|
			Skorpion   :                                                   		|
			Mini-Uzi   :                                                   		|
			AK-74u     :                                                   		|
			P90        :                                                   		|
			M21        :                                                   		|
			Dragonuv   :                                                   		|
			R700       :                                                   		|
			Barret .50 :                                                   		|
			W1200      :                                                   		|
			M1911      :                                                   		|
//==============================================================================|
*///============================================================================|
/*==============================================================================|
//==============================  WEAPON CLASSES  =============================/
//============================================================================/
			  PLEASE NOTE: You need to customize these settings to			 /
			match the mods you want for your in game classes. Classes	    /
			 1-5 are the classes I use. I left them in as an example 	   /
			             of how to set up classes. 						  /
//______________________________________________________________________ /
//########################  EMPTY CLASS  ###############################|
*///------------------ turns everything off ----------------------------|
// Don't change class 0 unless you need more than 10 classes			|
// and don't care about being able to turn off all mods.				|
define CLASS0_HOTKEY  =  DOWN; // Select + HOTKEY to choose CLASS		|
define CLASS0_PRIM_RF = FALSE; // Primary rapid fire on/off				|
define CLASS0_PRIM_RC =     0; // Primary reload cancel time			|			
define CLASS0_PRIM_AR =     0; // Primary anti recoil amount			|
define CLASS0_SECD_RF = FALSE; // Secondary rapid fire on/off			|
define CLASS0_SECD_RC =     0; // Secondary reload cancel time			|
define CLASS0_SECD_AR =     0; // Secondary anti recoil amount          |
define CLASS0_SG_MODE = FALSE; // Shotgun mode on/off (Jitter+Dropshot) |
define CLASS0_SN_MODE = FALSE; // Sniper mode on/off					|
define CLASS0_PS_MODE = FALSE; // Perfect sprint mode on/off			|
//______________________________________________________________________|
//##############  CLASS 1 (DEFAULT)  #################
//--------------- G3 + Desert Eagle ------------------
define CLASS1_HOTKEY  = JUMP_BTN;
define CLASS1_PRIM_RF =  TRUE; // Primary rapid fire on/off
define CLASS1_PRIM_RC =  1551; // Primary reload cancel time
define CLASS1_PRIM_AR =     0; // Primary anti recoil amount
define CLASS1_SECD_RF =  TRUE; // Secondary rapid fire on/off
define CLASS1_SECD_RC =  1481; // Secondary reload cancel time
define CLASS1_SECD_AR =    55; // Secondary anti recoil amount
define CLASS1_SG_MODE = FALSE; // Shotgun mode on/off (Jitter+Dropshot)
define CLASS1_SN_MODE = FALSE; // Sniper mode on/off
define CLASS1_PS_MODE = FALSE; // Perfect sprint mode on/off
//____________________________________________________
//###################  CLASS 2   #####################
//---------------- M16 + Desert Eagle -------------------
define CLASS2_HOTKEY  = PRONE_BTN;
define CLASS2_PRIM_RF =  TRUE; // Primary rapid fire on/off
define CLASS2_PRIM_RC =  1544; // Primary reload cancel time
define CLASS2_PRIM_AR =     0; // Primary anti recoil amount
define CLASS2_SECD_RF =  TRUE; // Secondary rapid fire on/off
define CLASS2_SECD_RC =  1481; // Secondary reload cancel time
define CLASS2_SECD_AR =     0; // Secondary anti recoil amount
define CLASS2_SG_MODE = FALSE; // Shotgun mode on/off (Jitter+Dropshot)
define CLASS2_SN_MODE = FALSE; // Sniper mode on/off
define CLASS2_PS_MODE = FALSE; // Perfect sprint mode on/off
//____________________________________________________
//###################  CLASS 3   #####################
//--------------- MP5 + M9 -----------------
define CLASS3_HOTKEY  = SWITCH_WEAPON;
define CLASS3_PRIM_RF = FALSE; // Primary rapid fire on/off
define CLASS3_PRIM_RC =  1811; // Primary reload cancel time
define CLASS3_PRIM_AR =     0; // Primary anti recoil amount
define CLASS3_SECD_RF =  TRUE; // Secondary rapid fire on/off
define CLASS3_SECD_RC =  1236; // Secondary reload cancel time
define CLASS3_SECD_AR =     0; // Secondary anti recoil amount
define CLASS3_SG_MODE = FALSE; // Shotgun mode on/off (Jitter+Dropshot)
define CLASS3_SN_MODE = FALSE; // Sniper mode on/off
define CLASS3_PS_MODE = FALSE; // Perfect sprint mode on/off
//____________________________________________________
//###################  CLASS 4   #####################
//--------------- M1014 + USP -----------------
define CLASS4_HOTKEY  = RELOAD_BTN;
define CLASS4_PRIM_RF =  TRUE; // Primary rapid fire on/off
define CLASS4_PRIM_RC =     0; // Primary reload cancel time
define CLASS4_PRIM_AR =     0; // Primary anti recoil amount
define CLASS4_SECD_RF =  TRUE; // Secondary rapid fire on/off
define CLASS4_SECD_RC =  1481; // Secondary reload cancel time
define CLASS4_SECD_AR =    55; // Secondary anti recoil amount
define CLASS4_SG_MODE =  TRUE; // Shotgun mode on/off (Jitter+Dropshot)
define CLASS4_SN_MODE = FALSE; // Sniper mode on/off
define CLASS4_PS_MODE = FALSE; // Perfect sprint mode on/off
//____________________________________________________
//###################  CLASS 5   #####################
//----------------- M40A3 + M9/USP -------------------
define CLASS5_HOTKEY  = MELEE_BTN;
define CLASS5_PRIM_RF = FALSE; // Primary rapid fire on/off
define CLASS5_PRIM_RC =     0; // Primary reload cancel time
define CLASS5_PRIM_AR =     0; // Primary anti recoil amount
define CLASS5_SECD_RF =  TRUE; // Secondary rapid fire on/off
define CLASS5_SECD_RC =  1236; // Secondary reload cancel time
define CLASS5_SECD_AR =     0; // Secondary anti recoil amount
define CLASS5_SG_MODE = FALSE; // Shotgun mode on/off (Jitter+Dropshot)
define CLASS5_SN_MODE =  TRUE; // Sniper mode on/off
define CLASS5_PS_MODE = FALSE; // Perfect sprint mode on/off
//____________________________________________________
//###################  CLASS 6   #####################
//-----------------  EMPTY CLASS  --------------------
define CLASS6_HOTKEY  = SHOOT_BTN;
define CLASS6_PRIM_RF = FALSE; // Primary rapid fire on/off
define CLASS6_PRIM_RC =     0; // Primary reload cancel time
define CLASS6_PRIM_AR =     0; // Primary anti recoil amount
define CLASS6_SECD_RF = FALSE; // Secondary rapid fire on/off
define CLASS6_SECD_RC =     0; // Secondary reload cancel time
define CLASS6_SECD_AR =     0; // Secondary anti recoil amount
define CLASS6_SG_MODE = FALSE; // Shotgun mode on/off (Jitter+Dropshot)
define CLASS6_SN_MODE = FALSE; // Sniper mode on/off
define CLASS6_PS_MODE = FALSE; // Perfect sprint mode on/off
//____________________________________________________
//###################  CLASS 7   #####################
//-----------------  EMPTY CLASS  --------------------
define CLASS7_HOTKEY  = ADS_BTN;
define CLASS7_PRIM_RF = FALSE; // Primary rapid fire on/off
define CLASS7_PRIM_RC =     0; // Primary reload cancel time
define CLASS7_PRIM_AR =     0; // Primary anti recoil amount
define CLASS7_SECD_RF = FALSE; // Secondary rapid fire on/off
define CLASS7_SECD_RC =     0; // Secondary reload cancel time
define CLASS7_SECD_AR =     0; // Secondary anti recoil amount
define CLASS7_SG_MODE = FALSE; // Shotgun mode on/off (Jitter+Dropshot)
define CLASS7_SN_MODE = FALSE; // Sniper mode on/off
define CLASS7_PS_MODE = FALSE; // Perfect sprint mode on/off
//____________________________________________________
//###################  CLASS 8   #####################
//-----------------  EMPTY CLASS  --------------------
define CLASS8_HOTKEY  = TACTICAL;
define CLASS8_PRIM_RF = FALSE; // Primary rapid fire on/off
define CLASS8_PRIM_RC =     0; // Primary reload cancel time
define CLASS8_PRIM_AR =     0; // Primary anti recoil amount
define CLASS8_SECD_RF = FALSE; // Secondary rapid fire on/off
define CLASS8_SECD_RC =     0; // Secondary reload cancel time
define CLASS8_SECD_AR =     0; // Secondary anti recoil amount
define CLASS8_SG_MODE = FALSE; // Shotgun mode on/off (Jitter+Dropshot)
define CLASS8_SN_MODE = FALSE; // Sniper mode on/off
define CLASS8_PS_MODE = FALSE; // Perfect sprint mode on/off
//____________________________________________________
//###################  CLASS 9   #####################
//-----------------  EMPTY CLASS  --------------------
define CLASS9_HOTKEY  = LETHAL;
define CLASS9_PRIM_RF = FALSE; // Primary rapid fire on/off
define CLASS9_PRIM_RC =     0; // Primary reload cancel time
define CLASS9_PRIM_AR =     0; // Primary anti recoil amount
define CLASS9_SECD_RF = FALSE; // Secondary rapid fire on/off
define CLASS9_SECD_RC =     0; // Secondary reload cancel time
define CLASS9_SECD_AR =     0; // Secondary anti recoil amount
define CLASS9_SG_MODE = FALSE; // Shotgun mode on/off (Jitter+Dropshot)
define CLASS9_SN_MODE = FALSE; // Sniper mode on/off
define CLASS9_PS_MODE = FALSE; // Perfect sprint mode on/off
//_____________________________________________________
//#########################  CLASS 10   ################################|
//------------------------- EMPTY CLASS ---------------------------------\
define CLASS10_HOTKEY  = MENU;	//										  \
define CLASS10_PRIM_RF = FALSE; // Primary rapid fire on/off               \
define CLASS10_PRIM_RC =     0; // Primary reload cancel time				\
define CLASS10_PRIM_AR =     0; // Primary anti recoil amount				 \
define CLASS10_SECD_RF = FALSE; // Secondary rapid fire on/off				  \
define CLASS10_SECD_RC =     0; // Secondary reload cancel time				   \
define CLASS10_SECD_AR =     0; // Secondary anti recoil amount					\
define CLASS10_SG_MODE = FALSE; // Shotgun mode on/off (Jitter+Dropshot) 		 \
define CLASS10_SN_MODE = FALSE; // Sniper mode on/off					 		  \
define CLASS10_PS_MODE = FALSE; // Perfect sprint mode on/off			 		   \
//==================================================================================\
//===================================================================================\
//====================================================================================\
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!! DO NOT CHANGE ANYTHING BELOW THIS POINT)  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!  UNLESS YOU KNOW WHAT YOU'RE DOING 🙂 🙂  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!! DO NOT CHANGE ANYTHING BELOW THIS POINT)  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!  UNLESS YOU KNOW WHAT YOU'RE DOING 🙂 🙂  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!! DO NOT CHANGE ANYTHING BELOW THIS POINT)  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!  UNLESS YOU KNOW WHAT YOU'RE DOING 🙂 🙂  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!! DO NOT CHANGE ANYTHING BELOW THIS POINT)  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!  UNLESS YOU KNOW WHAT YOU'RE DOING 🙂 🙂  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!! DO NOT CHANGE ANYTHING BELOW THIS POINT)  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!  UNLESS YOU KNOW WHAT YOU'RE DOING 🙂 🙂  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!! DO NOT CHANGE ANYTHING BELOW THIS POINT)  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!  UNLESS YOU KNOW WHAT YOU'RE DOING 🙂 🙂  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!! DO NOT CHANGE ANYTHING BELOW THIS POINT)  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!  UNLESS YOU KNOW WHAT YOU'RE DOING 🙂 🙂  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!! DO NOT CHANGE ANYTHING BELOW THIS POINT)  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!  UNLESS YOU KNOW WHAT YOU'RE DOING 🙂 🙂  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!! DO NOT CHANGE ANYTHING BELOW THIS POINT)  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!  UNLESS YOU KNOW WHAT YOU'RE DOING 🙂 🙂  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!! DO NOT CHANGE ANYTHING BELOW THIS POINT)  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!  UNLESS YOU KNOW WHAT YOU'RE DOING 🙂 🙂  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!! DO NOT CHANGE ANYTHING BELOW THIS POINT)  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!  UNLESS YOU KNOW WHAT YOU'RE DOING 🙂 🙂  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!! DO NOT CHANGE ANYTHING BELOW THIS POINT)  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!  UNLESS YOU KNOW WHAT YOU'RE DOING 🙂 🙂  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!! DO NOT CHANGE ANYTHING BELOW THIS POINT)  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!  UNLESS YOU KNOW WHAT YOU'RE DOING 🙂 🙂  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!! DO NOT CHANGE ANYTHING BELOW THIS POINT)  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!  UNLESS YOU KNOW WHAT YOU'RE DOING 🙂 🙂  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!! DO NOT CHANGE ANYTHING BELOW THIS POINT)  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!  UNLESS YOU KNOW WHAT YOU'RE DOING 🙂 🙂  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!! DO NOT CHANGE ANYTHING BELOW THIS POINT)  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!  UNLESS YOU KNOW WHAT YOU'RE DOING 🙂 🙂  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!! DO NOT CHANGE ANYTHING BELOW THIS POINT)  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!  UNLESS YOU KNOW WHAT YOU'RE DOING 🙂 🙂  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!! DO NOT CHANGE ANYTHING BELOW THIS POINT)  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!  UNLESS YOU KNOW WHAT YOU'RE DOING 🙂 🙂  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!! DO NOT CHANGE ANYTHING BELOW THIS POINT)  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!  UNLESS YOU KNOW WHAT YOU'RE DOING 🙂 🙂  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!! DO NOT CHANGE ANYTHING BELOW THIS POINT)  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!  UNLESS YOU KNOW WHAT YOU'RE DOING 🙂 🙂  !!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
//====================================================================================/
//===================================================================================/
//==================================================================================/
int 	   PRIMARY = TRUE;
int		 	  RELOAD_TIME;
int	   PRIMARY_RAPID_FIRE; 
int   PRIMARY_RELOAD_TIME; 
int        PRIMARY_RECOIL;
int  SECONDARY_RAPID_FIRE;
int SECONDARY_RELOAD_TIME;
int      SECONDARY_RECOIL;
int 		 SHOTGUN_MODE;
int 		  SNIPER_MODE;
int   PERFECT_SPRINT_MODE;
int 		ANTI_RECOIL_X;
int 		anti_recoil_X;
int 		  RECOIL_COMP;
int 			RELOADING;

init {SELECT_CLASS(DEFAULT_CLASS);
	// if(CONSOLE == 2) {} PS4 COMPATIBILITY
}

main {
	if(get_val(SELECT) && get_val(CLASS1_HOTKEY)) {set_val(CLASS1_HOTKEY, 0);SELECT_CLASS(1);}
	if(get_val(SELECT) && get_val(CLASS2_HOTKEY)) {set_val(CLASS2_HOTKEY, 0);SELECT_CLASS(2);}
	if(get_val(SELECT) && get_val(CLASS3_HOTKEY)) {set_val(CLASS3_HOTKEY, 0);SELECT_CLASS(3);}
	if(get_val(SELECT) && get_val(CLASS4_HOTKEY)) {set_val(CLASS4_HOTKEY, 0);SELECT_CLASS(4);}
	if(get_val(SELECT) && get_val(CLASS5_HOTKEY)) {set_val(CLASS5_HOTKEY, 0);SELECT_CLASS(5);}
	if(get_val(SELECT) && get_val(CLASS6_HOTKEY)) {set_val(CLASS6_HOTKEY, 0);SELECT_CLASS(6);}
	if(get_val(SELECT) && get_val(CLASS7_HOTKEY)) {set_val(CLASS7_HOTKEY, 0);SELECT_CLASS(7);}
	if(get_val(SELECT) && get_val(CLASS8_HOTKEY)) {set_val(CLASS8_HOTKEY, 0);SELECT_CLASS(8);}
	if(get_val(SELECT) && get_val(CLASS9_HOTKEY)) {set_val(CLASS9_HOTKEY, 0);SELECT_CLASS(9);}
	if(get_val(SELECT) &&get_val(CLASS10_HOTKEY)){set_val(CLASS10_HOTKEY,0);SELECT_CLASS(10);}

	if(get_val(SHOOT_BTN)) {set_val(SHOOT_BTN, 100); // HAIR TRIGGER
		if(SHOTGUN_MODE){combo_run(JITTER);combo_run(DROPSHOT); // JITTER+DROPSHOT
		} else {
		 	if(PRIMARY && PRIMARY_RAPID_FIRE)     /*    /RAPID FIRE\     */               {combo_run(RAPID_FIRE);}
			if(!PRIMARY && SECONDARY_RAPID_FIRE)  /*    \SECOND GUN/     */   			 {combo_run(RAPID_FIRE);}}
		if(PRIMARY && PRIMARY_RECOIL > 0)/*/ANTI RECOIL\*/{ANTI_RECOIL_X = PRIMARY_RECOIL;combo_run(ANTI_RECOIL);}										  			  
		if(!PRIMARY && SECONDARY_RECOIL>0)/*\SECOND GUN/*/{ANTI_RECOIL_X=SECONDARY_RECOIL;combo_run(ANTI_RECOIL);}
	} else		/* | STOP  SHOT MODS |  */    {combo_stop(RAPID_FIRE);combo_stop(JITTER);combo_stop(ANTI_RECOIL);}
	
	if(!SHOTGUN_MODE && get_val(RELOAD_BTN)){ // DISABLE QUICK RELOAD IN SHOTGUN MODE
		combo_run(RELOAD_CANCEL); // TELLS PERFECT SPRINT TO WAIT									 	 
		if(get_val(RELOAD_BTN) &&get_ptime(RELOAD_BTN) > PRIMARY_SWAP_TIME){PRIMARY =!PRIMARY;combo_run(VIBRATE);}
		if(PRIMARY) 	   			   		   	  /*  /QUICK  RELOAD \ */     {RELOAD_TIME = PRIMARY_RELOAD_TIME;}
		else 			  		     		  	  /*  \ SECOND   GUN / */   {RELOAD_TIME = SECONDARY_RELOAD_TIME;}
		if(RELOAD_TIME > 0)												    	   	   {combo_run(QUICK_RELOAD);}}
	
	if(event_press(SWITCH_WEAPON))		          /*  | SWAP WEAPON |  */				  	 {PRIMARY = !PRIMARY;}
	
	if(PERFECT_SPRINT_MODE && get_val(LY)<=-99 && !RELOADING && !get_val(ADS_BTN))	  {combo_run(PERFECT_SPRINT);}
    else if(get_val(LY) > -99)				/* | PERFECT SPRINT | */				 {combo_stop(PERFECT_SPRINT);}       
	
	if(SNIPER_MODE){
		if(get_val(ADS_BTN) > 0){ // AUTO BREATH
			if(get_val(ADS_BTN))													   {set_val(SPRINT_BTN, 100);}
			if(event_release(ADS_BTN)&&get_ptime(ADS_BTN)<SNIPER_CANCEL_MAX&&get_ptime(ADS_BTN)>SNIPER_CANCEL_MIN)			  
																						  {combo_run(TAKE_SHOT)}}}	
}
combo RELOAD_CANCEL{
	RELOADING = TRUE;
	wait(RELOAD_TIME);
	RELOADING = FALSE;}
combo PERFECT_SPRINT{                          
    set_val(SPRINT_BTN,100);                 
    wait(10);             
    set_val(SPRINT_BTN,100);} 
combo TAKE_SHOT{  
    set_val(SHOOT_BTN,100); 
    set_val(ADS_BTN,100); 
    set_val(SPRINT_BTN,100);
    wait(100);}
combo ANTI_RECOIL{ 
	if(get_val(SHOOT_BTN)){
        if(get_val(RY) >= 0){RECOIL_COMP = ((100 - get_val(RY)) * ANTI_RECOIL_X) / 100;}
        else				{RECOIL_COMP = ((100 + get_val(RY)) * ANTI_RECOIL_X) / 100;}
        anti_recoil_X = get_val(RY) + RECOIL_COMP;
        if(anti_recoil_X > 100)									  {anti_recoil_X = 100;}
        else if(anti_recoil_X < -100)							 {anti_recoil_X = -100;}
        set_val(RY, anti_recoil_X);}} 
combo JITTER{                 
	set_val(SHOOT_BTN,100);        
	set_val(RELOAD_BTN,100);      
	wait(11);                     
	set_val(SHOOT_BTN,100);        
	set_val(RELOAD_BTN,0);        
	wait(50);                     
	set_val(SHOOT_BTN,0);          
	set_val(SWITCH_WEAPON,100);   
	wait(11);                     
	set_val(SWITCH_WEAPON,0);     
	wait(11);                     
	set_val(SWITCH_WEAPON,100);   
	wait(11);                     
	set_val(SWITCH_WEAPON,0);} 
combo RAPID_FIRE{                          
	set_val(SHOOT_BTN,100);                   
	wait(10);                         
	set_val(SHOOT_BTN,0);                     
	wait(10);                         
	set_val(SHOOT_BTN,0);                     
	wait(10);}
combo QUICK_RELOAD{
	wait(RELOAD_TIME);
	set_val(LY, -100);
	set_val(SPRINT_BTN, 100);
	wait(12);}
combo DROPSHOT{
	set_val(PRONE_BTN, 100);
	wait(500);}
combo VIBRATE{
    set_rumble(RUMBLE_A, 100);
    wait(175);
    reset_rumble();}
combo CLOSE_SCOREBOARD{
	set_val(XB1_VIEW, 0);
	set_val(XB1_VIEW, 100);
	set_val(XB1_VIEW, 0);}
function SELECT_CLASS(CLASS) {
	if(CLASS == 1) {
		PRIMARY_RAPID_FIRE    = CLASS1_PRIM_RF; 
		PRIMARY_RELOAD_TIME   = CLASS1_PRIM_RC; 
		PRIMARY_RECOIL        = CLASS1_PRIM_AR;
		SECONDARY_RAPID_FIRE  = CLASS1_SECD_RF;
		SECONDARY_RELOAD_TIME = CLASS1_SECD_RC;
		SECONDARY_RECOIL      = CLASS1_SECD_AR;
		SHOTGUN_MODE          = CLASS1_SG_MODE;
		SNIPER_MODE           = CLASS1_SN_MODE;
	} else if (CLASS == 2) {
		PRIMARY_RAPID_FIRE    = CLASS2_PRIM_RF; 
		PRIMARY_RELOAD_TIME   = CLASS2_PRIM_RC; 
		PRIMARY_RECOIL        = CLASS2_PRIM_AR;
		SECONDARY_RAPID_FIRE  = CLASS2_SECD_RF;
		SECONDARY_RELOAD_TIME = CLASS2_SECD_RC;
		SECONDARY_RECOIL      = CLASS2_SECD_AR;
		SHOTGUN_MODE          = CLASS2_SG_MODE;
		SNIPER_MODE           = CLASS2_SN_MODE;
	} else if (CLASS == 3) {
		PRIMARY_RAPID_FIRE    = CLASS3_PRIM_RF; 
		PRIMARY_RELOAD_TIME   = CLASS3_PRIM_RC; 
		PRIMARY_RECOIL        = CLASS3_PRIM_AR;
		SECONDARY_RAPID_FIRE  = CLASS3_SECD_RF;
		SECONDARY_RELOAD_TIME = CLASS3_SECD_RC;
		SECONDARY_RECOIL      = CLASS3_SECD_AR;
		SHOTGUN_MODE          = CLASS3_SG_MODE;
		SNIPER_MODE           = CLASS3_SN_MODE;
	} else if (CLASS == 4) {
		PRIMARY_RAPID_FIRE    = CLASS4_PRIM_RF; 
		PRIMARY_RELOAD_TIME   = CLASS4_PRIM_RC; 
		PRIMARY_RECOIL        = CLASS4_PRIM_AR;
		SECONDARY_RAPID_FIRE  = CLASS4_SECD_RF;
		SECONDARY_RELOAD_TIME = CLASS4_SECD_RC;
		SECONDARY_RECOIL      = CLASS4_SECD_AR;
		SHOTGUN_MODE          = CLASS4_SG_MODE;
		SNIPER_MODE           = CLASS4_SN_MODE;
	} else if (CLASS == 5) {
		PRIMARY_RAPID_FIRE    = CLASS5_PRIM_RF; 
		PRIMARY_RELOAD_TIME   = CLASS5_PRIM_RC; 
		PRIMARY_RECOIL        = CLASS5_PRIM_AR;
		SECONDARY_RAPID_FIRE  = CLASS5_SECD_RF;
		SECONDARY_RELOAD_TIME = CLASS5_SECD_RC;
		SECONDARY_RECOIL      = CLASS5_SECD_AR;
		SHOTGUN_MODE          = CLASS5_SG_MODE;
		SNIPER_MODE           = CLASS5_SN_MODE;
	} 
	else if (CLASS == 6) {
		PRIMARY_RAPID_FIRE    = CLASS6_PRIM_RF; 
		PRIMARY_RELOAD_TIME   = CLASS6_PRIM_RC; 
		PRIMARY_RECOIL        = CLASS6_PRIM_AR;
		SECONDARY_RAPID_FIRE  = CLASS6_SECD_RF;
		SECONDARY_RELOAD_TIME = CLASS6_SECD_RC;
		SECONDARY_RECOIL      = CLASS6_SECD_AR;
		SHOTGUN_MODE          = CLASS6_SG_MODE;
		SNIPER_MODE           = CLASS6_SN_MODE;
	} 
	else if (CLASS == 7) {
		PRIMARY_RAPID_FIRE    = CLASS7_PRIM_RF; 
		PRIMARY_RELOAD_TIME   = CLASS7_PRIM_RC; 
		PRIMARY_RECOIL        = CLASS7_PRIM_AR;
		SECONDARY_RAPID_FIRE  = CLASS7_SECD_RF;
		SECONDARY_RELOAD_TIME = CLASS7_SECD_RC;
		SECONDARY_RECOIL      = CLASS7_SECD_AR;
		SHOTGUN_MODE          = CLASS7_SG_MODE;
		SNIPER_MODE           = CLASS7_SN_MODE;
	} 
	else if (CLASS == 8) {
		PRIMARY_RAPID_FIRE    = CLASS8_PRIM_RF; 
		PRIMARY_RELOAD_TIME   = CLASS8_PRIM_RC; 
		PRIMARY_RECOIL        = CLASS8_PRIM_AR;
		SECONDARY_RAPID_FIRE  = CLASS8_SECD_RF;
		SECONDARY_RELOAD_TIME = CLASS8_SECD_RC;
		SECONDARY_RECOIL      = CLASS8_SECD_AR;
		SHOTGUN_MODE          = CLASS8_SG_MODE;
		SNIPER_MODE           = CLASS8_SN_MODE;
	} 
	else if (CLASS == 9) {
		PRIMARY_RAPID_FIRE    = CLASS9_PRIM_RF; 
		PRIMARY_RELOAD_TIME   = CLASS9_PRIM_RC; 
		PRIMARY_RECOIL        = CLASS9_PRIM_AR;
		SECONDARY_RAPID_FIRE  = CLASS9_SECD_RF;
		SECONDARY_RELOAD_TIME = CLASS9_SECD_RC;
		SECONDARY_RECOIL      = CLASS9_SECD_AR;
		SHOTGUN_MODE          = CLASS9_SG_MODE;
		SNIPER_MODE           = CLASS9_SN_MODE;
	} 
	else if (CLASS == 10) {
		PRIMARY_RAPID_FIRE    =CLASS10_PRIM_RF; 
		PRIMARY_RELOAD_TIME   =CLASS10_PRIM_RC; 
		PRIMARY_RECOIL        =CLASS10_PRIM_AR;
		SECONDARY_RAPID_FIRE  =CLASS10_SECD_RF;
		SECONDARY_RELOAD_TIME =CLASS10_SECD_RC;
		SECONDARY_RECOIL      =CLASS10_SECD_AR;
		SHOTGUN_MODE          =CLASS10_SG_MODE;
		SNIPER_MODE           =CLASS10_SN_MODE;
	} 
	combo_run(VIBRATE);combo_run(CLOSE_SCOREBOARD);
}

Pin It on Pinterest

Share This