//Posted by ItzSnack, a member of the community in the device Forums - https://device.com/forums //Posted : Friday 8th of November, 2019 16:30 CST6CDT /* = = = = = = = = = = = = = = = = = = = = /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ = = /\/\/\ Made By ItzSnack /\/\/\ = = /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ = = = = = = = = = = = = = = = = = = = = =================== === Version 2.2 === =================== ================ === FEATURES === ================ Aim Assist Anti Recoil Auto Run Rapid Fire Burst Fire Drop Shot Jump On Shot Drop On Shot Prone On Shot Super Sprint Strafe Hold Breath Hair Trigger Custom Sensitivity ================= === Important === ======================================================================== === Recommended you read all the text below to understand everything === ======================================================================== ===================== === Reset Toggles === ================================================== === OPTIONS/MENU + SHARE/VIEW To Reset Toggles === ================================================== =================== === Toggle Menu === ============================================================================================================= === Before being able to turn ON/OFF toggles you will have to open the toggle menu by doing the following === === OPTIONS/MENU + D-PAD UP === === When ON your LED will flash Rainbow now you able to turn on any features you want === === After you done make sure to disable the toggle menu === === Your LED will be Black when your out of the toggle menu === ============================================================================================================= =============================================================================== === TOGGLES YOU CAN ACTIVATE === =============================================================================== === Hold L2/LT And Press R3/RS For Rapid Fire === === 1 Rumble = ON 2 = OFF === =============================================================================== === Hold L2/LT And Press L1/LB For Burst Fire === === 1 Rumble = ON 2 = OFF === =============================================================================== === Hold L2/LT And Press UP For Jump On Shot === === 1 Rumble = ON 2 = OFF === =============================================================================== === Hold L2/LT And Press DOWN For Drop Shot === === 1 Rumble = ON 2 = OFF === =============================================================================== === Hold L2/LT And Press LEFT For Strafe === === 1 Rumble = ON 2 = OFF === =============================================================================== === Hold L2/LT And Press RIGHT For Drop On Shot === === 1 Rumble = ON 2 = OFF === =============================================================================== === Hold L2/LT And Press TRIANGLE/Y For Prone On Shot === === 1 Rumble = ON 2 = OFF === =============================================================================== === Hold L2/LT And Press R1/RB For Anti Recoil === === 1 Rumble = ON 2 = OFF === === Hold CROSS/A And Press UP For +1 to Anti Recoil and DOWN For -1 === === Hold CROSS/A And Press RIGHT For +1 to Horizontal and LEFT For -1 === === Heavy Rumble = Increase Light Rumble = Decrease === =============================================================================== */ //Layout define PS = 0; define SHARE = 1; define OPTIONS = 2; define R1 = 3; define R2 = 4; define R3 = 5; define L1 = 6; define L2 = 7; define L3 = 8; define RX = 9; define RY = 10; define LX = 11; define LY = 12; define UP = 13; define DOWN = 14; define LEFT = 15; define RIGHT = 16; define TRIANGLE = 17; define CIRCLE = 18; define CROSS = 19; define SQUARE = 20 define TOUCHPAD = 27; //Customize int Flipped = OFF; //Change OFF TO ON If you play with Flipped Triggers int AS = ON; //Change ON TO OFF If you don't want Aim Assist int RUN = ON; //Change ON TO OFF If you don't want Auto Run int HT = ON; //Change ON TO OFF If you don't want Hair Trigger int CS = ON; //Change ON TO OFF If you don't want Custom Sensitivity int HB = OFF; //Change OFF TO ON If you want Hold Breath int SS = OFF; //Change OFF TO ON If you want Super Sprint int CR = OFF //Change OFF TO ON If you want Auto Run Cancel when Reloading //Customize Toggles int AR_Toggle = ON; //Change ON TO OFF If you don't want Anti Recoil ON By Default int RF_Toggle = OFF; //Change OFF TO ON If you want Rapid Fire ON By Defualt int BF_Toggle = OFF; //Change OFF TO ON If you want Burst Fire ON By Defualt int JS_Toggle = OFF; //Change OFF TO ON If you want Jump Shot ON By Defualt int DS_Toggle = OFF; //Change OFF TO ON If you want Drop Shot ON By Defualt int SS_Toggle = OFF; //Change OFF TO ON If you want Drop On Shot ON By Defualt int Strafe_Toggle = OFF; //Change OFF TO ON If you want Strafe ON By Defualt int PS_Toggle = OFF; //Change OFF TO ON If you want Prone On Shot ON By Defualt //Custom Buttons int Crouch_Button = CIRCLE; //Your crouch button //Speed Of Features int RF_Speed = 40; //Rapid Fire Speed int BF_Speed = 300; //Burst Fire Speed int DS_Speed = 80; //Drop Shot Speed int Prone_Speed = 100; //How long until you prone when shooting int Reload_Time = 3400; //How long Auto Run will be disabled when reloading /*NOTE: Higher values = Slower Lower values = Faster Everything is in milliseconds*/ //Custom Sensitivity int GEN_SENS = 100; int ADS_SENS = 100; int FIRE_SENS = 100; int ADS_FIRE_SENS = 100; int GRENADE_SENS = 100; /*NOTE: Default = 100 Ranges from 0 to 327*/ //Anti Recoil int AR = 18; //Anti Recoil int AR_I = 1; //Change 1 to -1 If you play with Inverted Anti Recoil //Aim Assist int AP = 17; int AM = -17; int Delay = 20 int Release = 18; /*NOTE: Increase AP & AM For more Assist but it can cause shake Decrease AP & AM If you feel shake and don't like it Release Is recommended to be 1 higher than AP & AM*/ //Strafe int RIGHT_Speed = 200; //How long to go RIGHT int LEFT_Speed = 200; //How long to go LEFT //Toggles int ARS; int AR_HZ; int SP = ON; int USE_SENS; int Remove_Block; int Toggle_Menu; int Toggle_Rumble; main { if(get_val(OPTIONS) && event_press(SHARE)) { RF_Toggle = OFF; BF_Toggle = OFF; JS_Toggle = OFF; DS_Toggle = OFF; SS_Toggle = OFF; Strafe_Toggle = OFF; PS_Toggle = OFF; Toggle_Menu = OFF; combo_run(Menu_Rumble);} if(CS) if(!get_val(L2) && !get_val(R2)) { USE_SENS=GEN_SENS;} else if(get_val(L2) && !get_val(R2)) { USE_SENS=ADS_SENS;} else if(!get_val(L2) && get_val(R2)) { USE_SENS=FIRE_SENS;} else if(get_val(L2) && get_val(R2)) { USE_SENS=ADS_FIRE_SENS;} else if(get_val(R1)) { USE_SENS=GRENADE_SENS;} sensitivity(RY,NOT_USE,USE_SENS); sensitivity(RX,NOT_USE,USE_SENS); LED(0,0,0,0); if(Flipped) { swap(R1,R2); swap(L1,L2);} if(HT) deadzone(L2,R2,100,100); if(HB) if(get_val(L2)) set_val(8,100); if(RUN) if(get_val(LY)<-90 && !get_val(L2)) set_val(L3,100); if(CR) if(get_val(SQUARE)) combo_run(Cancel); if(SS == ON && get_val(L2)) combo_stop(SuperSprint); if(SS) if(SP && get_val(LY)<-90) combo_run(SuperSprint); if(get_val(LY)>-90) SP = ON; if(AS) if(get_val(L2)) combo_run(AS); if(AR_Toggle) if(get_val(L2) && get_val(R2)) combo_run(AR); if(RF_Toggle && get_val(R2)) combo_run(RF); if(BF_Toggle && get_val(R2)) combo_run(BF); if(SS_Toggle && event_press(R2)) combo_run(Crouch); if(JS_Toggle && get_val(R2)) set_val(CROSS,100); if(DS_Toggle && get_val(R2)) combo_run(DS); if(Strafe_Toggle && get_val(L2) && get_val(R2)) combo_run(Strafe);else combo_stop(Strafe); if(PS_Toggle && get_val(R2) && get_ptime(R2) > Prone_Speed) set_val(CIRCLE,100); if(get_val(L2) && event_press(R3)) { RF_Toggle=!RF_Toggle; if(RF_Toggle) combo_run(Flash_ON); else combo_run(Flash_OFF);} if(get_val(L2) && event_press(L1)) { BF_Toggle=!BF_Toggle; if(BF_Toggle) combo_run(Flash_ON); else combo_run(Flash_OFF);} if(get_val(L2) && event_press(UP)) { JS_Toggle=!JS_Toggle; if(JS_Toggle) combo_run(Flash_ON); else combo_run(Flash_OFF);} if(get_val(L2) && event_press(DOWN)) { DS_Toggle=!DS_Toggle; if(DS_Toggle) combo_run(Flash_ON); else combo_run(Flash_OFF);} if(get_val(L2) && event_press(RIGHT)) { SS_Toggle=!SS_Toggle; if(SS_Toggle) combo_run(Flash_ON); else combo_run(Flash_OFF);} if(get_val(L2) && event_press(LEFT)) { Strafe_Toggle=!Strafe_Toggle; if(Strafe_Toggle) combo_run(Flash_ON); else combo_run(Flash_OFF);} if(get_val(L2) && event_press(TRIANGLE)) { PS_Toggle=!PS_Toggle; if(PS_Toggle) combo_run(Flash_ON); else combo_run(Flash_OFF);} if(get_val(L2) && event_press(R1)) { AR_Toggle=!AR_Toggle; if(AR_Toggle) combo_run(Flash_ON); else combo_run(Flash_OFF);} if(get_val(CROSS)) { if(event_press(UP)) { AR = AR + 1; combo_run(Increase);} if(event_press(DOWN)) { AR = AR - 1; combo_run(Decrease);} if(event_press(RIGHT)) { AR_HZ = AR_HZ + 1; combo_run(Increase);} if(event_press(LEFT)) { AR_HZ = AR_HZ - 1; combo_run(Decrease);} set_val(UP,0);set_val(DOWN,0);set_val(RIGHT,0);set_val(LEFT,0);} if(get_val(L2)) { if(event_press(UP)) { Remove_Block=!Remove_Block;} if(event_press(RIGHT)) { Remove_Block=!Remove_Block;} if(event_press(DOWN)) { Remove_Block=!Remove_Block;} if(event_press(LEFT)) { Remove_Block=!Remove_Block;} if(event_press(R3)) { Remove_Block=!Remove_Block;} if(event_press(TRIANGLE)) { Remove_Block=!Remove_Block;} if(event_press(R1)) { Remove_Block=!Remove_Block;} if(event_press(L1)) { Remove_Block=!Remove_Block;} set_val(UP,0);set_val(RIGHT,0);set_val(DOWN,0);set_val(LEFT,0);set_val(R3,0);set_val(TRIANGLE,0);set_val(R1,0);set_val(L1,0);} if(get_val(OPTIONS)) { if(event_press(SHARE)) { Remove_Block=!Remove_Block;} set_val(SHARE,0);} if(abs(get_val(RY)) > AR + 2 || abs(get_val(RX)) > AR + 2) { combo_stop(AR);}} combo AR { ARS = get_val(RY) + AR; if(ARS > 100) ARS = 100; set_val(RY,ARS * AR_I); ARS = get_val(RX) + AR_HZ; if(ARS > 100) ARS = 100; set_val(RX,ARS);} combo AS { set_val(RY,a_f(RY,AP)); wait(Delay) set_val(RX,a_f(RX,AP)); wait(Delay) set_val(RY,a_f(RY,AM)); wait(Delay) set_val(RX,a_f(RX,AM)); wait(Delay)} function a_f(p,m) { if(abs(get_val(p)) < Release) return m; return get_val(p);} combo DS { set_val(Crouch_Button,100); wait(40); set_val(Crouch_Button,0); wait(DS_Speed);} combo Crouch { set_val(Crouch_Button,100); wait(100);} combo SuperSprint { set_val(L3,100); wait(40); set_val(L3,0); wait(40); SP = OFF;} combo Cancel { set_val(L3,0); wait(Reload_Time);} combo Strafe { set_val(11,100); wait(RIGHT_Speed); set_val(11,-100); wait(LEFT_Speed);} combo RF { set_val(R2,100); wait(40); set_val(R2,0); wait(RF_Speed);} combo BF { set_val(R2,100); wait(40); set_val(R2,0); wait(100); set_val(R2,100); wait(40); set_val(R2,0); wait(100); set_val(R2,100); wait(40); set_val(R2,0); wait(BF_Speed);} combo Rainbow_Flash { LED(2,0,2,0); wait(100); LED(0,0,0,0); wait(100); LED(0,0,0,2); wait(100); LED(0,0,0,0); wait(100); LED(0,2,2,0); wait(100); LED(0,0,0,0); wait(100);} combo Menu_Rumble { set_rumble(RUMBLE_B,100); wait(200); reset_rumble(); Toggle_Rumble = OFF;} combo Increase { set_rumble(RUMBLE_A,100); wait(100); reset_rumble();} combo Decrease { set_rumble(RUMBLE_B,100); wait(50); reset_rumble();} combo Flash_ON { LED(0,0,2,0); set_rumble(RUMBLE_A,100); wait(400); reset_rumble(); reset_leds();} combo Flash_OFF { LED(0,2,0,0); set_rumble(RUMBLE_B,100); wait(200); reset_rumble(); LED(0,0,0,0); wait(100); set_rumble(RUMBLE_B,100); LED(0,2,0,0); wait(200); reset_rumble(); reset_leds();} function LED(a,b,c,d) { set_led(LED_1,a); set_led(LED_2,b); set_led(LED_3,c); set_led(LED_4,d);} define ON = TRUE; define OFF = FALSE;