Jaiwalkkin2.8 Square/Center

2k21 Script Converted for Titan 1
Version2.8
Authorscarceluv
Publish DateFri, 5 Mar 2021 - 01:02
Last UpdateFri, 5 Mar 2021 - 01:02
Downloads1364
RATE


11

0

Code: Select all
 
 
//current gen curryslide, crab, explosive behind the back, momentum combo and upcourt combo script.with momentum spam center shooting done with x in this script
//jaiwalkkin 2/19/2021
//credit to dricon and legitcloudz used portions of their script in here.
//the momentum spam is performed while holding the up dpad. Try and keep the ball in the left hand when starting it
//curryslide by tapping the left or right stick based on which hand the ball in in. Left hand = left stick and right hand = right stick
//hold r2 or rt while running and tap rb or r1 to quick stop
// hold up dpad to momentum spam
// tap the right stick with ball in right hand to curryslide to the right
//tap the left stick the ball in the left hand to curryslide left
//CENTER SHOOTING DONE BY HOLDING X FOR XBOX AND SQUARE FOR PLAYSTATION
//IF YOU CANT HIT X OR SQUARE IN THE MENUS WHILE USING THE SCRIPT HOLD R2 or RT TO USE X LIKE NORMAL AND SHOOT LIKE NORMAL
// HOW TO CHANGE THE DRIBBLE MOVES !!!!!!!!!!!!!!!!!!
// 1 = CURRYSLide
// 2 = CRAB
// 3 = EXPLOSIVE BEHIND THE BACK
// 4 = THE EARLIER COMBO I MADE
// 5 = NEW UPCOURT COMBO
//TO CYCLE/CHANGE DRIBBLE MOVES HOLD VIEW/OPTIONS AND TAP L1/LB. IT WILL VIBRATE
// hit me up on discord at jaiwalkkin#7360 if you want me to make any changes, and add new dribbles. love the support yall
// if you wanna donate, either donate to Dricon, or donate to this place where i learned all this. they have online classes are are the goats https://www.badgerbots.org/get-involved/donate/
// they are running outta money for their lease, and need cash asap. thx for love
int release = 22; //change this number if you are missing with excellent. Ive heard 22 works better
int angle = 18;// if you have a low 3 ball, mess with this number, 18 works as well
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
int dribble = 2; // THIS IS THE NUMBER TO CHANGE, TO CHANGE THE DRIBBLE MOVES!!!! READ EARLIER INSTRUCTIONS ON WHAT NUMBER IS WHAT!!
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
int scriptSpeed = -9;//if this is any higher than -9 change it back or you will feel kind of delayed lol. mess with this number if you are delayed
int blockButton;
 
main {
    vm_tctrl(scriptSpeed);
 
    if(get_rumble(RUMBLE_A) || get_rumble(RUMBLE_B)) {combo_run(wait_time);}//detecting rumble while script is active. also quick stop activators. (Dricon)
        if((get_val(XB1_LX))<0 && get_val(XB1_RT) && event_press(XB1_RB))
        {
            blockButton = XB1_RB;
            combo_run(QuickStopLeftHand);
        }
        if((get_val(XB1_LX))>0 && get_val(XB1_RT) && event_press(XB1_RB))
        {
            blockButton = XB1_RB;
            combo_run(QuickStopRightHand);
        }
        if    ((get_val(XB1_VIEW)) && event_press(XB1_LB))
        {
 
            dribble++
            combo_run(RUMBLE);
        }
        if(dribble > 5)
        {
            dribble = 1;
        }
          if(get_val(XB1_RT) && event_press(XB1_X))
          {
              set_val(XB1_X, 100);
              combo_stop(STICKSHOT);
          }
    if(combo_running(UPCOURTRH))
    {
        set_val(XB1_LY, 100);
    }
    if((!get_val(XB1_RT)) && (get_val(XB1_X)))
    {
        blockButton = XB1_X;
        combo_run(STICKSHOT);
    }
 
if(get_val(XB1_UP))//Momentum Spam activator
 
 
    {
 
        combo_run(MMSPAM);
 
    }
 
 
if(blockButton)
        {
            if(event_release(blockButton))
            {
                blockButton = 0;
            }
                else
                {
                    set_val(blockButton,0);
                }
        }
 
 
 
        ////////////////////////////////////////////////////////////////////////////////////////////////////
        ////////////////////////////////////Dribbles///////////////////////////////////////////////////////                                           
        ////////////////////////////////////////////////////////////////////////////////////////////////////
 
        if((dribble  == 1))//curryslide
        {
 
 
            if (event_press(XB1_LS))
            {
 
                combo_run(LHSLIDE);   
            }
 
 
        }
        if((dribble  == 1))//curryslide
        {
 
            if (event_press(XB1_RS))
            {
 
                combo_run(RHSLIDE);   
            }
 
        }   
 
        if((dribble  == 2))//Crab
        {
            if (event_press(XB1_RS))
            {
                combo_run(CRABBYRH);   
            }
 
 
        }   
        if((dribble  == 2))//Crab
        {
            if (event_press(XB1_LS))
            {
                combo_run(CRABBYLH);   
            }
 
 
        }   
    if((dribble  == 3))//Explosive behind the back
        {
            if (event_press(XB1_LS))
            {
                combo_run(EXPBTBLH);   
            }
 
 
        }   
    if((dribble  == 3))//Explosive behind the back
        {
            if (event_press(XB1_RS))
            {
                combo_run(EXPBTBRH);   
            }
 
 
        }   
 
    if((dribble  == 4))//Jaiwalkkin combo
        {
            if (event_press(XB1_RS))
            {
                combo_run(duffyRH);   
            }
 
 
        }       
    if((dribble  == 4))//Jaiwalkkin combo
        {
            if (event_press(XB1_LS))
            {
                combo_run(duffyLH);   
            }
 
 
        }   
    if((dribble == 5))
    {
        if(event_press(XB1_LS))
        {
            combo_run(UPCOURTLH);
        }
 
    }
    if((dribble == 5))
    {
        if(event_press(XB1_RS))
        {
            combo_run(UPCOURTRH);
        }
 
    }
}
 
 
combo LHSLIDE//curryslide yessuh
{
set_val(PS4_RX, 100);
    set_val(PS4_RY, 50);
    wait(400);
}
 
 
 
 
combo RHSLIDE
{
 
    set_val(PS4_RX, -100);
    set_val(PS4_RY, 50);
    wait(400);
 
}
combo STICKSHOT//stickshot(center)
{
    set_val(XB1_RY, 100);
    set_val(XB1_RX, angle);
 
}
 
 
combo SBCO // speedbost crossover. use it to speedboost+looks comp(NOT ACTIAVED IN SCRIPT)
{
 
    set_val(XB1_RY, -100);
    wait(40);
    set_val(XB1_RY, 0);
    wait(40);
 
 
}
 
combo MMSPAM //momentum spam
{
wait(100);
call(MMLH);
wait(200);
wait(120);
call(MMRH);
wait(100);
 
 
}
 
combo MMRH
{
 
set_val(PS4_RX, -100);
    wait(40);
 
    set_val(PS4_LX, -75);
    set_val(PS4_LY, -75);
    wait(100);
 
 
 
}
combo MMLH
{
 
set_val(PS4_RX, 100);
    wait(40);
 
    set_val(PS4_LX, 75);
    set_val(PS4_LY, -75);
    wait(100);
 
 
 
}
 
 
 
combo wait_time
{
    wait(release);
    set_val(PS4_L2, 100);
    set_val(PS4_SQUARE, 0):
    wait(100);
    set_val(PS4_L2, 0);
    wait(200):
}
 
combo RUMBLE
{
    set_rumble(RUMBLE_A, 50);
    wait(200);
    set_rumble(RUMBLE_A, 0);
}
combo duffyRH
{
call(CRABBYRH);
wait(300);
set_val(PS4_RX, -100);
    wait(40);
 
    set_val(PS4_LX, -75);
    set_val(PS4_LY, -75);
 
wait(350);
call(MMLH);
wait(100);
set_val(PS4_RX, -100);
    set_val(PS4_RY, 50);
    wait(400);
 
 
 
 
 
}
 
combo duffyLH//nice lil momentum combo
{
call(CRABBYLH);
wait(300);
call(MMLH);
wait(300);
set_val(PS4_RX, -100);
    wait(40);
 
    set_val(PS4_LX, -75);
    set_val(PS4_LY, -75);
wait(150);
set_val(PS4_RX, 100);
    set_val(PS4_RY, 50);
    wait(400);
 
 
}
combo CRABBYLH//crab
{
 
 set_val(XB1_RX, 84);
 set_val(XB1_RY, -74);
 wait(300);
 
}
combo CRABBYRH
{
 
set_val(XB1_RX, -87);
set_val(XB1_RY, -64):
wait(300);
 
 
}
 
 
combo STEPPY
{
set_val(XB1_LT, 100);
wait(175);
set_val(XB1_LT, 0);
wait(10);
set_val(XB1_RY, 100);
wait(100);
set_val(XB1_RY, 0);
wait(100);
set_val(XB1_LT, 100);
wait(175);
set_val(XB1_LT, 0);
wait(20);
 
 
 
 
 
}
 
combo EXPBTBLH//values used from dricon 2.5
{
 
 set_val(PS4_RX, 75);
    set_val(PS4_RY, 75);
    wait(80);
   set_val(PS4_RX, 75);
    set_val(PS4_RY, 75);
    set_val(PS4_LX, 75);
    set_val(PS4_LY, -75);
    wait(100);
    set_val(PS4_LX, 75);
    set_val(PS4_LY, -70);
    wait(200);
}
 
 
combo EXPBTBRH
{
 
set_val(PS4_RX, -75);
    set_val(PS4_RY, 75);
    wait(80);
    set_val(PS4_LX, -75);
    set_val(PS4_LY, -75);
    wait(100);
    set_val(PS4_LX, -75);
    set_val(PS4_LY, -75);
    wait(200);
 
}
 
combo QuickStopLeftHand
{
    set_val(PS4_RX, 100);
    wait(100);
}
 
combo QuickStopRightHand
{
    set_val(PS4_RX, -100);
    wait(100);
}
 
combo UPCOURTRH
{
set_val(XB1_LY, -100);
wait(300);
set_val(XB1_LY, -100);
set_val(XB1_RY, -100);
wait(50);
set_val(XB1_LY, -100);
set_val(XB1_RY, 0);
wait(50);
set_val(XB1_LY, -100);
set_val(XB1_RX, 100);
wait(300);
set_val(XB1_LY, -100);
set_val(XB1_RX, 0);
wait(100);
call(RHSLIDE);
 
}
combo UPCOURTLH
{
set_val(XB1_LY, -100);
wait(300);
set_val(XB1_LY, -100);
set_val(XB1_RY, -100);
wait(50);
set_val(XB1_LY, -100);
set_val(XB1_RY, 0);
wait(50);
set_val(XB1_LY, -100);
set_val(XB1_RX, -100);
wait(300);
set_val(XB1_LY, -100);
set_val(XB1_RX, 0);
wait(100);
call(LHSLIDE);
 
 
}