Bhop script sticking on

Ask gaming related questions (AHK v1.1 and older)
A_COC0NUT
Posts: 1
Joined: 17 Jul 2018, 13:18

Bhop script sticking on

17 Jul 2018, 16:33

I've been having an issue with a bunny hopping script for half life 1. I have two different scripts (below) and both of them have the same issue across multiple different games were if I release the space bar right when I jump the script will stick on until I press the space bar again. I have searched for multiple days and can't find a fix. I DON'T run both scripts at once.

Script 1

F11:: Hotkey, *~$Space, Toggle

End::
ExitApp

*~$Space::
Loop
{
GetKeyState, SpaceState, Space, P

If SpaceState = U
{
Send, {Space}
Sleep, 100
break
}

Sleep, 1
Send, {Blind}{Space}
}
Return



Script 2

End::
ExitApp

F11:: Hotkey, *~$Space, Toggle


*~$Space::
time=1
SetTimer BHop, %time%
KeyWait, Space
time=Off
SetTimer BHop, %time%



BHop:
Send, {Blind}{Space}
Return

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 101 guests