Code: Select all
while GetKeyState("key", "P")
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.
#SingleInstance,Force
#InstallKeybdHook
#InstallMouseHook
window := "Warframe"
; modes
rapidMode := false
meleeMode := false
F12::Suspend
#if WinActive(window) and rapidMode
~$LButton::
SetTimer, rapidLabel, 50
Gosub, rapidLabel
return
~$LButton Up::
SetTimer, rapidLabel, Off
return
#if
#if WinActive(window) and meleeMode
~$e::
SetTimer, meleeLabel, 50
Gosub, meleeLabel
return
~$e Up::
SetTimer, meleeLabel, Off
#if
#if WinActive(window)
F1::
rapidMode := !rapidMode
return
F2::
meleeMode := !meleeMode
return
~$XButton1::
Send, {w Down}
SetTimer, slideLabel, 250
Gosub, slideLabel
return
~$XButton1 Up::
SetTimer, slideLabel, Off
if (!GetKeyState("w", "p")) {
Send, {w Up}
}
return
~$XButton2::
Send, {w Down}
SetTimer, bulletLabel, 100
Gosub, bulletLabel
return
~$XButton2 Up::
SetTimer, bulletLabel, Off
if (!GetKeyState("w", "p")) {
Send, {w Up}
}
return
#if
rapidLabel:
Send, {Blind}}{Click}
return
meleeLabel:
Send, {Blind}e
return
slideLabel:
Send, ^e
return
bulletLabel:
Send, {LControl Down}
Sleep, 10
Send, {Space}
Send, {LControl Up}
return
Help me please. Also I noticed that just before rapid fire get's stuck, I loose control of my mouse for about 2 seconds, then it starts spamming Clicks endlessly