Code: Select all
SprintToggle := 0
loop {
IfWinNotActive, Fortnite
{
if (SprintToggle) {
Send, {Shift Up}
SoundBeep, 1500, 200
SprintToggle := 0
}
}
Sleep, 1000
}
#IfWinActive Fortnite
Shift::
if (SprintToggle := !SprintToggle) {
Send, {Shift Down}
SoundBeep, 500, 200
} else {
Send, {Shift Up}
SoundBeep, 1000, 200
}
return