Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.04 KB | None | 0 0
  1. #SingleInstance Force
  2. #MaxThreads, 999999
  3. #MaxThreadsPerHotkey, 99999
  4. SendMode Input
  5.  
  6. v := ComObjCreate("SAPI.SpVoice")
  7. v.Voice := v.GetVoices().Item( 0 ) ; talk voice
  8. v.rate := -1 ; Talk Speed
  9. v.volume := 100 ; Talk volume
  10.  
  11. Auto := False
  12. Rap := False
  13. Bun := False
  14.  
  15. Speed = 100
  16. Bullets = 3
  17. AimFast = 12
  18. AimSlow = 3
  19.  
  20. Tex0 = Its Now Running
  21. v.Speak(Tex0)
  22. return
  23.  
  24. Z & Tab:: ; Information about Hokeys and states of varibles
  25. Keyz = Hot keys,, Recoiler Capslock, AutoFire MButton,BurstShoot Shift + Left Mouse,Add Speed NumpadAdd,Remove Speed NumpadSub,Add Bullets Page up,Remove Bullets Page Down,Reset Burst Home,Bunny Hopping Control and Space,Mute Voice Down,Suspend Up, Exit RBBFR Control & Escape
  26.  
  27. Stat = Bullets %Bullets% Speed %Speed% Rapid Fire %Auto% Recoil %Rap% Bunny %Bun%
  28.  
  29. v.Speak(Keyz)
  30. v.Speak(Stat)
  31. return
  32.  
  33. ~LButton::
  34. Rapid() ; Rapid fire
  35. Recoil() ; No Recoil
  36. return
  37.  
  38. ~*space:: ; Bunny Hopping
  39. Bunny()
  40. return
  41.  
  42. CapsLock::
  43. Auto := ! Auto ; No Recoil
  44. Tex2 := "Recoil" ((Auto) ? ("On") : ("Off"))
  45. v.Speak(Tex2)
  46. return
  47.  
  48. MButton::
  49. Rap := ! Rap ; Rapid Fire
  50. Tex3 := "RapidFire" ((Rap) ? ("On") : ("Off"))
  51. v.Speak(Tex3)
  52. return
  53.  
  54. NumpadAdd:: ; Adds Speed to Burst
  55. Speed += 100
  56. Tex5 = Speed %Speed%
  57. v.Speak(Tex5)
  58. return
  59.  
  60. NumpadSub:: ; Remove/Minus speed to Burst
  61. Speed -= 100
  62. Tex5 = Speed %Speed%
  63. v.Speak(Tex5)
  64. return
  65.  
  66. PGUP:: ; Adds bullets to Burst
  67. Bullets += 1
  68. Tex4 = Bullets %Bullets%
  69. v.Speak(Tex4)
  70. return
  71.  
  72. PGDN:: ; Remove/Minus bullets to Burst
  73. Bullets -= 1
  74. Tex4 = Bullets %Bullets%
  75. v.Speak(Tex4)
  76. return
  77.  
  78. Home:: ; Resets Burst
  79. Bullets = 3
  80. Speed = 100
  81. Tex6 = Reseted
  82. v.Speak(Tex6)
  83. return
  84.  
  85. UP:: ; Suspend/Pause
  86. Suspend, Toggle
  87. Tex7 := "Suspended " ((Suspend) ? ("On") : ("Off"))
  88. v.Speak(Tex7)
  89. return
  90.  
  91. Down:: ; Mute Voice
  92. Voi = Muted
  93. v.Speak(Voi)
  94. v.volume := 0 ; talk volume
  95. return
  96.  
  97. Ctrl & Esc:: ; Exit Program
  98. Tex8 := Program Termenated
  99. v.Speak(Tex8)
  100. ExitApp
  101. return
  102.  
  103.  
  104. Ctrl & Space:: ; Bunny Hopping
  105. Bun := ! Bun
  106. Tex9 := "Bunny " ((Bun) ? ("On") : ("Off"))
  107. v.Speak(Tex9)
  108. return
  109.  
  110. *LAlt:: ; Steady Hand
  111. DllCall("SystemParametersInfo", UInt, 0x71, UInt, 0, UInt, AimSlow, UInt, 0)
  112. Loop
  113. {
  114. Sleep, 10
  115. GetKeyState, state, LAlt, P
  116. if state = U
  117. break
  118. }
  119. DllCall("SystemParametersInfo", UInt, 0x71, UInt, 0, UInt, AimFast, UInt, 0)
  120. return
  121.  
  122.  
  123. Recoil() ;Recoil
  124. {
  125. Global Auto
  126. IF Auto
  127. {
  128. Loop
  129. {
  130. IF GetKeyState("LButton", "P")
  131. {
  132. MouseXY(0,3)
  133. sleep 30
  134. }
  135. else
  136. break
  137. }
  138. }
  139. }
  140. return
  141.  
  142. mouseXY(x,y) ;Recoil
  143. {
  144. DllCall("mouse_event",uint,1,int,x,int,y,uint,0,int,0)
  145. }
  146. return
  147.  
  148.  
  149. Shift & LButton:: ; Burst fire
  150. {
  151. Loop, %Bullets%
  152. {
  153. sendinput, {LButton}
  154. sleep, %Speed%
  155. }
  156. keywait, LButton
  157. }
  158. return
  159.  
  160. Ctrl & LButton:: ; One Shoot
  161. {
  162. Send {LButton}
  163. KeyWait LButton
  164. }
  165. return
  166.  
  167. Rapid() ; RapidFire
  168. {
  169. Global Rap
  170. IF Rap
  171. {
  172. Loop
  173. {
  174. IF GetKeyState("LButton", "P")
  175. {
  176. sendinput, {LButton}
  177. }
  178. else
  179. break
  180. }
  181. }
  182. }
  183. return
  184.  
  185. Bunny() ; Bunny
  186. {
  187. Global Bun
  188. IF Bun
  189. Loop
  190. {
  191. GetKeyState,state,space,P
  192. IF state = U
  193. break
  194.  
  195. Send,{space}
  196. Sleep,20
  197.  
  198. }
  199. }
  200. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement