Trying to get left stick to move left and then right
Posted: Fri May 17, 2019 2:56 pm
I was hoping someone could help please, all im trying to get is my left analog stick move left and then right when i press A and not stop until i press A again, but at the moment it's moving right and then forwards and activates as soon as i load the profile on the titan stick.. Any help would be appreciated
This is what ive got so far
This is what ive got so far
- Code: Select all
//
// Anti afk script
//----------------------------------------
main {
if(get_ptime(XB1_A)) {
combo_run(AntiAFK);
}
}
combo AntiAFK {
set_val(XB1_LY, 100);
wait(100);
set_val(XB1_LY, 0);
wait(4000);
set_val(XB1_LY, 0);
wait (1000);
set_val(XB1_LY, -100);
wait(100);
set_val(XB1_LY, -0);
wait(4000);
set_val(XB1_LY, -0);
wait (1000);
}