Whole Script including extra combos
HALO MCC SCRIPT
// Doubleshot/Quadshot, Crouch BXR/BXRRX, Fiveshot BR, Rapidfire
// BY AKHUGHES90
//Quadshot/Flagcarry Mapped to RB{Swap_Grenades}<D-Pad DOWN and RB are swaped,
//so D-Pad DOWN in the script is RB in game>(Toggle between them with D-Pad UP + RB - Also Quadshot is Full Auto, Hold Down RB
//Fiveshot/Rapidfire Mapped to RT{Fire}(Toggle between them with D-Pad UP + RT
//BXR/Crouch BXRRX Mapped to LB{Flashlight}(Toggle between them with D-Pad + LB
//BXB Mapped to LT{Melee}(Toggle between it and secondary weapon rapidfire with D-Pad UP + B)
//Fast Reload mapped to X{Reload}(Turn or or off with D-Pad UP + X
//Turn off H2C Mods With D-Pad UP+ A//Turn off all rapidfire with D-Pad UP + Y
// Button Layout(Controller Settings)
// Change these values to match your layout.define Melee = XB1_LT; //Default XB1_B define Fire = XB1_RT; //Default XB1_RT define Secondary_Weapon = XB1_LT; //Default XB1_LT define Reload = XB1_X; //Default XB1_X define Crouch = XB1_LS; //Default XB1_LS define Swap_Weapons = XB1_Y; //Default XB1_Y define Zoom = XB1_RS; //Default XB1_RS define Flashlight = XB1_LB; //Default XB1_LB (Remapped BXR to This.) define Swap_Grenades = XB1_DOWN; //Default XB1_DOWN (Remaps with RB When Mods are on)<When set to Default RB will trigger this event> define Jump = XB1_A; //Default XB1_A
//Mod Activators(Turns Mods On or Off.)
//Change these values to have different buttons toggle your mods On or Off.
define Mod_Toggle = XB1_UP;//Hold this button down and press the corresponding button for the mod you want to turn On or Off define H2C_On = Jump; //Change what button turns Doubleshot, Five Shot & BXR Mod On or Off define BXR_Toggle = Flashlight; //Change what button Toggles between BXR/BXRRX define Flagcarry_Quadshot = Swap_Grenades;//Change what button toggles between Quadshot/Flagcarry define Fiveshot_Toggle = Fire; //Change what button toggles between Rapid fire and Fiveshot define BXB_Rapidfire = Secondary_Weapon; //Change what button toggles between BXB/Secondary Rapidfire define Rapidfire_On = Swap_Weapons; //Change what button toggles between Rapidfire/FiveShot Mod define FastReload_Button = Reload;//Change what button turns On or Off Fast Reload
// Mod Keybindings
// (change what buttons your mods are bound to in game.)
define Fiveshot_Button = Fire; //What button activates 5 Shot define Rapidfire_Button = Fire; //Change what button activates RapidFire define Secondary_Rapidfire_Button = Secondary_Weapon;//Change what button activates secondary weapon rapidfire define Flagcarry_Quadshot_Button = Swap_Grenades; //Change what button Activates DoubleShot YY/Flagcarry (D Pad Down and RB are swaped when mod is enabled). define BXR_Button = Flashlight; //Change what button activates BXR define BXB_Button = Melee;//Change what button Activates BXB
// Rapidfire Fire Rate
// Change the Rounds Per Second Rapidfire will shoot
define Rate_Of_Fire = 20; // Range: 1 to 25 RPS (Round/s) // Values higher than 25 would be so fast that the game probably will not detect 100% of the events. define Expo = 50;//Midpoint expoentials define Sens = 100;// Sensitivity
//int sectionint Hold_Time, Rest_Time; int Rapid_Fiveshot = TRUE; int OnOff = TRUE; int Flagcarry_On = TRUE; int BXB_OnOff = TRUE; int Rapid_OnOff = TRUE; int BXR_BXRRX = TRUE; int FastReload_On = TRUE; init { Hold_Time = 500 / Rate_Of_Fire; Rest_Time = Hold_Time - 20;
if(Rest_Time < 0) Rest_Time = 0;
}
main { // Remaped Keys when H2C mods are onif(get_val(Mod_Toggle) && event_press(H2C_On)) { OnOff=!OnOff;
}
if(OnOff){ swap(XB1_RB,XB1_DOWN); //swap(XB1_LB,XB1_A); if(event_press(BXR_Button) && !BXR_BXRRX) { combo_run(BXR);
}
if(event_press(BXR_Button) && BXR_BXRRX) { combo_run(Double_BXR);
}
if(get_val(BXB_Button) && BXB_OnOff) { combo_run(BXB);
}
if(get_val(Flagcarry_Quadshot_Button)){
if (Flagcarry_On) { combo_run(Quadshot);
}
if(!Flagcarry_On) { combo_run(Flagcarry);
}
}
if(event_press(Reload) && FastReload_On) { combo_run(Fast_Reload);
}
}// LED Code for Enabled Mods
if (Rapid_Fiveshot){ set_ledx(LED_4, 1);
}else if(!Rapid_Fiveshot) { set_ledx(LED_3, 1);
}
if(get_val(Mod_Toggle)){
if (event_press(Flagcarry_Quadshot)) { Flagcarry_On=!Flagcarry_On;
}
if(event_press(BXR_Toggle)) { BXR_BXRRX=!BXR_BXRRX;
}
if(event_press(BXB_Rapidfire)) { BXB_OnOff=!BXB_OnOff;
}
if(event_press(Rapidfire_On)) { Rapid_OnOff = !Rapid_OnOff;
}
if(event_press(Fiveshot_Toggle)) { Rapid_Fiveshot = !Rapid_Fiveshot;
}
if(event_press(FastReload_Button)) { FastReload_On=!FastReload_On;
}
}
if(get_val(Fiveshot_Button) && Rapid_Fiveshot ) { combo_run(Fiveshot);
}
if(Rapid_OnOff){
if(get_val(Secondary_Rapidfire_Button) && !BXB_OnOff) { combo_run(Secondary_Rapidfire);
}
if(get_val(Rapidfire_Button) && !Rapid_Fiveshot) { combo_run(Rapidfire);
}else if(combo_running(Rapidfire)) { combo_stop(Rapidfire);
}
}
}combo Rapidfire { set_val(Rapidfire_Button, 100); wait(Hold_Time); set_val(Rapidfire_Button, 0); wait(Rest_Time); set_val(Rapidfire_Button, 0);
}combo Secondary_Rapidfire { set_val(Secondary_Rapidfire_Button, 100); wait(Hold_Time);set_val(Secondary_Rapidfire_Button, 0); wait(Rest_Time); set_val(Secondary_Rapidfire_Button, 0);
}combo Doubleshot { set_val(Fire, 100); wait(100); set_val(Fire, 0); wait(50); set_val(Fire, 100); wait(110); set_val(Fire, 0); wait(20); set_val(Reload, 100); wait(65); set_val(Reload, 0);
}combo Quadshot { call (Doubleshot);wait(20); wait(130); call(YY); wait(210);call (Doubleshot); wait(20); wait(130); call(YY); wait(210);
}combo Fiveshot { set_val(Fire, 100); wait(20); set_val(Fire, 0); wait(70); set_val(Fire, 100); wait(20); set_val(Reload, 100); wait(20); wait(130); call(YY); wait(210);
}combo BXR { set_val(Melee,100); wait(195); set_val(Melee,0); set_val(Reload,100); set_val(Fire,100); wait(150);
}combo Double_BXR { set_val(XB1_LX,0); set_val(XB1_LY,0); set_val(Crouch,100); set_val(Melee,100); wait(195); set_val(Melee,0); set_val(20,100); set_val(Fire, 100);wait(20); set_val(Fire, 0); wait(70); set_val(Fire, 100); wait(20); set_val(Reload, 100);wait(20); wait(130); call(YY); wait(210);
}combo YY { set_val(Swap_Weapons, 100); wait(20); set_val(Swap_Weapons, 0); wait(20); set_val(Swap_Weapons, 100); wait(10); set_val(Swap_Weapons, 100);
}combo BXB { set_val(XB1_LX,0); set_val(XB1_LY,0); set_val(Crouch,100);set_val(Melee,100); wait(200); set_val(Melee,0);wait(50); set_val(Reload,100); wait(50); set_val(Reload, 0); wait(400); set_val(Melee,100);wait(50); set_val(Melee,100); wait(400);
}combo Flagcarry { set_val(Fire, 100); wait(30); set_val(Fire, 0); set_val(Reload, 100); wait(400); set_val(Reload, 0); wait(20);
}combo Fast_Reload { set_val(Reload, 100); wait(400); set_val(Reload, 0); wait(600); set_val(Melee, 100); wait(50); set_val(Melee, 0);}