Autojump script Topic is solved

Ask gaming related questions (AHK v1.1 and older)
Jump3r0009

Autojump script

15 Sep 2017, 11:26

Hi, I am totally new in this and was looking to find a bunnyhop script for left 4 dead 2. I found the following script which allows me to autojump while holding the space bar. Any way, the only problem is that when I press the a and d keys to start strafing the autojump stops, any way to fix this? Thanks

Code: Select all

#Persistent
Toggle = 1
$Space::
if (Toggle = 1) {
Toggle = 0
send, {Space down}
}
else {
Toggle = 1
send, {Space up}
}
return
User avatar
Spawnova
Posts: 554
Joined: 08 Jul 2015, 00:12
Contact:

Re: Autojump script  Topic is solved

16 Sep 2017, 04:19

this may help

Code: Select all

$Space::
state := 0
while(GetKeyState("space","P")) { ;while physically holding space, send auto jumps
	state := !state ;invert state variable 0>1>0>1 etc
	if (state)
		send, {Space down}
	else
		send, {Space up}
	sleep 50 ;may need to lower/raise this number
}
return
Guest

Re: Autojump script

16 Sep 2017, 15:51

Spawnova wrote:this may help

Code: Select all

$Space::
state := 0
while(GetKeyState("space","P")) { ;while physically holding space, send auto jumps
	state := !state ;invert state variable 0>1>0>1 etc
	if (state)
		send, {Space down}
	else
		send, {Space up}
	sleep 50 ;may need to lower/raise this number
}
return
Hi, t hanks f or t he help, I tried this but the jumps are a bit delayed when strafing.

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 85 guests