I need someone to make a script that does the following:
When space bar is being held down:
-Holds down "A" when the mouse is moving left
-Holds down "D" when the mouse is moving right
-Has a toggle button on/off set to F1
Thank you!
Strafe Script for CS:GO bhop and surf
Re: Strafe Script for CS:GO bhop and surf
Let me know if you want it to work in a different way or if you want to add something. F1 to toggle suspend and F2 to exit script. Good luck!
Code: Select all
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#MaxThreadsPerHotkey 2
Toggle := 0
$*Space::
MouseGetPos, X
Loop {
MouseGetPos, Xpos
If (Xpos < X) { ; if moved left
Send, {a down}
X := Xpos
}
else
Send, {a up}
If (Xpos > X) { ; if moved right
Send, {d down}
X := Xpos
}
else
Send, {d up}
If toggle
break
}
return
$*Space UP:: Toggle := !Toggle
F1:: Suspend, Toggle
F2:: ExitApp
I am your average ahk newbie. Just.. a tat more cute.
-
- Posts: 1
- Joined: 21 Feb 2023, 07:47
Re: Strafe Script for CS:GO bhop and surf
does anyone have a good working autostrafe because I can't find anything/anyone to help me with it:( So can you please help me to get autostrafe!
I would like autostrafe codes
I would like autostrafe codes
Re: Strafe Script for CS:GO bhop and surf
Nwb or anyone, can you let me know where exactly the code is to be placed. Thanks!