Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoEnv
- SendMode Input
- _auto := true
- ~shift::autofire()
- 9::_auto := ! _auto
- autofire()
- {
- global _auto
- if _auto
- {
- Loop
- {
- if GetKeyState("shift", "P")
- {
- Sleep 25
- SendInput {m}
- }
- else
- break
- } ;; loop
- } ;; if
- } ;; autofire()
- mouseXY(x,y)
- {
- DllCall("mouse_event",uint,1,int,x,int,y,uint,0,int,0)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement