Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. HotKeySet("+{ESC}", "_Exit")
  2.  
  3. $i = 0
  4.  
  5. ControlSend("Garry's Mod", "", "", "`")
  6. Sleep(1000)
  7. ControlSend("Garry's Mod", "", "", "{NUMPADADD}")
  8. Sleep(1000)
  9. ControlSend("Garry's Mod", "", "", "attack")
  10. Sleep(1000)
  11. ControlSend("Garry's Mod", "", "", "{ENTER}")
  12. Sleep(1000)
  13. ControlSend("Garry's Mod", "", "", "{NUMPADADD}")
  14. Sleep(1000)
  15. ControlSend("Garry's Mod", "", "", "use")
  16. Sleep(1000)
  17. ControlSend("Garry's Mod", "", "", "{ENTER}")
  18. Sleep(1000)
  19. ControlSend("Garry's Mod", "", "", "`")
  20.  
  21.  
  22. While $i <= 20
  23. Sleep(780000)
  24. ControlSend("Garry's Mod", "", "", "2")
  25. Sleep(1000)
  26. ControlSend("Garry's Mod", "", "", "2")
  27. Sleep(1000)
  28. ControlClick("Garry's Mod", "", "")
  29. Sleep(1000)
  30. ControlClick("Garry's Mod", "", "","secondary")
  31. Sleep(1000)
  32. ControlSend("Garry's Mod", "", "", "1")
  33. Sleep(1000)
  34. ControlSend("Garry's Mod", "", "", "1")
  35. Sleep(1000)
  36. ControlSend("Garry's Mod", "", "", "1")
  37. Sleep(1000)
  38. ControlClick("Garry's Mod", "", "")
  39. Sleep(1000)
  40. ControlClick("Garry's Mod", "", "")
  41. $i = $i + 1
  42. WEnd
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49. Func _Exit()
  50. sleep(1)
  51. ControlSend("Garry's Mod", "", "", "`")
  52. sleep(1000)
  53. ControlSend("Garry's Mod", "", "", "-attack")
  54. Sleep(1000)
  55. ControlSend("Garry's Mod", "", "", "{ENTER}")
  56. Sleep(1000)
  57. ControlSend("Garry's Mod", "", "", "-use")
  58. sleep(1000)
  59. ControlSend("Garry's Mod", "", "", "{ENTER}")
  60. Sleep(1000)
  61. ControlSend("Garry's Mod", "", "", "`")
  62. Sleep(1000)
  63. MsgBox(0, "Goodbye", "Mining Bot will now exit")
  64. sleep(1000)
  65. Exit
  66. EndFunc ;==>_Exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement