Skip to content

Instantly share code, notes, and snippets.

@kudorgyozo
Created March 16, 2024 18:28
Show Gist options
  • Save kudorgyozo/6cf2a1e5827f019b2b6271fea8af9cfa to your computer and use it in GitHub Desktop.
Save kudorgyozo/6cf2a1e5827f019b2b6271fea8af9cfa to your computer and use it in GitHub Desktop.
#Requires AutoHotkey v2.0
#SuspendExempt
^`::
{
if (A_IsSuspended) {
SoundBeep 392, 200
} else {
SoundBeep 261, 200
}
Suspend ; Ctrl+Alt+S
}
#SuspendExempt False
;when zombies grab you
f::
{
slp := 16
del := 16
while GetKeyState("f")
{
Send "{w down}"
sleep slp
Send "{w up}"
sleep del
Send "{a down}"
sleep slp
Send "{a up}"
sleep del
Send "{s down}"
sleep slp
Send "{s up}"
sleep del
Send "{d down}"
sleep slp
Send "{d up}"
sleep del
Send "{space down}"
sleep slp
Send "{space up}"
sleep del
Send "{shift down}"
sleep slp
Send "{shift up}"
sleep del
; Send "{home down}"
; sleep slp
; Send "{home up}"
; sleep del
; Send "{pgdn down}"
; sleep slp
; Send "{pgdn up}"
; sleep del
; Send "{end down}"
; sleep slp
; Send "{end up}"
; sleep del
}
}
; wasdwasdwasdwasdwasdwasdwasdwasd
; before zombies grab you
r::
{
slp := 16
del := 16
while GetKeyState("r")
{
Send "{home down}"
sleep slp
Send "{home up}"
sleep del
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment