PDA

View Full Version : Need this fortnite script



JMILLSWAGDAWG
5th August 18, 11:29
Hey I tried the game pack and I don’t like the toggles on it and I don’t know how to make a script so I’m hoping Excalibur or Lex help me on this script. Could I have aim abuse, aim assist, anti recoil , ghost peeking, and hair triggers always enabled. Whenever I ghost peek I wanna be able to ADS and tap LB (I am aware ghost peeking got nerfed but I still want it. Then I want rapid fire. I wanna toggle that by ADS and tap B to enable it. I play on Builder Pro on Xbox One. Thanks.

Excalibur
5th August 18, 16:05
Hey I tried the game pack and I don’t like the toggles on it and I don’t know how to make a script so I’m hoping Excalibur or Lex help me on this script. Could I have aim abuse, aim assist, anti recoil , ghost peeking, and hair triggers always enabled. Whenever I ghost peek I wanna be able to ADS and tap LB (I am aware ghost peeking got nerfed but I still want it. Then I want rapid fire. I wanna toggle that by ADS and tap B to enable it. I play on Builder Pro on Xbox One. Thanks.

Here you go:


// Script was generated with *FORTNITE app* ver. 3.2 Date :08/05/18 Time: 10:56:12 PM

/**********************************************************************
______ _____ _____ _______ _ _ _______ _______ ______
(______)(_____) (_____)(__ _ __)(_) (_)(_______)(__ _ __)(______)
(_)__ (_) (_)(_)__(_) (_) (__)_ (_) (_) (_) (_)__
(____) (_) (_)(_____) (_) (_)(_)(_) (_) (_) (____)
(_) (_)___(_)( ) ( ) (_) (_) (__) __(_)__ (_) (_)____
(_) (_____) (_) (_) (_) (_) (_)(_______) (_) (______)

**********************************************************************/

/*********************************************************************
FORTNITE BATTLE ROYALE

Game : FORTNITE

Authors : Excalibur & WalterHMartinez

**********************************************************************/
///////////////////////////////////////////////////////////////////////
//
// BUTTON LAYOUT : BUILDER PRO
//
// CONSOLE : XBOX ONE
//
// Bumpers/Triggers : DEFAULT
//
///////////////////////////////////////////////////////////////////////
//
//---------------------------------------------------------------------
// TOGGLE SWITCHES
// Turn Rapid Fire OFF/ON
// ---------------------------------
//
// hold : XB1_LT and then press : XB1_B
//
// Turn AIM ASSIST OFF/ON
// ---------------------------------
//
// hold : XB1_LT and then press : XB1_UP
//
//


//---------------------------------------------------------------------
//
define FIRE_BTN = XB1_RT;
define ADS_BTN = XB1_LT;
define CROUCH_BTN = XB1_RS;
define SPRINT_BTN = XB1_LS;
define JUMP_BTN = XB1_A;
define NEXT_PIECE = XB1_RB;
define LEFT_BUMP = XB1_LB;
define SWAP_BTN = XB1_Y;
define BUILD_BTN = XB1_B;
define RELOAD_BTN = XB1_X;
//---------------------------------------------------------------------
// BUILD BUTTONS
define WALL_BTN = XB1_RT;
define STAIRS_BTN = XB1_LT;
define FLOOR_BTN = XB1_RB;
define ROOF_BTN = XB1_LB;
//______________________________________________________________________|
//########## VARIABLES BELOW USED BY SCRIPT (DO NOT TOUCH) #############|
//----------------------------------------------------------------------|
//--------------------------------------
// use the name of the color


define Blue = 1;
define Red = 2;
define Green = 3;
define Pink = 4;
define SkyBlue = 5;
define Yellow = 6;
define White = 7;

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

///////////////////////////////////////
// variables
int RF_onoff = FALSE;
int AimAbuse_onoff = TRUE;
int AR_AimAssist_on = TRUE;
int AimAssist_onoff = TRUE;
int shake = 21;
int AntiRecoil_onoff = TRUE;
int ANTI_RECOIL = 8;
int ANTI_RECOIL_H = 0;
int anti_recoil;
int anti_recoil_H;
int rumble_type = RUMBLE_A;
int aimabuse_hold;
int aimabuse_rest;
int Ghost_Peek = TRUE;
//--------------------------------------------------------------------------------------
// MAIN BLOCK BEGIN
main {


if(RF_onoff) LED_CM (Red);
else LED_CM (Blue);
/////////////////////////////////////////////////////////////////////////////////
// HAIR TRIGGER
if(get_val(ADS_BTN)) set_val(ADS_BTN, 100);
if(get_val(FIRE_BTN)) set_val(FIRE_BTN,100);
if(get_val(PS4_L2)){
if(event_press(PS4_CIRCLE)){
RF_onoff = !RF_onoff;
rumble_A_if_true(RF_onoff);
}
set_val(PS4_CIRCLE, 0);
}

/////////////////////////////////////////////////////////////////////////////////
//Rapid Fire
if(event_press(BUILD_BTN) || event_press(SWAP_BTN)) {
RF_onoff = !RF_onoff;
}
if (RF_onoff) {
if (get_val(FIRE_BTN) && get_val(ADS_BTN)) {
combo_run(RAPID_FIRE);
}
}

/////////////////////////////////////////////////////////////////////////////////
//Aim Assist V 2
if (AimAssist_onoff) {
if (get_val(ADS_BTN))
combo_run(Auto_Aimm);
else
combo_stop(Auto_Aimm);


if (get_val(ADS_BTN)) {
if (abs(get_val(9)) > 21 || abs(get_val(10)) > 21){
combo_stop(Auto_Aimm);
}
}
}//-------------------------------------------------------------------------------

if(AimAbuse_onoff){
/////////////////////////////////////////////////////////////////////////////////
// ASSAULT RIFLES AIM ABUSE
if (AR_AimAssist_on) {
if (get_val(ADS_BTN) && get_val(FIRE_BTN)) {
aimabuse_hold = 85;
aimabuse_rest = 10;
combo_run(AR_RAPID_FIRE);
combo_run(AIM_ABUSE);
} else if (combo_running(AIM_ABUSE)) {
combo_stop(AIM_ABUSE);
}
}//-----------------------------------------------

}
/////////////////////////////////////////////////////////////////////////////////
// ANTI RECOIL
if(AntiRecoil_onoff){
if (get_val(ADS_BTN)&& get_val(FIRE_BTN)) {
combo_run(AntiRecoil);
}
}

/////////////////////////////////////////////////////////////////////////////////
//SNEAK PEAK
if (Ghost_Peek) {
if (get_val(ADS_BTN)) {
if (event_press(LEFT_BUMP)) {
combo_run(SINGLE_SNEAK_PEAK);
}
set_val(LEFT_BUMP, 0);
}
}



}// MAIN BLOCK END
//--------------------------------------------------------------------------------------

//--------------------------------------------------------------------------------------
// COMBO BLOCK
combo SINGLE_SNEAK_PEAK {
set_val(CROUCH_BTN, 100);
wait(15);
wait(15);
set_val(FIRE_BTN, 100);
wait(15);
wait(10); //INCREASE THIS IF YOU SHOOT THE STAIRS
set_val(CROUCH_BTN, 100);
wait(15);
wait(5);
} // END
combo AIM_ABUSE { //
set_val(ADS_BTN, 100);
wait(aimabuse_hold);
set_val(ADS_BTN, 0);
wait(aimabuse_rest);
} //end
combo AR_RAPID_FIRE {
set_val(FIRE_BTN, 100);
wait(1);
set_val(FIRE_BTN, 0);
}
combo RAPID_FIRE {
set_val(FIRE_BTN, 100);
wait(20);
set_val(FIRE_BTN, 0);
wait(10);
}
combo Auto_Aimm {
set_val(10, shake * -1); //1
wait(20)
set_val(9, shake); //1
wait(20)
set_val(10, shake); //1
wait(20)
set_val(9, shake * -1); //1
wait(20)
}
combo VIBRATE {
set_rumble(rumble_type, 100);
wait(300);
reset_rumble();
}
function rumble_A_if_true(var) {
if (var) rumble_type = RUMBLE_A;
else rumble_type = RUMBLE_B;
combo_run(VIBRATE);
}
combo AntiRecoil { // This combo must be the last one
anti_recoil = get_val(10) + ANTI_RECOIL;
if (anti_recoil > 100) anti_recoil = 100;
set_val(10, anti_recoil);
anti_recoil_H = get_val(9) + ANTI_RECOIL_H;
if(anti_recoil_H > 100) anti_recoil_H = 100;
set_val(9, anti_recoil_H);
}
// COLOR LED function
//--------------------------------------------------------------
function LED_CM(Colour) {
set_led(LED_1,dbyte(( Colour * 4)- 3 ));
set_led(LED_2,dbyte(((Colour * 4)- 3) + 1));
set_led(LED_3,dbyte(((Colour * 4)- 3) + 2));
set_led(LED_4,dbyte(((Colour * 4)- 3) + 3));
}