Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Global $Paused
- HotKeySet("{F2}", "togglestate")
- While 1
- triggerbot()
- Wend
- Func togglestate()
- $Paused = Not $Paused
- While $Paused
- Sleep(100)
- ToolTip('Triggerbot in standby', 0, 0)
- WEnd
- ToolTip("")
- EndFunc
- Func triggerbot()
- Local $coord = PixelSearch(MiddleX, MiddleY, MiddleX, MiddleY+60, 0xB9161F, 20)
- If Not @error Then
- MouseClick("Left")
- Sleep(40)
- ElseIf @error Then
- Sleep(1)
- EndIf
- EndFunc
Advertisement
Add Comment
Please, Sign In to add comment