Advertisement
Guest User

rust no recoil

a guest
Jan 27th, 2018
2,529
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.05 KB | None | 0 0
  1. sleep_duration = 32.5 --Play Around With This To Match Your Sensitivity (Default is 32.5)
  2. MaxBreak = 50
  3. TimeStamp = -MaxBreak-1 -- it's negative 2 seconds
  4. sens=0.6 -- This is your in game sens. USE 800 DPI (You might have to fine tune it by using decimal points like 0.35 or 1.05 and stuff)
  5. recoilbutton=4 --Changes the button of your ak recoil/recoil mode (Default is 4)
  6. m249button=7 --Changes the button for your m249 mode (Default is 7)
  7. scopebutton=8 --Changes the button for your scope mode (Default is 8)
  8. semiautobutton=9 --Changes the button for your semiauto mode (Default is 9)
  9.  
  10.  
  11. ak_recoil_coordsx = {
  12. { x = 0, y = 0 }, ---1
  13. { x = 0, y = 0 },
  14. { x = 0, y = 0 },
  15. { x = 0, y = 0 },
  16.  
  17. { x = 0, y = 0 }, ---2
  18. { x = 0, y = 0 },
  19. { x = 0, y = 0 },
  20. { x = 0, y = 0 },
  21.  
  22. { x = -1.665, y = 0 }, ---3
  23. { x = -1.665, y = 0 },
  24. { x = -1.665, y = 0 },
  25. { x = -1.665, y = 0 },
  26.  
  27. { x = -3.33, y = 0 }, ---4
  28. { x = -3.33, y = 0 },
  29. { x = -3.33, y = 0 },
  30. { x = -3.33, y = 0 },
  31.  
  32. { x = -3.33, y = 0 }, ---5
  33. { x = -3.33, y = 0 },
  34. { x = -3.33, y = 0 },
  35. { x = -3.33, y = 0 },
  36.  
  37. { x = -4.1625, y = 0 }, ---6
  38. { x = -4.1625, y = 0 },
  39. { x = -4.1625, y = 0 },
  40. { x = -4.1625, y = 0 },
  41.  
  42. { x = 3.33, y = 0 }, ---7
  43. { x = 3.33, y = 0 },
  44. { x = 3.33, y = 0 },
  45. { x = 3.33, y = 0 },
  46.  
  47. { x = 4.995, y = 0 }, ---8
  48. { x = 4.995, y = 0 },
  49. { x = 4.995, y = 0 },
  50. { x = 4.995, y = 0 },
  51.  
  52. { x = 4.995, y = 0 }, ---9
  53. { x = 4.995, y = 0 },
  54. { x = 4.995, y = 0 },
  55. { x = 4.995, y = 0 },
  56.  
  57. { x = 4.1625, y = 0 }, ---10
  58. { x = 4.1625, y = 0 },
  59. { x = 4.1625, y = 0 },
  60. { x = 4.1625, y = 0 },
  61.  
  62. { x = 4.1625, y = 0 }, ---11
  63. { x = 4.1625, y = 0 },
  64. { x = 4.1625, y = 0 },
  65. { x = 4.1625, y = 0 },
  66.  
  67. { x = 4.1625, y = 0 }, ---12
  68. { x = 4.1625, y = 0 },
  69. { x = 4.1625, y = 0 },
  70. { x = 4.1625, y = 0 },
  71.  
  72. { x = 4.1625, y = 0 }, ---13
  73. { x = 4.1625, y = 0 },
  74. { x = 4.1625, y = 0 },
  75. { x = 4.1625, y = 0 },
  76.  
  77. { x = 4.1625, y = 0 }, ---14
  78. { x = 4.1625, y = 0 },
  79. { x = 4.1625, y = 0 },
  80. { x = 4.1625, y = 0 },
  81.  
  82. { x = -4.995, y = 0 }, ---15
  83. { x = -4.995, y = 0 },
  84. { x = -4.995, y = 0 },
  85. { x = -4.995, y = 0 },
  86.  
  87. { x = -4.995, y = 0 }, ---16
  88. { x = -4.995, y = 0 },
  89. { x = -4.995, y = 0 },
  90. { x = -4.995, y = 0 },
  91.  
  92. { x = -4.995, y = 0 }, ---17
  93. { x = -4.995, y = 0 },
  94. { x = -4.995, y = 0 },
  95. { x = -4.995, y = 0 },
  96.  
  97. { x = -4.1625, y = 0 }, ---18
  98. { x = -4.1625, y = 0 },
  99. { x = -4.1625, y = 0 },
  100. { x = -4.1625, y = 0 },
  101.  
  102. { x = -4.1625, y = 0 }, ---19
  103. { x = -4.1625, y = 0 },
  104. { x = -4.1625, y = 0 },
  105. { x = -4.1625, y = 0 },
  106.  
  107. { x = -4.1625, y = 0 }, ---20
  108. { x = -4.1625, y = 0 },
  109. { x = -4.1625, y = 0 },
  110. { x = -4.1625, y = 0 },
  111.  
  112. { x = -4.1625, y = 0 }, ---21
  113. { x = -4.1625, y = 0 },
  114. { x = -4.1625, y = 0 },
  115. { x = -4.1625, y = 0 },
  116.  
  117. { x = -4.1625, y = 0 }, ---22
  118. { x = -4.1625, y = 0 },
  119. { x = -4.1625, y = 0 },
  120. { x = -4.1625, y = 0 },
  121.  
  122. { x = -4.1625, y = 0 }, ---23
  123. { x = -4.1625, y = 0 },
  124. { x = -4.1625, y = 0 },
  125. { x = -4.1625, y = 0 },
  126.  
  127. { x = -4.1625, y = 0 }, ---24
  128. { x = -4.1625, y = 0 },
  129. { x = -4.1625, y = 0 },
  130. { x = -4.1625, y = 0 },
  131.  
  132. { x = 4.995, y = 0 }, ----25
  133. { x = 4.995, y = 0 },
  134. { x = 4.995, y = 0 },
  135. { x = 4.995, y = 0 },
  136.  
  137. { x = 4.995, y = 0 }, ---26
  138. { x = 4.995, y = 0 },
  139. { x = 4.995, y = 0 },
  140. { x = 4.995, y = 0 },
  141.  
  142. { x = 4.995, y = 0 }, ---27
  143. { x = 4.995, y = 0 },
  144. { x = 4.995, y = 0 },
  145. { x = 4.995, y = 0 },
  146.  
  147. { x = 4.1625, y = 0 }, ----28
  148. { x = 4.1625, y = 0 },
  149. { x = 4.1625, y = 0 },
  150. { x = 4.1625, y = 0 },
  151.  
  152. { x = 4.1625, y = 0 }, ----29
  153. { x = 4.1625, y = 0 },
  154. { x = 4.1625, y = 0 },
  155. { x = 4.1625, y = 0 },
  156.  
  157. { x = 4.1625, y = 0 }, ----29
  158. { x = 4.1625, y = 0 },
  159. { x = 4.1625, y = 0 },
  160. { x = 4.1625, y = 0 },
  161.  
  162. { x = 4.1625, y = 0 }, ----29
  163. { x = 4.1625, y = 0 },
  164. { x = 4.1625, y = 0 },
  165. { x = 4.1625, y = 0 },
  166.  
  167. { x = 4.1625, y = 0 }, ----29
  168. { x = 4.1625, y = 0 },
  169. { x = 4.1625, y = 0 },
  170. { x = 4.1625, y = 0 },
  171.  
  172. }
  173.  
  174. ak_recoil_coordsy = {
  175. { x = 0, y = 6.66 }, ---1
  176. { x = 0, y = 6.66 },
  177. { x = 0, y = 6.66 },
  178. { x = 0, y = 6.66 },
  179.  
  180. { x = 0, y = 4.995 }, ---2
  181. { x = 0, y = 4.995 },
  182. { x = 0, y = 4.995 },
  183. { x = 0, y = 4.995 },
  184.  
  185. { x = 0, y = 4.995 }, ---3
  186. { x = 0, y = 4.995 },
  187. { x = 0, y = 4.995 },
  188. { x = 0, y = 4.995 },
  189.  
  190. { x = 0, y = 4.995 }, ---4
  191. { x = 0, y = 4.995 },
  192. { x = 0, y = 4.995 },
  193. { x = 0, y = 4.995 },
  194.  
  195. { x = 0, y = 2.664 }, ---5
  196. { x = 0, y = 2.664 },
  197. { x = 0, y = 2.664 },
  198. { x = 0, y = 2.664 },
  199.  
  200. { x = 0, y = 2.664 }, ---6
  201. { x = 0, y = 2.664 },
  202. { x = 0, y = 2.664 },
  203. { x = 0, y = 2.664 },
  204.  
  205. { x = 0, y = 2.664 }, ---7
  206. { x = 0, y = 2.664 },
  207. { x = 0, y = 2.664 },
  208. { x = 0, y = 2.664 },
  209.  
  210. { x = 0, y = 2.664 }, ---8
  211. { x = 0, y = 2.664 },
  212. { x = 0, y = 2.664 },
  213. { x = 0, y = 2.664 },
  214.  
  215. { x = 0, y = 2.664 }, ---9
  216. { x = 0, y = 2.664 },
  217. { x = 0, y = 2.664 },
  218. { x = 0, y = 2.664 },
  219.  
  220. { x = 0, y = 2.664 }, ---10
  221. { x = 0, y = 2.664 },
  222. { x = 0, y = 2.664 },
  223. { x = 0, y = 2.664 },
  224.  
  225. { x = 0, y = 2.8305 }, ---11
  226. { x = 0, y = 2.8305 },
  227. { x = 0, y = 2.8305 },
  228. { x = 0, y = 2.8305 },
  229.  
  230. { x = 0, y = 2.8305 }, ---12
  231. { x = 0, y = 2.8305 },
  232. { x = 0, y = 2.8305 },
  233. { x = 0, y = 2.8305 },
  234.  
  235. { x = 0, y = 2.8305 }, ---13
  236. { x = 0, y = 2.8305 },
  237. { x = 0, y = 2.8305 },
  238. { x = 0, y = 2.8305 },
  239.  
  240. { x = 0, y = 2.8305 }, ---14
  241. { x = 0, y = 2.8305 },
  242. { x = 0, y = 2.8305 },
  243. { x = 0, y = 2.8305 },
  244.  
  245. { x = 0, y = 2.8305 }, ---15
  246. { x = 0, y = 2.8305 },
  247. { x = 0, y = 2.8305 },
  248. { x = 0, y = 2.8305 },
  249.  
  250. { x = 0, y = 2.8305 }, ---16
  251. { x = 0, y = 2.8305 },
  252. { x = 0, y = 2.8305 },
  253. { x = 0, y = 2.8305 },
  254.  
  255. { x = 0, y = 2.8305 }, ---17
  256. { x = 0, y = 2.8305 },
  257. { x = 0, y = 2.8305 },
  258. { x = 0, y = 2.8305 },
  259.  
  260. { x = 0, y = 2.8305 }, ---18
  261. { x = 0, y = 2.8305 },
  262. { x = 0, y = 2.8305 },
  263. { x = 0, y = 2.8305 },
  264.  
  265. { x = 0, y = 2.8305 }, ---19
  266. { x = 0, y = 2.8305 },
  267. { x = 0, y = 2.8305 },
  268. { x = 0, y = 2.8305 },
  269.  
  270. { x = 0, y = 2.8305 }, ---20
  271. { x = 0, y = 2.8305 },
  272. { x = 0, y = 2.8305 },
  273. { x = 0, y = 2.8305 },
  274.  
  275. { x = 0, y = 2.8305 }, ---21
  276. { x = 0, y = 2.8305 },
  277. { x = 0, y = 2.8305 },
  278. { x = 0, y = 2.8305 },
  279.  
  280. { x = 0, y = 2.8305 }, ---22
  281. { x = 0, y = 2.8305 },
  282. { x = 0, y = 2.8305 },
  283. { x = 0, y = 2.8305 },
  284.  
  285. { x = 0, y = 2.8305 }, ---23
  286. { x = 0, y = 2.8305 },
  287. { x = 0, y = 2.8305 },
  288. { x = 0, y = 2.8305 },
  289.  
  290. { x = 0, y = 2.8305 }, ---24
  291. { x = 0, y = 2.8305 },
  292. { x = 0, y = 2.8305 },
  293. { x = 0, y = 2.8305 },
  294.  
  295. { x = 0, y = 2.664 }, ----25
  296. { x = 0, y = 2.664 },
  297. { x = 0, y = 2.664 },
  298. { x = 0, y = 2.664 },
  299.  
  300. { x = 0, y = 2.664 }, ---26
  301. { x = 0, y = 2.664 },
  302. { x = 0, y = 2.664 },
  303. { x = 0, y = 2.664 },
  304.  
  305. { x = 0, y = 2.664 }, ---27
  306. { x = 0, y = 2.664 },
  307. { x = 0, y = 2.664 },
  308. { x = 0, y = 2.664 },
  309.  
  310. { x = 0, y = 2.664 }, ----28
  311. { x = 0, y = 2.664 },
  312. { x = 0, y = 2.664 },
  313. { x = 0, y = 2.664 },
  314.  
  315. { x = 0, y = 2.664 }, ----29
  316. { x = 0, y = 2.664 },
  317. { x = 0, y = 2.664 },
  318. { x = 0, y = 2.664 },
  319.  
  320. { x = 0, y = 2.664 }, ----29
  321. { x = 0, y = 2.664 },
  322. { x = 0, y = 2.664 },
  323. { x = 0, y = 2.664 },
  324.  
  325. { x = 0, y = 2.664 }, ----29
  326. { x = 0, y = 2.664 },
  327. { x = 0, y = 2.664 },
  328. { x = 0, y = 2.664 },
  329.  
  330. { x = 0, y = 2.664 }, ----29
  331. { x = 0, y = 2.664 },
  332. { x = 0, y = 2.664 },
  333. { x = 0, y = 2.664 },
  334.  
  335. }
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342. scope_ak_recoil_coords = {
  343. { x = 0, y = 24 }, ---1
  344. { x = 0, y = 24 },
  345. { x = 0, y = 24 },
  346. { x = 0, y = 24 },
  347.  
  348. { x = -3, y = 21 }, ---2
  349. { x = -3, y = 21 },
  350. { x = -3, y = 21 },
  351. { x = -3, y = 21 },
  352.  
  353. { x = -3, y = 18 }, ---3
  354. { x = -6, y = 18 },
  355. { x = -3, y = 18 },
  356. { x = -6, y = 18 },
  357.  
  358. { x = -12, y = 18 }, ---4
  359. { x = -12, y = 18 },
  360. { x = -12, y = 18 },
  361. { x = -12, y = 18 },
  362.  
  363. { x = -18, y = 9.6 }, ---5
  364. { x = -18, y = 9.6 },
  365. { x = -18, y = 9.6 },
  366. { x = -18, y = 9.6 },
  367.  
  368. { x = -15, y = 9.6 }, ---6
  369. { x = -15, y = 9.6 },
  370. { x = -15, y = 9.6 },
  371. { x = -15, y = 9.6 },
  372.  
  373. { x = 12, y = 9.6 }, ---7
  374. { x = 12, y = 9.6 },
  375. { x = 12, y = 9.6 },
  376. { x = 12, y = 9.6 },
  377.  
  378. { x = 18, y = 9.6 }, ---8
  379. { x = 18, y = 9.6 },
  380. { x = 18, y = 9.6 },
  381. { x = 18, y = 9.6 },
  382.  
  383. { x = 18, y = 9.6 }, ---9
  384. { x = 18, y = 9.6 },
  385. { x = 18, y = 9.6 },
  386. { x = 18, y = 9.6 },
  387.  
  388. { x = 15, y = 9.6 }, ---3
  389. { x = 15, y = 9.6 },
  390. { x = 15, y = 9.6 },
  391. { x = 15, y = 9.6 },
  392.  
  393. { x = 15, y = 3.2 }, ---11
  394. { x = 15, y = 3.2 },
  395. { x = 15, y = 3.2 },
  396. { x = 15, y = 3.2 },
  397.  
  398. { x = 15, y = 3.2 }, ---12
  399. { x = 15, y = 3.2 },
  400. { x = 15, y = 3.2 },
  401. { x = 15, y = 3.2 },
  402.  
  403. { x = 15, y = 3.2 }, ---13
  404. { x = 15, y = 3.2 },
  405. { x = 15, y = 3.2 },
  406. { x = 15, y = 3.2 },
  407.  
  408. { x = 15, y = 3.2 }, ---14
  409. { x = 15, y = 3.2 },
  410. { x = 15, y = 3.2 },
  411. { x = 15, y = 3.2 },
  412.  
  413. { x = -18, y = 3.2 }, ---15
  414. { x = -18, y = 3.2 },
  415. { x = -18, y = 3.2 },
  416. { x = -18, y = 3.2 },
  417.  
  418. { x = -18, y = 3.2 }, ---16
  419. { x = -18, y = 3.2 },
  420. { x = -18, y = 3.2 },
  421. { x = -18, y = 3.2 },
  422.  
  423. { x = -18, y = 3.2 }, ---17
  424. { x = -18, y = 3.2 },
  425. { x = -18, y = 3.2 },
  426. { x = -18, y = 3.2 },
  427.  
  428. { x = -15, y = 3.2 }, ---18
  429. { x = -15, y = 3.2 },
  430. { x = -15, y = 3.2 },
  431. { x = -15, y = 3.2 },
  432.  
  433. { x = -15, y = 3.2 }, ---19
  434. { x = -15, y = 3.2 },
  435. { x = -15, y = 3.2 },
  436. { x = -15, y = 3.2 },
  437.  
  438. { x = -15, y = 3.2 }, ---6
  439. { x = -15, y = 3.2 },
  440. { x = -15, y = 3.2 },
  441. { x = -15, y = 3.2 },
  442.  
  443. { x = -15, y = 3.2 }, ---21
  444. { x = -15, y = 3.2 },
  445. { x = -15, y = 3.2 },
  446. { x = -15, y = 3.2 },
  447.  
  448. { x = -15, y = 3.2 }, ---22
  449. { x = -15, y = 3.2 },
  450. { x = -15, y = 3.2 },
  451. { x = -15, y = 3.2 },
  452.  
  453. { x = -15, y = 3.2 }, ---23
  454. { x = -15, y = 3.2 },
  455. { x = -15, y = 3.2 },
  456. { x = -15, y = 3.2 },
  457.  
  458. { x = -15, y = 3.2 }, ---24
  459. { x = -15, y = 3.2 },
  460. { x = -15, y = 3.2 },
  461. { x = -15, y = 3.2 },
  462.  
  463. { x = 18, y = 9.6 }, ----25
  464. { x = 18, y = 9.6 },
  465. { x = 18, y = 9.6 },
  466. { x = 18, y = 9.6 },
  467.  
  468. { x = 18, y = 9.6 }, ---26
  469. { x = 18, y = 9.6 },
  470. { x = 18, y = 9.6 },
  471. { x = 18, y = 9.6 },
  472.  
  473. { x = 18, y = 9.6 }, ---27
  474. { x = 18, y = 9.6 },
  475. { x = 18, y = 9.6 },
  476. { x = 18, y = 9.6 },
  477.  
  478. { x = 15, y = 9.6 }, ----28
  479. { x = 15, y = 9.6 },
  480. { x = 15, y = 9.6 },
  481. { x = 15, y = 9.6 },
  482.  
  483. { x = 15, y = 9.6 }, ----29
  484. { x = 15, y = 9.6 },
  485. { x = 15, y = 9.6 },
  486. { x = 15, y = 9.6 },
  487.  
  488. { x = 15, y = 9.6 }, ----29
  489. { x = 15, y = 9.6 },
  490. { x = 15, y = 9.6 },
  491. { x = 15, y = 9.6 },
  492.  
  493. { x = 15, y = 9.6 }, ----29
  494. { x = 15, y = 9.6 },
  495. { x = 15, y = 9.6 },
  496. { x = 15, y = 9.6 },
  497.  
  498. { x = 15, y = 9.6 }, ----29
  499. { x = 15, y = 9.6 },
  500. { x = 15, y = 9.6 },
  501. { x = 15, y = 9.6 },
  502.  
  503. }
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511. recoil_count = # ak_recoil_coordsx
  512. LastIndex = 1
  513. function OnEvent(event, arg, family)
  514. OutputLogMessage("event = %s, arg = %d\n", event, arg)
  515. if (event == "PROFILE_ACTIVATED") then
  516. EnablePrimaryMouseButtonEvents(true)
  517. elseif event == "PROFILE_DEACTIVATED" then
  518. ReleaseMouseButton(2) -- to prevent it from being stuck on
  519. end
  520. if (event == "MOUSE_BUTTON_PRESSED" and arg == recoilbutton) then
  521. m249=false
  522. scope=false
  523. recoil=false
  524. stand=false
  525. auto = not auto
  526. spot = not spot
  527. end
  528.  
  529. if (event == "MOUSE_BUTTON_PRESSED" and arg == m249button) then --change this for m249 mode
  530. m249 = not m249
  531. end
  532.  
  533. if (event == "MOUSE_BUTTON_PRESSED" and arg == scopebutton) then --Change this for the scopemode
  534. scope = not scope
  535. end
  536. ------------------------------
  537. if (event == "MOUSE_BUTTON_PRESSED" and arg == semiautobutton) then
  538. recoil = not recoil
  539. m249=false
  540. if (recoil == false) then
  541. OutputLogMessage("recoil turned OFF\n")
  542. else
  543. OutputLogMessage("recoil turned ON\n")
  544. end
  545. end
  546.  
  547. if (event == "MOUSE_BUTTON_PRESSED" and arg == 1 and recoil and shoot and auto) then
  548. click = 1
  549. Click()
  550. end
  551.  
  552. if (event == "M_RELEASED" and arg == 3) then
  553. Click()
  554. end
  555.  
  556. if (event == "MOUSE_BUTTON_RELEASED" and arg == 1) then
  557. Stopclick()
  558. end
  559.  
  560.  
  561.  
  562. function Click()
  563. if stand == false and m249==false and scope==false then
  564. PressAndReleaseMouseButton(1)
  565. Sleep (10)
  566. MoveMouseRelative(0, (6.66/sens))
  567. Sleep (10)
  568. elseif stand == true and m249==false and scope==false then
  569. PressAndReleaseMouseButton(1)
  570. Sleep (10)
  571. MoveMouseRelative(0, (3.33/sens))
  572. Sleep (10)
  573. elseif stand == false and m249==true and scope==false then
  574. PressAndReleaseMouseButton(1)
  575. Sleep (10)
  576. MoveMouseRelative(0, (2.331/sens))
  577. elseif stand == true and m249==true and scope==false then
  578. PressAndReleaseMouseButton(1)
  579. Sleep (10)
  580. MoveMouseRelative(0, (2.331/sens))
  581. elseif stand == true and m249==false and scope==true then
  582. PressAndReleaseMouseButton(1)
  583. Sleep (10)
  584. MoveMouseRelative(0, (2.331/sens))
  585. Sleep (10)
  586. elseif stand == false and m249==false and scope==true then
  587. PressAndReleaseMouseButton(1)
  588. Sleep (10)
  589. MoveMouseRelative(0, (4.662/sens))
  590. Sleep (10)
  591. end
  592. if click == 0 then
  593. Stopclick()
  594. elseif click == 1 then SetMKeyState(3)
  595. else Stopclick()
  596. end
  597. end
  598. function Stopclick()
  599. click = 0
  600. end
  601.  
  602. -----------
  603.  
  604.  
  605.  
  606. if event == "MOUSE_BUTTON_PRESSED" and arg == 6 and auto then
  607. stand = true
  608. elseif event == "MOUSE_BUTTON_RELEASED" and arg == 6 then
  609. stand = false
  610. end
  611.  
  612. if event == "MOUSE_BUTTON_PRESSED" and arg == 2 then
  613. shoot = true
  614. elseif event == "MOUSE_BUTTON_RELEASED" and arg == 2 then
  615. shoot = false
  616. end
  617. ---shoot
  618. if event == "MOUSE_BUTTON_PRESSED" and arg == 1 and auto then
  619. if shoot then
  620. repeat
  621. if stand == false and m249==false and scope==false and recoil==false then
  622. if (GetRunningTime() - TimeStamp < MaxBreak) and (LastIndex <= recoil_count) then
  623. i = LastIndex
  624. else
  625. i = 1
  626. end
  627. while i <= recoil_count do
  628. Sleep(sleep_duration)
  629. if not IsMouseButtonPressed(1) then
  630. LastIndex = i
  631. TimeStamp = GetRunningTime()
  632. break
  633. end
  634. MoveMouseRelative( (ak_recoil_coordsx[i].x/sens), (ak_recoil_coordsy[i].y/sens) )
  635. if not IsMouseButtonPressed(1) then break end
  636.  
  637. i = i + 1
  638. end
  639. elseif stand == true and m249==false and scope==false and recoil==false then
  640. if (GetRunningTime() - TimeStamp < MaxBreak) and (LastIndex <= recoil_count) then
  641. i = LastIndex
  642. else
  643. i = 1
  644. end
  645. while i <= recoil_count do
  646. Sleep(sleep_duration)
  647. if not IsMouseButtonPressed(1) then
  648. LastIndex = i
  649. TimeStamp = GetRunningTime()
  650. break
  651. end
  652. MoveMouseRelative( (ak_recoil_coordsx[i].x/sens), (ak_recoil_coordsy[i].y/sens) )
  653. if not IsMouseButtonPressed(1) then break end
  654.  
  655. i = i + 1
  656. end
  657. -------m249
  658. elseif stand == true and m249==true and scope==false and recoil==false then
  659. Sleep(11)
  660. MoveMouseRelative(0, (2.331/sens))
  661.  
  662.  
  663. elseif stand == false and m249==true and scope==false and recoil==false then
  664. Sleep(9.5)
  665. MoveMouseRelative(0, (3.9/sens))
  666.  
  667. -----m249
  668. ----scope
  669. elseif stand == true and m249==true and scope==true and recoil==false then
  670. Sleep(4.1)
  671. MoveMouseRelative(0, (3/sens))
  672.  
  673.  
  674. elseif stand == false and m249==true and scope==true and recoil==false then
  675. Sleep(5)
  676. MoveMouseRelative(0, (7.3/sens))
  677.  
  678. elseif stand == false and m249==false and scope==true and recoil==false then
  679. if (GetRunningTime() - TimeStamp < MaxBreak) and (LastIndex <= recoil_count) then
  680. i = LastIndex
  681. else
  682. i = 1
  683. end
  684. while i <= recoil_count do
  685. Sleep(sleep_duration)
  686. if not IsMouseButtonPressed(1) then
  687. LastIndex = i
  688. TimeStamp = GetRunningTime()
  689. break
  690. end
  691. MoveMouseRelative( (scope_ak_recoil_coords[i].x/sens), (scope_ak_recoil_coords[i].y/sens) )
  692. if not IsMouseButtonPressed(1) then break end
  693.  
  694. i = i + 1
  695. end
  696.  
  697. elseif stand == true and m249==false and scope==true and recoil==false then
  698. if (GetRunningTime() - TimeStamp < MaxBreak) and (LastIndex <= recoil_count) then
  699. i = LastIndex
  700. else
  701. i = 1
  702. end
  703. while i <= recoil_count do
  704. Sleep(sleep_duration)
  705. if not IsMouseButtonPressed(1) then
  706. LastIndex = i
  707. TimeStamp = GetRunningTime()
  708. break
  709. end
  710. MoveMouseRelative( (scope_ak_recoil_coords[i].x/sens), (scope_ak_recoil_coords[i].y/sens) )
  711. if not IsMouseButtonPressed(1) then break end
  712.  
  713. i = i + 1
  714. end
  715.  
  716. end
  717. until not IsMouseButtonPressed(1)
  718. end
  719.  
  720.  
  721.  
  722.  
  723.  
  724. end
  725. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement