Skip to content

Instantly share code, notes, and snippets.

@arye321
Last active December 14, 2021 06:10
Show Gist options
  • Save arye321/7069face4f400f590ffc50b02a6e0bcd to your computer and use it in GitHub Desktop.
Save arye321/7069face4f400f590ffc50b02a6e0bcd to your computer and use it in GitHub Desktop.
Autohotkey Rust game autowalk
*XButton1::
GetKeyState, state, Shift
if (state = "D"){
send {w up}
send {shift up}
}
else{
send {w down}
send {shift down}
}
*XButton1:: ; (back mouse button) go to https://www.autohotkey.com/docs/KeyList.htm to change
GetKeyState, state, Shift
if (state = "D"){
send {w up}
send {shift up}
}
else{
send {w down}
send {shift down}
}
$^+c::
Send, ^{Insert}
return
*XButton1::
GetKeyState, state, LButton
if (state = "U"){
Click, Down
}
else{
Click, Up
}
#MaxThreadsPerHotkey 2
F11::
toggle:=!toggle
While toggle{
Send {Enter}
Sleep 3000
}
Return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment