Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HotKeySet("+{ESC}", "_Exit")
- $i = 0
- ControlSend("Garry's Mod", "", "", "`")
- Sleep(1000)
- ControlSend("Garry's Mod", "", "", "{NUMPADADD}")
- Sleep(1000)
- ControlSend("Garry's Mod", "", "", "attack")
- Sleep(1000)
- ControlSend("Garry's Mod", "", "", "{ENTER}")
- Sleep(1000)
- ControlSend("Garry's Mod", "", "", "{NUMPADADD}")
- Sleep(1000)
- ControlSend("Garry's Mod", "", "", "use")
- Sleep(1000)
- ControlSend("Garry's Mod", "", "", "{ENTER}")
- Sleep(1000)
- ControlSend("Garry's Mod", "", "", "`")
- While $i <= 20
- Sleep(780000)
- ControlSend("Garry's Mod", "", "", "2")
- Sleep(1000)
- ControlSend("Garry's Mod", "", "", "2")
- Sleep(1000)
- ControlClick("Garry's Mod", "", "")
- Sleep(1000)
- ControlClick("Garry's Mod", "", "","secondary")
- Sleep(1000)
- ControlSend("Garry's Mod", "", "", "1")
- Sleep(1000)
- ControlSend("Garry's Mod", "", "", "1")
- Sleep(1000)
- ControlSend("Garry's Mod", "", "", "1")
- Sleep(1000)
- ControlClick("Garry's Mod", "", "")
- Sleep(1000)
- ControlClick("Garry's Mod", "", "")
- $i = $i + 1
- WEnd
- Func _Exit()
- sleep(1)
- ControlSend("Garry's Mod", "", "", "`")
- sleep(1000)
- ControlSend("Garry's Mod", "", "", "-attack")
- Sleep(1000)
- ControlSend("Garry's Mod", "", "", "{ENTER}")
- Sleep(1000)
- ControlSend("Garry's Mod", "", "", "-use")
- sleep(1000)
- ControlSend("Garry's Mod", "", "", "{ENTER}")
- Sleep(1000)
- ControlSend("Garry's Mod", "", "", "`")
- Sleep(1000)
- MsgBox(0, "Goodbye", "Mining Bot will now exit")
- sleep(1000)
- Exit
- EndFunc ;==>_Exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement