Please add pump smg on this script !

GPC1 script programming for Titan One. Code examples, questions, requests.

Please add pump smg on this script !

Postby DragonRouge » Wed Sep 19, 2018 1:28 pm

Hi i want pump smg switch on this script plz some one help me :)

Code: Select all
 
//  ======================================================================================================================================================================================================================================================================== //  ===     =====    ====  =====  ==  =====  ==  ====  ==  =======  ==    ==        ==  ====  ========      =====     ===       ===    ==       ===        =================================================================================================================
//  ==  ===  ===  ==  ===   ===   ==   ===   ==  ====  ==   ======  ===  ======  =====   ==   =======  ====  ===  ===  ==  ====  ===  ===  ====  =====  ====================================================================================================================
//  =  ========  ====  ==  =   =  ==  =   =  ==  ====  ==    =====  ===  ======  ======  ==  ========  ====  ==  ========  ====  ===  ===  ====  =====  ====================================================================================================================
//  =  ========  ====  ==  == ==  ==  == ==  ==  ====  ==  ==  ===  ===  ======  ======  ==  =========  =======  ========  ===   ===  ===  ====  =====  ====================================================================================================================
//  =  ========  ====  ==  =====  ==  =====  ==  ====  ==  ===  ==  ===  ======  =======    ============  =====  ========      =====  ===       ======  ====================================================================================================================
//  =  ========  ====  ==  =====  ==  =====  ==  ====  ==  ====  =  ===  ======  ========  ===============  ===  ========  ====  ===  ===  ===========  ====================================================================================================================
//  =  ========  ====  ==  =====  ==  =====  ==  ====  ==  =====    ===  ======  ========  ==========  ====  ==  ========  ====  ===  ===  ===========  ====================================================================================================================
//  ==  ===  ===  ==  ===  =====  ==  =====  ==   ==   ==  ======   ===  ======  ========  ==========  ====  ===  ===  ==  ====  ===  ===  ===========  ====================================================================================================================
//  ===     =====    ====  =====  ==  =====  ===      ===  =======  ==    =====  ========  ===========      =====     ===  ====  ==    ==  ===========  ====================================================================================================================
//  ========================================================================================================================================================================================================================================================================
//  ================================================================================================================================================================================================================================
//  ================================================================================================      ==========================================================================================================================                                       
//  ================================================================================================  ===  =========================================================================================================================                                       
//  ================================================================================================  ====  ========================================================================================================================                                       
//  ================================================================================================  ===  ===  =  =================================================================================================================                                       
//  ================================================================================================      ====  =  =================================================================================================================                                       
//  ================================================================================================  ===  ====    =================================================================================================================                                       
//  ================================================================================================  ====  =====  =================================================================================================================                                       
//  ================================================================================================  ===  ===  =  =================================================================================================================                                       
//  ================================================================================================      =====   ==================================================================================================================                                       
//  ================================================================================================================================================================================================================================                                       
//  ================================================================================================================================================================================================================================                                       
//  =============================================================================      =======================  ====================================================================================================================                                       
//  ============================================================================  ====  ======================  ====================================================================================================================                                       
//  ============================================================================  ====  =================  ===  ====================================================================================================================                                       
//  =============================================================================  =======  =  = ===  ==    ==  ====================================================================================================================                                         
//  ===============================================================================  =====        =======  ===    ==================================================================================================================                                         
//  =================================================================================  ===  =  =  ==  ===  ===  =  =================================================================================================================                                         
//  ============================================================================  ====  ==  =  =  ==  ===  ===  =  =================================================================================================================                                         
//  ============================================================================  ====  ==  =  =  ==  ===  ===  =  =================================================================================================================                                         
//  =============================================================================      ===  =  =  ==  ===   ==  =  =================================================================================================================                                         
//================================================================================================================================================================================================================================ 
//   ▄████████    ▄████████    ▄████████ ████████▄   ▄█      ███        ▄████████
//  ███    ███   ███    ███   ███    ███ ███   ▀███ ███  ▀█████████▄   ███    ███
//  ███    █▀    ███    ███   ███    █▀  ███    ███ ███▌    ▀███▀▀██   ███    █▀ 
//  ███         ▄███▄▄▄▄██▀  ▄███▄▄▄     ███    ███ ███▌     ███   ▀   ███       
//  ███        ▀▀███▀▀▀▀▀   ▀▀███▀▀▀     ███    ███ ███▌     ███     ▀███████████
//  ███    █▄  ▀███████████   ███    █▄  ███    ███ ███      ███              ███
//  ███    ███   ███    ███   ███    ███ ███   ▄███ ███      ███        ▄█    ███
//  ████████▀    ███    ███   ██████████ ████████▀  █▀      ▄████▀    ▄████████▀ 
//               ███    ███                                                       
//  ╦ ╦╔═╗╦ ╔╦╗╔═╗╦═╗         
//  ║║║╠═╣║  ║ ║╣ ╠╦╝         
//  ╚╩╝╩ ╩╩═╝╩ ╚═╝╩╚═         
//  ╔═╗═╗ ╦╔═╗╔═╗╦  ╦╔╗ ╦ ╦╦═╗
//  ║╣ ╔╩╦╝║  ╠═╣║  ║╠╩╗║ ║╠╦╝
//  ╚═╝╩ ╚═╚═╝╩ ╩╩═╝╩╚═╝╚═╝╩╚═
//  ╔╗╔╔═╗╔═╗╔═╗╔╗ ╔═╗╦═╗     
//  ║║║║ ║║ ║╔═╝╠╩╗╠═╣╠╦╝     
//  ╝╚╝╚═╝╚═╝╚═╝╚═╝╩ ╩╩╚═   
//ALL GUYS WANT TO USE R3 TO JUMBE YOU CAN USE R3 !
//AND BE SUR YOU ACTIVATE DROPSHOT TO BE MORE ACCURACY !
//
//
//
//  ██╗███╗   ██╗████████╗███████╗
//  ██║████╗  ██║╚══██╔══╝██╔════╝
//  ██║██╔██╗ ██║   ██║   ███████╗
//  ██║██║╚██╗██║   ██║   ╚════██║
//  ██║██║ ╚████║   ██║   ███████║
//  ╚═╝╚═╝  ╚═══╝   ╚═╝   ╚══════╝
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*/
int In_Game_Sens   = 9;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/*///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*/
int RapidFire      = TRUE/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*/
int AntiRecoil     = TRUE/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*/
int AutoRun        = TRUE/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*/
int AimAbuse       = TRUE/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*/
int AimAssist      = TRUE/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*/
int DropShot       = FALSE; /*///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*/
int ColorsInfo     = TRUE/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*/
int HairTrigger    = TRUE/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*/
int ButtonSwap     = FALSE/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*/
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////██████╗ ███████╗███████╗██╗███╗   ██╗███████╗███████╗
//  ██╔══██╗██╔════╝██╔════╝██║████╗  ██║██╔════╝██╔════╝
//  ██║  ██║█████╗  █████╗  ██║██╔██╗ ██║█████╗  ███████╗
//  ██║  ██║██╔══╝  ██╔══╝  ██║██║╚██╗██║██╔══╝  ╚════██║
//  ██████╔╝███████╗██║     ██║██║ ╚████║███████╗███████║
//  ╚═════╝ ╚══════╝╚═╝     ╚═╝╚═╝  ╚═══╝╚══════╝╚══════╝
define Scope_BTN   = PS4_L2;         
define Shoot_BTN   = PS4_R2;         
define LY          = PS4_LY;         
define Run_BTN     = PS4_L3;       
define Jump_BTN    = PS4_CROSS;     
define Up          = PS4_UP;         
define RY          = PS4_RY;       
define Right       = PS4_RIGHT;     
define LX          = PS4_LX;     
define Down        = PS4_DOWN;     
define Reload_BTN  = PS4_SQUARE
define RX          = PS4_RX;     
define Crouch_BTN  = PS4_CIRCLE;
define RightBumber = PS4_R1;     
define LeftBumber  = PS4_L1;     
define Left        = PS4_LEFT;   
define Melee_BTN   = PS4_R3;       
define Switch_BTN  = PS4_TRIANGLE
////////////////////////////////////
//  ███╗   ███╗ ██████╗ ██████╗ ███████╗
//  ████╗ ████║██╔═══██╗██╔══██╗██╔════╝
//  ██╔████╔██║██║   ██║██║  ██║███████╗
//  ██║╚██╔╝██║██║   ██║██║  ██║╚════██║
//  ██║ ╚═╝ ██║╚██████╔╝██████╔╝███████║
//  ╚═╝     ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝
int a;int b;
 
 
//RapidFire:
  int shoot_rate           = 6;                   
  int rapidfire;
 
//AimAssist: 
  int valueX               = 20;
  int delayA;                 
 
//NoRecoil:
  int antirecoil_sg        = 15;                 
  int antirecoil_fg        = 19;                 
  int antirecoil;
 
//AimAbuse:
  int AimSpeed             = 170;                               
  int delay                = 14;
  define Aimbot_BTN        = PS4_L2;             
//                                                     
 
 
//Toggle:
  define toggleMainButton  = PS4_OPTIONS;         
 
 
//Swap:
  int button;
 
//BlockMod:
  int button1;
  int button2;
  int blockmod;
//
init { //-BUTTON LAYOUT-\\ 
if(get_controller() == PIO_WII){ combo_run(ColorsInfo);a=2;b=0;}
   else { combo_run(ColorsInfo);a=0;b=2;}
 
   //RapidFire - Settings
   rapidfire = (1000/shoot_rate);
 
   //NoRecoil - InGameSens Optimizing
   antirecoil_sg = pow((antirecoil_fg / In_Game_Sens),2); //antirecoil_sg*4/In_Game_Sens;
   antirecoil_fg = pow((antirecoil_fg / In_Game_Sens),2);
 
   //AimAssist Settings
   delayA = pow((valueX / In_Game_Sens),2)
 
}
 
 
main {
if(ButtonSwap){
   swap (PS4_R2,PS4_R1);
   swap (PS4_L2,PS4_L1)
}
if(HairTrigger){
   if(get_val(Scope_BTN)){set_val(Scope_BTN,100);}
   if(get_val(Shoot_BTN)){set_val(Shoot_BTN,100);}
   }
if(AimAssist){
   if(get_val(Scope_BTN)){
      combo_run(AssX);
      }
      if((get_val(RX)) > valueX || (get_val(RX)) < valueX*(-1)){
          combo_stop(AssX);
          }
      }   
 
 
if(get_val(Up) && event_press(toggleMainButton)){
   button1 = toggleMainButton;
   button2 = Up;
   combo_run(BlockButton);
   RapidFire =! RapidFire;
   if(RapidFire == TRUE){combo_run(ColorsInfo);a=0;b=2;}
   if(RapidFire == FALSE){combo_run(ColorsInfo);a=2;b=0;}
   }
   if(RapidFire){
     if(get_val(Shoot_BTN)){
        combo_run(Rapidfire);                                         
       }
     }
 
if(get_val(Right) && event_press(toggleMainButton)){
   AimAbuse =! AimAbuse;
   button1 = toggleMainButton;
   button2 = Right;
   combo_run(BlockButton);
   if(AimAbuse == TRUE){combo_run(ColorsInfo);a=0;b=2;}
   if(AimAbuse == FALSE){combo_run(ColorsInfo);a=2;b=0;}
   }
   if(AimAbuse){
   if(get_val(Aimbot_BTN)&&get_ptime(Aimbot_BTN)>= 240){
      combo_run(Aimbot1);}
   if(event_release(Aimbot_BTN)){ combo_stop(Aimbot1);}
   }
 
 
if(AutoRun){if(get_val(LY) <= -20){set_val(Run_BTN, 100);}}
 
if(AntiRecoil){
  if(get_val(Shoot_BTN)){combo_run(Antirecoil);}
  if(get_rumble(RUMBLE_A) > 5 && get_rumble(RUMBLE_A) <= 50){antirecoil = antirecoil_sg;}
  if(get_rumble(RUMBLE_A) > 50){antirecoil = antirecoil_fg;}
  if(abs(get_val(RY)) >= antirecoil+ 10){combo_stop(Antirecoil);}
   }
 
 
if(get_val(Down) && event_press(toggleMainButton)){
   button1 = toggleMainButton;
   button2 = Down;
   combo_run(BlockButton);
   DropShot =! DropShot;
   if(DropShot == TRUE){combo_run(ColorsInfo);a=0;b=2;}
   if(DropShot == FALSE){combo_run(ColorsInfo);a=2;b=0;}
   }
   if(DropShot){
      if(get_val(Scope_BTN)&&get_val(Shoot_BTN)){combo_run(DropShot);}
      }     
 
 
 
 
   if(event_press(RightBumber)){
      button = RightBumber;
      combo_run(instaswap);
      }
   if(event_press(LeftBumber)){
      button = LeftBumber;
      combo_run(instaswap);
      }
   }
 
 
//   ██████╗ ██████╗ ███╗   ███╗██████╗  ██████╗
//  ██╔════╝██╔═══██╗████╗ ████║██╔══██╗██╔═══██╗
//  ██║     ██║   ██║██╔████╔██║██████╔╝██║   ██║
//  ██║     ██║   ██║██║╚██╔╝██║██╔══██╗██║   ██║
//  ╚██████╗╚██████╔╝██║ ╚═╝ ██║██████╔╝╚██████╔╝
//   ╚═════╝ ╚═════╝ ╚═╝     ╚═╝╚═════╝  ╚═════╝
 
 
combo ColorsInfo {
if(ColorsInfo){set_rumble(RUMBLE_B,65);}
set_led(LED_1,0);
set_led(LED_2,a);
set_led(LED_3,b);
set_led(LED_4,0);
wait(250);
set_led(LED_1,0);
set_led(LED_2,0);
set_led(LED_3,0);
set_led(LED_4,0);
wait(250);
set_led(LED_1,0);
set_led(LED_2,a);
set_led(LED_3,b);
set_led(LED_4,0);
wait(250);
set_led(LED_1,0);
set_led(LED_2,0);
set_led(LED_3,0);
set_led(LED_4,0);
wait(250);
set_led(LED_1,0);
set_led(LED_2,a);
set_led(LED_3,b);
set_led(LED_4,0);
wait(250);
reset_leds();
}
 
 
combo instaswap{
set_val(button,100);
wait(15);
set_val(Left,100);
wait(13);
wait(700);
}
 
 
combo BlockButton{
set_val(button1,0);
set_val(button2,0);
wait(650);
}
 
 
combo DropShot{
set_val(Melee_BTN,100);
wait(40);
wait(200);
set_val(Melee_BTN,100);
}
 
 
combo AssX {
set_val(RX, valueX);
wait(delayA);
wait(4);
set_val(RX, valueX*(-1));
wait(delayA);
}
 
 
combo Rapidfire {
set_val(Shoot_BTN, 100);
wait(120);
set_val(Shoot_BTN, 0);
wait(30);
}
 
 
combo Aimbot1{
set_val(Scope_BTN,100);
wait(AimSpeed);
set_val(Scope_BTN,0);
wait(delay);   
}
 
 
combo Antirecoil {
set_val(RY, antirecoil);     
 
} 
User avatar
DragonRouge
Private First Class
Private First Class
 
Posts: 3
Joined: Wed Sep 19, 2018 1:25 pm

Re: Please add pump smg on this script !

Postby xXSkyWalkerXx_1 » Wed Sep 19, 2018 5:39 pm

lol, nothing of them is of Walther/Excalibur/Noozbar...this all is my old gamepack, so everything there is of me. :roll:
Check out my YouTube Channel: https://www.youtube.com/c/xXSkyWalkerXx1
& my website: https://skymodz.com
User avatar
xXSkyWalkerXx_1
Sergeant Major
Sergeant Major
 
Posts: 106
Joined: Thu Sep 13, 2018 11:05 am
Location: Germany

Re: Please add pump smg on this script !

Postby alanmcgregor » Thu Sep 20, 2018 12:34 am

Do you try the Auto SlotSwap Fire?
User avatar
alanmcgregor
Major
Major
 
Posts: 995
Joined: Tue Mar 27, 2018 8:38 am

Re: Please add pump smg on this script !

Postby DragonRouge » Thu Sep 20, 2018 10:31 am

alanmcgregor wrote:Do you try the Auto SlotSwap Fire?

No sir can u put in the script the auto switch for builder pro like when i shot 1 round with my smg that switch to my pumpe plz :)
User avatar
DragonRouge
Private First Class
Private First Class
 
Posts: 3
Joined: Wed Sep 19, 2018 1:25 pm

Re: Please add pump smg on this script !

Postby alanmcgregor » Sat Sep 22, 2018 9:11 pm

My bad, this is T1. I don't have it, can't tested.

What you want to do exactly?
User avatar
alanmcgregor
Major
Major
 
Posts: 995
Joined: Tue Mar 27, 2018 8:38 am

Re: Please add pump smg on this script !

Postby DragonRouge » Sun Sep 23, 2018 9:11 am

alanmcgregor wrote:My bad, this is T1. I don't have it, can't tested.

What you want to do exactly?

I want this pump smg !

Code: Select all
   /*Author: WalterHMartinez
Credits:
HH4rdCor3 : Tap script
*/

//PUMP SMG
int PUMP_SMG = FALSE; // HOLD ADS BTN and Tap LEFT
 
//----------------------------------------
// BUTTON LAYOUT: COMBAT PRO
define FIRE_BTN = 4; //XB1_RB //PS4_R2
define ADS_BTN = 7; //XB1_LB //PS4_L2
define CROUCH_BTN = 5; //XB1_RS //PS4_R3
define SPRINT_BTN = 8; //XB1_LS //PS4_L3
define JUMP_BTN = 19; //XB1_A  //PS4_CROSS
define NEXT_PIECE = 3; //XB1_RT //PS4_R1
define LEFT_BUMP = 6; //XB1_LT //PS4_L1
define SWAP_BTN = 17; //XB1_Y  //PS4_TRIANGLE
define BUILD_BTN = 18; //XB1_B  //PS4_CIRCLE
define R_X = 9; //XB1_RX //PS4_RX
define R_Y = 10; //XB1_RY //PS4_RY
define L_X = 11; //XB1_LX //PS4_LX
define L_Y = 12; //XB1_LY //PS4_LY
define UP = 13; //XB1_UP //PS4_UP
define DOWN = 14; //XB1_DOWN //PS4_DOWN
define LEFT = 15; //XB1_LEFT //PS4_LEFT
define RIGHT = 16; //XB1_RIGHT //PS4_RIGHT
//-------------------------------------------------------------------------------------------
 
 
//RUMBLE
int rumble_type = RUMBLE_A;
//END
 
//JItter
int tap; //ADVANCED JITTER
int R2_block; //ADVANCED JITTER
//END
 
//Wait time
define speed = 50;
//END
 
//COLOUR DEFINITIONS
define Off = 0;
define Dim_Blue = 1;
define Dim_Red = 2;
define Dim_Green = 3;
define Dim_Pink = 4;
define Dim_SkyBlue = 5;
define Dim_Yellow = 6;
define Dim_White = 7;
define Blue = 8;
define Red = 9;
define Green = 10;
define Pink = 11;
define SkyBlue = 12;
define Yellow = 13;
define White = 14;
define Bright_Blue = 15;
define Bright_Red = 16;
define Bright_Green = 17;
define Bright_Pink = 18;
define Bright_SkyBlue = 19;
define Bright_Yellow = 20;
define Bright_White = 21;
data(1,
    //0,0,0,0, // Off
    1, 0, 0, 0, // 1.  Dim Blue
    0, 1, 0, 0, // 2.  Dim Red
    0, 0, 1, 0, // 3.  Dim Green
    0, 0, 0, 1, // 4.  Dim Pink
    1, 0, 1, 0, // 5.  Dim SkyBlue
    0, 1, 1, 0, // 6.  Dim Yellow
    1, 1, 1, 1, // 7.  Dim White
    2, 0, 0, 0, // 8.  Blue
    0, 2, 0, 0, // 9.  Red
    0, 0, 2, 0, // 10. Green
    0, 0, 0, 2, // 11. Pink
    2, 0, 2, 0, // 12. SkyBlue
    0, 2, 2, 0, // 13. Yellow
    2, 2, 2, 2, // 14. White
    3, 0, 0, 0, // 15. Bright Blue
    0, 3, 0, 0, // 16. Bright Red
    0, 0, 3, 0, // 17. Bright Green
    0, 0, 0, 3, // 18. Bright Pink
    3, 0, 3, 0, // 19. Bright SkyBlue
    0, 3, 3, 0, // 20. Bright Yellow
    3, 3, 3, 3 // 21. Bright white
 
);
int Col_ind;
//END
 
main { //---------------------------------
    /////////////////////////////////////////////////////////////////////////////////
    // ON-OFF SETTINGS:   
    if (get_val(ADS_BTN)) {
        if (get_val(ADS_BTN)) {
            if (event_press(LEFT)) {
                PUMP_SMG = !PUMP_SMG;
                tap = FALSE;
                rumble_A_if_true(PUMP_SMG);
            }
        }
        set_val(LEFT, 0);
    }
    /////////////////////////////////////////////////////////////////////////////////
    //  Color Identification
    if (PUMP_SMG && tap) colourled(Pink);
    if (PUMP_SMG && !tap) colourled(Blue);
    /////////////////////////////////////////////////////////////////////////////////
    if (PUMP_SMG) {
        if (R2_block) {
            set_val(FIRE_BTN, 0);
        }
        //------------------------------------------------
        if (get_val(ADS_BTN) && event_press(FIRE_BTN)) {
            if (!tap) {
                tap = TRUE; //LED COLOR BLUE
                combo_run(Double_Tact_R1); //TAP R1
            }
            set_val(ADS_BTN, 0);
        }
        if (event_press(LEFT_BUMP)) {
            tap = FALSE;
        }
    }
}
 
combo BUILD_WALL {
    wait(20);
    wait(5):
    set_val(BUILD_BTN, 100);
    wait(40);
    wait(40);
    set_val(FIRE_BTN, 100);
    wait(40);
    wait(40);
    set_val(FIRE_BTN, 100);
    wait(90);
    wait(50);
    set_val(BUILD_BTN, 100);
    wait(15);
    wait(5);
} //end
 
combo Double_Tact_R1 { //ADVANCED JITTER
    R2_block = TRUE;
    set_val(FIRE_BTN, 100);
    wait(15);
    wait(5);
    set_val(NEXT_PIECE, 100);
    wait(speed);
    R2_block = FALSE;
} //end
 
combo VIBRATE {
    set_rumble(rumble_type, 100);
    wait(300);
    reset_rumble();
} //end
 
function rumble_A_if_true(var) {
    if (var) rumble_type = RUMBLE_A;
    else rumble_type = RUMBLE_B;
    combo_run(VIBRATE);
}
 
// COLOR LED function                               
//--------------------------------------------------------------
function colourled(Colour) {
    Col_ind = (Colour * 4) - 3;
    set_led(LED_1, dbyte(Col_ind));
    set_led(LED_2, dbyte(Col_ind + 1));
    set_led(LED_3, dbyte(Col_ind + 2));
    set_led(LED_4, dbyte(Col_ind + 3));
}



On this script plz :)

Code: Select all
   //Posted by Smith, a member of the community in the device Forums - http://device.com/forums
 
//Posted : Wednesday 19th of September, 2018 13:48 UTC 
 
 //Posted by Smith, a member of the community in the device Forums - <a href="http://device.com/forums" target="_blank">http://device.com/forums</a>
//Posted : Wednesday 19th of September, 2018 13:34 UTC 
 
 //Posted by Smith, a member of the community in the device Forums - <a href="http://device.com/forums" target="_blank">http://device.com/forums</a>
//Posted : Tuesday 18th of September, 2018 16:05 UTC 
 
//  ======================================================================================================================================================================================================================================================================== //  ===     =====    ====  =====  ==  =====  ==  ====  ==  =======  ==    ==        ==  ====  ========      =====     ===       ===    ==       ===        =================================================================================================================
//  ==  ===  ===  ==  ===   ===   ==   ===   ==  ====  ==   ======  ===  ======  =====   ==   =======  ====  ===  ===  ==  ====  ===  ===  ====  =====  ====================================================================================================================
//  =  ========  ====  ==  =   =  ==  =   =  ==  ====  ==    =====  ===  ======  ======  ==  ========  ====  ==  ========  ====  ===  ===  ====  =====  ====================================================================================================================
//  =  ========  ====  ==  == ==  ==  == ==  ==  ====  ==  ==  ===  ===  ======  ======  ==  =========  =======  ========  ===   ===  ===  ====  =====  ====================================================================================================================
//  =  ========  ====  ==  =====  ==  =====  ==  ====  ==  ===  ==  ===  ======  =======    ============  =====  ========      =====  ===       ======  ====================================================================================================================
//  =  ========  ====  ==  =====  ==  =====  ==  ====  ==  ====  =  ===  ======  ========  ===============  ===  ========  ====  ===  ===  ===========  ====================================================================================================================
//  =  ========  ====  ==  =====  ==  =====  ==  ====  ==  =====    ===  ======  ========  ==========  ====  ==  ========  ====  ===  ===  ===========  ====================================================================================================================
//  ==  ===  ===  ==  ===  =====  ==  =====  ==   ==   ==  ======   ===  ======  ========  ==========  ====  ===  ===  ==  ====  ===  ===  ===========  ====================================================================================================================
//  ===     =====    ====  =====  ==  =====  ===      ===  =======  ==    =====  ========  ===========      =====     ===  ====  ==    ==  ===========  ====================================================================================================================
//  ========================================================================================================================================================================================================================================================================
//  ================================================================================================================================================================================================================================
//  ================================================================================================      ==========================================================================================================================                                       
//  ================================================================================================  ===  =========================================================================================================================                                       
//  ================================================================================================  ====  ========================================================================================================================                                       
//  ================================================================================================  ===  ===  =  =================================================================================================================                                       
//  ================================================================================================      ====  =  =================================================================================================================                                       
//  ================================================================================================  ===  ====    =================================================================================================================                                       
//  ================================================================================================  ====  =====  =================================================================================================================                                       
//  ================================================================================================  ===  ===  =  =================================================================================================================                                       
//  ================================================================================================      =====   ==================================================================================================================                                       
//  ================================================================================================================================================================================================================================                                       
//  ================================================================================================================================================================================================================================                                       
//  =============================================================================      =======================  ====================================================================================================================                                       
//  ============================================================================  ====  ======================  ====================================================================================================================                                       
//  ============================================================================  ====  =================  ===  ====================================================================================================================                                       
//  =============================================================================  =======  =  = ===  ==    ==  ====================================================================================================================                                         
//  ===============================================================================  =====        =======  ===    ==================================================================================================================                                         
//  =================================================================================  ===  =  =  ==  ===  ===  =  =================================================================================================================                                         
//  ============================================================================  ====  ==  =  =  ==  ===  ===  =  =================================================================================================================                                         
//  ============================================================================  ====  ==  =  =  ==  ===  ===  =  =================================================================================================================                                         
//  =============================================================================      ===  =  =  ==  ===   ==  =  =================================================================================================================                                         
//================================================================================================================================================================================================================================ 
//   ▄████████    ▄████████    ▄████████ ████████▄   ▄█      ███        ▄████████
//  ███    ███   ███    ███   ███    ███ ███   ▀███ ███  ▀█████████▄   ███    ███
//  ███    █▀    ███    ███   ███    █▀  ███    ███ ███▌    ▀███▀▀██   ███    █▀ 
//  ███         ▄███▄▄▄▄██▀  ▄███▄▄▄     ███    ███ ███▌     ███   ▀   ███       
//  ███        ▀▀███▀▀▀▀▀   ▀▀███▀▀▀     ███    ███ ███▌     ███     ▀███████████
//  ███    █▄  ▀███████████   ███    █▄  ███    ███ ███      ███              ███
//  ███    ███   ███    ███   ███    ███ ███   ▄███ ███      ███        ▄█    ███
//  ████████▀    ███    ███   ██████████ ████████▀  █▀      ▄████▀    ▄████████▀ 
//               ███    ███                                                       
//  ╦ ╦╔═╗╦ ╔╦╗╔═╗╦═╗         
//  ║║║╠═╣║  ║ ║╣ ╠╦╝         
//  ╚╩╝╩ ╩╩═╝╩ ╚═╝╩╚═         
//  ╔═╗═╗ ╦╔═╗╔═╗╦  ╦╔╗ ╦ ╦╦═╗
//  ║╣ ╔╩╦╝║  ╠═╣║  ║╠╩╗║ ║╠╦╝
//  ╚═╝╩ ╚═╚═╝╩ ╩╩═╝╩╚═╝╚═╝╩╚═
//  ╔╗╔╔═╗╔═╗╔═╗╔╗ ╔═╗╦═╗     
//  ║║║║ ║║ ║╔═╝╠╩╗╠═╣╠╦╝     
//  ╝╚╝╚═╝╚═╝╚═╝╚═╝╩ ╩╩╚═   
//ALL GUYS WANT TO USE R3 TO JUMBE YOU CAN USE R3 !
//AND BE SUR YOU ACTIVATE DROPSHOT TO BE MORE ACCURACY !
//
//
//
//  ██╗███╗   ██╗████████╗███████╗
//  ██║████╗  ██║╚══██╔══╝██╔════╝
//  ██║██╔██╗ ██║   ██║   ███████╗
//  ██║██║╚██╗██║   ██║   ╚════██║
//  ██║██║ ╚████║   ██║   ███████║
//  ╚═╝╚═╝  ╚═══╝   ╚═╝   ╚══════╝
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*/
int In_Game_Sens   = 9;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/*///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*/
int RapidFire      = TRUE/*/HOLD "Dpad UP" and press "OPTIONS" for toggle///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*/
int AntiRecoil     = TRUE/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*/
int AutoRun        = TRUE/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*/
int AimAbuse       = TRUE/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*/
int AimAssist      = TRUE/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*/
int DropShot       = FALSE; /*/HOLD "Dpad DOWN" and press "OPTIONS" for toggle//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*/
int ColorsInfo     = TRUE/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*/
int HairTrigger    = TRUE/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*/
int ButtonSwap     = FALSE/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*/
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////██████╗ ███████╗███████╗██╗███╗   ██╗███████╗███████╗
//  ██╔══██╗██╔════╝██╔════╝██║████╗  ██║██╔════╝██╔════╝
//  ██║  ██║█████╗  █████╗  ██║██╔██╗ ██║█████╗  ███████╗
//  ██║  ██║██╔══╝  ██╔══╝  ██║██║╚██╗██║██╔══╝  ╚════██║
//  ██████╔╝███████╗██║     ██║██║ ╚████║███████╗███████║
//  ╚═════╝ ╚══════╝╚═╝     ╚═╝╚═╝  ╚═══╝╚══════╝╚══════╝
define Scope_BTN   = PS4_L2;         
define Shoot_BTN   = PS4_R2;         
define LY          = PS4_LY;         
define Run_BTN     = PS4_L3;       
define Jump_BTN    = PS4_CROSS;     
define Up          = PS4_UP;         
define RY          = PS4_RY;       
define Right       = PS4_RIGHT;     
define LX          = PS4_LX;     
define Down        = PS4_DOWN;     
define Reload_BTN  = PS4_SQUARE
define RX          = PS4_RX;     
define Crouch_BTN  = PS4_CIRCLE;
define RightBumber = PS4_R1;     
define LeftBumber  = PS4_L1;     
define Left        = PS4_LEFT;   
define Melee_BTN   = PS4_R3;       
define Switch_BTN  = PS4_TRIANGLE
////////////////////////////////////
//  ███╗   ███╗ ██████╗ ██████╗ ███████╗
//  ████╗ ████║██╔═══██╗██╔══██╗██╔════╝
//  ██╔████╔██║██║   ██║██║  ██║███████╗
//  ██║╚██╔╝██║██║   ██║██║  ██║╚════██║
//  ██║ ╚═╝ ██║╚██████╔╝██████╔╝███████║
//  ╚═╝     ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝
int a;int b;
 
 
//RapidFire:
  int shoot_rate           = 6;                   
  int rapidfire;
 
//AimAssist: 
  int valueX               = 20;
  int delayA;                 
 
//NoRecoil:
  int antirecoil_sg        = 15;                 
  int antirecoil_fg        = 19;                 
  int antirecoil;
 
//AimAbuse:
  int AimSpeed             = 170;                               
  int delay                = 14;
  define Aimbot_BTN        = PS4_L2;             
//                                                     
 
 
//Toggle:
  define toggleMainButton  = PS4_OPTIONS;         
 
 
//Swap:
  int button;
 
//BlockMod:
  int button1;
  int button2;
  int blockmod;
//
init { //-BUTTON LAYOUT-\\ 
if(get_controller() == PIO_WII){ combo_run(ColorsInfo);a=2;b=0;}
   else { combo_run(ColorsInfo);a=0;b=2;}
 
   //RapidFire - Settings
   rapidfire = (1000/shoot_rate);
 
   //NoRecoil - InGameSens Optimizing
   antirecoil_sg = pow((antirecoil_fg / In_Game_Sens),2); //antirecoil_sg*4/In_Game_Sens;
   antirecoil_fg = pow((antirecoil_fg / In_Game_Sens),2);
 
   //AimAssist Settings
   delayA = pow((valueX / In_Game_Sens),2)
 
}
 
 
main {
if(ButtonSwap){
   swap (PS4_R2,PS4_R1);
   swap (PS4_L2,PS4_L1)
}
if(HairTrigger){
   if(get_val(Scope_BTN)){set_val(Scope_BTN,100);}
   if(get_val(Shoot_BTN)){set_val(Shoot_BTN,100);}
   }
if(AimAssist){
   if(get_val(Scope_BTN)){
      combo_run(AssX);
      }
      if((get_val(RX)) > valueX || (get_val(RX)) < valueX*(-1)){
          combo_stop(AssX);
          }
      }   
 
 
if(get_val(Up) && event_press(toggleMainButton)){
   button1 = toggleMainButton;
   button2 = Up;
   combo_run(BlockButton);
   RapidFire =! RapidFire;
   if(RapidFire == TRUE){combo_run(ColorsInfo);a=0;b=2;}
   if(RapidFire == FALSE){combo_run(ColorsInfo);a=2;b=0;}
   }
   if(RapidFire){
     if(get_val(Shoot_BTN)){
        combo_run(Rapidfire);                                         
       }
     }
 
if(get_val(Right) && event_press(toggleMainButton)){
   AimAbuse =! AimAbuse;
   button1 = toggleMainButton;
   button2 = Right;
   combo_run(BlockButton);
   if(AimAbuse == TRUE){combo_run(ColorsInfo);a=0;b=2;}
   if(AimAbuse == FALSE){combo_run(ColorsInfo);a=2;b=0;}
   }
   if(AimAbuse){
   if(get_val(Aimbot_BTN)&&get_ptime(Aimbot_BTN)>= 240){
      combo_run(Aimbot1);}
   if(event_release(Aimbot_BTN)){ combo_stop(Aimbot1);}
   }
 
 
if(AutoRun){if(get_val(LY) <= -20){set_val(Run_BTN, 100);}}
 
if(AntiRecoil){
  if(get_val(Shoot_BTN)){combo_run(Antirecoil);}
  if(get_rumble(RUMBLE_A) > 5 && get_rumble(RUMBLE_A) <= 50){antirecoil = antirecoil_sg;}
  if(get_rumble(RUMBLE_A) > 50){antirecoil = antirecoil_fg;}
  if(abs(get_val(RY)) >= antirecoil+ 10){combo_stop(Antirecoil);}
   }
 
 
if(get_val(Down) && event_press(toggleMainButton)){
   button1 = toggleMainButton;
   button2 = Down;
   combo_run(BlockButton);
   DropShot =! DropShot;
   if(DropShot == TRUE){combo_run(ColorsInfo);a=0;b=2;}
   if(DropShot == FALSE){combo_run(ColorsInfo);a=2;b=0;}
   }
   if(DropShot){
      if(get_val(Scope_BTN)&&get_val(Shoot_BTN)){combo_run(DropShot);}
      }     
 
 
 
 
   if(event_press(RightBumber)){
      button = RightBumber;
      combo_run(instaswap);
      }
   if(event_press(LeftBumber)){
      button = LeftBumber;
      combo_run(instaswap);
      }
   }
 
 
//   ██████╗ ██████╗ ███╗   ███╗██████╗  ██████╗
//  ██╔════╝██╔═══██╗████╗ ████║██╔══██╗██╔═══██╗
//  ██║     ██║   ██║██╔████╔██║██████╔╝██║   ██║
//  ██║     ██║   ██║██║╚██╔╝██║██╔══██╗██║   ██║
//  ╚██████╗╚██████╔╝██║ ╚═╝ ██║██████╔╝╚██████╔╝
//   ╚═════╝ ╚═════╝ ╚═╝     ╚═╝╚═════╝  ╚═════╝
 
 
combo ColorsInfo {
if(ColorsInfo){set_rumble(RUMBLE_B,65);}
set_led(LED_1,0);
set_led(LED_2,a);
set_led(LED_3,b);
set_led(LED_4,0);
wait(250);
set_led(LED_1,0);
set_led(LED_2,0);
set_led(LED_3,0);
set_led(LED_4,0);
wait(250);
set_led(LED_1,0);
set_led(LED_2,a);
set_led(LED_3,b);
set_led(LED_4,0);
wait(250);
set_led(LED_1,0);
set_led(LED_2,0);
set_led(LED_3,0);
set_led(LED_4,0);
wait(250);
set_led(LED_1,0);
set_led(LED_2,a);
set_led(LED_3,b);
set_led(LED_4,0);
wait(250);
reset_leds();
}
 
 
combo instaswap{
set_val(button,100);
wait(15);
set_val(Left,100);
wait(13);
wait(700);
}
 
 
combo BlockButton{
set_val(button1,0);
set_val(button2,0);
wait(650);
}
 
 
combo DropShot{
set_val(Melee_BTN,100);
wait(40);
wait(200);
set_val(Melee_BTN,100);
}
 
 
combo AssX {
set_val(RX, valueX);
wait(delayA);
wait(4);
set_val(RX, valueX*(-1));
wait(delayA);
}
 
 
combo Rapidfire {
set_val(Shoot_BTN, 100);
wait(120);
set_val(Shoot_BTN, 0);
wait(30);
}
 
 
combo Aimbot1{
set_val(Scope_BTN,100);
wait(AimSpeed);
set_val(Scope_BTN,0);
wait(delay);   
}
 
 
combo Antirecoil {
set_val(RY, antirecoil);     
 
}
User avatar
DragonRouge
Private First Class
Private First Class
 
Posts: 3
Joined: Wed Sep 19, 2018 1:25 pm


Return to GPC1 Script Programming

Who is online

Users browsing this forum: No registered users and 94 guests