X Masher For Fallout

Need help adding a kill switch this is my first script that i made and would love for it to terminate the script after i manually press X. Hopefully someone sees this and can help ty
Version1
AuthorSir_Doggo.MP4
Publish DateSun, 25 Nov 2018 - 07:52
Last UpdateSun, 25 Nov 2018 - 07:52
Downloads58
RATE


1

0

Release Notes: Incomplete
Code: Select all
//
// Sun Nov 25 2018 00:36:28
// Script generated by Visual to GPC
//----------------------------------------
 
main {
    if(!(get_val(XB1_X))) {
        combo_run(Turbo_1);
    }
    if(get_val(XB1_X)) {
        set_val(XB1_X, 0);
    }
}
 
combo Turbo_1 {
    set_val(XB1_X, 100);
    wait(40);
    set_val(XB1_X, 0);
    wait(30);
    set_val(XB1_X, 0);
}