// To activate this Mod:
// PlayStation 4: Hold Share and press Cross (X)
// XBOX ONE (S): Hold View/Back and press A
// This Mod will allow you to have absolutely 0 RECOIL On Soldier 76. In return
// it will be burst fire, This has been created for Titan One device..
// (I DID NOT CREATE THIS MOD) I Can't give credits, because idk who it was
int rapid_onoff = TRUE; // if TRUE Rapidfire is ON by default - if FALSE, OFF by default
main {
vm_tctrl(-8);
if(get_val(1) && event_press(19)) {
rapid_onoff=!rapid_onoff;
}
// Checks the toggle value if true checks to see if the shoot button is
// being pressed. If that is the case gives the instruction to run the
// RapidFire combo.
if(rapid_onoff) {
if(get_val(4)) {
combo_run (RapidFire);
}
}
}
// This combo performs a wait of 375 milliseconds, then sets the value of shoot
// to 0, waits another 30 milliseconds and sets the value of shoot back to 100.
combo RapidFire {
wait(375);
set_val(4, 0);
wait(205);
set_val(4, 100);
}