0 of 0

File information

Last updated

Original upload

Created by

DeathWrench

Uploaded by

DeathWrench

Virus scan

Safe to use

Tags for this mod

About this mod

Autohotkey script I found on the internet to make sprinting like how most games are, for games that are only hold to sprint.

Permissions and credits
Original script found here: Keeping sprint (shift) pressed as long as any movement (wasd) is maintained. By Nextron.

Full code:
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
#SingleInstance, Force
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
*LShift::Send {Blind}{LShift down}
*LShift up::
*~w up::
*~a up::
*~s up::
*~d up::
    If GetKeyState("LShift") && !GetKeyState("w","p") && !GetKeyState("a","p") && !GetKeyState("s","p") && !GetKeyState("d","p") && !GetKeyState("LShift","p")
        Send {Blind}{LShift up}
Return

To use, just run the .ahk or .exe.

Shift is now a toggle until WASD (and shift) is let go. Like how most games are.