GPC SCRIPT LIBRARY

Clicker Heroes

My personal helper script for Clicker Heroes, it is enabled by pressing the X/Square button which turbo's X/Square constantly

If you press LS/L3 it'll also turbo A, B or Y when you press one of those
Version 1.01
Author Swizzy
Published Date 2017-03-17 01:38:08
Latest Date 2017-03-20 14:14:39
Downloads 331
VOTE NOW

1

0
Contact Author
Scripts by Author
RELEASE NOTES
Added support for Xbox One Elite controllers
Moved the toggle to be X/Square when not pressing LS/L3 and when it's not the PL2/P4 paddle on Xbox One Elite
Code:Select all
int enabled;
int btn;
main {
	if (event_press(XB1_X) && !get_val(XB1_PL2) && !get_val(XB1_LS))
		enabled = !enabled;
	if (enabled) {
		set_led(LED_1, 0);
		combo_run(TURBO_X);
	}
	else {
		set_led(LED_1, 1);
		combo_stop(TURBO_X);
	}
	if (enabled || get_val(XB1_PR1) || get_val(XB1_PR2) || get_val(XB1_PL1) || get_val(XB1_PL2)){
		if (get_val(XB1_PR1) || get_val(XB1_PR2) || get_val(XB1_PL1) || get_val(XB1_PL2)) {
			set_val(XB1_LS, 100);
		}
		if (get_val(XB1_LS)) {
			if (get_val(XB1_A)) {
				btn = XB1_A;
				combo_run(TURBO_BTN);
			}
			if (get_val(XB1_B)) {
				btn = XB1_B;
				combo_run(TURBO_BTN);
			}
			if (get_val(XB1_Y)) {
				btn = XB1_Y;
				combo_run(TURBO_BTN);
			}
			if (get_val(XB1_PL2)) {
				btn = XB1_X;
				combo_run(TURBO_BTN);
			}
		}
	}
}
combo TURBO_X {
	set_val(XB1_X, 100);
	wait(10);
	set_val(XB1_X, 0);
	wait(10);
}
combo TURBO_BTN {
	set_val(btn, 100);
	wait(10);
	set_val(btn, 0);
	wait(10);
}

Pin It on Pinterest

Share This