[FREE] - AIMBOTZ Anonymous V2



Report broken download
[nfo]
// UPDATED AIMBOTZ


//===============================================================
// BUTTON LAYOUT
//===============================================================
define FIRE_BTN = PS4_R1;
define ADS_BTN = PS4_L1;
define SPRINT_BTN = PS4_L3;
define PRONE_BTN = PS4_CIRCLE;
define JUMP_BTN = PS4_CROSS;
define SWITCHWEAPON_BTN = PS4_TRIANGLE;
define RELOAD_BTN = PS4_SQUARE;
define MELEE_BTN = PS4_R3;
define TACTICAL_BTN = PS4_L2;
define GRANADE_BTN = PS4_R2;
define UP = PS4_UP;
define RIGHT = PS4_RIGHT;
define DOWN = PS4_DOWN;
define LEFT = PS4_LEFT;
define RX = PS4_RX;
define RY = PS4_RY;
define LX = PS4_LX;
define LY = PS4_LY;
//===============================================================
// ADJUSTABLE VARIABLES
//===============================================================
// Index to find Value Name string - switchable in game with left/right in ModEdit -
int valName_idx;
int AR_Primary_V = 36; // val > 32 for assalt rifles - HOLD L1 / LB + UP or DOWN for ajust recoil
int AR_Primary_H = 0;
int AR_Second_V = 0; // val > 28 for SMG - HOLD L1 / LB + UP or DOWN for ajust recoil
int AR_Second_H = -0;
int quick_scope_val;
int smartF_hold;
int smartF_rest;
int burstF_hold;
int burstF_rest;
int StrafeShotTime = 0;
int RF_hold;
int RF_release;
int Aim_Boost = 7;
int Aim_Correction = 12;
int AimAssistTime;
int AimAssistSize;
//---Adjustable Variables Count
define AMOUNT_OF_VALNAME_IDX = 15;
//const string TITLE = "My Game"; // 18 char max
const string TITLE = "UNKNOWN"; // 11 char max
const string OFF = "OFF";
const string ON = "ON";
const string SCRIPT_ONOFF = "SCRIPT off";
// modName # of the last Mod Name string - Used for cycle modName_idx
define MAX_MODS_COUNT = 11;
// Mod Name - Text to Display
const string AR_PRIM_SECOND = "ANTI RECOIL" ;
const string AUTOSLIDEEASY = "DON'T USE" ;
const string AUTOSLIDE = "SLIDE MW" ;
const string QUICKSCOPE = "Quick Scope" ;
const string SMARTFIRE = "Smart Fire" ;
const string BURSTFIRE = "Burst Fire" ;
const string HOLDBREATH = "Hold Breath" ;
const string FASTMELEE = "Fast Melee" ;
const string STRAFESHOT = "Strafe Shot" ;
const string RAPIDFIRE = "Rapid Fire" ;
const string AIMASSISTSWEET = "AIM ASSIST" ;
const string BATTSSTICKYAIM = "Zen Polar" ;
// Index to find Mod Name string - switchable in game with left/right in ModMenu
int modName_idx;
// Toggles
int AR_Prim_Sec_onoff = 1 ;
int AutoSlideCancelEasy = 0 ;
int AutoSlideCancel = 0 ;
int quick_scope_onoff = 0 ;
int smart_fire_onoff = 0 ;
int burst_fire_onoff = 0 ;
int holdbreath_onoff = 0 ;
int ToggleFastMelee = 0 ;
int ToggleStrafeShot = 0 ;
int rapidfire_onoff = 0 ;
int sweet_evil_onoff = 0 ;
int ToggleBattsStickyAim = 0 ;
// Mod VALUES - Text to Display
const string AR_PRIMARY_V = "AR Prim V" ;
const string AR_PRIMARY_H = "AR Prim H" ;
const string AR_SECOND_VERTICAL = "AR Second V" ;
const string AR_SECOND_HORIZONTAL = "AR Secon H" ;
const string QUICK_SCOPE_VAL = "Quick Scope" ;
const string SMARTFIRE_HOLD = "Smart Hold";
const string SMARTFIRE_RELEASE = "Smart Rest" ;
const string BURSTFIRE_HOLD = "Burst Hold";
const string BURSTFIRE_RELEASE = "Burst Rest" ;
const string STRAFE_SHOT_TIME = "StShot Time" ;
const string RAPIDFIRE_HOLD = "RF Hold";
const string RAPIDFIRE_RELEASE = "RF Release" ;
const string AIMBOOST = "Aim Boost" ;
const string AIMCORRECTION = "Aim Correct" ;
const string AIMASSIST_TIME = "AA Time";
const string AIMASSISTSIZE = "AA Size" ;
// Constant bytes - Convert numbers array - ASCII_NUM[column number]
const int8 ASCII_NUM[] =
// 0 1 2 3 4 5 6 7 8 9 (column numbers)
{48,49,50,51,52,53,54,55,56,57};

const string NO_EDIT_VAR1 = " ";// 17
const string NO_EDIT_VAR2 = " ";// 12
const uint8 Options [] = {
24 , // AR_PRIM_SECOND # 1
0 , // AUTOSLIDEEASY # 2
1 , // AUTOSLIDE # 3
1 , // QUICKSCOPE # 4
9 , // SMARTFIRE # 5
9 , // BURSTFIRE # 6
7 , // HOLDBREATH # 7
1 , // FASTMELEE # 8
32 , // STRAFESHOT # 9
9 , // RAPIDFIRE # 10
1 , // AIMASSISTSWEET # 11
1 // BATTSSTICKYAIM # 12
};
const uint8 EditVal [] = {
1 , // AR_PRIM_SECOND # 1
0 , // AUTOSLIDEEASY # 2
0 , // AUTOSLIDE # 3
1 , // QUICKSCOPE # 4
3 , // SMARTFIRE # 5
3 , // BURSTFIRE # 6
0 , // HOLDBREATH # 7
0 , // FASTMELEE # 8
1 , // STRAFESHOT # 9
1 , // RAPIDFIRE # 10
1 , // AIMASSISTSWEET # 11
1 // BATTSSTICKYAIM # 12
};
const uint8 OptRange [][] = {
{ 0 , 3 }, // AR_PRIM_SECOND # 1
{ 0 , 0 }, // AUTOSLIDEEASY # 2
{ 0 , 0 }, // AUTOSLIDE # 3
{ 4 , 4 }, // QUICKSCOPE # 4
{ 5 , 6 }, // SMARTFIRE # 5
{ 7 , 8 }, // BURSTFIRE # 6
{ 0 , 0 }, // HOLDBREATH # 7
{ 0 , 0 }, // FASTMELEE # 8
{ 9 , 9 }, // STRAFESHOT # 9
{ 10 , 11 }, // RAPIDFIRE # 10
{ 12 , 13 }, // AIMASSISTSWEET # 11
{ 14 , 15 } // BATTSSTICKYAIM # 12
};
const uint8 Min_Max_Options [][]={
{ 0 , 2 }, // AR_PRIM_SECOND # 1
{ 0 , 1 }, // AUTOSLIDEEASY # 2
{ 0 , 1 }, // AUTOSLIDE # 3
{ 0 , 1 }, // QUICKSCOPE # 4
{ 0 , 3 }, // SMARTFIRE # 5
{ 0 , 3 }, // BURSTFIRE # 6
{ 0 , 2 }, // HOLDBREATH # 7
{ 0 , 1 }, // FASTMELEE # 8
{ 0 , 4 }, // STRAFESHOT # 9
{ 0 , 3 }, // RAPIDFIRE # 10
{ 0 , 1 }, // AIMASSISTSWEET # 11
{ 0 , 1 } // BATTSSTICKYAIM # 12
};
/////////////////////////////////////////////////////////////////////////////
/// INITIALIZATION BLOCK
/////////////////////////////////////////////////////////////////////////////
init {
AR_Prim_Sec_onoff = get_pvar(SPVAR_1,1,2,2);
AutoSlideCancelEasy = get_pvar(SPVAR_2,0,1,0);
AutoSlideCancel = get_pvar(SPVAR_3,0,1,0);
quick_scope_onoff = get_pvar(SPVAR_4,0,1,0);
smart_fire_onoff = get_pvar(SPVAR_5,1,3,0);
burst_fire_onoff = get_pvar(SPVAR_6,1,3,0);
holdbreath_onoff = get_pvar(SPVAR_7,1,2,0);
ToggleFastMelee = get_pvar(SPVAR_8,0,1,0);
ToggleStrafeShot = get_pvar(SPVAR_9,1,4,0);
rapidfire_onoff = get_pvar(SPVAR_10,1,3,0);
sweet_evil_onoff = get_pvar(SPVAR_11,0,1,0);
ToggleBattsStickyAim = get_pvar(SPVAR_12,0,1,0);
AR_Primary_V = get_pvar(SPVAR_13, 1,99, 28);
AR_Primary_H = get_pvar(SPVAR_14,-99,99, 2);
AR_Second_V = get_pvar(SPVAR_15, 1,99, 28);
AR_Second_H = get_pvar(SPVAR_16,-99,99, 2);
quick_scope_val = get_pvar(SPVAR_17, 50,600, 350);
smartF_hold = get_pvar(SPVAR_18, 30, 60, 40);
smartF_rest = get_pvar(SPVAR_19, 100, 800, 350);
burstF_hold = get_pvar(SPVAR_20, 100, 800, 510);
burstF_rest = get_pvar(SPVAR_21, 100, 800, 350);
StrafeShotTime = get_pvar(SPVAR_22, 1,999, 400);
RF_hold = get_pvar(SPVAR_23, 1,1000, 20);
RF_release = get_pvar(SPVAR_24, 1,1000, 30);
Aim_Boost = get_pvar(SPVAR_25, 1,30, 7);
Aim_Correction = get_pvar(SPVAR_26, 1,30, 12);
AimAssistTime = get_pvar(SPVAR_27, 1,100, 20);
AimAssistSize = get_pvar(SPVAR_28, 1,100, 15);
}// end of init block
/////////////////////////////////////////////////////////////////////////////
/// MAIN BLOCK
/////////////////////////////////////////////////////////////////////////////
main {//---------------------------------

/////////////////////////////////////////
if(get_ival(ADS_BTN)){
if(event_press(PS4_SHARE)){
EntireScript_OnOff = !EntireScript_OnOff;
blinck(EntireScript_OnOff);
cls_oled(0);
draw_rectangle();
//display_mod(f_idx, f_string, mod_name, f_toggle, f_option)
display_mod( center_x(sizeof(SCRIPT_ONOFF)- 1, OLED_FONT_MEDIUM_WIDTH) ,SCRIPT_ONOFF [0],EntireScript_OnOff ,1);
show_mesage_time = 2000;
//--- Set Virtual Machine Speed to Default if script is OFF
if(!EntireScript_OnOff) set_Virtual_Machine_Speed(VM_Default);
}
}

if(show_mesage_time){
show_mesage_time -= get_rtime();
if(show_mesage_time <= 0) {
cls_oled(0);
}
}

//============================================================
// KILL SWITCH FOR ENTIRE SCRIPT
//============================================================
if(EntireScript_OnOff){
//--- Set Virtual Machine Speed to Default for MENU
if(ModEdit || ModMenu) set_Virtual_Machine_Speed(VM_Default);
if(display_EDIT){
// Clear OLED screen
cls_oled(0);
// display_edit(f_idx, f_string, f_print, f_val)
if(EditVal[ modName_idx ] == 0 ){
//--- print label
line_oled(1,45,127,45,1,0);
printf( center_x( 17, OLED_FONT_SMALL_WIDTH ), 20, OLED_FONT_SMALL, 1, NO_EDIT_VAR1[0] );
printf( center_x( 12, OLED_FONT_SMALL_WIDTH ), 33, OLED_FONT_SMALL, 1, NO_EDIT_VAR2[0] );
}
else {//---- ELSE BEGIN --------------
/////////////////////////////////////////////
if(valName_idx == 0){
display_edit(center_x(sizeof(AR_PRIMARY_V )- 1,OLED_FONT_MEDIUM_WIDTH),AR_PRIMARY_V [0],AR_Primary_V);
AR_Primary_V = edit_val(AR_Primary_V,0,99);
}
/////////////////////////////////////////////
if(valName_idx == 1){
display_edit(center_x(sizeof(AR_PRIMARY_H )- 1,OLED_FONT_MEDIUM_WIDTH),AR_PRIMARY_H [0],AR_Primary_H);
AR_Primary_H = edit_val(AR_Primary_H,-99,99);
}
/////////////////////////////////////////////
if(valName_idx == 2){
display_edit(center_x(sizeof(AR_SECOND_VERTICAL )- 1,OLED_FONT_MEDIUM_WIDTH),AR_SECOND_VERTICAL [0],AR_Second_V);
AR_Second_V = edit_val(AR_Second_V,0,99);
}
/////////////////////////////////////////////
if(valName_idx == 3){
display_edit(center_x(sizeof(AR_SECOND_HORIZONTAL )- 1,OLED_FONT_MEDIUM_WIDTH),AR_SECOND_HORIZONTAL [0],AR_Second_H);
AR_Second_H = edit_val(AR_Second_H,-99,99);
}
/////////////////////////////////////////////
if(valName_idx == 4){
display_edit(center_x(sizeof(QUICK_SCOPE_VAL )- 1,OLED_FONT_MEDIUM_WIDTH),QUICK_SCOPE_VAL [0],quick_scope_val);
quick_scope_val = edit_val(quick_scope_val, 50,600);
}
/////////////////////////////////////////////
if(valName_idx == 5){
display_edit(center_x(sizeof(SMARTFIRE_HOLD )- 1,OLED_FONT_MEDIUM_WIDTH),SMARTFIRE_HOLD [0],smartF_hold);
smartF_hold = edit_val(smartF_hold,30,60 );
}
/////////////////////////////////////////////
if(valName_idx == 6){
display_edit(center_x(sizeof(SMARTFIRE_RELEASE )- 1,OLED_FONT_MEDIUM_WIDTH),SMARTFIRE_RELEASE [0],smartF_rest);
smartF_rest = edit_val(smartF_rest,100,800 );
}
/////////////////////////////////////////////
if(valName_idx == 7){
display_edit(center_x(sizeof(BURSTFIRE_HOLD )- 1,OLED_FONT_MEDIUM_WIDTH),BURSTFIRE_HOLD [0],burstF_hold);
burstF_hold = edit_val(burstF_hold,100,800 );
}
/////////////////////////////////////////////
if(valName_idx == 8){
display_edit(center_x(sizeof(BURSTFIRE_RELEASE )- 1,OLED_FONT_MEDIUM_WIDTH),BURSTFIRE_RELEASE [0],burstF_rest);
burstF_rest = edit_val(burstF_rest,100,800 );
}
/////////////////////////////////////////////
if(valName_idx == 9){
display_edit(center_x(sizeof(STRAFE_SHOT_TIME )- 1,OLED_FONT_MEDIUM_WIDTH),STRAFE_SHOT_TIME [0],StrafeShotTime);
StrafeShotTime = edit_val(StrafeShotTime, 1,999);
}
/////////////////////////////////////////////
if(valName_idx == 10){
display_edit(center_x(sizeof(RAPIDFIRE_HOLD)- 1,OLED_FONT_MEDIUM_WIDTH),RAPIDFIRE_HOLD[0],RF_hold);
RF_hold = edit_val(RF_hold,1,1000 );
}
/////////////////////////////////////////////
if(valName_idx == 11){
display_edit(center_x(sizeof(RAPIDFIRE_RELEASE)- 1,OLED_FONT_MEDIUM_WIDTH),RAPIDFIRE_RELEASE[0],RF_release);
RF_release = edit_val(RF_release,1,1000 );
}
/////////////////////////////////////////////
if(valName_idx == 12){
display_edit(center_x(sizeof(AIMBOOST )- 1,OLED_FONT_MEDIUM_WIDTH),AIMBOOST [0],Aim_Boost);
Aim_Boost = edit_val(Aim_Boost,1,30);
}
/////////////////////////////////////////////
if(valName_idx == 13){
display_edit(center_x(sizeof(AIMCORRECTION )- 1,OLED_FONT_MEDIUM_WIDTH),AIMCORRECTION [0],Aim_Correction);
Aim_Correction = edit_val(Aim_Correction,1,30);
}
/////////////////////////////////////////////
if(valName_idx == 14){
display_edit(center_x(sizeof(AIMASSIST_TIME)- 1,OLED_FONT_MEDIUM_WIDTH),AIMASSIST_TIME[0],AimAssistTime);
AimAssistTime = edit_val(AimAssistTime,1,100 );
}
/////////////////////////////////////////////
if(valName_idx == 15){
display_edit(center_x(sizeof(AIMASSISTSIZE)- 1,OLED_FONT_MEDIUM_WIDTH),AIMASSISTSIZE[0],AimAssistSize);
AimAssistSize = edit_val(AimAssistSize,1,100 );
}
}//--- ELSE END -----------
}// end of display edit
if(refresh_OLED)
{
// Clear OLED screen
cls_oled(0);

// Draw Rectangle
draw_rectangle();
// Display Mod Name and togle status : ON/OFF
if(modName_idx == 0)display_mod( center_x(sizeof(AR_PRIM_SECOND)- 1, OLED_FONT_MEDIUM_WIDTH) ,AR_PRIM_SECOND[0],AR_Prim_Sec_onoff,Options[ modName_idx ]);
if(modName_idx == 1)display_mod( center_x(sizeof(AUTOSLIDEEASY)- 1, OLED_FONT_MEDIUM_WIDTH) ,AUTOSLIDEEASY[0],AutoSlideCancelEasy,Options[ modName_idx ]);
if(modName_idx == 2)display_mod( center_x(sizeof(AUTOSLIDE)- 1, OLED_FONT_MEDIUM_WIDTH) ,AUTOSLIDE[0],AutoSlideCancel,Options[ modName_idx ]);
if(modName_idx == 3)display_mod( center_x(sizeof(QUICKSCOPE)- 1, OLED_FONT_MEDIUM_WIDTH) ,QUICKSCOPE[0],quick_scope_onoff,Options[ modName_idx ]);
if(modName_idx == 4)display_mod( center_x(sizeof(SMARTFIRE)- 1, OLED_FONT_MEDIUM_WIDTH) ,SMARTFIRE[0],smart_fire_onoff,Options[ modName_idx ]);
if(modName_idx == 5)display_mod( center_x(sizeof(BURSTFIRE)- 1, OLED_FONT_MEDIUM_WIDTH) ,BURSTFIRE[0],burst_fire_onoff,Options[ modName_idx ]);
if(modName_idx == 6)display_mod( center_x(sizeof(HOLDBREATH)- 1, OLED_FONT_MEDIUM_WIDTH) ,HOLDBREATH[0],holdbreath_onoff,Options[ modName_idx ]);
if(modName_idx == 7)display_mod( center_x(sizeof(FASTMELEE)- 1, OLED_FONT_MEDIUM_WIDTH) ,FASTMELEE[0],ToggleFastMelee,Options[ modName_idx ]);
if(modName_idx == 8)display_mod( center_x(sizeof(STRAFESHOT)- 1, OLED_FONT_MEDIUM_WIDTH) ,STRAFESHOT[0],ToggleStrafeShot,Options[ modName_idx ]);
if(modName_idx == 9)display_mod( center_x(sizeof(RAPIDFIRE)- 1, OLED_FONT_MEDIUM_WIDTH) ,RAPIDFIRE[0],rapidfire_onoff,Options[ modName_idx ]);
if(modName_idx == 10)display_mod( center_x(sizeof(AIMASSISTSWEET)- 1, OLED_FONT_MEDIUM_WIDTH) ,AIMASSISTSWEET[0],sweet_evil_onoff,Options[ modName_idx ]);
if(modName_idx == 11)display_mod( center_x(sizeof(BATTSSTICKYAIM)- 1, OLED_FONT_MEDIUM_WIDTH) ,BATTSSTICKYAIM[0],ToggleBattsStickyAim,Options[ modName_idx ]);

refresh_OLED = FALSE;
}
if(display_title){
// clear OLED screen
cls_oled(0);
// Display Script Title
DrawLogo(0, 0, 0);
// screen saver
ModMenu = FALSE;
display_title = FALSE;
display_black = TRUE;

}

//-----------------------------
// Screen saver (OLED off)
if(display_black )
{
count_black += get_rtime();
if(count_black >= 5000)
{
cls_oled(0);
count_black = 0;
display_black = FALSE;
}
}

/////////////////////////////////////////////////////////
// MENU EDIT VALUES
if(ModEdit){
block_all_inputs();
if(MenuTimeOut){
CheckIfBtnIsPressed();
}
//--- Exit from EDIT MENU
if(event_release(PS4_CIRCLE)){
ModEdit = FALSE;
display_EDIT = FALSE;
ModMenu = TRUE;
refresh_OLED = TRUE; // display MODS
}
////////////////////////////////////////////////////////////////////////////////
// GO FORWARD
if(!get_ival(ADS_BTN) && event_press(PS4_DOWN)){

valName_idx ++;
if(valName_idx > OptRange[ modName_idx ][ 1 ]) valName_idx = OptRange[ modName_idx ][ 1 ];
refresh_OLED = FALSE;
display_EDIT = TRUE;
}
///////////////////////////////////////////////////////////////////////////////
// GO BACK
if(!get_ival(ADS_BTN) && event_press(PS4_UP)){

valName_idx --;
if(valName_idx < OptRange[ modName_idx ][ 0 ]) valName_idx = OptRange[ modName_idx ][ 0 ];
refresh_OLED = FALSE;
display_EDIT = TRUE;
}
///////////////////////////////////////////////////////
if(MenuTimeOut){
CheckIfBtnIsPressed();
}
}// end of EDIT MENU
/////////////////////////////////////////////////////////
// EDIT MENU ON/OFF
if(get_val(ADS_BTN) && event_press(PS4_OPTIONS)){
ModMenu = TRUE;
// toggle EditMenu ON/OFF
modName_idx = 0;
refresh_OLED = TRUE; // display Title
display_EDIT = FALSE;
MenuTimeOut = menu_time_active;
}
/////////////////////////////////////////////////////////
// MENU SYSTEM
if(ModMenu){
block_all_inputs();
//--- Exit from MENU
if(event_press(PS4_CIRCLE)){
ModMenu = FALSE;
ModEdit = FALSE;
combo_run(MESSAGE);
}
//--- Enter in EDIT MENU
if(event_press(PS4_CROSS)){
ModMenu = FALSE;
valName_idx = OptRange[ modName_idx ][ 0 ];
ModEdit = TRUE;
display_EDIT= TRUE;
}

//Display MOD NAME and togle status
// Switch MODs
if( !get_ival(ADS_BTN) && event_press(PS4_DOWN)){

modName_idx ++;
if(modName_idx > 11) modName_idx = 0;
//////////////////////////////////////
if(modName_idx == 0 ) {
blinck( AR_Prim_Sec_onoff);
}
/////////////////////////////////////
//////////////////////////////////////
if(modName_idx == 1 ) {
blinck( AutoSlideCancelEasy);
}
/////////////////////////////////////
//////////////////////////////////////
if(modName_idx == 2 ) {
blinck( AutoSlideCancel);
}
/////////////////////////////////////
//////////////////////////////////////
if(modName_idx == 3 ) {
blinck( quick_scope_onoff);
}
/////////////////////////////////////
//////////////////////////////////////
if(modName_idx == 4 ) {
blinck( smart_fire_onoff);
}
/////////////////////////////////////
//////////////////////////////////////
if(modName_idx == 5 ) {
blinck( burst_fire_onoff);
}
/////////////////////////////////////
//////////////////////////////////////
if(modName_idx == 6 ) {
blinck( holdbreath_onoff);
}
/////////////////////////////////////
//////////////////////////////////////
if(modName_idx == 7 ) {
blinck( ToggleFastMelee);
}
/////////////////////////////////////
//////////////////////////////////////
if(modName_idx == 8 ) {
blinck( ToggleStrafeShot);
}
/////////////////////////////////////
//////////////////////////////////////
if(modName_idx == 9 ) {
blinck( rapidfire_onoff);
}
/////////////////////////////////////
//////////////////////////////////////
if(modName_idx == 10 ) {
blinck( sweet_evil_onoff);
}
/////////////////////////////////////
//////////////////////////////////////
if(modName_idx == 11 ) {
blinck( ToggleBattsStickyAim);
}
/////////////////////////////////////
}
if(!get_ival(ADS_BTN) && event_press(PS4_UP)){

modName_idx --;
if(modName_idx < 0) modName_idx = 11;
//////////////////////////////////////
if(modName_idx == 0 ) {
blinck( AR_Prim_Sec_onoff);
}
/////////////////////////////////////
//////////////////////////////////////
if(modName_idx == 1 ) {
blinck( AutoSlideCancelEasy);
}
/////////////////////////////////////
//////////////////////////////////////
if(modName_idx == 2 ) {
blinck( AutoSlideCancel);
}
/////////////////////////////////////
//////////////////////////////////////
if(modName_idx == 3 ) {
blinck( quick_scope_onoff);
}
/////////////////////////////////////
//////////////////////////////////////
if(modName_idx == 4 ) {
blinck( smart_fire_onoff);
}
/////////////////////////////////////
//////////////////////////////////////
if(modName_idx == 5 ) {
blinck( burst_fire_onoff);
}
/////////////////////////////////////
//////////////////////////////////////
if(modName_idx == 6 ) {
blinck( holdbreath_onoff);
}
/////////////////////////////////////
//////////////////////////////////////
if(modName_idx == 7 ) {
blinck( ToggleFastMelee);
}
/////////////////////////////////////
//////////////////////////////////////
if(modName_idx == 8 ) {
blinck( ToggleStrafeShot);
}
/////////////////////////////////////
//////////////////////////////////////
if(modName_idx == 9 ) {
blinck( rapidfire_onoff);
}
/////////////////////////////////////
//////////////////////////////////////
if(modName_idx == 10 ) {
blinck( sweet_evil_onoff);
}
/////////////////////////////////////
//////////////////////////////////////
if(modName_idx == 11 ) {
blinck( ToggleBattsStickyAim);
}
/////////////////////////////////////
}
//////////////////////////


// screen saver
display_black = FALSE;
display_title = FALSE;
//////////////////////////////
// display mod name and Toggle ON/OFF | Scroll Options
if(!get_ival(ADS_BTN) ){
if(event_press(PS4_RIGHT)){ // go back

if(modName_idx == 0 ) {
AR_Prim_Sec_onoff = f_go_back( AR_Prim_Sec_onoff );
}


if(modName_idx == 1 ) {
AutoSlideCancelEasy = f_go_back( AutoSlideCancelEasy );
}


if(modName_idx == 2 ) {
AutoSlideCancel = f_go_back( AutoSlideCancel );
}


if(modName_idx == 3 ) {
quick_scope_onoff = f_go_back( quick_scope_onoff );
}


if(modName_idx == 4 ) {
smart_fire_onoff = f_go_back( smart_fire_onoff );
}


if(modName_idx == 5 ) {
burst_fire_onoff = f_go_back( burst_fire_onoff );
}


if(modName_idx == 6 ) {
holdbreath_onoff = f_go_back( holdbreath_onoff );
}


if(modName_idx == 7 ) {
ToggleFastMelee = f_go_back( ToggleFastMelee );
}


if(modName_idx == 8 ) {
ToggleStrafeShot = f_go_back( ToggleStrafeShot );
}


if(modName_idx == 9 ) {
rapidfire_onoff = f_go_back( rapidfire_onoff );
}


if(modName_idx == 10 ) {
sweet_evil_onoff = f_go_back( sweet_evil_onoff );
}


if(modName_idx == 11 ) {
ToggleBattsStickyAim = f_go_back( ToggleBattsStickyAim );
}

}// go back
if(event_press(PS4_LEFT)){// go forward

if(modName_idx == 0 ) {
AR_Prim_Sec_onoff = f_go_forward( AR_Prim_Sec_onoff);
}


if(modName_idx == 1 ) {
AutoSlideCancelEasy = f_go_forward( AutoSlideCancelEasy);
}


if(modName_idx == 2 ) {
AutoSlideCancel = f_go_forward( AutoSlideCancel);
}


if(modName_idx == 3 ) {
quick_scope_onoff = f_go_forward( quick_scope_onoff);
}


if(modName_idx == 4 ) {
smart_fire_onoff = f_go_forward( smart_fire_onoff);
}


if(modName_idx == 5 ) {
burst_fire_onoff = f_go_forward( burst_fire_onoff);
}


if(modName_idx == 6 ) {
holdbreath_onoff = f_go_forward( holdbreath_onoff);
}


if(modName_idx == 7 ) {
ToggleFastMelee = f_go_forward( ToggleFastMelee);
}


if(modName_idx == 8 ) {
ToggleStrafeShot = f_go_forward( ToggleStrafeShot);
}


if(modName_idx == 9 ) {
rapidfire_onoff = f_go_forward( rapidfire_onoff);
}


if(modName_idx == 10 ) {
sweet_evil_onoff = f_go_forward( sweet_evil_onoff);
}


if(modName_idx == 11 ) {
ToggleBattsStickyAim = f_go_forward( ToggleBattsStickyAim);
}

}// go forward
}
refresh_OLED = TRUE;
set_val(PS4_RIGHT,0);
set_val(PS4_LEFT,0);
set_val(PS4_UP,0);
set_val(PS4_DOWN,0);
if(MenuTimeOut){
CheckIfBtnIsPressed();
}
}
/////////////////////////////////////////////////////////////
/// END OF MENU /////////////////////////////////////////
/////////////////////////////////////////////////////////////
//==========================================================================================================
if(!ModEdit && !ModMenu){// code for MODS
//--- LED COLOR INDICATION
combo_run(Blink_MOD_ON);
if(ToggleStrafeShot && KS_StrafeShot)
{
if(ToggleStrafeShot == 1){
if(get_val(FIRE_BTN) && !get_val(ADS_BTN))
combo_run (StrafeShot);
else
combo_stop(StrafeShot);
}
if(ToggleStrafeShot == 2){
if(get_val(FIRE_BTN) && get_val(ADS_BTN))
combo_run (StrafeShot);
else
combo_stop(StrafeShot);
}
if(ToggleStrafeShot == 3){
if(!get_val(FIRE_BTN) && get_val(ADS_BTN))
combo_run (StrafeShot);
else
combo_stop(StrafeShot);
}
if(ToggleStrafeShot == 4){
if(get_val(PS4_R2) )
combo_run (StrafeShot);
else
combo_stop(StrafeShot);
}
}
//===========================================
// RAPID FIRE ON/OFF
//===========================================
if(rapidfire_onoff && KS_RapidFire ) {
/////////////////////////////////////////
if ((rapidfire_onoff == 2 && get_ival(ADS_BTN) && get_ival(FIRE_BTN)) || (rapidfire_onoff == 1 && get_ival(FIRE_BTN) && !get_ival(ADS_BTN)) || (rapidfire_onoff == 3 && get_ival(FIRE_BTN))) {
combo_run(RAPID_FIRE_cmb);
}
/////////////////////////////////////////
}

//===========================================
// SMART FIRE
//===========================================
if (smart_fire_onoff && KS_SmartFire) {
if ((smart_fire_onoff == 2 && get_ival(ADS_BTN) && get_ival(FIRE_BTN)) || (smart_fire_onoff == 1 && get_ival(FIRE_BTN) && !get_ival(ADS_BTN)) || (smart_fire_onoff == 3 && get_ival(FIRE_BTN)) ) {
combo_run(SmartFire_cmb);
} else {
combo_stop(SmartFire_cmb);
}
}

//===========================================
// BURST FIRE
//===========================================
if (burst_fire_onoff && KS_BurstFire) {
if ((burst_fire_onoff == 2 && get_ival(ADS_BTN) && get_ival(FIRE_BTN)) || (burst_fire_onoff == 1 && get_ival(FIRE_BTN) && !get_ival(ADS_BTN)) || (burst_fire_onoff == 3 && get_ival(FIRE_BTN))) {
combo_run(BurstFire_cmb);
} else {
combo_stop(BurstFire_cmb);
}
}

//===========================================
// HOLD BREATH
//===========================================
if(holdbreath_onoff == 1 ) { // Like CoD
//----------------------------------------------
if( get_val(ADS_BTN) ) set_val(SPRINT_BTN, 100);// SPRINT BTN
//----------------------------------------------
}
if(holdbreath_onoff == 2 ) {// Like PUBG
//-----------------------------
if( get_val(ADS_BTN) ){
hbreath_time += get_rtime();
if(hbreath_time > 100){
set_val(SPRINT_BTN, 100);// SPRINT BTN
}
}
if(event_release(ADS_BTN)){
hbreath_time = 0;
}
//-----------------------------
}
//===========================================
// QUICK SCOPE
//===========================================
if (quick_scope_onoff) { //QUICKSCOPE TAP < 140 ms
if (event_release(ADS_BTN) && (get_ptime(ADS_BTN) < 140)) {
combo_run(QUICKSCOPE_cmb);
}
}
//===========================================
// SWEET EVIL 14 AIM ASSIST
//===========================================
if(sweet_evil_onoff){
if(get_val(ADS_BTN)){
if(abs(X_Current_Value) <= POS_Micro_MVT_Limit && abs(Y_Current_Value) <= POS_Micro_MVT_Limit){
if(abs(X_Last_Value - X_Current_Value) < 0){
combo_stop(Aim_Assist_Perfection);
Sampling_Done = FALSE;
if(get_val(FIRE_BTN) > 95){
combo_stop(Fine_Tune_Aim);
fine_pulse = 0;
combo_run(spiroide_Aim_Assit);
}
else{
combo_stop(spiroide_Aim_Assit);
spiroide_pulse = 0;
combo_run(Fine_Tune_Aim);
}
}
}
else if(abs(X_Current_Value) <= POS_Aim_Limit && abs(Y_Current_Value) <= POS_Aim_Limit){
combo_stop(Fine_Tune_Aim);
combo_stop(spiroide_Aim_Assit);
spiroide_pulse = 0;
fine_pulse = 0;
combo_run(Aim_Assist_Perfection);
}
}
else {
combo_stop(Fine_Tune_Aim);
combo_stop(spiroide_Aim_Assit);
combo_stop(Aim_Assist_Perfection);
spiroide_pulse = 0;
fine_pulse = 0;
Sampling_Done = FALSE;
}
}

//--- CLEAR OLED SCREEN after message
if(time_to_clear_screen){
time_to_clear_screen -= get_rtime();
if(time_to_clear_screen <= 0 ){
QT_MESSAGE_TIMEOUT();
}
}

//======================================================
// ANTI RECOIL PRIMARY / SECONDARY WEAPON
//======================================================
if(get_val(PS4_L3) && event_press(PS4_UP) ) {
AR_Prim_Sec_onoff = !AR_Prim_Sec_onoff;
set_rumble_tipe(AR_Prim_Sec_onoff);
display_MOD_status(AR_Prim_Sec_onoff,sizeof(AR_PRIM_SECOND)- 1,AR_PRIM_SECOND[0]);
set_val(PS4_UP,0);
}
//---Anti Recoil Primary/Secondary Weapon
if(AR_Prim_Sec_onoff){

//---2. Manually Switch
if(AR_Prim_Sec_onoff == 1){
if(get_val(PS4_SHARE)){
if(event_press(PS4_TRIANGLE)){
primary_weapon = TRUE;// Primary
set_profile_notify( PRIMARY_Profile, RUMBLE_A);// one heavy rumble
display_ar_profile();
}
set_val(PS4_TRIANGLE,0);
}
if(get_val(PS4_SHARE)){
if(event_press(PS4_CIRCLE)){
primary_weapon = FALSE;// Secondary
set_profile_notify( SECONDARY_Profile, RUMBLE_A);// two heavy rumbles
display_ar_profile();
}
set_val(PS4_CIRCLE,0);
}

}//manualy
//---1. Automatic Switch
if(AR_Prim_Sec_onoff == 1){
if(get_val(PS4_TOUCH) || get_val(XB1_VIEW)){
if(event_press(SWITCHWEAPON_BTN)){
primary_weapon = TRUE;// Re-sync to Primary
set_profile_notify( PRIMARY_Profile, RUMBLE_A);// one heavy rumble
display_ar_profile();
}
set_val(SWITCHWEAPON_BTN,0);
}
else if(event_press(SWITCHWEAPON_BTN)){
primary_weapon = !primary_weapon;
display_ar_profile();
if(primary_weapon)
{
set_profile_notify(PRIMARY_Profile, RUMBLE_A);// one heavy rumble
}
else
{
set_profile_notify(SECONDARY_Profile, RUMBLE_A);
}

}
}// Automatic
}
//--- end of Anti Recoil Profiles Switch

//======================================================
// ANTI RECOIL PRIMARY WEAPON
//======================================================
//======================================================
if(AR_Prim_Sec_onoff && primary_weapon) {
// hold RS/R3 + UP/DOWN (Vertical Recoil) or LEFT/RIGHT(Horizontal Recoil)
if(get_val(PS4_L1)){
if(event_press(XB1_UP)) {
AR_Primary_V +=1;
on_the_fly_display(center_x(sizeof(AR_PRIMARY_V)- 1,OLED_FONT_MEDIUM_WIDTH),AR_PRIMARY_V[0],AR_Primary_V);
}
if(event_press(XB1_DOWN)){
AR_Primary_V -=1;
on_the_fly_display(center_x(sizeof(AR_PRIMARY_V)- 1,OLED_FONT_MEDIUM_WIDTH),AR_PRIMARY_V[0],AR_Primary_V);
}
//horizontal------------------------------------
if(event_press(XB1_LEFT)){
AR_Primary_H -=1;
on_the_fly_display(center_x(sizeof(AR_PRIMARY_H)- 1,OLED_FONT_MEDIUM_WIDTH),AR_PRIMARY_H[0],AR_Primary_H);
}
if(event_press(XB1_RIGHT)){
AR_Primary_H +=1;
on_the_fly_display(center_x(sizeof(AR_PRIMARY_H)- 1,OLED_FONT_MEDIUM_WIDTH),AR_PRIMARY_H[0],AR_Primary_H);
}
//--- SAVE AR VALUES
if(event_press(PS4_PS)){
combo_run(MESSAGE);
}
set_val(PS4_PS,0);

set_val(PS4_UP,0); set_val(PS4_RIGHT,0); set_val(PS4_DOWN,0);set_val(PS4_LEFT,0);
}// get RS

if( abs(get_val(RX)) > AR_Release_Prim || abs(get_val(RY)) > AR_Release_Prim) {
combo_stop (AntiRecoilPrimary);
}

if( get_val(ADS_BTN) && get_val(FIRE_BTN)) {
combo_run(AntiRecoilPrimary);
}

}
//======================================================
// ANTI RECOIL SECONDARY WEAPON
//======================================================
//======================================================
if(AR_Prim_Sec_onoff && !primary_weapon) {
// hold RS/R3 + UP/DOWN (Vertical Recoil) or LEFT/RIGHT(Horizontal Recoil)
if(get_val(PS4_L1)){
if(event_press(XB1_UP)) {
AR_Second_V +=1;
on_the_fly_display(center_x(sizeof(AR_SECOND_VERTICAL)- 1,OLED_FONT_MEDIUM_WIDTH),AR_SECOND_VERTICAL[0],AR_Second_V);
}
if(event_press(XB1_DOWN)){
AR_Second_V -=1;
on_the_fly_display(center_x(sizeof(AR_SECOND_VERTICAL)- 1,OLED_FONT_MEDIUM_WIDTH),AR_SECOND_VERTICAL[0],AR_Second_V);
}
//horizontal------------------------------------
if(event_press(XB1_LEFT)){
AR_Second_H -=1;
on_the_fly_display(center_x(sizeof(AR_SECOND_HORIZONTAL)- 1,OLED_FONT_MEDIUM_WIDTH),AR_SECOND_HORIZONTAL[0],AR_Second_H);
}
if(event_press(XB1_RIGHT)){
AR_Second_H +=1;
on_the_fly_display(center_x(sizeof(AR_SECOND_HORIZONTAL)- 1,OLED_FONT_MEDIUM_WIDTH),AR_SECOND_HORIZONTAL[0],AR_Second_H);
}
set_val(PS4_UP,0); set_val(PS4_RIGHT,0); set_val(PS4_DOWN,0);set_val(PS4_LEFT,0);
//--- SAVE AR VALUES
if(event_press(PS4_PS)){
combo_run(MESSAGE);
}
set_val(PS4_PS,0);

}// get RS

if( abs(get_val(RX)) > AR_Release_Second || abs(get_val(RY)) > AR_Release_Second) {
combo_stop (ARSecondary);
}

if( get_val(ADS_BTN) && get_val(FIRE_BTN)) {
combo_run(ARSecondary);
}
}
//======================================================
//===========================================
// AUTO SLIDE CANCEL
//===========================================
//===============================================
//--- Auto Slide Cancel with custom slide lenth (recommended for low skill players)ASCE
//===============================================
if((event_press(PS4_UP) && get_val(PS4_CIRCLE)) || (event_press(XB1_Y) && get_val(PS4_UP))) {//
AutoSlideCancelEasy = !AutoSlideCancelEasy;
set_rumble_tipe (AutoSlideCancelEasy);
if(AutoSlideCancelEasy)AutoSlideCancel = FALSE;

}

if(AutoSlideCancelEasy){
if(get_ival (PRONE_BTN)){
combo_run(ASCE);
}
}

//===============================================
//--- Auto Slide Cancel with the ability to choose the length of your slide.
//===============================================
if((event_press(PS4_UP) && get_val(PS4_CROSS)) || (event_press(PS4_CROSS) && get_val(PS4_UP))) {//-
AutoSlideCancel = !AutoSlideCancel;
if(AutoSlideCancel)AutoSlideCancelEasy = FALSE;
set_rumble_tipe (AutoSlideCancelEasy);
}


if(AutoSlideCancel) {

if((get_val(LY) < -60) || (get_val(LY) > 60) || (get_val(LX) < -60) || (get_val(LX) > 60)){
if(event_release (PRONE_BTN)){
combo_run(ASC)
}
}
}
//===========================================
// Batts Sticky Aim
//===========================================
if(ToggleBattsStickyAim){
if(get_ival(FIRE_BTN))
combo_run(StickyAim);
}

//===========================================
// FAST MELEE
//===========================================
if(ToggleFastMelee)
{
if(!get_val(ADS_BTN)){
if(get_val(MELEE_BTN))
combo_run(FastMelee);
}
if(get_val(ADS_BTN))
combo_stop(FastMelee);
}
} // end of MODS CODE
} // ENTIRE SCRIPT KILL SWITCH
} // end of main block
/////////////////////////////////////////////////////////////////////////////
/// COMBO BLOCK
/////////////////////////////////////////////////////////////////////////////
//-- VM Speed
define VM_Default = 0;
function set_Virtual_Machine_Speed (f_speed){
if (f_speed == 0) vm_tctrl(-0);//10 ms Default
else if(f_speed == 1) vm_tctrl(-2);// 8 ms
else if(f_speed == 2) vm_tctrl(-4);// 6 ms
else if(f_speed == 3) vm_tctrl(-6);// 4 ms
else if(f_speed == 4) vm_tctrl(-8);// 2 ms
else if(f_speed == 5) vm_tctrl(-9);// 1 ms
}

int hbreath_time;
//===============================================
// ANTIRECOIL PRIMARY
//===============================================
int AR_Release_Prim = 70;
int ar_prim_v, ar_prim_h;
combo AntiRecoilPrimary {
//--- vertical_recoil
ar_prim_v = get_val(RY) + (AR_Primary_V );
if(ar_prim_v > 100) ar_prim_v = 100;
set_val(RY, ar_prim_v);

//--- Horizontal_Recoil

ar_prim_h = get_val(RX) + (AR_Primary_H );
if(ar_prim_h >100) ar_prim_h = 100;
else if(ar_prim_h < -100) ar_prim_h = -100;
set_val(RX,ar_prim_h);
}

//===============================================
// ANTIRECOIL SECONDARY
//===============================================
int AR_Release_Second = 70;
int ar_second_v, ar_second_h;
combo ARSecondary {
//--- vertical_recoil
ar_second_v = get_val(RY) + (AR_Second_V );
if(ar_second_v > 100) ar_second_v = 100;
set_val(RY, ar_second_v);

//--- Horizontal_Recoil

ar_second_h = get_val(RX) + (AR_Second_H );
if(ar_second_h >100) ar_second_h = 100;
else if(ar_second_h < -100) ar_second_h = -100;
set_val(RX,ar_second_h);
}//======================================================

const string AR_PRIMARY_LABEL = " Primary" ; // Assalt Rifles
const string AR_SECONDARY_LABEL = "Secondary" ; // SMG
function display_ar_profile(){
if(!ModMenu && !ModEdit ){
// Clear OLED Screen
cls_oled(0); // will clear oled
if( primary_weapon ){
printf(sizeof(AR_PRIMARY_LABEL)- 1 ,3,OLED_FONT_MEDIUM,OLED_WHITE,AR_PRIMARY_LABEL[0]);// Primary AR Profile
}
else {
printf(sizeof(AR_SECONDARY_LABEL)- 1,3,OLED_FONT_MEDIUM,OLED_WHITE,AR_SECONDARY_LABEL[0]);//Secondary AR Profile
}
printf(center_x(sizeof(ON)- 1, OLED_FONT_LARGE_WIDTH),37,OLED_FONT_LARGE,OLED_WHITE, ON[0]);
time_to_clear_screen = 1500;
}

}

function print_QT (f_cheract_size , f_label ){
rect_oled(1,1,127,63,0,1);
line_oled(1,20,127,20,1,1);
printf( center_x( f_cheract_size , OLED_FONT_MEDIUM_WIDTH) , 2 , OLED_FONT_MEDIUM , OLED_WHITE, f_label);
}
int primary_weapon = TRUE;
int message_timeout;
int time_to_clear_screen;
function QT_MESSAGE_TIMEOUT (){
// Clear OLED Screen
cls_oled(0); // will clear oled
display_title = FALSE;
}


int exit_wait = 1500;
combo EXIT {
wait(exit_wait);
cls_oled(0);
ModMenu = FALSE;
ModEdit = FALSE;
display_EDIT = FALSE;
display_title = FALSE;
}
int LED_OnOff;
int rumble_tipe = RUMBLE_A;

//===============================================
// LED BLINK
//===============================================
combo LED_BLINK {
colourled(LED_OnOff);
wait(200);
colourled(ColorOFF);
wait(100);
colourled(LED_OnOff);
wait(200);
colourled(ColorOFF);
wait(100);
}
//===============================================
// PROFILE VIBRATE 1 , 2 ,3
//===============================================
int profile_numbr;
combo PROFILES_VIBRATE_NOTIFY {
if(profile_numbr >= 1) set_rumble(rumble_tipe, 0);
wait(300);
reset_rumble();
wait(100);
if(profile_numbr > 1)set_rumble(rumble_tipe, 0);
wait(300);
reset_rumble();
wait(100);
if(profile_numbr > 2)set_rumble(rumble_tipe, 0);
wait(300);
reset_rumble();
}
define PRIMARY_Profile = 1;
define SECONDARY_Profile = 2;
function set_profile_notify(f_profile,rumbl_type){
profile_numbr = f_profile;
rumble_tipe = rumbl_type;
combo_run(PROFILES_VIBRATE_NOTIFY);
}

//===============================================
// VIBRATE SETUP
//===============================================
combo vibrate {
set_rumble(rumble_tipe, 100);
wait(300);
reset_rumble();
wait(100);
set_rumble(rumble_tipe, 100);
wait(300);
reset_rumble();
}
//===============================================
// RUMBLE_TIPE
//===============================================
function set_rumble_tipe ( val) {
if( val){ rumble_tipe = RUMBLE_A ; LED_OnOff = Green;}
else { rumble_tipe = RUMBLE_B ; LED_OnOff = Red ;}
combo_run(vibrate);
combo_run(LED_BLINK);
}
//===============================================
// DOUBLE CLICK
//===============================================
int b_dblclick;

function double_click (button) {
if (b_dblclick) {
b_dblclick -=get_rtime();
}
if (event_press(button) ) {
if(b_dblclick){
b_dblclick = 0;
return TRUE;
}else{
b_dblclick = 300;
return FALSE;
}
}
return FALSE;
}

define Sampling_Time = 10;
define Aim_Perfection_Limit = 30;
define POS_Aim_Limit = 70;
define NEG_Aim_Limit = -70;
define POS_Micro_MVT_Limit = 25;
define NEG_Micro_MVT_Limit = -25;
int X_Last_Value = 0;
int Y_Last_Value = 0;
int X_Current_Value = 0;
int Y_Current_Value = 0;
int Sampling_Done = FALSE;
int spiroide_pulse = 0;
int fine_pulse = 0;
int Joystick_calibration = FALSE;
int RX_Axis_Joystick_calibrate = 0;
int RY_Axis_Joystick_calibrate = 0;
combo Aim_Assist_Perfection{
X_Last_Value = X_Current_Value
Y_Last_Value = Y_Current_Value
wait(Sampling_Time);
X_Current_Value = get_lval(RX)- RX_Axis_Joystick_calibrate;
Y_Current_Value = get_lval(RY)- RY_Axis_Joystick_calibrate;
if (Sampling_Done == TRUE ){
Aim_Perfection(X_Last_Value, X_Current_Value, 1, 0, 1, 0 );
Aim_Perfection(Y_Last_Value, Y_Current_Value, 1, 0, 0, 1 );}
X_Last_Value = X_Current_Value;
Y_Last_Value = Y_Current_Value;
wait(Sampling_Time);
X_Current_Value = get_lval(RX)- RX_Axis_Joystick_calibrate;
Y_Current_Value = get_lval(RY)- RX_Axis_Joystick_calibrate;
if (Sampling_Done == TRUE ){
Aim_Perfection(X_Last_Value, X_Current_Value, 0, 1, 1, 0 );
Aim_Perfection(Y_Last_Value, Y_Current_Value, 0, 1, 0, 1 );}
Sampling_Done = TRUE;
wait(Sampling_Time);
}
combo Fine_Tune_Aim {
set_val(RX,(15 - fine_pulse));
set_val(LX,(-15 + fine_pulse));
wait(Sampling_Time);
wait(Sampling_Time);
wait(Sampling_Time);
set_val(RX,(15 - fine_pulse));
set_val(RY,(10 - fine_pulse));
set_val(LX,(-5 + fine_pulse));
wait(Sampling_Time);
wait(Sampling_Time);
wait(Sampling_Time);
set_val(RY,(10 - fine_pulse));
wait(Sampling_Time);
wait(Sampling_Time);
wait(Sampling_Time);
wait(Sampling_Time);
set_val(RX,(-15 + fine_pulse));
set_val(RY,(10 - fine_pulse));
set_val(LX,(5 - fine_pulse))
wait(Sampling_Time);
wait(Sampling_Time)
wait(Sampling_Time)
set_val(RX,(-15 + fine_pulse));
set_val(LX,(15 - fine_pulse))
wait(Sampling_Time);
wait(Sampling_Time);
wait(Sampling_Time);
set_val(RX,(-15 + fine_pulse));
set_val(RY,(-10 + fine_pulse));
set_val(LX,(5 - fine_pulse))
wait(Sampling_Time);
wait(Sampling_Time);
wait(Sampling_Time);
set_val(RY,(-10 + fine_pulse));
wait(Sampling_Time);
wait(Sampling_Time);
wait(Sampling_Time);
wait(Sampling_Time);
set_val(RX,(15 - fine_pulse));
set_val(RY,(-10 + fine_pulse));
set_val(LX,(-5 + fine_pulse))
wait(Sampling_Time);
wait(Sampling_Time);
fine_pulse = fine_pulse + 2;
if ( fine_pulse >10){
fine_pulse = 0;}
}
combo spiroide_Aim_Assit {
set_val(RX,(4 + spiroide_pulse));
set_val(LX,(-15+ spiroide_pulse));
wait(Sampling_Time);
wait(Sampling_Time);
set_val(RY,(5 + spiroide_pulse));
wait(Sampling_Time);
wait(Sampling_Time);
wait(Sampling_Time);
wait(Sampling_Time);
set_val(RX,(-4 - spiroide_pulse));
set_val(LX,15 - spiroide_pulse );
wait(Sampling_Time);
wait(Sampling_Time)
set_val(RY,(5 + spiroide_pulse));
wait(Sampling_Time);
wait(Sampling_Time);
wait(Sampling_Time);
wait(Sampling_Time);
spiroide_pulse = spiroide_pulse + 2;
if ( spiroide_pulse >10){
spiroide_pulse = 0;}
}
function Aim_Perfection(Last_Value, Current_Value, Boost, Correction, X_AXIS, Y_AXIS ) {
if(abs(Last_Value - Current_Value) < Aim_Perfection_Limit){
if(Last_Value < Current_Value){
if (Boost){
if (X_AXIS)
set_val(RX, (Current_Value + Aim_Boost));
if (Y_AXIS)
set_val(RY, (Current_Value + Aim_Boost));}
else if(Correction){
if (X_AXIS)
set_val(RX, (Current_Value - Aim_Correction));
if (Y_AXIS)
set_val(RY, (Current_Value - Aim_Correction));}}
else{
if (Boost){
if (X_AXIS)
set_val(RX, (Current_Value - Aim_Boost));
if (Y_AXIS)
set_val(RY, (Current_Value - Aim_Boost));}
else if(Correction){
if (X_AXIS)
set_val(RX, (Current_Value + Aim_Correction));
if (Y_AXIS)
set_val(RY, (Current_Value + Aim_Correction));}}}
}
define ColorOFF = 0;
define Blue = 1;
define Red = 2;
define Green = 3;
define Pink = 4;
define SkyBlue = 5;
define Yellow = 6;
define White = 7;

data(
0,0,0, //0. ColorOFF
2,0,0, //1. Blue
0,2,0, //2. Red
0,0,2, //3. Green
2,2,0, //4. Pink
2,0,2, //5. SkyBlue
0,2,2, //6. Yellow
2,2,2 //7. White
); // end of data segment--------------
// COLOR LED function
//--------------------------------------------------------------

int data_indx;
function colourled(color) {
for( data_indx = 0; data_indx < 3; data_indx++ ) {
set_led(data_indx,duint8 ((color * 3) + data_indx));
}
}

// Refresh OLED
int display_title = TRUE;
int display_black;
int refresh_OLED;
int ModMenu;
int ModEdit;
int display_EDIT;
int EntireScript_OnOff = TRUE;// Kill Swith For Entire Script
int show_mesage_time;
//////////////////////////////////////
///////////////////////////////////////
int count_black;
int need_to_be_save;
int BlinckColor = 3;
int Col_ind;
combo StickyAim {
offset(PS4_RY,AimAssistSize);
wait(AimAssistTime);
offset(PS4_RX,AimAssistSize);
offset(PS4_LX,AimAssistSize);
wait(AimAssistTime);
offset(PS4_RY,inv(AimAssistSize));
wait(AimAssistTime);
offset(PS4_RX,inv(AimAssistSize));
offset(PS4_LX,inv(AimAssistSize));
wait(AimAssistTime);
}
function offset(Stick,Value) {
set_val(Stick, clamp(Value * (100 - abs(get_val(Stick))) / 100 + get_val(Stick), -100, 100));
return;
}

//===============================================================
// MODS COMBO SECTION
//===============================================================
//===============================================
// ASC_PRO_MOD
//===============================================
combo ASC { // Professional Slide Cancel.
wait(14); // If this becomes an issue, change it to 12 or 15. Worked fine here.
set_val(PRONE_BTN, 100);
wait(14); // If this becomes and issue, change to anything between 11-20.
set_val(PRONE_BTN, 100);
set_val(JUMP_BTN, 100);
wait(12);
set_val(PRONE_BTN, 0);
set_val(JUMP_BTN, 100);
wait(12);
set_val(JUMP_BTN, 0);
}
//===============================================
// ESC
//===============================================
combo ASCE { //--- Easy Slide Cancel.
set_val(PRONE_BTN, 100);
wait(380);
set_val(PRONE_BTN, 0);
wait(60);
set_val(PRONE_BTN, 100);
wait(50);
set_val(PRONE_BTN, 100);
set_val(JUMP_BTN, 100);
wait(60);
set_val(PRONE_BTN, 0);
set_val(JUMP_BTN, 100);
wait(10);
set_val(JUMP_BTN, 0);
}
combo QUICKSCOPE_cmb {
set_val(FIRE_BTN, 0);
set_val(ADS_BTN, 100);
set_val(SPRINT_BTN, 100);
wait(quick_scope_val);
set_val(FIRE_BTN, 100);
set_val(ADS_BTN, 100);
set_val(SPRINT_BTN, 100);
wait(40);
}
int KS_RapidFire = TRUE;
combo RAPID_FIRE_cmb {
set_val(FIRE_BTN, 100);
wait(RF_hold);
set_val(FIRE_BTN, 0);
wait(RF_release);
}
int KS_SmartFire = TRUE;
combo SmartFire_cmb {
set_val(FIRE_BTN,100);
wait(smartF_hold);
set_val(FIRE_BTN,0);
wait(smartF_rest);
}
int KS_BurstFire = TRUE;
combo BurstFire_cmb {
set_val(FIRE_BTN,100);
wait(burstF_hold);
set_val(FIRE_BTN,0);
wait(burstF_rest);
}
//=======================================
// DISPLAY EDIT VALUE ON THE FLY
//=======================================
function on_the_fly_display (f_string, f_print, f_val){
cls_oled(0);
line_oled(1,18,127,18,1,1);
printf(f_string, 0, OLED_FONT_MEDIUM, OLED_WHITE, f_print);
number_to_string(f_val, find_digits(f_val));
time_to_clear_screen = 2000;
}

int KS_StrafeShot = TRUE;
combo StrafeShot{
set_val(LX, 100);
wait(StrafeShotTime);
wait(50);
set_val(LX, -100);
wait(StrafeShotTime);
wait(20);
}
combo FastMelee {
set_val(MELEE_BTN, 100);
wait(35);
set_val(MELEE_BTN, 0);
wait(30);
}

define FONT_STATS_INDEX_WIDTH = 0;
define FONT_STATS_INDEX_HEIGHT = 1;
define FONT_STATS_INDEX_MAXCHARS = 2;


////////////////////////////////////////////////////////////////
function horizontal_center_offset(number_characters, font_size) {
return (128 - number_characters * FONT_STATS[font_size][FONT_STATS_INDEX_WIDTH]) / 2;
}

const string EXIT_TXT1 = "AIMBOT";
const string EXIT_TXT2 = "ACTIVATED";

//////////////////////////////////////////////////////////////////////////////
/// SAVE
function save_toggles () {

set_pvar(SPVAR_1,AR_Prim_Sec_onoff);
set_pvar(SPVAR_2,AutoSlideCancelEasy);
set_pvar(SPVAR_3,AutoSlideCancel);
set_pvar(SPVAR_4,quick_scope_onoff);
set_pvar(SPVAR_5,smart_fire_onoff);
set_pvar(SPVAR_6,burst_fire_onoff);
set_pvar(SPVAR_7,holdbreath_onoff);
set_pvar(SPVAR_8,ToggleFastMelee);
set_pvar(SPVAR_9,ToggleStrafeShot);
set_pvar(SPVAR_10,rapidfire_onoff);
set_pvar(SPVAR_11,sweet_evil_onoff);
set_pvar(SPVAR_12,ToggleBattsStickyAim);
set_pvar(SPVAR_13,AR_Primary_V);
set_pvar(SPVAR_14,AR_Primary_H);
set_pvar(SPVAR_15,AR_Second_V);
set_pvar(SPVAR_16,AR_Second_H);
set_pvar(SPVAR_17,quick_scope_val);
set_pvar(SPVAR_18,smartF_hold);
set_pvar(SPVAR_19,smartF_rest);
set_pvar(SPVAR_20,burstF_hold);
set_pvar(SPVAR_21,burstF_rest);
set_pvar(SPVAR_22,StrafeShotTime);
set_pvar(SPVAR_23,RF_hold);
set_pvar(SPVAR_24,RF_release);
set_pvar(SPVAR_25,Aim_Boost);
set_pvar(SPVAR_26,Aim_Correction);
set_pvar(SPVAR_27,AimAssistTime);
set_pvar(SPVAR_28,AimAssistSize);
combo_run(EXIT);

}// end of save

combo MESSAGE {
wait(20);
save_toggles ();
cls_oled(0);
printf(horizontal_center_offset(sizeof(EXIT_TXT1), OLED_FONT_MEDIUM ), 2, OLED_FONT_MEDIUM, 1, EXIT_TXT1[0]);
printf(horizontal_center_offset(sizeof(EXIT_TXT2), OLED_FONT_MEDIUM ), 23, OLED_FONT_MEDIUM, 1, EXIT_TXT2[0]);
exit_wait = 2000;
}
function blinck ( var){
if(var){
BlinckColor = Green;
}else{
BlinckColor = Red;
}
combo_run(BLINK_NOTIFY);
}

combo BLINK_NOTIFY {
colourled(BlinckColor);
wait(300);
colourled(ColorOFF);
wait(100);
colourled(BlinckColor);
wait(300);
colourled(ColorOFF);
}
int MOD_Color;
int blink_n ;
combo Blink_MOD_ON {
colourled(ColorOFF);
if( blink_n == 1 ) {
if(AR_Prim_Sec_onoff && primary_weapon){colourled(Blue);}
}
if( blink_n == 2 ) {
if(AR_Prim_Sec_onoff && !primary_weapon){colourled(Green);}
}
wait(500);
colourled(ColorOFF);
wait(1000);
blink_n +=1;
if( blink_n > 2)blink_n = 1;
}


const uint8 FONT_STATS[][] = {
{ 7, 10, 18 }, // Small
{ 11, 18, 11 }, // Medium
{ 16, 26, 7 } // Large
};

function display_edit( f_string, f_print, f_val) {
printf(f_string, 0, OLED_FONT_MEDIUM, OLED_WHITE, f_print);
number_to_string(f_val, find_digits(f_val));
}
function f_go_forward (f_variable) {
f_variable +=1;
if(f_variable > Min_Max_Options[modName_idx][1] )f_variable = Min_Max_Options[modName_idx][1]; // max option
need_to_be_save = TRUE;
blinck( f_variable );
return f_variable;
}

function f_go_back (f_variable) {
f_variable -=1;
if(f_variable < Min_Max_Options[modName_idx][0] )f_variable = Min_Max_Options[modName_idx][0];
need_to_be_save = TRUE;
blinck( f_variable );
return f_variable;
}
// Variables for function number_to_string()
int ssss;
int c_c_c,c_val;
function number_to_string(f_val,f_digits) {
//=======================================================
// number_to_string(value to convert, # of digits in value)
//
// Display Up to Max 16-bit Signed Integer (-32,768 to 32,767)
//
// Convert digits to ASCII
// Add ASCII character to print buffer
// Print string centered X & Y on OLED
//
//======================================================
ssss = 1; c_val = 10000;

if(f_val < 0) //--neg numbers
{
putc_oled(ssss,45); //--add leading "-"
ssss += 1;
f_val = abs(f_val);
}

for(c_c_c = 5; c_c_c >= 1; c_c_c--)
{
if(f_digits >= c_c_c)
{
putc_oled(ssss,ASCII_NUM[f_val / c_val]);
f_val = f_val % c_val;
ssss += 1;
if(c_c_c == 4)
{
putc_oled(ssss,44); //--add ","
ssss += 1;
}
}
c_val /= 10;
}
puts_oled(center_x(ssss - 1,OLED_FONT_LARGE_WIDTH),37,OLED_FONT_LARGE,ssss - 1,OLED_WHITE); // adjustable value centered in X
}
int n_str_;
int horiz_X_center_sufix;

function print_number(f_val,f_digits ,print_s_x , print_s_y , f_font) {

n_str_ = 1; c_val = 10000;

if(f_val < 0) //--neg numbers
{
putc_oled(n_str_,45); //--add leading "-"
n_str_ += 1;
f_val = abs(f_val);

}

for(c_c_c = 5; c_c_c >= 1; c_c_c--)
{
if(f_digits >= c_c_c)
{
putc_oled(n_str_,ASCII_NUM[f_val / c_val]);
f_val = f_val % c_val;
n_str_ += 1;

}
c_val /= 10;
}
puts_oled(print_s_x,print_s_y,f_font,n_str_ - 1,OLED_WHITE); // adjustable value centered in X
}


function edit_val( f_val, f_min, f_max ) { // antirecoil = edit_val( 0 , antirecoil, 99 , 99 )
line_oled(1,18,127,18,1,1);
// print the range values
// on the left: min value
print_number(f_min ,find_digits(f_min) ,4 , 22 , OLED_FONT_SMALL);
// on the right: max value
print_number(f_max ,find_digits(f_max) ,97 , 22 , OLED_FONT_SMALL);

if(get_val(ADS_BTN)){
if(press_hold(PS4_RIGHT)){
f_val ++;
if(f_val > f_max ) f_val = f_max;
display_EDIT = TRUE;
need_to_be_save = TRUE;
}

if(press_hold(PS4_LEFT)){
f_val --;
if(f_val < f_min ) f_val = f_min;
display_EDIT = TRUE;
need_to_be_save = TRUE;
}
if(press_hold(PS4_UP)){
f_val +=10;
if(f_val > f_max ) f_val = f_max;
display_EDIT = TRUE;
need_to_be_save = TRUE;
}

if(press_hold(PS4_DOWN)){
f_val -=10;
if(f_val < f_min ) f_val = f_min;
display_EDIT = TRUE;
need_to_be_save = TRUE;
}
}
return f_val;
}


function press_hold(f_btn) {
// return TRUE - event_press()
//- every 250ms when button is held
return event_press(f_btn) || get_val(f_btn) && get_ptime(f_btn) > 250
&& get_ptime(f_btn) % (get_rtime() * 8) == 0;
}

function find_digits(f_num) {
// find_digits(value)
// return Number of Digits in Value Passed

f_num = abs(f_num);
if(f_num / 10000 > 0) return 5;
if(f_num / 1000 > 0) return 4;
if(f_num / 100 > 0) return 3;
if(f_num / 10 > 0) return 2;
return 1;
}
///////////////////////////////////////////////
// FUNCTIONS

function center_x(f_chars,f_font) {
// center_x(number of chars,font size);
// return X for Centering String Horizontally

return (OLED_WIDTH / 2) - ((f_chars * f_font) / 2);
}

function draw_rectangle()
{
line_oled(1,25,127,25,1,1);
rect_oled(0, 0,OLED_WIDTH,64,FALSE,1);
}
const string ModOption_24_0 = "Disable";
const string ModOption_24_1 = "Automatic";
const string ModOption_24_2 = "Manually";
const string ModOption_0_0 = "";
const string ModOption_0_1 = "";
const string ModOption_7_0 = "Disable";
const string ModOption_7_1 = "Like CoD";
const string ModOption_7_2 = "Like PUBG";
const string ModOption_32_0 = "Disable";
const string ModOption_32_1 = "Fire Only";
const string ModOption_32_2 = "ADS & Fire";
const string ModOption_32_3 = "ADS Only";
const string ModOption_32_4 = "On Button";
define ShotModOptions = 31;
define FireModOptions = 9;
const string ModOption_31_0 = "Disable";
const string ModOption_31_1 = "Fire Only";
const string ModOption_31_2 = "ADS & Fire";
const string ModOption_31_3 = "ADS Only";
const string ModOption_31_4 = "On Fire";
function display_mod( f_string, mod_name, f_toggle, f_option) {
// Display MOD_NAME
printf(f_string, 3, OLED_FONT_MEDIUM, OLED_WHITE, mod_name);
if(f_option == 1)
{
// Display Disable / Enable
if(f_toggle == 1)
printf(center_x(sizeof(ON) - 1, OLED_FONT_LARGE_WIDTH),37,OLED_FONT_LARGE,OLED_WHITE, ON[0]);// Enable
else
printf(center_x(sizeof(OFF) - 1, OLED_FONT_LARGE_WIDTH),37,OLED_FONT_LARGE,OLED_WHITE,OFF[0]);// Disable
}
if(f_option == ShotModOptions)// 31
{
if(f_toggle == 0)
printf(center_x(sizeof(ModOption_31_0) - 1, OLED_FONT_MEDIUM_WIDTH),37,OLED_FONT_MEDIUM,OLED_WHITE, ModOption_31_0[0]);// Disable

if(f_toggle == 1)
printf(center_x(sizeof(ModOption_31_1) - 1, OLED_FONT_MEDIUM_WIDTH),37,OLED_FONT_MEDIUM,OLED_WHITE, ModOption_31_1[0]);// Fire Only

if(f_toggle == 2)
printf(center_x(sizeof(ModOption_31_2) - 1, OLED_FONT_MEDIUM_WIDTH),37,OLED_FONT_MEDIUM,OLED_WHITE, ModOption_31_2[0]);// ADS & Fire

if(f_toggle == 3)
printf(center_x(sizeof(ModOption_31_3) - 1, OLED_FONT_MEDIUM_WIDTH),37,OLED_FONT_MEDIUM,OLED_WHITE, ModOption_31_3[0]);// ADS Only

}
if(f_option == FireModOptions)// 9 FireModOptions
{
if(f_toggle == 0)
printf(center_x(sizeof(ModOption_31_0) - 1, OLED_FONT_MEDIUM_WIDTH),37,OLED_FONT_MEDIUM,OLED_WHITE, ModOption_31_0[0]);// Disable

if(f_toggle == 1)
printf(center_x(sizeof(ModOption_31_1) - 1, OLED_FONT_MEDIUM_WIDTH),37,OLED_FONT_MEDIUM,OLED_WHITE, ModOption_31_1[0]);// Fire Only

if(f_toggle == 2)
printf(center_x(sizeof(ModOption_31_2) - 1, OLED_FONT_MEDIUM_WIDTH),37,OLED_FONT_MEDIUM,OLED_WHITE, ModOption_31_2[0]);// ADS & Fire

if(f_toggle == 3)
printf(center_x(sizeof(ModOption_31_4) - 1, OLED_FONT_MEDIUM_WIDTH),37,OLED_FONT_MEDIUM,OLED_WHITE, ModOption_31_4[0]);// On Fire

}

if(f_option == 24)
{
if(f_toggle == 0)
printf(center_x(sizeof(ModOption_24_0) - 1, OLED_FONT_MEDIUM_WIDTH),37,OLED_FONT_MEDIUM,OLED_WHITE, ModOption_24_0[0]);// Disable

if(f_toggle == 1)
printf(center_x(sizeof(ModOption_24_1) - 1, OLED_FONT_MEDIUM_WIDTH),37,OLED_FONT_MEDIUM,OLED_WHITE, ModOption_24_1[0]);// Automatic

if(f_toggle == 2)
printf(center_x(sizeof(ModOption_24_2) - 1, OLED_FONT_MEDIUM_WIDTH),37,OLED_FONT_MEDIUM,OLED_WHITE, ModOption_24_2[0]);// Manually

}
if(f_option == 0)
{
if(f_toggle == 0)
printf(center_x(sizeof(ModOption_0_0) - 1, OLED_FONT_MEDIUM_WIDTH),37,OLED_FONT_MEDIUM,OLED_WHITE, ModOption_0_0[0]);//

if(f_toggle == 1)
printf(center_x(sizeof(ModOption_0_1) - 1, OLED_FONT_MEDIUM_WIDTH),37,OLED_FONT_MEDIUM,OLED_WHITE, ModOption_0_1[0]);//

}
if(f_option == 7)
{
if(f_toggle == 0)
printf(center_x(sizeof(ModOption_7_0) - 1, OLED_FONT_MEDIUM_WIDTH),37,OLED_FONT_MEDIUM,OLED_WHITE, ModOption_7_0[0]);// Disable

if(f_toggle == 1)
printf(center_x(sizeof(ModOption_7_1) - 1, OLED_FONT_MEDIUM_WIDTH),37,OLED_FONT_MEDIUM,OLED_WHITE, ModOption_7_1[0]);// Like CoD

if(f_toggle == 2)
printf(center_x(sizeof(ModOption_7_2) - 1, OLED_FONT_MEDIUM_WIDTH),37,OLED_FONT_MEDIUM,OLED_WHITE, ModOption_7_2[0]);// Like PUBG

}
if(f_option == 32)
{
if(f_toggle == 0)
printf(center_x(sizeof(ModOption_32_0) - 1, OLED_FONT_MEDIUM_WIDTH),37,OLED_FONT_MEDIUM,OLED_WHITE, ModOption_32_0[0]);// Disable

if(f_toggle == 1)
printf(center_x(sizeof(ModOption_32_1) - 1, OLED_FONT_MEDIUM_WIDTH),37,OLED_FONT_MEDIUM,OLED_WHITE, ModOption_32_1[0]);// Fire Only

if(f_toggle == 2)
printf(center_x(sizeof(ModOption_32_2) - 1, OLED_FONT_MEDIUM_WIDTH),37,OLED_FONT_MEDIUM,OLED_WHITE, ModOption_32_2[0]);// ADS & Fire

if(f_toggle == 3)
printf(center_x(sizeof(ModOption_32_3) - 1, OLED_FONT_MEDIUM_WIDTH),37,OLED_FONT_MEDIUM,OLED_WHITE, ModOption_32_3[0]);// ADS Only

if(f_toggle == 4)
printf(center_x(sizeof(ModOption_32_4) - 1, OLED_FONT_MEDIUM_WIDTH),37,OLED_FONT_MEDIUM,OLED_WHITE, ModOption_32_4[0]);// On Button

}
}//display mod end
/*
======================================================
Logo Picture : script.gpc
======================================================
*/

const int16 BOOT_LOGO[] = {
128, 64,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x3FFF,0xFFFC,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0xFFFF,0xFFFF,0x0000,0x0000,0x0000,0x0000,0x0000,0x0001,0xFFFF,0xFFFF,0x8000,0x0000,0x0000,0x0000,0x0000,0x000F,0xFFFF,0xFFFF,0xF000,0x0000,0x0000,0x0000,0x0000,0x001F,0xFFFF,0xFFFF,0xF800,0x0000,0x0000,
0x0000,0x0000,0x003F,0xFFFF,0xFFFF,0xFC00,0x0000,0x0000,0x0000,0x0000,0x007F,0xFFFF,0xFFFF,0xFE00,0x0000,0x0000,0x0000,0x0000,0x007C,0x007F,0xFE00,0x3E00,0x0000,0x0000,0x0000,0x0000,0x00FC,0x007F,0xFE00,0x3F00,0x0000,0x0000,
0x0000,0x0000,0x00E0,0x0007,0xE000,0x0700,0x0000,0x0000,0x0000,0x0000,0x00E1,0xFF87,0xE1FF,0x8700,0x0000,0x0000,0x0000,0x0000,0x00E1,0xFF87,0xE1FF,0x8700,0x0000,0x0000,0x0000,0x0000,0x00FF,0xFFFF,0xFFFF,0xFF00,0x0000,0x0000,
0x0000,0x0000,0x00FF,0xFFFF,0xFFFF,0xFF00,0x0000,0x0000,0x0000,0x0000,0x00FC,0x007F,0xFE00,0x3F00,0x0000,0x0000,0x0000,0x0000,0x00FC,0x007F,0xFE00,0x3F00,0x0000,0x0000,0x0000,0x0000,0x00FC,0x007F,0xFE00,0x3F00,0x0000,0x0000,
0x0000,0x0000,0x00FF,0xFFFF,0xFFFF,0xFF00,0x0000,0x0000,0x0000,0x0000,0x00FF,0xFFFF,0xFFFF,0xFF00,0x0000,0x0000,0x0000,0x0000,0x00FF,0xFFFF,0xFFFF,0xFF00,0x0000,0x0000,0x0000,0x0000,0x00FF,0xFFFF,0xFFFF,0xFF00,0x0000,0x0000,
0x0000,0x0000,0x00E1,0xFF87,0xE1FF,0x8700,0x0000,0x0000,0x0000,0x0000,0x00E1,0xFF87,0xE1FF,0x8700,0x0000,0x0000,0x0000,0x0000,0x00E0,0x3F80,0x01FC,0x0700,0x0000,0x0000,0x0000,0x0000,0x00FC,0x3FF0,0x0FFC,0x3F00,0x0000,0x0000,
0x0000,0x0000,0x00FC,0x3FF8,0x1FFC,0x3F00,0x0000,0x0000,0x0000,0x0000,0x00FF,0xC007,0xE003,0xFF00,0x0000,0x0000,0x0000,0x0000,0x007F,0xC007,0xE003,0xFE00,0x0000,0x0000,0x0000,0x0000,0x001F,0xC000,0x0003,0xF800,0x0000,0x0000,
0x0000,0x0000,0x001F,0xFFF0,0x0FFF,0xF800,0x0000,0x0000,0x0000,0x0000,0x001F,0xFFF0,0x0FFF,0xF800,0x0000,0x0000,0x0000,0x0000,0x001F,0xFFFF,0xFFFF,0xF800,0x0000,0x0000,0x0000,0x0000,0x000F,0xFFFF,0xFFFF,0xF000,0x0000,0x0000,
0x0000,0x0000,0x0001,0xFF80,0x01FF,0x8000,0x0000,0x0000,0x0000,0x0000,0x0001,0xFF80,0x01FF,0x8000,0x0000,0x0000,0x0000,0x0000,0x0000,0x3F80,0x01FC,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x3FFC,0x3FFC,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x03FC,0x3FE0,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x03FC,0x3FC0,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x03FC,0x3FC0,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x007C,0x3E00,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x007C,0x3E00,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
} // picture
/*
======================================================
DrawLogo(x, y, invert)
======================================================
*/
int logoX,logoX2,logoY, logoY2;
int logoBit,logoOffset,logoData;

function DrawLogo(x, y, invert) {
logoOffset = 2;
logoBit = 16;
for (logoY = 0; logoY < BOOT_LOGO[1]; logoY++) { // Loop the Y axis
for (logoX = 0; logoX < BOOT_LOGO[0]; logoX++) { // Loop the X axis
logoData = BOOT_LOGO[logoOffset]
logoX2 = x + logoX;
logoY2 = y + logoY;
if (logoX2 < 0 || logoX2 >= 128) {
logoX2 -= 128;
}
if (logoY2 < 0 || logoY2 >= 64) {
logoY2 -= 64;
}
if (test_bit(logoData, logoBit - 1)) {
pixel_oled(logoX2, logoY2, !invert);
}else{
pixel_oled(logoX2, logoY2, invert);
}
logoBit--; // Decrement the bit flag, we are moving to the next bit
if (!logoBit) { // Check if we have just handled the last bit
logoBit = 16; // Reset the bit flag
logoOffset++; // Move to the next value
}
}
}
}

const uint8 MenuButtons [] = {
PS4_RIGHT , //0. Up
PS4_LEFT , //1. Down
PS4_UP , //2. go back
PS4_DOWN , //3. go forward
PS4_CROSS , //4. enter in Edit Menu
PS4_CIRCLE , //5. exit Menu
PS4_OPTIONS , //5. enter in Menu
PS4_L2 //6. hold ADS
};//--- End Menu Buttons

int menu_btn_indx;
int MenuTimeOut;
define menu_time_active = 30000;
function CheckIfBtnIsPressed (){
for(menu_btn_indx = 0; menu_btn_indx < 7; menu_btn_indx++){
if(event_press(MenuButtons[menu_btn_indx]) ){
MenuTimeOut = menu_time_active;
}
if(MenuTimeOut){
MenuTimeOut -=1;
if(MenuTimeOut <= 0 ){
ModMenu = FALSE;
ModEdit = FALSE;
display_EDIT = FALSE;
display_black = TRUE;
}
}
}
}

function display_MOD_status(f_val,f_size,f_label){
if(!ModMenu && !ModEdit){
// Clear OLED Screen
cls_oled(0); // will clear oled
printf(f_size, 3, OLED_FONT_MEDIUM ,OLED_WHITE, f_label);
if( f_val ){
printf(center_x(sizeof(ON) - 1, OLED_FONT_LARGE_WIDTH),37,OLED_FONT_LARGE,OLED_WHITE, ON[0]);//MOD is ON
}
else{
printf(center_x(sizeof(OFF) - 1, OLED_FONT_LARGE_WIDTH),37,OLED_FONT_LARGE,OLED_WHITE, OFF[0]);// MOD is OFF
}
time_to_clear_screen = 1500;
}
}

[/nfo]

Details

This download was added on Tue Dec 24, 2024 11:54 pm by RobinHood  • Last download Sat Jan 11, 2025 10:25 am
Access denied!
You have no permission to download this file!

Similar Downloads

[FREE] - AIMBOTZ Anonymous V2 UPDATED  • [FREE] - Adara V1.6  • [FREE] - Aimlock V10  • [FREE] - Aimlock V1  • [FREE] - Aimlock V9  • [FREE] - Angel of Death V3.04  • [FREE] - Angel of Death V3.06  • [FREE] - Angel of Death  • [FREE] - Auto Excellent Tempo V4  • [FREE] - Auto Excellent Tempo V5



Legend

  • No more overall traffic or file/category traffic left for this month
  • Insufficient posts
    (0 posts required).
  • Download!
  • Download! External source.
  • Download! Traffic will be debited on user account.
  • Free download for registered users
  • New download
  • Updated download
Overall list