Создайте вайл AHK ,потом редактировать. Вот сам скрипт: (скопируй туда) Включать на Mouse4 #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 := 250 sleepInterval := 0.0001 relativeMove := 28 if (left) { key := "d" move := relativeMove } else { key := "a" move := -relativeMove } send {%key% down} DllCall("Sleep", "UInt", 20) Loop, %moveCount% { mouseXY(move, -(move/4)) DllCall("Sleep", "UInt", sleepInterval) } send {%key% up} } $xbutton1:: while getkeystate("xbutton1","P") { strafe(true) strafe(false) } return