CSGO Strafe Script HD
You want the script? PS: Read the whole description! 1. Download AHK, http://www.autohotkey.com 2. Goto desktop and create a new textdocument 3. Paste the code in the document and click [save as] Name it Strafe.ahk and choose [All files] 4. Goto your newly created file and choose [run script] 5. Hold Mouse4 to strafe! Update: Sideways, Backwards, Gstrafe, Bhop ---------------------------------------------------------------------------------------------------------------- --- Standard ---------------------------------------------------------------------------------------------------------------- #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. #NoEnv SendMode, Input SetBatchLines -1 CoordMode, Mouse, Screen mouseXY(x, y) { DllCall("mouse_event",uint,1,int,x,int,y,uint,0,int,0) } strafe(left) { moveCount := 25 sleepInterval := 2 relativeMove := 28 if (left) { key := "d" move := relativeMove } else { key := "a" move := -relativeMove } send {%key% down} DllCall("Sleep", "UInt", 5) Loop, %moveCount% { mouseXY(move, -(move/4)) DllCall("Sleep", "UInt", sleepInterval) } send {%key% up} } $xbutton1:: while getkeystate("xbutton1","P") { strafe(true) strafe(false) } return ---------------------------------------------------------------------------------------------------------------- --- SideWays: ---------------------------------------------------------------------------------------------------------------- #NoEnv ; Cyka ; #Warn ; Blyat SendMode Input ; Idi SetWorkingDir %A_ScriptDir% ; Nahui #NoEnv SendMode, Input SetBatchLines -1 CoordMode, Mouse, Screen mouseXY(x, y){ DllCall("mouse_event",uint,1,int,x,int,y,uint,0,int,0) } strafe(left){ moveCount := 35 sleepInterval := 2 relativeMove := 15 if(left){ key := "w" move := -relativeMove } else { key := "s" move := relativeMove } Send, {Blind}{%key% down} DllCall("Sleep", "UInt", 5) Loop, %moveCount% { mouseXY(move, 0) DllCall("Sleep", "UInt", sleepInterval) } Send, {Blind}{%key% up} } *XButton1:: while getkeystate("XButton1","P") { strafe(false) strafe(true) } return --------------------------------------------------------------------------------------------------------------------- --- BackWards --------------------------------------------------------------------------------------------------------------------- #NoEnv ; Cyka ; #Warn ; Blyat SendMode Input ; Idi SetWorkingDir %A_ScriptDir% ; Nahui #NoEnv SendMode, Input SetBatchLines -1 CoordMode, Mouse, Screen mouseXY(x, y){ DllCall("mouse_event",uint,1,int,x,int,y,uint,0,int,0) } strafe(left){ moveCount := 35 sleepInterval := 2 relativeMove := 15 if(left){ key := "d" move := -relativeMove } else { key := "a" move := relativeMove } Send, {Blind}{%key% down} DllCall("Sleep",