Advertisement
Guest User

Untitled

a guest
Feb 21st, 2018
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. Minecraft AuotHotkey Script
  2.  
  3. Keybinds:
  4. ***Push once to toggle on, Push again to toggle off***
  5. Shift LMB = Hold Left Mouse Button
  6. Shift W = Auto Sprint
  7. Numpad Decimal/Delete = Auto Walk
  8. Shift RMB = Hold Right Mouse Button
  9. Shift Alt = Hold Crouch
  10.  
  11. End = Exit Script
  12.  
  13. Requirements:
  14. NumpadAdd is set to Sprint keybind, else change the "Send {NumpadAdd...}" command lines to your binding.
  15. Alt is set to the crouch command, else change the "Alt" to your keybind in the script.
  16. #ifWinActive Minecraft 1.7.10 command line
  17. -replace "Minecraft 1.7.10" with your window title ***can be found if you hover the taskbar icon when the game is loaded***
  18.  
  19.  
  20. Script
  21.  
  22. --------Copy/Paste below----------
  23.  
  24. #ifWinActive Minecraft 1.7.10
  25. global num1 := 0
  26. global num2 := 0
  27. global num3 := 0
  28. global num4 := 0
  29. global num5 := 0
  30.  
  31. End::ExitApp
  32.  
  33. *+LButton::
  34. if ( num1 == 0 ){
  35. num1 := 1
  36. Send {LButton Down}
  37. }
  38. else if ( num1 != 0 ){
  39. num1 := 0
  40. Send {LButton Up}
  41. }
  42. return
  43.  
  44. *+RButton::
  45. if ( num3 == 0 ){
  46. num3 := 1
  47. Send {RButton Down}
  48. }
  49. else if ( num3 != 0 ){
  50. num3 := 0
  51. Send {RButton Up}
  52. }
  53. return
  54.  
  55. *+W::
  56. if ( num2 == 0 ){
  57. num2 := 1
  58. Send {NumpadAdd Down}
  59. Send {w Down}
  60. }
  61. else if ( num2 != 0 ){
  62. num2 := 0
  63. Send {NumpadAdd Up}
  64. Send {w Up}
  65. }
  66. return
  67.  
  68. *NumpadDot::
  69. if ( num4 == 0 ){
  70. num4 := 1
  71. Send {w Down}
  72. }
  73. else if ( num4 != 0 ){
  74. num4 := 0
  75. Send {w Up}
  76. }
  77. return
  78.  
  79. *+Alt::
  80. if ( num5 == 0 ){
  81. num5 := 1
  82. Send {Alt Down}
  83. }
  84. else if ( num5 != 0 ){
  85. num5 := 0
  86. Send {Alt Up}
  87. }
  88. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement