Advertisement
Guest User

Here son

a guest
Feb 26th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.07 KB | None | 0 0
  1. ;Settings
  2. sens:=2
  3. zoomsens:=0.80
  4.  
  5. ;Key binds
  6. key_AK:="F7"
  7. key_M4A4:="F8"
  8. key_RCoff:="LAlt"
  9. key_Terminate:="Del"
  10. key_shoot:="LButton"
  11. key_zoom:="RButtont"
  12.  
  13. ;do not touch this if you don't know what are you doing
  14. modifier:=2.6/sens
  15. Hotkey, *~$Space, Off
  16. Hotkey, *~$MButton, Off
  17. Hotkey, *~$t, Off
  18.  
  19. ;Main program loop, don't break out of it
  20. loop {
  21. sleep 1
  22. ;Menu handling
  23. if GetKeyState(key_AK)
  24. {
  25. SoundPlay, %A_ScriptDir%\ak47.mp3
  26. ak:=true
  27. m4a1:=false
  28. m4a4:=false
  29. famas:=false
  30. galil:=false
  31. ump:=false
  32. aug:=false
  33. sg:=false
  34. }
  35.  
  36. if GetKeyState(key_M4A1)
  37. {
  38. SoundPlay, %A_ScriptDir%\m4a4.mp3
  39. m4a1:=true
  40. ak:=false
  41. m4a4:=false
  42. famas:=false
  43. galil:=false
  44. ump:=false
  45. aug:=false
  46. sg:=false
  47. }
  48.  
  49. if GetKeyState(key_M4A4)
  50. {
  51. SoundPlay, %A_ScriptDir%\m4a4.mp3
  52. m4a4:=true
  53. ak:=false
  54. m4a1:=false
  55. famas:=false
  56. galil:=false
  57. ump:=false
  58. aug:=false
  59. sg:=false
  60. }
  61.  
  62. if GetKeyState(key_Famas)
  63. {
  64. SoundPlay, %A_ScriptDir%\famas.mp3
  65. famas:=true
  66. ak:=false
  67. m4a1:=false
  68. m4a4:=false
  69. galil:=false
  70. ump:=false
  71. aug:=false
  72. sg:=false
  73. }
  74.  
  75. if GetKeyState(key_Galil)
  76. {
  77. SoundPlay, %A_ScriptDir%\galil.mp3
  78. galil:=true
  79. ak:=false
  80. m4a1:=false
  81. m4a4:=false
  82. famas:=false
  83. ump:=false
  84. aug:=false
  85. sg:=false
  86. }
  87.  
  88. if GetKeyState(key_Terminate)
  89. {
  90. SoundPlay, %A_ScriptDir%\offall.mp3
  91. sleep 2000
  92. ExitApp
  93. }
  94.  
  95. if GetKeyState(key_RCoff)
  96. {
  97. SoundPlay, %A_ScriptDir%\off.mp3
  98. ak:=false
  99. m4a1:=false
  100. m4a4:=false
  101. famas:=false
  102. galil:=false
  103. ump:=false
  104. aug:=false
  105. sg:=false
  106. }
  107.  
  108. if GetKeyState(key_UMP)
  109. {
  110. SoundPlay, %A_ScriptDir%\ump.mp3
  111. ump:=true
  112. ak:=false
  113. m4a1:=false
  114. m4a4:=false
  115. famas:=false
  116. galil:=false
  117. aug:=false
  118. sg:=false
  119. }
  120.  
  121. if GetKeyState(key_SG)
  122. {
  123. SoundPlay, %A_ScriptDir%\sg553.mp3
  124. sg:=true
  125. ump:=false
  126. ak:=false
  127. m4a1:=false
  128. m4a4:=false
  129. famas:=false
  130. galil:=false
  131. aug:=false
  132. }
  133.  
  134. if GetKeyState(key_AUG)
  135. {
  136. SoundPlay, %A_ScriptDir%\10.mp3
  137. aug:=true
  138. ump:=false
  139. ak:=false
  140. m4a1:=false
  141. m4a4:=false
  142. famas:=false
  143. galil:=false
  144. sg:=false
  145. }
  146.  
  147. ;NoRecoil
  148. if GetKeyState(key_shoot)
  149. {
  150. ;AK-47
  151. if ak
  152. {
  153. loop
  154. {
  155. DllCall("mouse_event", uint, 2, int, 0, int, 0, uint, 0, int, 0)
  156. sleep 50
  157. if !GetKeyState(key_shoot)
  158. {
  159. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  160. break
  161. }
  162. DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier, "UInt", 7*modifier)
  163. sleep 99
  164. if !GetKeyState(key_shoot)
  165. {
  166. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  167. break
  168. }
  169. DllCall("mouse_event", "UInt", 0x01, "UInt", 4*modifier, "UInt", 19*modifier)
  170. sleep 99
  171. if !GetKeyState(key_shoot)
  172. {
  173. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  174. break
  175. }
  176. DllCall("mouse_event", "UInt", 0x01, "UInt", -3*modifier, "UInt", 29*modifier)
  177. sleep 99
  178. if !GetKeyState(key_shoot)
  179. {
  180. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  181. break
  182. }
  183. DllCall("mouse_event", "UInt", 0x01, "UInt", -1*modifier, "UInt", 31*modifier)
  184. sleep 99
  185. if !GetKeyState(key_shoot)
  186. {
  187. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  188. break
  189. }
  190. DllCall("mouse_event", "UInt", 0x01, "UInt", 13*modifier, "UInt", 31*modifier)
  191. sleep 99
  192. if !GetKeyState(key_shoot)
  193. {
  194. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  195. break
  196. }
  197. DllCall("mouse_event", "UInt", 0x01, "UInt", 8*modifier, "UInt", 28*modifier)
  198. sleep 99
  199. if !GetKeyState(key_shoot)
  200. {
  201. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  202. break
  203. }
  204. DllCall("mouse_event", "UInt", 0x01, "UInt", 13*modifier, "UInt", 21*modifier)
  205. sleep 99
  206. if !GetKeyState(key_shoot)
  207. {
  208. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  209. break
  210. }
  211. DllCall("mouse_event", "UInt", 0x01, "UInt", -17*modifier, "UInt", 12*modifier)
  212. sleep 99
  213. if !GetKeyState(key_shoot)
  214. {
  215. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  216. break
  217. }
  218. DllCall("mouse_event", "UInt", 0x01, "UInt", -42*modifier, "UInt", -3*modifier)
  219. sleep 99
  220. if !GetKeyState(key_shoot)
  221. {
  222. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  223. break
  224. }
  225. DllCall("mouse_event", "UInt", 0x01, "UInt", -21*modifier, "UInt", 2*modifier)
  226. sleep 99
  227. if !GetKeyState(key_shoot)
  228. {
  229. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  230. break
  231. }
  232. DllCall("mouse_event", "UInt", 0x01, "UInt", 12*modifier, "UInt", 11*modifier)
  233. sleep 99
  234. if !GetKeyState(key_shoot)
  235. {
  236. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  237. break
  238. }
  239. DllCall("mouse_event", "UInt", 0x01, "UInt", -15*modifier, "UInt", 7*modifier)
  240. sleep 99
  241. if !GetKeyState(key_shoot)
  242. {
  243. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  244. break
  245. }
  246. DllCall("mouse_event", "UInt", 0x01, "UInt", -26*modifier, "UInt", -8*modifier)
  247. sleep 99
  248. if !GetKeyState(key_shoot)
  249. {
  250. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  251. break
  252. }
  253. DllCall("mouse_event", "UInt", 0x01, "UInt", -3*modifier, "UInt", 4*modifier)
  254. sleep 99
  255. if !GetKeyState(key_shoot)
  256. {
  257. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  258. break
  259. }
  260. DllCall("mouse_event", "UInt", 0x01, "UInt", 40*modifier, "UInt", 1*modifier)
  261. sleep 99
  262. if !GetKeyState(key_shoot)
  263. {
  264. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  265. break
  266. }
  267. DllCall("mouse_event", "UInt", 0x01, "UInt", 19*modifier, "UInt", 7*modifier)
  268. sleep 99
  269. if !GetKeyState(key_shoot)
  270. {
  271. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  272. break
  273. }
  274. DllCall("mouse_event", "UInt", 0x01, "UInt", 14*modifier, "UInt", 10*modifier)
  275. sleep 99
  276. if !GetKeyState(key_shoot)
  277. {
  278. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  279. break
  280. }
  281. DllCall("mouse_event", "UInt", 0x01, "UInt", 27*modifier, "UInt", 0*modifier)
  282. sleep 99
  283. if !GetKeyState(key_shoot)
  284. {
  285. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  286. break
  287. }
  288. DllCall("mouse_event", "UInt", 0x01, "UInt", 33*modifier, "UInt", -10*modifier)
  289. sleep 99
  290. if !GetKeyState(key_shoot)
  291. {
  292. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  293. break
  294. }
  295. DllCall("mouse_event", "UInt", 0x01, "UInt", -21*modifier, "UInt", -2*modifier)
  296. sleep 99
  297. if !GetKeyState(key_shoot)
  298. {
  299. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  300. break
  301. }
  302. DllCall("mouse_event", "UInt", 0x01, "UInt", 7*modifier, "UInt", 3*modifier)
  303. sleep 99
  304. if !GetKeyState(key_shoot)
  305. {
  306. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  307. break
  308. }
  309. DllCall("mouse_event", "UInt", 0x01, "UInt", -7*modifier, "UInt", 9*modifier)
  310. sleep 99
  311. if !GetKeyState(key_shoot)
  312. {
  313. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  314. break
  315. }
  316. DllCall("mouse_event", "UInt", 0x01, "UInt", -8*modifier, "UInt", 4*modifier)
  317. sleep 99
  318. if !GetKeyState(key_shoot)
  319. {
  320. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  321. break
  322. }
  323. DllCall("mouse_event", "UInt", 0x01, "UInt", 19*modifier, "UInt", -3*modifier)
  324. sleep 99
  325. if !GetKeyState(key_shoot)
  326. {
  327. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  328. break
  329. }
  330. DllCall("mouse_event", "UInt", 0x01, "UInt", 5*modifier, "UInt", 6*modifier)
  331. sleep 99
  332. if !GetKeyState(key_shoot)
  333. {
  334. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  335. break
  336. }
  337. DllCall("mouse_event", "UInt", 0x01, "UInt", -20*modifier, "UInt", -1*modifier)
  338. sleep 99
  339. if !GetKeyState(key_shoot)
  340. {
  341. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  342. break
  343. }
  344. DllCall("mouse_event", "UInt", 0x01, "UInt", -33*modifier, "UInt", -4*modifier)
  345. sleep 99
  346. if !GetKeyState(key_shoot)
  347. {
  348. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  349. break
  350. }
  351. DllCall("mouse_event", "UInt", 0x01, "UInt", -45*modifier, "UInt", -21*modifier)
  352. sleep 99
  353. if !GetKeyState(key_shoot)
  354. {
  355. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  356. break
  357. }
  358. DllCall("mouse_event", "UInt", 0x01, "UInt", -14*modifier, "UInt", 1*modifier)
  359. if !GetKeyState(key_shoot)
  360. {
  361. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  362. break
  363. }
  364. sleep 80
  365. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  366. sleep 1000
  367. if !GetKeyState(key_shoot)
  368. {
  369. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  370. break
  371. }
  372. }
  373. }
  374. ;M4A4
  375. else if m4a4
  376. {
  377. loop
  378. {
  379. DllCall("mouse_event", uint, 2, int, 0, int, 0, uint, 0, int, 0)
  380. sleep 15
  381. if !GetKeyState(key_shoot)
  382. {
  383. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  384. break
  385. }
  386. DllCall("mouse_event", "UInt", 0x01, "UInt", 2*modifier, "UInt", 7*modifier)
  387. sleep 88
  388. if !GetKeyState(key_shoot)
  389. {
  390. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  391. break
  392. }
  393. DllCall("mouse_event", "UInt", 0x01, "UInt", 0*modifier, "UInt", 9*modifier)
  394. sleep 87
  395. if !GetKeyState(key_shoot)
  396. {
  397. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  398. break
  399. }
  400. DllCall("mouse_event", "UInt", 0x01, "UInt", -6*modifier, "UInt", 16*modifier)
  401. sleep 87
  402. if !GetKeyState(key_shoot)
  403. {
  404. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  405. break
  406. }
  407. DllCall("mouse_event", "UInt", 0x01, "UInt", 7*modifier, "UInt", 21*modifier)
  408. sleep 87
  409. if !GetKeyState(key_shoot)
  410. {
  411. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  412. break
  413. }
  414. DllCall("mouse_event", "UInt", 0x01, "UInt", -9*modifier, "UInt", 23*modifier)
  415. sleep 87
  416. if !GetKeyState(key_shoot)
  417. {
  418. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  419. break
  420. }
  421. DllCall("mouse_event", "UInt", 0x01, "UInt", -5*modifier, "UInt", 27*modifier)
  422. sleep 87
  423. if !GetKeyState(key_shoot)
  424. {
  425. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  426. break
  427. }
  428. DllCall("mouse_event", "UInt", 0x01, "UInt", 16*modifier, "UInt", 15*modifier)
  429. sleep 88
  430. if !GetKeyState(key_shoot)
  431. {
  432. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  433. break
  434. }
  435. DllCall("mouse_event", "UInt", 0x01, "UInt", 11*modifier, "UInt", 13*modifier)
  436. sleep 88
  437. if !GetKeyState(key_shoot)
  438. {
  439. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  440. break
  441. }
  442. DllCall("mouse_event", "UInt", 0x01, "UInt", 22*modifier, "UInt", 5*modifier)
  443. sleep 88
  444. if !GetKeyState(key_shoot)
  445. {
  446. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  447. break
  448. }
  449. DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier, "UInt", 11*modifier)
  450. sleep 88
  451. if !GetKeyState(key_shoot)
  452. {
  453. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  454. break
  455. }
  456. DllCall("mouse_event", "UInt", 0x01, "UInt", -18*modifier, "UInt", 6*modifier)
  457. sleep 88
  458. if !GetKeyState(key_shoot)
  459. {
  460. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  461. break
  462. }
  463. DllCall("mouse_event", "UInt", 0x01, "UInt", -30*modifier, "UInt", -4*modifier)
  464. sleep 88
  465. if !GetKeyState(key_shoot)
  466. {
  467. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  468. break
  469. }
  470. DllCall("mouse_event", "UInt", 0x01, "UInt", -24*modifier, "UInt", 0*modifier)
  471. sleep 88
  472. if !GetKeyState(key_shoot)
  473. {
  474. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  475. break
  476. }
  477. DllCall("mouse_event", "UInt", 0x01, "UInt", -25*modifier, "UInt", -6*modifier)
  478. sleep 88
  479. if !GetKeyState(key_shoot)
  480. {
  481. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  482. break
  483. }
  484. DllCall("mouse_event", "UInt", 0x01, "UInt", 0*modifier, "UInt", 4*modifier)
  485. sleep 87
  486. if !GetKeyState(key_shoot)
  487. {
  488. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  489. break
  490. }
  491. DllCall("mouse_event", "UInt", 0x01, "UInt", 8*modifier, "UInt", 4*modifier)
  492. sleep 87
  493. if !GetKeyState(key_shoot)
  494. {
  495. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  496. break
  497. }
  498. DllCall("mouse_event", "UInt", 0x01, "UInt", -11*modifier, "UInt", 1*modifier)
  499. sleep 87
  500. if !GetKeyState(key_shoot)
  501. {
  502. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  503. break
  504. }
  505. DllCall("mouse_event", "UInt", 0x01, "UInt", -13*modifier, "UInt", -2*modifier)
  506. sleep 87
  507. if !GetKeyState(key_shoot)
  508. {
  509. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  510. break
  511. }
  512. DllCall("mouse_event", "UInt", 0x01, "UInt", 2*modifier, "UInt", 2*modifier)
  513. sleep 88
  514. if !GetKeyState(key_shoot)
  515. {
  516. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  517. break
  518. }
  519. DllCall("mouse_event", "UInt", 0x01, "UInt", 33*modifier, "UInt", -1*modifier)
  520. sleep 88
  521. if !GetKeyState(key_shoot)
  522. {
  523. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  524. break
  525. }
  526. DllCall("mouse_event", "UInt", 0x01, "UInt", 10*modifier, "UInt", 6*modifier)
  527. sleep 88
  528. if !GetKeyState(key_shoot)
  529. {
  530. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  531. break
  532. }
  533. DllCall("mouse_event", "UInt", 0x01, "UInt", 27*modifier, "UInt", 3*modifier)
  534. sleep 88
  535. if !GetKeyState(key_shoot)
  536. {
  537. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  538. break
  539. }
  540. DllCall("mouse_event", "UInt", 0x01, "UInt", 10*modifier, "UInt", 2*modifier)
  541. sleep 88
  542. if !GetKeyState(key_shoot)
  543. {
  544. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  545. break
  546. }
  547. DllCall("mouse_event", "UInt", 0x01, "UInt", 11*modifier, "UInt", 0*modifier)
  548. sleep 88
  549. if !GetKeyState(key_shoot)
  550. {
  551. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  552. break
  553. }
  554. DllCall("mouse_event", "UInt", 0x01, "UInt", -12*modifier, "UInt", 0*modifier)
  555. sleep 87
  556. if !GetKeyState(key_shoot)
  557. {
  558. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  559. break
  560. }
  561. DllCall("mouse_event", "UInt", 0x01, "UInt", 6*modifier, "UInt", 5*modifier)
  562. sleep 87
  563. if !GetKeyState(key_shoot)
  564. {
  565. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  566. break
  567. }
  568. DllCall("mouse_event", "UInt", 0x01, "UInt", 4*modifier, "UInt", 5*modifier)
  569. sleep 87
  570. if !GetKeyState(key_shoot)
  571. {
  572. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  573. break
  574. }
  575. DllCall("mouse_event", "UInt", 0x01, "UInt", 3*modifier, "UInt", 1*modifier)
  576. sleep 87
  577. if !GetKeyState(key_shoot)
  578. {
  579. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  580. break
  581. }
  582. DllCall("mouse_event", "UInt", 0x01, "UInt", 4*modifier, "UInt", -1*modifier)
  583. if !GetKeyState(key_shoot)
  584. {
  585. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  586. break
  587. }
  588. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  589. sleep 1000
  590. if !GetKeyState(key_shoot)
  591. {
  592. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  593. break
  594. }
  595. }
  596. }
  597. ;Famas
  598. else if famas
  599. {
  600. loop
  601. {
  602. DllCall("mouse_event", uint, 2, int, 0, int, 0, uint, 0, int, 0)
  603. sleep 30
  604. if !GetKeyState(key_shoot)
  605. {
  606. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  607. break
  608. }
  609. DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier, "UInt", 5*modifier)
  610. sleep 88
  611. if !GetKeyState(key_shoot)
  612. {
  613. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  614. break
  615. }
  616. DllCall("mouse_event", "UInt", 0x01, "UInt", 1*modifier, "UInt", 4*modifier)
  617. sleep 88
  618. if !GetKeyState(key_shoot)
  619. {
  620. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  621. break
  622. }
  623. DllCall("mouse_event", "UInt", 0x01, "UInt", -6*modifier, "UInt", 10*modifier)
  624. sleep 88
  625. if !GetKeyState(key_shoot)
  626. {
  627. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  628. break
  629. }
  630. DllCall("mouse_event", "UInt", 0x01, "UInt", -1*modifier, "UInt", 17*modifier)
  631. sleep 88
  632. if !GetKeyState(key_shoot)
  633. {
  634. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  635. break
  636. }
  637. DllCall("mouse_event", "UInt", 0x01, "UInt", 0*modifier, "UInt", 20*modifier)
  638. sleep 88
  639. if !GetKeyState(key_shoot)
  640. {
  641. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  642. break
  643. }
  644. DllCall("mouse_event", "UInt", 0x01, "UInt", 14*modifier, "UInt", 18*modifier)
  645. sleep 88
  646. if !GetKeyState(key_shoot)
  647. {
  648. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  649. break
  650. }
  651. DllCall("mouse_event", "UInt", 0x01, "UInt", 16*modifier, "UInt", 12*modifier)
  652. sleep 88
  653. if !GetKeyState(key_shoot)
  654. {
  655. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  656. break
  657. }
  658. DllCall("mouse_event", "UInt", 0x01, "UInt", -6*modifier, "UInt", 12*modifier)
  659. sleep 88
  660. if !GetKeyState(key_shoot)
  661. {
  662. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  663. break
  664. }
  665. DllCall("mouse_event", "UInt", 0x01, "UInt", -20*modifier, "UInt", 8*modifier)
  666. sleep 88
  667. if !GetKeyState(key_shoot)
  668. {
  669. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  670. break
  671. }
  672. DllCall("mouse_event", "UInt", 0x01, "UInt", -16*modifier, "UInt", 5*modifier)
  673. sleep 88
  674. if !GetKeyState(key_shoot)
  675. {
  676. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  677. break
  678. }
  679. DllCall("mouse_event", "UInt", 0x01, "UInt", -13*modifier, "UInt", 2*modifier)
  680. sleep 88
  681. if !GetKeyState(key_shoot)
  682. {
  683. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  684. break
  685. }
  686. DllCall("mouse_event", "UInt", 0x01, "UInt", 4*modifier, "UInt", 5*modifier)
  687. sleep 87
  688. if !GetKeyState(key_shoot)
  689. {
  690. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  691. break
  692. }
  693. DllCall("mouse_event", "UInt", 0x01, "UInt", 23*modifier, "UInt", 4*modifier)
  694. sleep 88
  695. if !GetKeyState(key_shoot)
  696. {
  697. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  698. break
  699. }
  700. DllCall("mouse_event", "UInt", 0x01, "UInt", 12*modifier, "UInt", 6*modifier)
  701. sleep 88
  702. if !GetKeyState(key_shoot)
  703. {
  704. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  705. break
  706. }
  707. DllCall("mouse_event", "UInt", 0x01, "UInt", 20*modifier, "UInt", -3*modifier)
  708. sleep 88
  709. if !GetKeyState(key_shoot)
  710. {
  711. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  712. break
  713. }
  714. DllCall("mouse_event", "UInt", 0x01, "UInt", 5*modifier, "UInt", 0*modifier)
  715. sleep 88
  716. if !GetKeyState(key_shoot)
  717. {
  718. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  719. break
  720. }
  721. DllCall("mouse_event", "UInt", 0x01, "UInt", 15*modifier, "UInt", 0*modifier)
  722. sleep 88
  723. if !GetKeyState(key_shoot)
  724. {
  725. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  726. break
  727. }
  728. DllCall("mouse_event", "UInt", 0x01, "UInt", 3*modifier, "UInt", 5*modifier)
  729. sleep 80
  730. if !GetKeyState(key_shoot)
  731. {
  732. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  733. break
  734. }
  735. DllCall("mouse_event", "UInt", 0x01, "UInt", -4*modifier, "UInt", 3*modifier)
  736. sleep 88
  737. if !GetKeyState(key_shoot)
  738. {
  739. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  740. break
  741. }
  742. DllCall("mouse_event", "UInt", 0x01, "UInt", -25*modifier, "UInt", -1*modifier)
  743. sleep 80
  744. if !GetKeyState(key_shoot)
  745. {
  746. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  747. break
  748. }
  749. DllCall("mouse_event", "UInt", 0x01, "UInt", -3*modifier, "UInt", 2*modifier)
  750. sleep 84
  751. if !GetKeyState(key_shoot)
  752. {
  753. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  754. break
  755. }
  756. DllCall("mouse_event", "UInt", 0x01, "UInt", 11*modifier, "UInt", 0*modifier)
  757. sleep 80
  758. if !GetKeyState(key_shoot)
  759. {
  760. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  761. break
  762. }
  763. DllCall("mouse_event", "UInt", 0x01, "UInt", 15*modifier, "UInt", -7*modifier)
  764. sleep 88
  765. if !GetKeyState(key_shoot)
  766. {
  767. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  768. break
  769. }
  770. DllCall("mouse_event", "UInt", 0x01, "UInt", 15*modifier, "UInt", -10*modifier)
  771. sleep 88
  772. if !GetKeyState(key_shoot)
  773. {
  774. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  775. break
  776. }
  777. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  778. sleep 1000
  779. if !GetKeyState(key_shoot)
  780. {
  781. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, 0, int, 0)
  782. break
  783. }
  784. }
  785. }
  786. }
  787. }
  788.  
  789. ;Bhop
  790. ~F1::
  791. Hotkey, *~$Space, Toggle
  792. SoundPlay, %A_ScriptDir%\12.mp3
  793. return
  794. *~$Space::
  795. sleep 5
  796. loop
  797. {
  798. GetKeyState, SpaceState, Space, P
  799. if Spacestate = U
  800. break
  801. sleep 1
  802. Send, {Blind}{Space}
  803. }
  804. return
  805.  
  806. ;Rapid fire
  807. ~::
  808. Hotkey, *~$MButton, Toggle
  809. SoundPlay, %A_ScriptDir%\13.mp3
  810. return
  811. *~$MButton::
  812. sleep 10
  813. loop
  814. {
  815. GetKeyState, state, MButton
  816. if state = U
  817. break
  818. Sleep 1
  819. Send, {Blind}{LButton}
  820. }
  821. return
  822.  
  823. ;180 Turnaround
  824. XButton2::
  825. Hotkey, *~$t, Toggle
  826. SoundPlay, %A_ScriptDir%\11.mp3
  827. return
  828. *~$t::
  829. DllCall("mouse_event", "UInt", 0x01, "UInt", 223*modifier, "UInt", 0)
  830. sleep 1
  831. DllCall("mouse_event", "UInt", 0x01, "UInt", 432*modifier, "UInt", 0)
  832. sleep 1
  833. DllCall("mouse_event", "UInt", 0x01, "UInt", 432*modifier, "UInt", 0)
  834. sleep 1
  835. DllCall("mouse_event", "UInt", 0x01, "UInt", 432*modifier, "UInt", 0)
  836. sleep 1
  837. DllCall("mouse_event", "UInt", 0x01, "UInt", 432*modifier, "UInt", 0)
  838. sleep 1
  839. DllCall("mouse_event", "UInt", 0x01, "UInt", 432*modifier, "UInt", 0)
  840. sleep 1
  841. DllCall("mouse_event", "UInt", 0x01, "UInt", 432*modifier, "UInt", 0)
  842. sleep 1
  843. DllCall("mouse_event", "UInt", 0x01, "UInt", 432*modifier, "UInt", 0)
  844. sleep 200
  845. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement