// ___________________________________________________________________________________________________________________
// / _____ _____ ____ ____ _____ ______ _____ _____ ______ \ _ ______ |
// / | ___| | ___ \ // \\ / __ \ |_ _| | ___ \ |_ _| |_ _| | ____| \ | | / ___| | |
// / | |___ | | / / | | | | \ \ \/ | | | | \ \ | | | | | | \ | | | | | | |
// / | ___| | |_/_/ | | | | \ \ | | | |___/ / | | | | | |___ \ | | | |___| | |
// [ | | | | \ \ | | | | \ \ | | | |__| | | | | | | |___| ] | | \____| | |
// \ | | | | \ \ | | | | \ \ | | | | \ \ | | | | | | / | | | | |
// \ | | | | \ \ | | | | /\_/ / | | | |___/ / _| |_ | | | |____ / | | | | |
// \ |_| |_| \_\ \\__// \___/ |_| |______/ |_____| |_| |______| / | | _ | | |
// \________________________________________________________________________________________/ |_| |_| |_| |
//--------------------------------------------------------------------------------------------------------------------------------------
//how to use the script and what's it in
//--------------------------------------------------------------------------------------------------------------------------------------
//hold L2/LT and hit right on d-pad to toggle on / off the aimbot
//if it rumbles once it's on if it rumbles twice it's off this is on from the start
//--------------------------------------------------------------------------------------------------------------------------------------
//this is off from the start
//hold right LT/L2 and press Options/Menu button to turn on/off combat alteration aka 90s
//to use this hold LT/L1 and press the LB/L2 button and it will build a floor wall ramp and jump all at once
//--------------------------------------------------------------------------------------------------------------------------------------
//holding L2/LT and L1/LB at the same time you will start to Crouch spam
//--------------------------------------------------------------------------------------------------------------------------------------
//and by holding L2/LT and R2/RT you will start to Rapid Fire
//--------------------------------------------------------------------------------------------------------------------------------------
//hold L2/LT and press your SHARE/VIEW button to toggle on/off shake
//if it rumbles once it's on if it rumbles twice it's off this is off from the start
//--------------------------------------------------------------------------------------------------------------------------------------
//------------------------------------------------Script made by Whos KTH coding--------------------------------------------------------
//--------------------------------------------------------------------------------------------------------------------------------------
//my discord name: militaristic
//--------------------------------------------------------------------------------------------------------------------------------------
//--------------------------------------------------------------------------------------------------------------------------------------
//------------------------------------------------------------------------------
//---------------------------------------[version 1.9]--------------------------
//------------------------------------------------------------------------------
//-----------------------------------[updated on 5/19/2024]---------------------
//------------------------------------------------------------------------------
//------------------------------[do not touch the code down here]---------------
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
define RT = 4; //R2/RB//--------------------------------------------------------
define LT = 7; //L2/LB//--------------------------------------------------------
//------------------------------------------------------------------------------
define RB= 3; //R1/RT//---------------------------------------------------------
define LB = 6; //L1/LT//--------------------------------------------------------
//------------------------------------------------------------------------------
define RS = 5; //R3/RS//--------------------------------------------------------
define LS = 8; //L3/LS//--------------------------------------------------------
//------------------------------------------------------------------------------
define A = 19; //PS4 CROSS/XB1 A//----------------------------------------------
define X = 20; //PS4 SQUARE/XB1 X//---------------------------------------------
define Y = 17; //PS4 TRIANGLE/XB1 Y//------------------------------------------
define B = 18; //PS4 CIRCLE/XB1 B//---------------------------------------------
//------------------------------------------------------------------------------
define UP = 13; //Up//----------------------------------------------------------
define DOWN = 14; //Down//------------------------------------------------------
define LEFT = 15; //Left//------------------------------------------------------
define RIGHT = 16; //Right//----------------------------------------------------
//------------------------------------------------------------------------------
define START = 1; //VIEW/SHARE//------------------------------------------------
define BACK = 2; //Options/Menu//-----------------------------------------------
//------------------------------------------------------------------------------
define TOUCHPAD = 27; //Touchpad//----------------------------------------------
define RX = 9; //PS4 RX / Xbox RX//---------------------------------------------
define RY = 10; //PS4 RY / Xbox RY//--------------------------------------------
define LX = 11; //XB1_LX //PS4_LX//---------------------------------------------
define LY = 12; //XB1_LY //PS4_LY//---------------------------------------------
//------------------------------------------------------------------------------
int button;//-------------------------------------------------------------------
int num, i, a;//----------------------------------------------------------------
int WAIT;//---------------------------------------------------------------------
int AAT = TRUE;//---------------------------------------------------------------
int AVS = 19;//-----------------------------------------------------------------
int AVS1 = -19;//---------------------------------------------------------------
int DT = 20;//------------------------------------------------------------------
int combat_alteration = FALSE;//------------------------------------------------
int CA1 = TRUE;//---------------------------------------------------------------
int CA2 = TRUE;//---------------------------------------------------------------
int EB = LS;//<------------change to your edit button---------------------------
int RSB = RS;//<------------change to your reset button-------------------------
//------------------------------------------------------------------------------
int HairTrigger = TRUE;//-------------------------------------------------------
int rapid_T = TRUE;//-----------------------------------------------------------
int rapidfire = FALSE;//--------------------------------------------------------
int DropShot = TRUE;//----------------------------------------------------------
int floot = TRUE;//-------------------------------------------------------------
int lock = FALSE;//-------------------------------------------------------------
int aimabuse_s = FALSE;//-------------------------------------------------------
int aimabuse = TRUE;//----------------------------------------------------------
int loot_toggle = FALSE;//-------------------------------------------------------
int ARAB = TRUE;//--------------------------------------------------------------
int Recoil_Conversion = TRUE;//-------------------------------------------------
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
main { //start of end---------------------------------------------------------
//------------------------------------------------------------------------------
vm_tctrl(-2); // Run the VM every 2ms-------------------------------------------
//------------------------------------------------------------------------------
if (get_val(LT) && event_release(RIGHT)) {
aimabuse_s = !aimabuse_s;
if(aimabuse_s) {
combo_run(RumbleOnce);
} else {
combo_stop(S_aimbot);
combo_run(RumbleTwice);}
}
if(aimabuse_s) {
if(get_val(LT)>=95) {
combo_run(S_aimbot);} }
if(event_release(LT)){ combo_stop(S_aimbot);}
//------------------------------------------------------------------------------
if (get_val(LT) && event_release(RIGHT)) {
aimabuse = !aimabuse;
if(aimabuse) {
combo_run(RumbleOnce);
} else {
combo_stop(aimbot);
combo_run(RumbleTwice);}
}
if(aimabuse) {
if(get_val(LT)>=95) {
combo_run(aimbot);} }
if(event_release(LT)){ combo_stop(aimbot);}
//------------------------------------------------------------------------------
if((get_val(LT)) && (event_press(START))) {
lock = !lock;
if(lock) {
combo_run(RumbleOnce);
} else {
combo_run(RumbleTwice);} }
//------------------------------------------------------------------------------
if(lock){
if (get_val(LT) && get_val(RT)) {
AAT = !AAT;
combo_run(shake);
} else {
combo_stop(shake);} }
//------------------------------------------------------------------------------
if (get_val(RX)<-15||get_val(RX)>15||get_val(10)<-15||get_val(10)>15||get_val(RX)<-15||get_val(RX)>15||get_val(10)<-15||get_val(10)>15){
combo_stop(shake);}
//------------------------------------------------------------------------------
if (get_val(LT) && get_val(RT)) {
ARAB = !ARAB;
combo_run(AR)
} else {
combo_stop(AR) }
//------------------------------------------------------------------------------
if (get_val(RX)<-15||get_val(RX)>15||get_val(RY)<-15||get_val(RY)>15||get_val(RX)<-15||get_val(RX)>15||get_val(RY)<-15||get_val(RY)>15){
combo_stop(AR);}
//------------------------------------------------------------------------------
if((get_val(LT)) && (event_press(BACK))) {
combat_alteration = !combat_alteration;
if(combat_alteration) {
combo_run(RumbleOnce);
} else {
combo_run(RumbleTwice);} }
//------------------------------------------------------------------------------
if (combat_alteration){
if (get_val(RIGHT) && (get_val(RIGHT))){
combo_stop(aimbot);
set_val(LT,0);
set_val(LB,0);
set_click(LB,2,0); }
//------------------------------------------------------------------------------
if (get_val(RIGHT) && event_release(RIGHT)) {
combo_run(RFWT); }
//------------------------------------------------------------------------------
if (combo_running(RFWT)) {
block(RY,100);
block(RX,100);} }
//------------------------------------------------------------------------------
if (get_val(LT) && event_release(LEFT)) {
rapid_T = !rapid_T;
if(rapid_T) {
combo_run(RumbleOnce);
} else {
combo_stop(rapid);
combo_run(RumbleTwice);} }
if(rapid_T){
if (get_val(LT) && get_val(RT)) {
rapidfire = !rapidfire;
combo_run(rapid);
} else {
combo_stop(rapid);} }
//------------------------------------------------------------------------------
if (get_val(LT) && get_val(LB)) {
DropShot = !DropShot;
combo_run(GP);
set_val(LB, 0);
} else {
combo_stop(GP);}
//------------------------------------------------------------------------------
if(HairTrigger){
if(get_val(RT))
set_val(RT,100);}
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
}//end of main------------------------------------------------------------------
//------------------------------------------------------------------------------
//---------------------------------combo code-----------------------------------
//------------------------------------------------------------------------------
combo aimbot {
set_val(LT, 100);
wait(300);
set_val(LT, 0);
wait(20);}
//------------------------------------------------------------------------------
combo S_aimbot {
set_val(LT, 100);
wait(300);
set_val(LT, 0);
wait(20);
wait(2000);}
//------------------------------------------------------------------------------
combo RFWT {
set_val(A, 100);
wait(30);
set_val(RY, 100);
set_val(RB, 100);
wait(20);
set_val(RY, -100);
set_val(LT, 100);
set_val(RT, 100);
wait(20); }
//------------------------------------------------------------------------------
combo AR {
set_val(RY,26);
wait(10);
set_val(RY,0);
wait(10);}
//------------------------------------------------------------------------------
combo Recoil_Con {
call (AU1);
call (AU1);
call (AU1);
call (AU2);
call (AU2);}
//------------------------------------------------------------------------------
combo AU1 {
set_val(RY,44);
wait(10);
set_val(RY,0);
wait(10);}
//------------------------------------------------------------------------------
combo AU2{
set_val(RY, -34);
wait(10);
set_val(RY,0);
wait(10);}
//------------------------------------------------------------------------------
combo shake {
set_val(RY,(AVS));
wait(DT)
set_val(RX,(AVS));
wait(DT)
set_val(RY,(AVS1));
wait(DT)
set_val(RX,(AVS1));
wait(DT)
set_val(RY,(AVS));
wait(DT)
set_val(RX,(AVS));
wait(DT)
set_val(RY,(AVS1));
wait(DT)
set_val(RX,(AVS1));
wait(DT)}
//------------------------------------------------------------------------------
combo GP {
set_val(RS, 100);
wait(46);
set_val(RS, 0);
wait(46);}
//------------------------------------------------------------------------------
combo rapid {
set_val(RT, 40);
wait(40);
set_val(RT, 0);
wait(30);}
//------------------------------------------------------------------------------
combo RumbleOnce {
set_rumble(RUMBLE_A, 100);
wait(250);
reset_rumble();}
//------------------------------------------------------------------------------
combo RumbleTwice {
set_rumble(RUMBLE_A, 100);
wait(250);
set_rumble(RUMBLE_A, 0);
wait(250);
set_rumble(RUMBLE_A, 100);
wait(250);
reset_rumble();}
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
function set_click(B, Num, Wait) {
WAIT = Wait;
i = 0;
button = B;
num = Num;
a = TRUE;}
//------------------------------------------------------------------------------