Jamar R

JawnStockton
Version1
AuthorJawnStockton
Publish DateThu, 23 May 2019 - 20:02
Last UpdateThu, 23 May 2019 - 20:02
Downloads21
RATE


0

0

Release Notes: 1
Code: Select all
//Sciprt created by team device Taiwan FB1:SPERRY CORPORATION FB2: device.com.tw
//START-STOP:Press R3 (vibrationn, vibration x 2ff)
 
int onoff;
int minutes;
int milliseconds;
int seconds;
int onoff2;
int atk;
int tc;
int rs=1;
int rs2=0;
int as;
 
main {
milliseconds = milliseconds + get_rtime();
if(milliseconds >= 1000) {
milliseconds = milliseconds - 1000;
seconds = seconds + 1;
if(seconds == 80) {
//seconds
combo_stop(attack_1);
onoff2 = 0;
combo_run(back);
}
}
 
 
if(event_press(PS4_R3)) {onoff=!onoff; atk=!atk;}
if(tc){combo_run(rapid_c);}
if(onoff && rs==1){combo_run(rumble_on);}
if(onoff){rs2=1}
if(!onoff){milliseconds=0; seconds=0; minutes=0;
combo_stop(attack);
combo_stop(attack_1);
combo_stop(back);
combo_stop(rapid_c);
atk=0;
onoff2=0;
rs=1;
}
if(!onoff && rs2==1){combo_run(rumble_off);}
if(atk){
combo_run(attack);}
 
 
if(onoff2){
combo_run(attack_1);
 
}
 
set_val(TRACE_1, onoff);
set_val(TRACE_2, !onoff);
set_val(TRACE_3, rs);
set_val(TRACE_4, seconds);
set_val(TRACE_5, milliseconds / 10);
set_val(TRACE_6, rs2);
}
 
combo rapid_c {
set_val(XB1_A, 100);
wait(40);
set_val(XB1_A, 0);
wait(40);
}
 
combo attack {
tc=1;
wait(800);
tc=0;
wait(3000);
set_val(XB1_A, 100);
wait(500);
set_val(XB1_A, 0);
wait(2000);
set_val(XB1_A, 100);
wait(500);
set_val(XB1_A, 0);
wait(8000);
atk = 0;
onoff2 = 1;
}
 
combo attack_1 {
tc=1;
wait(1500);
set_val(XB1_A, 100);
set_val(XB1_B, 100);//#1
set_val(PS4_R2, 100);
wait(200);
set_val(XB1_B, 0);
set_val(PS4_R2, 0);
wait(2500);
 
 
set_val(XB1_B, 100);//#2
set_val(PS4_R2, 100);
wait(200);
set_val(XB1_B, 0);
set_val(PS4_R2, 0);
wait(2500);
 
set_val(XB1_B, 100);//#3
set_val(PS4_R2, 100);
wait(200);
set_val(XB1_B, 0);
set_val(PS4_R2, 0);
wait(2500);
 
set_val(XB1_B, 100);//#4
set_val(PS4_R2, 100);
wait(200);
set_val(XB1_B, 0);
set_val(PS4_R2, 0);
wait(2500);
 
set_val(XB1_B, 100);//#5
set_val(PS4_R2, 100);
wait(200);
set_val(XB1_B, 0);
set_val(PS4_R2, 0);
wait(2600);
 
set_val(XB1_B, 100);//#6
set_val(PS4_R2, 100);
wait(200);
set_val(XB1_B, 0);
set_val(PS4_R2, 0);
wait(2600);
 
set_val(XB1_A, 100);
set_val(XB1_B, 100);//#7
set_val(PS4_R2, 100);
wait(200);
set_val(XB1_B, 0);
set_val(PS4_R2, 0);
wait(2600);
 
set_val(XB1_B, 100);//#8
set_val(PS4_R2, 100);
set_val(XB1_A, 100);
wait(200);
set_val(XB1_B, 0);
set_val(PS4_R2, 0);
wait(2600);
 
set_val(XB1_B, 100);//#9
set_val(PS4_R2, 100);
set_val(XB1_A, 100);
wait(200);
set_val(XB1_B, 0);
set_val(PS4_R2, 0);
wait(2600);
 
set_val(XB1_B, 100);//#10
set_val(PS4_R2, 100);
set_val(XB1_A, 100);
wait(200);
set_val(XB1_B, 0);
set_val(PS4_R2, 0);
wait(2600);
 
set_val(XB1_B, 100);//#11
set_val(PS4_R2, 100);
wait(200);
set_val(XB1_B, 0);
set_val(PS4_R2, 0);
wait(2600);
 
set_val(XB1_B, 100);//#12
set_val(PS4_R2, 100);
wait(200);
set_val(XB1_B, 0);
set_val(PS4_R2, 0);
wait(2600);
 
set_val(XB1_B, 100);//#13
set_val(PS4_R2, 100);
wait(200);
set_val(XB1_B, 0);
set_val(PS4_R2, 0);
wait(2600);
 
set_val(XB1_B, 100);//#14
set_val(PS4_R2, 100);
wait(200);
onoff2=0;
tc=0;
}
 
combo back {
wait(8000);
set_val(XB1_Y, -100);
wait(800);
set_val(XB1_Y, 0);
wait(500);
set_val(XB1_UP, -50);
wait(300);
set_val(XB1_UP, 0);
wait(1500);
set_val(XB1_A, 100);
wait(1000);
set_val(XB1_A, 0);
wait(1000);
set_val(XB1_A, 100);
wait(1000);
set_val(XB1_A, 0);
wait (1000)
set_val(XB1_B, 100);
wait(300);
set_val(XB1_B, 0);
wait(1000);
set_val(XB1_B, 100);
wait(300);
set_val(XB1_B, 0);
wait(1000);
set_val(XB1_B, 100);
wait(300);
set_val(XB1_B, 0);
wait(1000);
set_val(XB1_B, 100);
wait(300);
set_val(XB1_B, 0);
wait(1000);
set_val(XB1_B, 100);
wait(300);
set_val(XB1_B, 0);
wait(300);
 
seconds = 0;
atk = 1
}
 
 
combo rumble_on{
wait(200);
set_rumble(RUMBLE_A, 50);
wait(300);
reset_rumble();
wait(500);
rs=0
}
 
combo rumble_off{
wait(200);
set_rumble(RUMBLE_B, 50);
wait(300);
set_rumble(RUMBLE_B, 0);
wait(300);
set_rumble(RUMBLE_B, 50);
wait(300);
set_rumble(RUMBLE_B, 0);
wait(500);
reset_rumble();
wait(500);
rs2=0
}