Advertisement
billwa

Makarov PM

Oct 30th, 2015
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 71.30 KB | None | 0 0
  1. local makarov = Instance.new("Tool", game.Players.LocalPlayer.Backpack)
  2. makarov.GripPos = Vector3.new(0, -0.2, 0)
  3. makarov.Grip = CFrame.new(0, -0.2, 0)* CFrame.Angles(0, 0.39673733711243, -0)
  4. makarov.GripForward = Vector3.new(-0.386, 0, -0.922)
  5. makarov.Name = "Makarov"
  6. makarov.GripRight = Vector3.new(0.922, 0, -0.386)
  7. makarov.ToolTip = "9mm Russian Makrov, Rounds > 8"
  8.  
  9. local recoil = Instance.new("NumberValue", makarov)
  10. recoil.Name = "Recoil"
  11. recoil.Value = 12
  12.  
  13. local storedammo = Instance.new("NumberValue", makarov)
  14. storedammo.Name = "StoredAmmo"
  15. storedammo.Value = 250
  16.  
  17. local grip = Instance.new("Part", makarov)
  18. grip.FormFactor = Enum.FormFactor.Plate
  19. grip.CanCollide = false
  20. grip.TopSurface = Enum.SurfaceType.Smooth
  21. grip.Anchored = false
  22. grip.Size = Vector3.new(1, 0.4, 1)
  23. grip.Name = "Grip"
  24. grip.CFrame = CFrame.new(-17.08, 0.88, -204.12)* CFrame.Angles(-0, 1.5707963705063, 0)
  25. grip.BrickColor = BrickColor.new("Reddish brown")
  26. grip.Friction = 0.3
  27. grip.BottomSurface = Enum.SurfaceType.Smooth
  28.  
  29. local mesh = Instance.new("SpecialMesh", grip)
  30. mesh.Scale = Vector3.new(0.175, 0.39, 0.065)
  31. mesh.MeshType = Enum.MeshType.Wedge
  32.  
  33. local maxammo = Instance.new("NumberValue", makarov)
  34. maxammo.Name = "MaxAmmo"
  35. maxammo.Value = 8
  36.  
  37. local left = Instance.new("NumberValue", makarov)
  38. left.Name = "Left"
  39. left.Value = 15
  40.  
  41. local ammo = Instance.new("NumberValue", makarov)
  42. ammo.Name = "Ammo"
  43. ammo.Value = 7
  44.  
  45. local grip_2 = Instance.new("Part", makarov)
  46. grip_2.FormFactor = Enum.FormFactor.Plate
  47. grip_2.CanCollide = false
  48. grip_2.TopSurface = Enum.SurfaceType.Smooth
  49. grip_2.Anchored = false
  50. grip_2.Size = Vector3.new(1, 0.4, 1)
  51. grip_2.Name = "Grip"
  52. grip_2.CFrame = CFrame.new(-17.08, 0.891, -204.12)* CFrame.Angles(1.5707966089249, 1.3089653253555, 1.5707973241806)
  53. grip_2.BrickColor = BrickColor.new("Reddish brown")
  54. grip_2.Friction = 0.3
  55. grip_2.BottomSurface = Enum.SurfaceType.Smooth
  56.  
  57. local mesh_2 = Instance.new("SpecialMesh", grip_2)
  58. mesh_2.Scale = Vector3.new(0.179, 0.39, 0.065)
  59. mesh_2.MeshType = Enum.MeshType.Wedge
  60.  
  61. local grip_3 = Instance.new("Part", makarov)
  62. grip_3.FormFactor = Enum.FormFactor.Plate
  63. grip_3.CanCollide = false
  64. grip_3.TopSurface = Enum.SurfaceType.Smooth
  65. grip_3.Anchored = false
  66. grip_3.Size = Vector3.new(1, 0.4, 1)
  67. grip_3.Name = "Grip"
  68. grip_3.CFrame = CFrame.new(-17.145, 0.607, -204.12)* CFrame.Angles(1.5769547224045, 1.5678464174271, -1.5523964166641)
  69. grip_3.BrickColor = BrickColor.new("Reddish brown")
  70. grip_3.Friction = 0.3
  71. grip_3.BottomSurface = Enum.SurfaceType.Smooth
  72.  
  73. local mesh_3 = Instance.new("SpecialMesh", grip_3)
  74. mesh_3.Scale = Vector3.new(0.175, 0.975, 0.065)
  75. mesh_3.MeshType = Enum.MeshType.Wedge
  76.  
  77. local triggerguard = Instance.new("Part", makarov)
  78. triggerguard.FormFactor = Enum.FormFactor.Plate
  79. triggerguard.CanCollide = false
  80. triggerguard.TopSurface = Enum.SurfaceType.Smooth
  81. triggerguard.Anchored = false
  82. triggerguard.Size = Vector3.new(1, 0.4, 1)
  83. triggerguard.Name = "Triggerguard"
  84. triggerguard.CFrame = CFrame.new(-16.349, 0.872, -204.12)* CFrame.Angles(3.1415920257568, 3.2853188258741e-007, 1.6580749750137)
  85. triggerguard.BrickColor = BrickColor.new("Reddish brown")
  86. triggerguard.Friction = 0.3
  87. triggerguard.BottomSurface = Enum.SurfaceType.Smooth
  88.  
  89. local mesh_4 = Instance.new("BlockMesh", triggerguard)
  90. mesh_4.Scale = Vector3.new(0.065, 0.065, 0.137)
  91.  
  92. local triggerguard_2 = Instance.new("Part", makarov)
  93. triggerguard_2.FormFactor = Enum.FormFactor.Plate
  94. triggerguard_2.CanCollide = false
  95. triggerguard_2.TopSurface = Enum.SurfaceType.Smooth
  96. triggerguard_2.Anchored = false
  97. triggerguard_2.Size = Vector3.new(1, 0.4, 1)
  98. triggerguard_2.Name = "Triggerguard"
  99. triggerguard_2.CFrame = CFrame.new(-16.37, 0.989, -204.12)* CFrame.Angles(3.1415910720825, -1.6737851638027e-007, 1.3090076446533)
  100. triggerguard_2.BrickColor = BrickColor.new("Reddish brown")
  101. triggerguard_2.Friction = 0.3
  102. triggerguard_2.BottomSurface = Enum.SurfaceType.Smooth
  103.  
  104. local mesh_5 = Instance.new("BlockMesh", triggerguard_2)
  105. mesh_5.Scale = Vector3.new(0.195, 0.065, 0.137)
  106.  
  107. local triggerguard_3 = Instance.new("Part", makarov)
  108. triggerguard_3.FormFactor = Enum.FormFactor.Plate
  109. triggerguard_3.CanCollide = false
  110. triggerguard_3.TopSurface = Enum.SurfaceType.Smooth
  111. triggerguard_3.Anchored = false
  112. triggerguard_3.Size = Vector3.new(1, 0.4, 1)
  113. triggerguard_3.Name = "Triggerguard"
  114. triggerguard_3.CFrame = CFrame.new(-16.368, 0.821, -204.12)* CFrame.Angles(3.1415910720825, -9.772590914281e-008, 2.1816737651825)
  115. triggerguard_3.BrickColor = BrickColor.new("Reddish brown")
  116. triggerguard_3.Friction = 0.3
  117. triggerguard_3.BottomSurface = Enum.SurfaceType.Smooth
  118.  
  119. local mesh_6 = Instance.new("BlockMesh", triggerguard_3)
  120. mesh_6.Scale = Vector3.new(0.065, 0.065, 0.137)
  121.  
  122. local a22 = Instance.new("Part", makarov)
  123. a22.FormFactor = Enum.FormFactor.Plate
  124. a22.CanCollide = false
  125. a22.TopSurface = Enum.SurfaceType.Smooth
  126. a22.Anchored = false
  127. a22.Size = Vector3.new(1, 0.4, 1)
  128. a22.Name = "A22"
  129. a22.CFrame = CFrame.new(-16.36, 1.26, -204.152)* CFrame.Angles(3.1415910720825, -8.7946403937167e-007, 3.054322719574)
  130. a22.BrickColor = BrickColor.new("Dark stone grey")
  131. a22.Friction = 0.3
  132. a22.BottomSurface = Enum.SurfaceType.Smooth
  133.  
  134. local mesh_7 = Instance.new("BlockMesh", a22)
  135. mesh_7.Scale = Vector3.new(0.455, 0.325, 0.065)
  136.  
  137. local a24 = Instance.new("Part", makarov)
  138. a24.FormFactor = Enum.FormFactor.Plate
  139. a24.CanCollide = false
  140. a24.TopSurface = Enum.SurfaceType.Smooth
  141. a24.Anchored = false
  142. a24.Size = Vector3.new(1, 0.4, 1)
  143. a24.Name = "A24"
  144. a24.CFrame = CFrame.new(-16.357, 1.222, -204.065)* CFrame.Angles(2.8807406425476, 0.02255973033607, 3.0572826862335)
  145. a24.BrickColor = BrickColor.new("Dark stone grey")
  146. a24.Friction = 0.3
  147. a24.BottomSurface = Enum.SurfaceType.Smooth
  148.  
  149. local mesh_8 = Instance.new("BlockMesh", a24)
  150. mesh_8.Scale = Vector3.new(0.195, 0.13, 0.06)
  151.  
  152. local grip_4 = Instance.new("Part", makarov)
  153. grip_4.FormFactor = Enum.FormFactor.Plate
  154. grip_4.CanCollide = false
  155. grip_4.TopSurface = Enum.SurfaceType.Smooth
  156. grip_4.Anchored = false
  157. grip_4.Size = Vector3.new(1, 0.8, 1)
  158. grip_4.Name = "Grip"
  159. grip_4.CFrame = CFrame.new(-16.38, 1.043, -204.12)* CFrame.Angles(-1.5707963705063, -0.087269529700279, -1.5707966089249)
  160. grip_4.BrickColor = BrickColor.new("Reddish brown")
  161. grip_4.Friction = 0.3
  162. grip_4.BottomSurface = Enum.SurfaceType.Smooth
  163.  
  164. local mesh_9 = Instance.new("SpecialMesh", grip_4)
  165. mesh_9.Scale = Vector3.new(0.179, 0.942, 0.065)
  166. mesh_9.MeshType = Enum.MeshType.Wedge
  167.  
  168. local eject = Instance.new("Part", makarov)
  169. eject.FormFactor = Enum.FormFactor.Plate
  170. eject.CanCollide = false
  171. eject.TopSurface = Enum.SurfaceType.Smooth
  172. eject.Reflectance = 0.25
  173. eject.Anchored = false
  174. eject.Size = Vector3.new(1, 0.4, 1)
  175. eject.Name = "Eject"
  176. eject.CFrame = CFrame.new(-16.366, 1.246, -204.12)* CFrame.Angles(-1.5707964897156, -0.087269529700279, 1.5707961320877)
  177. eject.BrickColor = BrickColor.new("Mid gray")
  178. eject.Friction = 0.3
  179. eject.BottomSurface = Enum.SurfaceType.Smooth
  180.  
  181. local mesh_10 = Instance.new("CylinderMesh", eject)
  182. mesh_10.Scale = Vector3.new(0.143, 0.585, 0.143)
  183.  
  184. local triggerguard_4 = Instance.new("Part", makarov)
  185. triggerguard_4.FormFactor = Enum.FormFactor.Plate
  186. triggerguard_4.CanCollide = false
  187. triggerguard_4.TopSurface = Enum.SurfaceType.Smooth
  188. triggerguard_4.Anchored = false
  189. triggerguard_4.Size = Vector3.new(1, 0.4, 1)
  190. triggerguard_4.Name = "Triggerguard"
  191. triggerguard_4.CFrame = CFrame.new(-16.475, 0.782, -204.12)* CFrame.Angles(3.1415910720825, -9.6347650924145e-007, 2.9670572280884)
  192. triggerguard_4.BrickColor = BrickColor.new("Reddish brown")
  193. triggerguard_4.Friction = 0.3
  194. triggerguard_4.BottomSurface = Enum.SurfaceType.Smooth
  195.  
  196. local mesh_11 = Instance.new("BlockMesh", triggerguard_4)
  197. mesh_11.Scale = Vector3.new(0.195, 0.065, 0.137)
  198.  
  199. local triggerguard_5 = Instance.new("Part", makarov)
  200. triggerguard_5.FormFactor = Enum.FormFactor.Plate
  201. triggerguard_5.CanCollide = false
  202. triggerguard_5.TopSurface = Enum.SurfaceType.Smooth
  203. triggerguard_5.Anchored = false
  204. triggerguard_5.Size = Vector3.new(1, 0.4, 1)
  205. triggerguard_5.Name = "Triggerguard"
  206. triggerguard_5.CFrame = CFrame.new(-16.409, 1.042, -204.12)* CFrame.Angles(3.1415910720825, -1.735658798907e-007, 0.34906080365181)
  207. triggerguard_5.BrickColor = BrickColor.new("Reddish brown")
  208. triggerguard_5.Friction = 0.3
  209. triggerguard_5.BottomSurface = Enum.SurfaceType.Smooth
  210.  
  211. local mesh_12 = Instance.new("BlockMesh", triggerguard_5)
  212. mesh_12.Scale = Vector3.new(0.065, 0.065, 0.137)
  213.  
  214. local a17 = Instance.new("Part", makarov)
  215. a17.FormFactor = Enum.FormFactor.Plate
  216. a17.CanCollide = false
  217. a17.TopSurface = Enum.SurfaceType.Smooth
  218. a17.Anchored = false
  219. a17.Size = Vector3.new(1, 0.4, 1)
  220. a17.Name = "A17"
  221. a17.CFrame = CFrame.new(-16.514, 1.155, -204.12)* CFrame.Angles(3.1415910720825, -9.1612804453689e-007, 3.0543229579926)
  222. a17.BrickColor = BrickColor.new("Dark stone grey")
  223. a17.Friction = 0.3
  224. a17.BottomSurface = Enum.SurfaceType.Smooth
  225.  
  226. local mesh_13 = Instance.new("BlockMesh", a17)
  227. mesh_13.Scale = Vector3.new(1.04, 0.195, 0.179)
  228.  
  229. local a14 = Instance.new("Part", makarov)
  230. a14.FormFactor = Enum.FormFactor.Plate
  231. a14.CanCollide = false
  232. a14.TopSurface = Enum.SurfaceType.Smooth
  233. a14.Anchored = false
  234. a14.Size = Vector3.new(1, 0.4, 1)
  235. a14.Name = "A14"
  236. a14.CFrame = CFrame.new(-16.424, 1.241, -204.169)* CFrame.Angles(-2.8807435035706, -0.022561466321349, 3.0572824478149)
  237. a14.BrickColor = BrickColor.new("Dark stone grey")
  238. a14.Friction = 0.3
  239. a14.BottomSurface = Enum.SurfaceType.Smooth
  240.  
  241. local mesh_14 = Instance.new("BlockMesh", a14)
  242. mesh_14.Scale = Vector3.new(1.235, 0.26, 0.06)
  243.  
  244. local triggerguard_6 = Instance.new("Part", makarov)
  245. triggerguard_6.FormFactor = Enum.FormFactor.Plate
  246. triggerguard_6.CanCollide = false
  247. triggerguard_6.TopSurface = Enum.SurfaceType.Smooth
  248. triggerguard_6.Anchored = false
  249. triggerguard_6.Size = Vector3.new(1, 0.4, 1)
  250. triggerguard_6.Name = "Triggerguard"
  251. triggerguard_6.CFrame = CFrame.new(-16.631, 0.776, -204.12)* CFrame.Angles(3.1415910720825, -9.9727401448035e-007, -2.9670650959015)
  252. triggerguard_6.BrickColor = BrickColor.new("Reddish brown")
  253. triggerguard_6.Friction = 0.3
  254. triggerguard_6.BottomSurface = Enum.SurfaceType.Smooth
  255.  
  256. local mesh_15 = Instance.new("BlockMesh", triggerguard_6)
  257. mesh_15.Scale = Vector3.new(0.13, 0.065, 0.137)
  258.  
  259. local grip_5 = Instance.new("Part", makarov)
  260. grip_5.FormFactor = Enum.FormFactor.Plate
  261. grip_5.CanCollide = false
  262. grip_5.TopSurface = Enum.SurfaceType.Smooth
  263. grip_5.Anchored = false
  264. grip_5.Size = Vector3.new(1, 0.4, 1)
  265. grip_5.Name = "Grip"
  266. grip_5.CFrame = CFrame.new(-16.599, 1.082, -204.12)* CFrame.Angles(3.1415910720825, -9.0202456703992e-007, 3.054322719574)
  267. grip_5.BrickColor = BrickColor.new("Reddish brown")
  268. grip_5.Friction = 0.3
  269. grip_5.BottomSurface = Enum.SurfaceType.Smooth
  270.  
  271. local mesh_16 = Instance.new("BlockMesh", grip_5)
  272. mesh_16.Scale = Vector3.new(1.235, 0.13, 0.179)
  273.  
  274. local trigger = Instance.new("Part", makarov)
  275. trigger.FormFactor = Enum.FormFactor.Plate
  276. trigger.CanCollide = false
  277. trigger.TopSurface = Enum.SurfaceType.Smooth
  278. trigger.Anchored = false
  279. trigger.Size = Vector3.new(1, 0.4, 1)
  280. trigger.Name = "Trigger"
  281. trigger.CFrame = CFrame.new(-16.55, 1.047, -204.12)* CFrame.Angles(3.1415910720825, -8.8726432068142e-007, 1.5882642269135)
  282. trigger.BrickColor = BrickColor.new("Black")
  283. trigger.Friction = 0.3
  284. trigger.BottomSurface = Enum.SurfaceType.Smooth
  285.  
  286. local mesh_17 = Instance.new("BlockMesh", trigger)
  287. mesh_17.Scale = Vector3.new(0.195, 0.065, 0.045)
  288.  
  289. local trigger_2 = Instance.new("Part", makarov)
  290. trigger_2.FormFactor = Enum.FormFactor.Plate
  291. trigger_2.CanCollide = false
  292. trigger_2.TopSurface = Enum.SurfaceType.Smooth
  293. trigger_2.Anchored = false
  294. trigger_2.Size = Vector3.new(1, 0.4, 1)
  295. trigger_2.Name = "Trigger"
  296. trigger_2.CFrame = CFrame.new(-16.551, 0.943, -204.12)* CFrame.Angles(3.1415913105011, -2.989211793647e-007, 1.2217398881912)
  297. trigger_2.BrickColor = BrickColor.new("Black")
  298. trigger_2.Friction = 0.3
  299. trigger_2.BottomSurface = Enum.SurfaceType.Smooth
  300.  
  301. local mesh_18 = Instance.new("BlockMesh", trigger_2)
  302. mesh_18.Scale = Vector3.new(0.195, 0.065, 0.045)
  303.  
  304. local a4 = Instance.new("Part", makarov)
  305. a4.FormFactor = Enum.FormFactor.Plate
  306. a4.CanCollide = false
  307. a4.TopSurface = Enum.SurfaceType.Smooth
  308. a4.Anchored = false
  309. a4.Size = Vector3.new(1, 0.4, 1)
  310. a4.Name = "A4"
  311. a4.CFrame = CFrame.new(-16.036, 1.288, -204.12)* CFrame.Angles(3.1415910720825, -8.7946403937167e-007, 3.054322719574)
  312. a4.BrickColor = BrickColor.new("Dark stone grey")
  313. a4.Friction = 0.3
  314. a4.BottomSurface = Enum.SurfaceType.Smooth
  315.  
  316. local mesh_19 = Instance.new("BlockMesh", a4)
  317. mesh_19.Scale = Vector3.new(0.455, 0.325, 0.13)
  318.  
  319. local barrel1 = Instance.new("Part", makarov)
  320. barrel1.FormFactor = Enum.FormFactor.Plate
  321. barrel1.CanCollide = false
  322. barrel1.TopSurface = Enum.SurfaceType.Smooth
  323. barrel1.Anchored = false
  324. barrel1.Size = Vector3.new(1, 0.4, 1)
  325. barrel1.Name = "Barrel1"
  326. barrel1.CFrame = CFrame.new(-15.805, 1.325, -204.12)* CFrame.Angles(-1.5707963705063, -0.087269529700279, 1.5707961320877)
  327. barrel1.BrickColor = BrickColor.new("Dark stone grey")
  328. barrel1.Friction = 0.3
  329. barrel1.BottomSurface = Enum.SurfaceType.Smooth
  330.  
  331. local mesh_20 = Instance.new("CylinderMesh", barrel1)
  332. mesh_20.Offset = Vector3.new(0, 0.47, 0)
  333. mesh_20.Scale = Vector3.new(0.162, 2.4, 0.081)
  334.  
  335. local a23 = Instance.new("Part", makarov)
  336. a23.FormFactor = Enum.FormFactor.Plate
  337. a23.CanCollide = false
  338. a23.TopSurface = Enum.SurfaceType.Smooth
  339. a23.Anchored = false
  340. a23.Size = Vector3.new(1, 0.4, 1)
  341. a23.Name = "A23"
  342. a23.CFrame = CFrame.new(-16.035, 1.275, -204.072)* CFrame.Angles(2.8807406425476, 0.022559724748135, 3.0572819709778)
  343. a23.BrickColor = BrickColor.new("Dark stone grey")
  344. a23.Friction = 0.3
  345. a23.BottomSurface = Enum.SurfaceType.Smooth
  346.  
  347. local mesh_21 = Instance.new("BlockMesh", a23)
  348. mesh_21.Scale = Vector3.new(0.455, 0.26, 0.06)
  349.  
  350. local a18 = Instance.new("Part", makarov)
  351. a18.FormFactor = Enum.FormFactor.Plate
  352. a18.CanCollide = false
  353. a18.TopSurface = Enum.SurfaceType.Smooth
  354. a18.Anchored = false
  355. a18.Size = Vector3.new(1, 0.4, 1)
  356. a18.Name = "A18"
  357. a18.CFrame = CFrame.new(-15.938, 1.205, -204.12)* CFrame.Angles(3.1415910720825, -8.8324628677583e-007, 2.9845106601715)
  358. a18.BrickColor = BrickColor.new("Dark stone grey")
  359. a18.Friction = 0.3
  360. a18.BottomSurface = Enum.SurfaceType.Smooth
  361.  
  362. local mesh_22 = Instance.new("BlockMesh", a18)
  363. mesh_22.Scale = Vector3.new(0.13, 0.13, 0.179)
  364.  
  365. local a3 = Instance.new("Part", makarov)
  366. a3.FormFactor = Enum.FormFactor.Plate
  367. a3.CanCollide = false
  368. a3.TopSurface = Enum.SurfaceType.Smooth
  369. a3.Anchored = false
  370. a3.Size = Vector3.new(1, 0.4, 1)
  371. a3.Name = "A3"
  372. a3.CFrame = CFrame.new(-15.97, 1.196, -204.12)* CFrame.Angles(3.1415910720825, -9.0226507154512e-007, 2.7925274372101)
  373. a3.BrickColor = BrickColor.new("Dark stone grey")
  374. a3.Friction = 0.3
  375. a3.BottomSurface = Enum.SurfaceType.Smooth
  376.  
  377. local mesh_23 = Instance.new("BlockMesh", a3)
  378. mesh_23.Scale = Vector3.new(0.065, 0.13, 0.179)
  379.  
  380. local a19 = Instance.new("Part", makarov)
  381. a19.FormFactor = Enum.FormFactor.Plate
  382. a19.CanCollide = false
  383. a19.TopSurface = Enum.SurfaceType.Smooth
  384. a19.Anchored = false
  385. a19.Size = Vector3.new(1, 0.4, 1)
  386. a19.Name = "A19"
  387. a19.CFrame = CFrame.new(-15.934, 1.232, -204.12)* CFrame.Angles(3.1415910720825, -8.8643889739615e-007, 3.054322719574)
  388. a19.BrickColor = BrickColor.new("Dark stone grey")
  389. a19.Friction = 0.3
  390. a19.BottomSurface = Enum.SurfaceType.Smooth
  391.  
  392. local mesh_24 = Instance.new("BlockMesh", a19)
  393. mesh_24.Scale = Vector3.new(0.26, 0.065, 0.179)
  394.  
  395. local a16 = Instance.new("Part", makarov)
  396. a16.FormFactor = Enum.FormFactor.Plate
  397. a16.CanCollide = false
  398. a16.TopSurface = Enum.SurfaceType.Smooth
  399. a16.Anchored = false
  400. a16.Size = Vector3.new(1, 0.4, 1)
  401. a16.Name = "A16"
  402. a16.CFrame = CFrame.new(-15.835, 1.221, -204.12)* CFrame.Angles(3.1415910720825, -8.8115183416448e-007, 3.0543236732483)
  403. a16.BrickColor = BrickColor.new("Dark stone grey")
  404. a16.Friction = 0.3
  405. a16.BottomSurface = Enum.SurfaceType.Smooth
  406.  
  407. local mesh_25 = Instance.new("BlockMesh", a16)
  408. mesh_25.Scale = Vector3.new(0.065, 0.13, 0.179)
  409.  
  410. local barrel2 = Instance.new("Part", makarov)
  411. barrel2.FormFactor = Enum.FormFactor.Plate
  412. barrel2.CanCollide = false
  413. barrel2.TopSurface = Enum.SurfaceType.Smooth
  414. barrel2.Anchored = false
  415. barrel2.Size = Vector3.new(1, 0.4, 1)
  416. barrel2.Name = "Barrel2"
  417. barrel2.CFrame = CFrame.new(-15.812, 1.295, -204.12)* CFrame.Angles(-1.5707964897156, -0.08726954460144, 1.5707958936691)
  418. barrel2.BrickColor = BrickColor.new("Dark stone grey")
  419. barrel2.Friction = 0.3
  420. barrel2.BottomSurface = Enum.SurfaceType.Smooth
  421.  
  422. local mesh_26 = Instance.new("CylinderMesh", barrel2)
  423. mesh_26.Offset = Vector3.new(0, 0.2, 0)
  424. mesh_26.Scale = Vector3.new(0.143, 0.065, 0.143)
  425.  
  426. local frontsight = Instance.new("Part", makarov)
  427. frontsight.FormFactor = Enum.FormFactor.Plate
  428. frontsight.CanCollide = false
  429. frontsight.TopSurface = Enum.SurfaceType.Smooth
  430. frontsight.Anchored = false
  431. frontsight.Size = Vector3.new(1, 0.4, 1)
  432. frontsight.Name = "Frontsight"
  433. frontsight.CFrame = CFrame.new(-15.848, 1.37, -204.12)* CFrame.Angles(1.570796251297, -1.4834932088852, 5.1592091949715e-006)
  434. frontsight.BrickColor = BrickColor.new("Dark stone grey")
  435. frontsight.Friction = 0.3
  436. frontsight.BottomSurface = Enum.SurfaceType.Smooth
  437.  
  438. local mesh_27 = Instance.new("BlockMesh", frontsight)
  439. mesh_27.Scale = Vector3.new(0.065, 0.068, 0.049)
  440.  
  441. local barrelhole = Instance.new("Part", makarov)
  442. barrelhole.FormFactor = Enum.FormFactor.Plate
  443. barrelhole.CanCollide = false
  444. barrelhole.TopSurface = Enum.SurfaceType.Smooth
  445. barrelhole.Anchored = false
  446. barrelhole.Size = Vector3.new(1, 0.4, 1)
  447. barrelhole.Name = "Barrelhole"
  448. barrelhole.CFrame = CFrame.new(-15.804, 1.325, -204.12)* CFrame.Angles(-1.5707964897156, -0.087269462645054, 1.5707961320877)
  449. barrelhole.BrickColor = BrickColor.new("Really black")
  450. barrelhole.Friction = 0.3
  451. barrelhole.BottomSurface = Enum.SurfaceType.Smooth
  452.  
  453. local mesh_28 = Instance.new("CylinderMesh", barrelhole)
  454. mesh_28.Offset = Vector3.new(0, 0.082, 0)
  455. mesh_28.Scale = Vector3.new(0.13, 0.46, 0.065)
  456.  
  457. local a1 = Instance.new("Part", makarov)
  458. a1.FormFactor = Enum.FormFactor.Plate
  459. a1.CanCollide = false
  460. a1.TopSurface = Enum.SurfaceType.Smooth
  461. a1.Anchored = false
  462. a1.Size = Vector3.new(1, 0.4, 1)
  463. a1.Name = "A1"
  464. a1.CFrame = CFrame.new(-15.854, 1.219, -204.12)* CFrame.Angles(3.1415910720825, -8.9852187556971e-007, 2.9670579433441)
  465. a1.BrickColor = BrickColor.new("Dark stone grey")
  466. a1.Friction = 0.3
  467. a1.BottomSurface = Enum.SurfaceType.Smooth
  468.  
  469. local mesh_29 = Instance.new("BlockMesh", a1)
  470. mesh_29.Scale = Vector3.new(0.065, 0.13, 0.179)
  471.  
  472. local a15 = Instance.new("Part", makarov)
  473. a15.FormFactor = Enum.FormFactor.Plate
  474. a15.CanCollide = false
  475. a15.TopSurface = Enum.SurfaceType.Smooth
  476. a15.Anchored = false
  477. a15.Size = Vector3.new(1, 0.4, 1)
  478. a15.Name = "A15"
  479. a15.CFrame = CFrame.new(-16.635, 1.118, -204.12)* CFrame.Angles(3.1415910720825, -9.0202456703992e-007, 3.054322719574)
  480. a15.BrickColor = BrickColor.new("Dark stone grey")
  481. a15.Friction = 0.3
  482. a15.BottomSurface = Enum.SurfaceType.Smooth
  483.  
  484. local mesh_30 = Instance.new("BlockMesh", a15)
  485. mesh_30.Scale = Vector3.new(1.17, 0.065, 0.179)
  486.  
  487. local grip_6 = Instance.new("Part", makarov)
  488. grip_6.FormFactor = Enum.FormFactor.Plate
  489. grip_6.CanCollide = false
  490. grip_6.TopSurface = Enum.SurfaceType.Smooth
  491. grip_6.Anchored = false
  492. grip_6.Size = Vector3.new(1, 0.4, 1)
  493. grip_6.Name = "Grip"
  494. grip_6.CFrame = CFrame.new(-16.714, 0.743, -204.12)* CFrame.Angles(-1.570796251297, -1.4834651947021, 1.5707930326462)
  495. grip_6.BrickColor = BrickColor.new("Reddish brown")
  496. grip_6.Friction = 0.3
  497. grip_6.BottomSurface = Enum.SurfaceType.Smooth
  498.  
  499. local mesh_31 = Instance.new("SpecialMesh", grip_6)
  500. mesh_31.Scale = Vector3.new(0.175, 0.195, 0.065)
  501. mesh_31.MeshType = Enum.MeshType.Wedge
  502.  
  503. local grip_7 = Instance.new("Part", makarov)
  504. grip_7.FormFactor = Enum.FormFactor.Plate
  505. grip_7.CanCollide = false
  506. grip_7.TopSurface = Enum.SurfaceType.Smooth
  507. grip_7.Anchored = false
  508. grip_7.Size = Vector3.new(1, 0.4, 1)
  509. grip_7.Name = "Grip"
  510. grip_7.CFrame = CFrame.new(-16.717, 0.867, -204.12)* CFrame.Angles(3.1415910720825, -9.9703947853413e-007, 3.054322719574)
  511. grip_7.BrickColor = BrickColor.new("Reddish brown")
  512. grip_7.Friction = 0.3
  513. grip_7.BottomSurface = Enum.SurfaceType.Smooth
  514.  
  515. local mesh_32 = Instance.new("BlockMesh", grip_7)
  516. mesh_32.Scale = Vector3.new(0.065, 0.455, 0.175)
  517.  
  518. local triggerguard_7 = Instance.new("Part", makarov)
  519. triggerguard_7.FormFactor = Enum.FormFactor.Plate
  520. triggerguard_7.CanCollide = false
  521. triggerguard_7.TopSurface = Enum.SurfaceType.Smooth
  522. triggerguard_7.Anchored = false
  523. triggerguard_7.Size = Vector3.new(1, 0.4, 1)
  524. triggerguard_7.Name = "Triggerguard"
  525. triggerguard_7.CFrame = CFrame.new(-16.673, 0.802, -204.12)* CFrame.Angles(3.1415905952454, -1.2536895610538e-006, -2.3561995029449)
  526. triggerguard_7.BrickColor = BrickColor.new("Reddish brown")
  527. triggerguard_7.Friction = 0.3
  528. triggerguard_7.BottomSurface = Enum.SurfaceType.Smooth
  529.  
  530. local mesh_33 = Instance.new("BlockMesh", triggerguard_7)
  531. mesh_33.Scale = Vector3.new(0.065, 0.065, 0.137)
  532.  
  533. local triggerguard_8 = Instance.new("Part", makarov)
  534. triggerguard_8.FormFactor = Enum.FormFactor.Plate
  535. triggerguard_8.CanCollide = false
  536. triggerguard_8.TopSurface = Enum.SurfaceType.Smooth
  537. triggerguard_8.Anchored = false
  538. triggerguard_8.Size = Vector3.new(1, 0.4, 1)
  539. triggerguard_8.Name = "Triggerguard"
  540. triggerguard_8.CFrame = CFrame.new(-16.674, 0.984, -204.12)* CFrame.Angles(1.5707867145538, -1.5009245872498, -1.5708006620407)
  541. triggerguard_8.BrickColor = BrickColor.new("Reddish brown")
  542. triggerguard_8.Friction = 0.3
  543. triggerguard_8.BottomSurface = Enum.SurfaceType.Smooth
  544.  
  545. local mesh_34 = Instance.new("SpecialMesh", triggerguard_8)
  546. mesh_34.Scale = Vector3.new(0.175, 0.195, 0.065)
  547. mesh_34.MeshType = Enum.MeshType.Wedge
  548.  
  549. local a5 = Instance.new("Part", makarov)
  550. a5.FormFactor = Enum.FormFactor.Plate
  551. a5.CanCollide = false
  552. a5.TopSurface = Enum.SurfaceType.Smooth
  553. a5.Anchored = false
  554. a5.Size = Vector3.new(1, 0.4, 1)
  555. a5.Name = "A5"
  556. a5.CFrame = CFrame.new(-16.748, 1.213, -204.072)* CFrame.Angles(2.8807408809662, 0.022559700533748, 3.0572822093964)
  557. a5.BrickColor = BrickColor.new("Dark stone grey")
  558. a5.Friction = 0.3
  559. a5.BottomSurface = Enum.SurfaceType.Smooth
  560.  
  561. local mesh_35 = Instance.new("BlockMesh", a5)
  562. mesh_35.Scale = Vector3.new(0.585, 0.26, 0.06)
  563.  
  564. local a2 = Instance.new("Part", makarov)
  565. a2.FormFactor = Enum.FormFactor.Plate
  566. a2.CanCollide = false
  567. a2.TopSurface = Enum.SurfaceType.Smooth
  568. a2.Anchored = false
  569. a2.Size = Vector3.new(1, 0.4, 1)
  570. a2.Name = "A2"
  571. a2.CFrame = CFrame.new(-16.746, 1.2, -204.12)* CFrame.Angles(3.1415910720825, -8.7946403937167e-007, 3.054322719574)
  572. a2.BrickColor = BrickColor.new("Dark stone grey")
  573. a2.Friction = 0.3
  574. a2.BottomSurface = Enum.SurfaceType.Smooth
  575.  
  576. local mesh_36 = Instance.new("BlockMesh", a2)
  577. mesh_36.Scale = Vector3.new(0.585, 0.455, 0.13)
  578.  
  579. local grip_8 = Instance.new("Part", makarov)
  580. grip_8.FormFactor = Enum.FormFactor.Plate
  581. grip_8.CanCollide = false
  582. grip_8.TopSurface = Enum.SurfaceType.Smooth
  583. grip_8.Anchored = false
  584. grip_8.Size = Vector3.new(1, 0.4, 1)
  585. grip_8.Name = "Grip"
  586. grip_8.CFrame = CFrame.new(-16.755, 0.659, -204.12)* CFrame.Angles(-1.5646378993988, -1.5678464174271, 1.5523964166641)
  587. grip_8.BrickColor = BrickColor.new("Reddish brown")
  588. grip_8.Friction = 0.3
  589. grip_8.BottomSurface = Enum.SurfaceType.Smooth
  590.  
  591. local mesh_37 = Instance.new("SpecialMesh", grip_8)
  592. mesh_37.Scale = Vector3.new(0.175, 1.495, 0.065)
  593. mesh_37.MeshType = Enum.MeshType.Wedge
  594.  
  595. local grip_9 = Instance.new("Part", makarov)
  596. grip_9.FormFactor = Enum.FormFactor.Plate
  597. grip_9.CanCollide = false
  598. grip_9.TopSurface = Enum.SurfaceType.Smooth
  599. grip_9.Anchored = false
  600. grip_9.Size = Vector3.new(1, 0.4, 1)
  601. grip_9.Name = "Grip"
  602. grip_9.CFrame = CFrame.new(-16.788, 0.981, -204.12)* CFrame.Angles(3.1415910720825, -8.948618415161e-007, 3.1415884494781)
  603. grip_9.BrickColor = BrickColor.new("Reddish brown")
  604. grip_9.Friction = 0.3
  605. grip_9.BottomSurface = Enum.SurfaceType.Smooth
  606.  
  607. local mesh_38 = Instance.new("BlockMesh", grip_9)
  608. mesh_38.Scale = Vector3.new(0.065, 0.13, 0.175)
  609.  
  610. local grip_10 = Instance.new("Part", makarov)
  611. grip_10.FormFactor = Enum.FormFactor.Plate
  612. grip_10.CanCollide = false
  613. grip_10.TopSurface = Enum.SurfaceType.Smooth
  614. grip_10.Anchored = false
  615. grip_10.Size = Vector3.new(1, 0.4, 1)
  616. grip_10.Name = "Grip"
  617. grip_10.CFrame = CFrame.new(-16.728, 0.921, -204.12)* CFrame.Angles(3.1415910720825, -8.8927367869474e-007, 3.1415884494781)
  618. grip_10.BrickColor = BrickColor.new("Reddish brown")
  619. grip_10.Friction = 0.3
  620. grip_10.BottomSurface = Enum.SurfaceType.Smooth
  621.  
  622. local mesh_39 = Instance.new("BlockMesh", grip_10)
  623. mesh_39.Scale = Vector3.new(0.065, 0.455, 0.175)
  624.  
  625. local handle = Instance.new("Part", makarov)
  626. handle.FormFactor = Enum.FormFactor.Plate
  627. handle.CanCollide = false
  628. handle.Transparency = 1
  629. handle.TopSurface = Enum.SurfaceType.Smooth
  630. handle.Anchored = false
  631. handle.Size = Vector3.new(1, 0.8, 1)
  632. handle.Name = "Handle"
  633. handle.CFrame = CFrame.new(-16.874, 0.725, -204.12)* CFrame.Angles(1.5707968473434, -1.4834924936295, 1.5708001852036)
  634. handle.BrickColor = BrickColor.new("Dark stone grey")
  635. handle.Friction = 0.3
  636. handle.BottomSurface = Enum.SurfaceType.Smooth
  637.  
  638. local mesh_40 = Instance.new("BlockMesh", handle)
  639. mesh_40.Scale = Vector3.new(0.325, 0.975, 0.325)
  640.  
  641. local empty = Instance.new("Sound", handle)
  642. empty.Name = "Empty"
  643. empty.Volume = 1
  644. empty.SoundId = "rbxasset://sounds//clickfast.wav"
  645.  
  646. local fire = Instance.new("Sound", handle)
  647. fire.Pitch = 1.35
  648. fire.Name = "Fire"
  649. fire.Volume = 1
  650. fire.SoundId = "http://roblox.com/asset/?id=10209798"
  651.  
  652. local m1 = Instance.new("Sound", handle)
  653. m1.Pitch = 0.7
  654. m1.Name = "M1"
  655. m1.Volume = 1
  656. m1.SoundId = "http://roblox.com/asset/?id=10209834"
  657.  
  658. local m2 = Instance.new("Sound", handle)
  659. m2.Pitch = 1.3
  660. m2.Name = "M2"
  661. m2.Volume = 1
  662. m2.SoundId = "http://roblox.com/asset/?id=10209636"
  663.  
  664. local m3 = Instance.new("Sound", handle)
  665. m3.Pitch = 2
  666. m3.Name = "M3"
  667. m3.Volume = 1
  668. m3.SoundId = "http://www.roblox.com/asset/?id=25299064"
  669.  
  670. local m4 = Instance.new("Sound", handle)
  671. m4.Name = "M4"
  672. m4.Volume = 1
  673. m4.SoundId = "http://roblox.com/asset/?id=10209636"
  674.  
  675. local grip_11 = Instance.new("Part", makarov)
  676. grip_11.FormFactor = Enum.FormFactor.Plate
  677. grip_11.CanCollide = false
  678. grip_11.TopSurface = Enum.SurfaceType.Smooth
  679. grip_11.Anchored = false
  680. grip_11.Size = Vector3.new(1, 0.4, 1)
  681. grip_11.Name = "Grip"
  682. grip_11.CFrame = CFrame.new(-16.852, 0.984, -204.12)* CFrame.Angles(3.1415910720825, -8.948618415161e-007, 3.1415884494781)
  683. grip_11.BrickColor = BrickColor.new("Reddish brown")
  684. grip_11.Friction = 0.3
  685. grip_11.BottomSurface = Enum.SurfaceType.Smooth
  686.  
  687. local mesh_41 = Instance.new("BlockMesh", grip_11)
  688. mesh_41.Scale = Vector3.new(0.13, 0.13, 0.175)
  689.  
  690. local mag = Instance.new("Part", makarov)
  691. mag.FormFactor = Enum.FormFactor.Plate
  692. mag.CanCollide = false
  693. mag.TopSurface = Enum.SurfaceType.Smooth
  694. mag.Reflectance = 0.2
  695. mag.Anchored = false
  696. mag.Size = Vector3.new(1, 0.4, 1)
  697. mag.Name = "Mag"
  698. mag.CFrame = CFrame.new(-16.894, 0.287, -204.12)* CFrame.Angles(3.1415910720825, -1.9636820525193e-007, 3.1415884494781)
  699. mag.BrickColor = BrickColor.new("Dark stone grey")
  700. mag.Friction = 0.3
  701. mag.BottomSurface = Enum.SurfaceType.Smooth
  702.  
  703. local mesh_42 = Instance.new("BlockMesh", mag)
  704. mesh_42.Scale = Vector3.new(0.276, 0.052, 0.175)
  705.  
  706. local grip_12 = Instance.new("Part", makarov)
  707. grip_12.FormFactor = Enum.FormFactor.Plate
  708. grip_12.CanCollide = false
  709. grip_12.TopSurface = Enum.SurfaceType.Smooth
  710. grip_12.Anchored = false
  711. grip_12.Size = Vector3.new(1, 0.4, 1)
  712. grip_12.Name = "Grip"
  713. grip_12.CFrame = CFrame.new(-16.84, 1.018, -204.12)* CFrame.Angles(1.5707966089249, 1.5183380842209, -1.5707910060883)
  714. grip_12.BrickColor = BrickColor.new("Reddish brown")
  715. grip_12.Friction = 0.3
  716. grip_12.BottomSurface = Enum.SurfaceType.Smooth
  717.  
  718. local mesh_43 = Instance.new("SpecialMesh", grip_12)
  719. mesh_43.Scale = Vector3.new(0.175, 0.065, 0.13)
  720. mesh_43.MeshType = Enum.MeshType.Wedge
  721.  
  722. local grip_13 = Instance.new("Part", makarov)
  723. grip_13.FormFactor = Enum.FormFactor.Plate
  724. grip_13.CanCollide = false
  725. grip_13.TopSurface = Enum.SurfaceType.Smooth
  726. grip_13.Anchored = false
  727. grip_13.Size = Vector3.new(1, 0.4, 1)
  728. grip_13.Name = "Grip"
  729. grip_13.CFrame = CFrame.new(-16.894, 1.024, -204.12)* CFrame.Angles(3.1415905952454, -1.0161301133849e-006, -0.087269939482212)
  730. grip_13.BrickColor = BrickColor.new("Reddish brown")
  731. grip_13.Friction = 0.3
  732. grip_13.BottomSurface = Enum.SurfaceType.Smooth
  733.  
  734. local mesh_44 = Instance.new("BlockMesh", grip_13)
  735. mesh_44.Scale = Vector3.new(0.455, 0.13, 0.179)
  736.  
  737. local grip_14 = Instance.new("Part", makarov)
  738. grip_14.FormFactor = Enum.FormFactor.Plate
  739. grip_14.CanCollide = false
  740. grip_14.TopSurface = Enum.SurfaceType.Smooth
  741. grip_14.Anchored = false
  742. grip_14.Size = Vector3.new(1, 0.4, 1)
  743. grip_14.Name = "Grip"
  744. grip_14.CFrame = CFrame.new(-16.917, 0.989, -204.12)* CFrame.Angles(3.1415910720825, -9.0202456703992e-007, 3.054322719574)
  745. grip_14.BrickColor = BrickColor.new("Reddish brown")
  746. grip_14.Friction = 0.3
  747. grip_14.BottomSurface = Enum.SurfaceType.Smooth
  748.  
  749. local mesh_45 = Instance.new("BlockMesh", grip_14)
  750. mesh_45.Scale = Vector3.new(0.325, 0.13, 0.179)
  751.  
  752. local mag2 = Instance.new("Part", makarov)
  753. mag2.FormFactor = Enum.FormFactor.Plate
  754. mag2.CanCollide = false
  755. mag2.TopSurface = Enum.SurfaceType.Smooth
  756. mag2.Reflectance = 0.2
  757. mag2.Anchored = false
  758. mag2.Size = Vector3.new(1, 0.8, 1)
  759. mag2.Name = "Mag2"
  760. mag2.CFrame = CFrame.new(-16.913, 0.607, -204.12)* CFrame.Angles(3.1415913105011, -9.0417597675696e-007, 3.1415884494781)
  761. mag2.BrickColor = BrickColor.new("Dark stone grey")
  762. mag2.Friction = 0.3
  763. mag2.BottomSurface = Enum.SurfaceType.Smooth
  764.  
  765. local mesh_46 = Instance.new("BlockMesh", mag2)
  766. mesh_46.Scale = Vector3.new(0.234, 0.78, 0.137)
  767.  
  768. local grip_15 = Instance.new("Part", makarov)
  769. grip_15.FormFactor = Enum.FormFactor.Plate
  770. grip_15.CanCollide = false
  771. grip_15.TopSurface = Enum.SurfaceType.Smooth
  772. grip_15.Anchored = false
  773. grip_15.Size = Vector3.new(1, 0.8, 1)
  774. grip_15.Name = "Grip"
  775. grip_15.CFrame = CFrame.new(-16.917, 0.633, -204.12)* CFrame.Angles(3.1415908336639, -9.1162593207628e-007, 3.141589641571)
  776. grip_15.BrickColor = BrickColor.new("Reddish brown")
  777. grip_15.Friction = 0.3
  778. grip_15.BottomSurface = Enum.SurfaceType.Smooth
  779.  
  780. local mesh_47 = Instance.new("BlockMesh", grip_15)
  781. mesh_47.Scale = Vector3.new(0.26, 0.812, 0.175)
  782.  
  783. local grip_16 = Instance.new("Part", makarov)
  784. grip_16.FormFactor = Enum.FormFactor.Plate
  785. grip_16.CanCollide = false
  786. grip_16.TopSurface = Enum.SurfaceType.Smooth
  787. grip_16.Anchored = false
  788. grip_16.Size = Vector3.new(1, 0.4, 1)
  789. grip_16.Name = "Grip"
  790. grip_16.CFrame = CFrame.new(-17.097, 0.956, -204.12)* CFrame.Angles(-1.5707952976227, 1.0122916698456, -1.5707967281342)
  791. grip_16.BrickColor = BrickColor.new("Reddish brown")
  792. grip_16.Friction = 0.3
  793. grip_16.BottomSurface = Enum.SurfaceType.Smooth
  794.  
  795. local mesh_48 = Instance.new("SpecialMesh", grip_16)
  796. mesh_48.Scale = Vector3.new(0.179, 0.39, 0.065)
  797. mesh_48.MeshType = Enum.MeshType.Wedge
  798.  
  799. local grip_17 = Instance.new("Part", makarov)
  800. grip_17.FormFactor = Enum.FormFactor.Plate
  801. grip_17.CanCollide = false
  802. grip_17.TopSurface = Enum.SurfaceType.Smooth
  803. grip_17.Anchored = false
  804. grip_17.Size = Vector3.new(1, 0.4, 1)
  805. grip_17.Name = "Grip"
  806. grip_17.CFrame = CFrame.new(-17.08, 0.607, -204.12)* CFrame.Angles(3.1415908336639, -9.1162502258157e-007, 3.1415884494781)
  807. grip_17.BrickColor = BrickColor.new("Reddish brown")
  808. grip_17.Friction = 0.3
  809. grip_17.BottomSurface = Enum.SurfaceType.Smooth
  810.  
  811. local mesh_49 = Instance.new("BlockMesh", grip_17)
  812. mesh_49.Scale = Vector3.new(0.065, 0.975, 0.175)
  813.  
  814. local grip_18 = Instance.new("Part", makarov)
  815. grip_18.FormFactor = Enum.FormFactor.Plate
  816. grip_18.CanCollide = false
  817. grip_18.TopSurface = Enum.SurfaceType.Smooth
  818. grip_18.Anchored = false
  819. grip_18.Size = Vector3.new(1, 0.4, 1)
  820. grip_18.Name = "Grip"
  821. grip_18.CFrame = CFrame.new(-16.982, 0.984, -204.12)* CFrame.Angles(1.5734748840332, 1.5678464174271, -1.5509246587753)
  822. grip_18.BrickColor = BrickColor.new("Reddish brown")
  823. grip_18.Friction = 0.3
  824. grip_18.BottomSurface = Enum.SurfaceType.Smooth
  825.  
  826. local mesh_50 = Instance.new("SpecialMesh", grip_18)
  827. mesh_50.Scale = Vector3.new(0.175, 0.13, 0.13)
  828. mesh_50.MeshType = Enum.MeshType.Wedge
  829.  
  830. local backsight = Instance.new("Part", makarov)
  831. backsight.FormFactor = Enum.FormFactor.Plate
  832. backsight.CanCollide = false
  833. backsight.TopSurface = Enum.SurfaceType.Smooth
  834. backsight.Anchored = false
  835. backsight.Size = Vector3.new(1, 0.4, 1)
  836. backsight.Name = "Backsight"
  837. backsight.CFrame = CFrame.new(-17.022, 1.293, -204.081)* CFrame.Angles(-1.5199703966573e-006, 4.9963182391366e-007, -1.4835435152054)
  838. backsight.BrickColor = BrickColor.new("Dark stone grey")
  839. backsight.Friction = 0.3
  840. backsight.BottomSurface = Enum.SurfaceType.Smooth
  841.  
  842. local mesh_51 = Instance.new("BlockMesh", backsight)
  843. mesh_51.Scale = Vector3.new(0.065, 0.098, 0.049)
  844.  
  845. local backsight2 = Instance.new("Part", makarov)
  846. backsight2.FormFactor = Enum.FormFactor.Plate
  847. backsight2.CanCollide = false
  848. backsight2.TopSurface = Enum.SurfaceType.Smooth
  849. backsight2.Anchored = false
  850. backsight2.Size = Vector3.new(1, 0.4, 1)
  851. backsight2.Name = "Backsight2"
  852. backsight2.CFrame = CFrame.new(-17.022, 1.293, -204.159)* CFrame.Angles(-1.6836354461702e-006, 8.8514048002253e-007, -1.4835435152054)
  853. backsight2.BrickColor = BrickColor.new("Dark stone grey")
  854. backsight2.Friction = 0.3
  855. backsight2.BottomSurface = Enum.SurfaceType.Smooth
  856.  
  857. local mesh_52 = Instance.new("BlockMesh", backsight2)
  858. mesh_52.Scale = Vector3.new(0.065, 0.098, 0.049)
  859.  
  860. local a20 = Instance.new("Part", makarov)
  861. a20.FormFactor = Enum.FormFactor.Plate
  862. a20.CanCollide = false
  863. a20.TopSurface = Enum.SurfaceType.Smooth
  864. a20.Anchored = false
  865. a20.Size = Vector3.new(1, 0.4, 1)
  866. a20.Name = "A20"
  867. a20.CFrame = CFrame.new(-17.11, 1.194, -204.115)* CFrame.Angles(3.1415913105011, -8.1579645438978e-007, 2.1467678546906)
  868. a20.BrickColor = BrickColor.new("Black")
  869. a20.Friction = 0.3
  870. a20.BottomSurface = Enum.SurfaceType.Smooth
  871.  
  872. local mesh_53 = Instance.new("BlockMesh", a20)
  873. mesh_53.Scale = Vector3.new(0.072, 0.065, 0.062)
  874.  
  875. local backsight3 = Instance.new("Part", makarov)
  876. backsight3.FormFactor = Enum.FormFactor.Plate
  877. backsight3.CanCollide = false
  878. backsight3.TopSurface = Enum.SurfaceType.Smooth
  879. backsight3.Anchored = false
  880. backsight3.Size = Vector3.new(1, 0.4, 1)
  881. backsight3.Name = "Backsight3"
  882. backsight3.CFrame = CFrame.new(-17.015, 1.215, -204.12)* CFrame.Angles(-1.5708125147285e-006, 1.134341573561e-006, -1.4835429191589)
  883. backsight3.BrickColor = BrickColor.new("Dark stone grey")
  884. backsight3.Friction = 0.3
  885. backsight3.BottomSurface = Enum.SurfaceType.Smooth
  886.  
  887. local mesh_54 = Instance.new("BlockMesh", backsight3)
  888. mesh_54.Scale = Vector3.new(0.195, 0.098, 0.117)
  889.  
  890. local a6 = Instance.new("Part", makarov)
  891. a6.FormFactor = Enum.FormFactor.Plate
  892. a6.CanCollide = false
  893. a6.TopSurface = Enum.SurfaceType.Smooth
  894. a6.Anchored = false
  895. a6.Size = Vector3.new(1, 0.4, 1)
  896. a6.Name = "A6"
  897. a6.CFrame = CFrame.new(-17.017, 1.186, -204.06)* CFrame.Angles(3.1415905952454, -1.2057074627592e-006, 2.4085586071014)
  898. a6.BrickColor = BrickColor.new("Dark stone grey")
  899. a6.Friction = 0.3
  900. a6.BottomSurface = Enum.SurfaceType.Smooth
  901.  
  902. local mesh_55 = Instance.new("BlockMesh", a6)
  903. mesh_55.Scale = Vector3.new(0.065, 0.325, 0.06)
  904.  
  905. local a8 = Instance.new("Part", makarov)
  906. a8.FormFactor = Enum.FormFactor.Plate
  907. a8.CanCollide = false
  908. a8.TopSurface = Enum.SurfaceType.Smooth
  909. a8.Anchored = false
  910. a8.Size = Vector3.new(1, 0.4, 1)
  911. a8.Name = "A8"
  912. a8.CFrame = CFrame.new(-17.098, 1.144, -204.06)* CFrame.Angles(3.1415910720825, -8.7001734527803e-007, 2.1467678546906)
  913. a8.BrickColor = BrickColor.new("Dark stone grey")
  914. a8.Friction = 0.3
  915. a8.BottomSurface = Enum.SurfaceType.Smooth
  916.  
  917. local mesh_56 = Instance.new("BlockMesh", a8)
  918. mesh_56.Scale = Vector3.new(0.13, 0.13, 0.06)
  919.  
  920. local a21 = Instance.new("Part", makarov)
  921. a21.FormFactor = Enum.FormFactor.Plate
  922. a21.CanCollide = false
  923. a21.TopSurface = Enum.SurfaceType.Smooth
  924. a21.Anchored = false
  925. a21.Size = Vector3.new(1, 0.4, 1)
  926. a21.Name = "A21"
  927. a21.CFrame = CFrame.new(-17.08, 1.183, -204.115)* CFrame.Angles(3.1415913105011, -7.4957659990105e-007, -2.5656361579895)
  928. a21.BrickColor = BrickColor.new("Reddish brown")
  929. a21.Friction = 0.3
  930. a21.BottomSurface = Enum.SurfaceType.Smooth
  931.  
  932. local mesh_57 = Instance.new("BlockMesh", a21)
  933. mesh_57.Scale = Vector3.new(0.065, 0.13, 0.06)
  934.  
  935. local a9 = Instance.new("Part", makarov)
  936. a9.FormFactor = Enum.FormFactor.Plate
  937. a9.CanCollide = false
  938. a9.TopSurface = Enum.SurfaceType.Smooth
  939. a9.Anchored = false
  940. a9.Size = Vector3.new(1, 0.4, 1)
  941. a9.Name = "A9"
  942. a9.CFrame = CFrame.new(-17.097, 1.128, -204.12)* CFrame.Angles(3.1415905952454, -1.1805927897512e-006, 2.6703503131866)
  943. a9.BrickColor = BrickColor.new("Dark stone grey")
  944. a9.Friction = 0.3
  945. a9.BottomSurface = Enum.SurfaceType.Smooth
  946.  
  947. local mesh_58 = Instance.new("BlockMesh", a9)
  948. mesh_58.Scale = Vector3.new(0.26, 0.065, 0.179)
  949.  
  950. local a11 = Instance.new("Part", makarov)
  951. a11.FormFactor = Enum.FormFactor.Plate
  952. a11.CanCollide = false
  953. a11.TopSurface = Enum.SurfaceType.Smooth
  954. a11.Anchored = false
  955. a11.Size = Vector3.new(1, 0.4, 1)
  956. a11.Name = "A11"
  957. a11.CFrame = CFrame.new(-17.098, 1.144, -204.18)* CFrame.Angles(3.1415910720825, -8.7001734527803e-007, 2.1467678546906)
  958. a11.BrickColor = BrickColor.new("Dark stone grey")
  959. a11.Friction = 0.3
  960. a11.BottomSurface = Enum.SurfaceType.Smooth
  961.  
  962. local mesh_59 = Instance.new("BlockMesh", a11)
  963. mesh_59.Scale = Vector3.new(0.13, 0.13, 0.06)
  964.  
  965. local a10 = Instance.new("Part", makarov)
  966. a10.FormFactor = Enum.FormFactor.Plate
  967. a10.CanCollide = false
  968. a10.TopSurface = Enum.SurfaceType.Smooth
  969. a10.Anchored = false
  970. a10.Size = Vector3.new(1, 0.4, 1)
  971. a10.Name = "A10"
  972. a10.CFrame = CFrame.new(-17.062, 1.156, -204.18)* CFrame.Angles(3.1415913105011, -9.1241474819981e-007, 3.054322719574)
  973. a10.BrickColor = BrickColor.new("Dark stone grey")
  974. a10.Friction = 0.3
  975. a10.BottomSurface = Enum.SurfaceType.Smooth
  976.  
  977. local mesh_60 = Instance.new("BlockMesh", a10)
  978. mesh_60.Scale = Vector3.new(0.065, 0.195, 0.06)
  979.  
  980. local a13 = Instance.new("Part", makarov)
  981. a13.FormFactor = Enum.FormFactor.Plate
  982. a13.CanCollide = false
  983. a13.TopSurface = Enum.SurfaceType.Smooth
  984. a13.Anchored = false
  985. a13.Size = Vector3.new(1, 0.4, 1)
  986. a13.Name = "A13"
  987. a13.CFrame = CFrame.new(-17.017, 1.186, -204.18)* CFrame.Angles(3.1415908336639, -1.0739731806098e-006, 2.4085586071014)
  988. a13.BrickColor = BrickColor.new("Dark stone grey")
  989. a13.Friction = 0.3
  990. a13.BottomSurface = Enum.SurfaceType.Smooth
  991.  
  992. local mesh_61 = Instance.new("BlockMesh", a13)
  993. mesh_61.Scale = Vector3.new(0.065, 0.325, 0.06)
  994.  
  995. local a7 = Instance.new("Part", makarov)
  996. a7.FormFactor = Enum.FormFactor.Plate
  997. a7.CanCollide = false
  998. a7.TopSurface = Enum.SurfaceType.Smooth
  999. a7.Anchored = false
  1000. a7.Size = Vector3.new(1, 0.4, 1)
  1001. a7.Name = "A7"
  1002. a7.CFrame = CFrame.new(-17.062, 1.156, -204.06)* CFrame.Angles(3.1415910720825, -8.8643889739615e-007, 3.054322719574)
  1003. a7.BrickColor = BrickColor.new("Dark stone grey")
  1004. a7.Friction = 0.3
  1005. a7.BottomSurface = Enum.SurfaceType.Smooth
  1006.  
  1007. local mesh_62 = Instance.new("BlockMesh", a7)
  1008. mesh_62.Scale = Vector3.new(0.065, 0.195, 0.06)
  1009.  
  1010. local a12 = Instance.new("Part", makarov)
  1011. a12.FormFactor = Enum.FormFactor.Plate
  1012. a12.CanCollide = false
  1013. a12.TopSurface = Enum.SurfaceType.Smooth
  1014. a12.Anchored = false
  1015. a12.Size = Vector3.new(1, 0.4, 1)
  1016. a12.Name = "A12"
  1017. a12.CFrame = CFrame.new(-17.057, 1.094, -204.12)* CFrame.Angles(3.1415910720825, -9.0202456703992e-007, 3.054322719574)
  1018. a12.BrickColor = BrickColor.new("Dark stone grey")
  1019. a12.Friction = 0.3
  1020. a12.BottomSurface = Enum.SurfaceType.Smooth
  1021.  
  1022. local mesh_63 = Instance.new("BlockMesh", a12)
  1023. mesh_63.Scale = Vector3.new(0.195, 0.13, 0.179)
  1024.  
  1025. local grip_19 = Instance.new("Part", makarov)
  1026. grip_19.FormFactor = Enum.FormFactor.Plate
  1027. grip_19.CanCollide = false
  1028. grip_19.TopSurface = Enum.SurfaceType.Smooth
  1029. grip_19.Anchored = false
  1030. grip_19.Size = Vector3.new(1, 0.4, 1)
  1031. grip_19.Name = "Grip"
  1032. grip_19.CFrame = CFrame.new(-17.112, 0.36, -204.12)* CFrame.Angles(1.5769547224045, 1.5678464174271, 1.5891962051392)
  1033. grip_19.BrickColor = BrickColor.new("Reddish brown")
  1034. grip_19.Friction = 0.3
  1035. grip_19.BottomSurface = Enum.SurfaceType.Smooth
  1036.  
  1037. local mesh_64 = Instance.new("SpecialMesh", grip_19)
  1038. mesh_64.Scale = Vector3.new(0.175, 0.26, 0.13)
  1039. mesh_64.MeshType = Enum.MeshType.Wedge
  1040.  
  1041. local prev
  1042. local parts = makarov:GetChildren()
  1043.  
  1044. for i = 1,#parts do
  1045.         if (parts[i].className == "Part") then
  1046.                 if (prev ~= nil)then
  1047.                         local weld = Instance.new("Weld")
  1048.                         weld.Part0 = prev
  1049.                         weld.Part1 = parts[i]
  1050.                         weld.C0 = prev.CFrame:inverse()
  1051.                         weld.C1 = parts[i].CFrame:inverse()
  1052.                         weld.Parent = prev
  1053.                 end
  1054.                 prev = parts[i]
  1055.         end
  1056. end
  1057.  
  1058. Tool = makarov
  1059.  
  1060. local arms = nil
  1061. local torso = nil
  1062. local weld33 = nil -- right arm
  1063. local weld55 = nil -- left arm
  1064. local welds = {}
  1065. local reloading = false
  1066. local canreload = true
  1067. local canshoot = true
  1068. local damage = 350
  1069.  
  1070. function ReloadSequence()
  1071. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-25), 0)
  1072. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0, math.rad(-90))
  1073. wait(.03)
  1074. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-98), math.rad(-25), 0.1)
  1075. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0, math.rad(-90))
  1076. wait(.03)
  1077. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-99), math.rad(-25), 0.1)
  1078. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.1, math.rad(-86))
  1079. Tool.Handle.M1:play()
  1080. Tool.Mag.Transparency = 1
  1081. local mag = Tool.Mag:clone()
  1082. mag.Parent = game.Workspace
  1083. mag.CanCollide = false
  1084. mag.Transparency = 0
  1085. Tool.Mag2.Transparency = 1
  1086. local mag = Tool.Mag2:clone()
  1087. mag.Parent = game.Workspace
  1088. mag.CanCollide = false
  1089. mag.Transparency = 0
  1090. wait(.03)
  1091. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-100), math.rad(-25), 0.11)
  1092. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.2, math.rad(-82))
  1093. wait(.03)
  1094. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-101), math.rad(-25), 0.12)
  1095. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.3, math.rad(-78))
  1096. wait(.03)
  1097. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-102), math.rad(-25), 0.13)
  1098. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.4, math.rad(-74))
  1099. wait(.03)
  1100. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-103), math.rad(-25), 0.14)
  1101. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.5, math.rad(-70))
  1102. wait(.03)
  1103. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-104), math.rad(-25), 0.15)
  1104. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.6, math.rad(-65))
  1105. wait(.03)
  1106. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-106), math.rad(-25), 0.16)
  1107. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.7, math.rad(-59))
  1108. Tool.Mag.Transparency = 0
  1109. Tool.Mag2.Transparency = 0
  1110. Tool.Mag.Mesh.Offset = Vector3.new(0, -1, 0)
  1111. Tool.Mag2.Mesh.Offset = Vector3.new(0, -1, 0)
  1112. wait(.07)
  1113. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-107), math.rad(-25), 0.17)
  1114. wait(.07)
  1115. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-106), math.rad(-25), 0.16)
  1116. wait(.06)
  1117. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-104), math.rad(-25), 0.15)
  1118. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.6, math.rad(-65))
  1119. Tool.Mag.Mesh.Offset = Vector3.new(0, -0.8, 0)
  1120. Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.8, 0)
  1121. wait(.03)
  1122. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-103), math.rad(-25), 0.14)
  1123. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.5, math.rad(-70))
  1124. Tool.Mag.Mesh.Offset = Vector3.new(0, -0.65, 0)
  1125. Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.65, 0)
  1126. wait(.03)
  1127. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-102), math.rad(-25), 0.13)
  1128. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.4, math.rad(-74))
  1129. Tool.Mag.Mesh.Offset = Vector3.new(0, -0.5, 0)
  1130. Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.5, 0)
  1131. wait(.03)
  1132. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-101), math.rad(-25), 0.12)
  1133. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.3, math.rad(-78))
  1134. Tool.Mag.Mesh.Offset = Vector3.new(0, -0.4, 0)
  1135. Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.4, 0)
  1136. wait(.03)
  1137. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-100), math.rad(-25), 0.11)
  1138. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.2, math.rad(-82))
  1139. Tool.Mag.Mesh.Offset = Vector3.new(0, -0.3, 0)
  1140. Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.3, 0)
  1141. Tool.Handle.M2:play()
  1142. wait(.03)
  1143. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-99), math.rad(-25), 0.1)
  1144. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.1, math.rad(-86))
  1145. Tool.Mag.Mesh.Offset = Vector3.new(0, -0.2, 0)
  1146. Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.2, 0)
  1147. wait(.03)
  1148. Tool.Mag.Mesh.Offset = Vector3.new(0, -0.1, 0)
  1149. Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.1, 0)
  1150. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-98), math.rad(-25), 0.1)
  1151. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0, math.rad(-90))
  1152. Tool.Mag.Mesh.Offset = Vector3.new(0, 0, 0)
  1153. Tool.Mag2.Mesh.Offset = Vector3.new(0, 0, 0)
  1154. wait(.03)
  1155. Tool.Handle.M3:play()
  1156.  
  1157.  
  1158.  
  1159. Slide2()
  1160.  
  1161.  
  1162.  
  1163. wait(.06)
  1164.  
  1165.  
  1166.  
  1167. Slide1()
  1168.  
  1169.  
  1170.  
  1171. wait(.06)
  1172.  
  1173.  
  1174.  
  1175. Slide3()
  1176.  
  1177.  
  1178.  
  1179. wait(.14)
  1180. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-25), 0)
  1181. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0, math.rad(-90))
  1182. wait(.07)
  1183. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-89.5), math.rad(-25), 0)
  1184. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.005, math.rad(-90))
  1185. wait(.04)
  1186. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-89), math.rad(-25), 0)
  1187. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.01, math.rad(-90))
  1188. wait(.04)
  1189. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-89.5), math.rad(-25), 0)
  1190. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.005, math.rad(-90))
  1191. wait(.04)
  1192. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-25), 0)
  1193. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0, math.rad(-90))
  1194. end
  1195.  
  1196. function ReloadSequence2()
  1197. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-25), 0)
  1198. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0, math.rad(-90))
  1199. wait(.03)
  1200. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-98), math.rad(-25), 0.1)
  1201. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0, math.rad(-90))
  1202. wait(.03)
  1203. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-99), math.rad(-25), 0.1)
  1204. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.1, math.rad(-86))
  1205. Tool.Handle.M1:play()
  1206. Tool.Mag.Transparency = 1
  1207. local mag = Tool.Mag:clone()
  1208. mag.Parent = game.Workspace
  1209. mag.CanCollide = false
  1210. mag.Transparency = 0
  1211. Tool.Mag2.Transparency = 1
  1212. local mag = Tool.Mag2:clone()
  1213. mag.Parent = game.Workspace
  1214. mag.CanCollide = false
  1215. mag.Transparency = 0
  1216. wait(.03)
  1217. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-100), math.rad(-25), 0.11)
  1218. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.2, math.rad(-82))
  1219. wait(.03)
  1220. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-101), math.rad(-25), 0.12)
  1221. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.3, math.rad(-78))
  1222. wait(.03)
  1223. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-102), math.rad(-25), 0.13)
  1224. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.4, math.rad(-74))
  1225. wait(.03)
  1226. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-103), math.rad(-25), 0.14)
  1227. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.5, math.rad(-70))
  1228. wait(.03)
  1229. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-104), math.rad(-25), 0.15)
  1230. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.6, math.rad(-65))
  1231. wait(.03)
  1232. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-106), math.rad(-25), 0.16)
  1233. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.7, math.rad(-59))
  1234. Tool.Mag.Transparency = 0
  1235. Tool.Mag2.Transparency = 0
  1236. Tool.Mag.Mesh.Offset = Vector3.new(0, -1, 0)
  1237. Tool.Mag2.Mesh.Offset = Vector3.new(0, -1, 0)
  1238. wait(.07)
  1239. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-107), math.rad(-25), 0.17)
  1240. wait(.07)
  1241. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-106), math.rad(-25), 0.16)
  1242. wait(.06)
  1243. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-104), math.rad(-25), 0.15)
  1244. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.6, math.rad(-65))
  1245. Tool.Mag.Mesh.Offset = Vector3.new(0, -0.8, 0)
  1246. Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.8, 0)
  1247. wait(.03)
  1248. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-103), math.rad(-25), 0.14)
  1249. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.5, math.rad(-70))
  1250. Tool.Mag.Mesh.Offset = Vector3.new(0, -0.65, 0)
  1251. Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.65, 0)
  1252. wait(.03)
  1253. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-102), math.rad(-25), 0.13)
  1254. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.4, math.rad(-74))
  1255. Tool.Mag.Mesh.Offset = Vector3.new(0, -0.5, 0)
  1256. Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.5, 0)
  1257. wait(.03)
  1258. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-101), math.rad(-25), 0.12)
  1259. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.3, math.rad(-78))
  1260. Tool.Mag.Mesh.Offset = Vector3.new(0, -0.4, 0)
  1261. Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.4, 0)
  1262. wait(.03)
  1263. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-100), math.rad(-25), 0.11)
  1264. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.2, math.rad(-82))
  1265. Tool.Mag.Mesh.Offset = Vector3.new(0, -0.3, 0)
  1266. Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.3, 0)
  1267. Tool.Handle.M2:play()
  1268. wait(.03)
  1269. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-99), math.rad(-25), 0.1)
  1270. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.1, math.rad(-86))
  1271. Tool.Mag.Mesh.Offset = Vector3.new(0, -0.2, 0)
  1272. Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.2, 0)
  1273. wait(.03)
  1274. Tool.Mag.Mesh.Offset = Vector3.new(0, -0.1, 0)
  1275. Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.1, 0)
  1276. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-98), math.rad(-25), 0.1)
  1277. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0., math.rad(-90))
  1278. Tool.Mag.Mesh.Offset = Vector3.new(0, 0, 0)
  1279. Tool.Mag2.Mesh.Offset = Vector3.new(0, 0, 0)
  1280. wait(.04)
  1281. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-101), math.rad(-25), 0.12)
  1282. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.3, math.rad(-78))
  1283. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-25), 0)
  1284. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0, math.rad(-90))
  1285. wait(.03)
  1286. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-89.5), math.rad(-25), 0)
  1287. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.005, math.rad(-90))
  1288. wait(.03)
  1289. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-89), math.rad(-25), 0)
  1290. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.01, math.rad(-90))
  1291. wait(.03)
  1292. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-89.5), math.rad(-25), 0)
  1293. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.005, math.rad(-90))
  1294. wait(.03)
  1295. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-25), 0)
  1296. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0, math.rad(-90))
  1297. end
  1298.  
  1299. function Reload()
  1300. Tool.Left.Value = Tool.Ammo.Value
  1301.     if makarov.Ammo.Value < makarov.MaxAmmo.Value and reloading == false and makarov.StoredAmmo.Value >= 1 then
  1302.         reloading = true
  1303.         makarov.Ammo.Value = 0
  1304.         ReloadChoose()
  1305.       makarov.StoredAmmo.Value = makarov.StoredAmmo.Value + makarov.Left.Value
  1306.         if makarov.StoredAmmo.Value >= makarov.MaxAmmo.Value then
  1307.             makarov.StoredAmmo.Value = makarov.StoredAmmo.Value - makarov.MaxAmmo.Value
  1308.             makarov.Ammo.Value = makarov.MaxAmmo.Value
  1309.          makarov.Recoil.Value = 5
  1310.         elseif makarov.StoredAmmo.Value < makarov.MaxAmmo.Value and makarov.StoredAmmo.Value >= 1 then
  1311.          makarov.Ammo.Value = makarov.StoredAmmo.Value
  1312.             makarov.StoredAmmo.Value = 0
  1313.             makarov.Recoil.Value = 5
  1314.         end
  1315.         reloading = false
  1316.     end
  1317. end
  1318.  
  1319. function ReloadChoose()
  1320.    if makarov.Left.Value == 0 then
  1321.       ReloadSequence()
  1322.    elseif makarov.Left.Value >= 1 then
  1323.       ReloadSequence2()
  1324.    end
  1325. end
  1326.  
  1327. function Slider()
  1328.    if makarov.Ammo.Value == 0 then
  1329.       Slide2()
  1330.    elseif makarov.Ammo.Value >= 1 then
  1331.       Slide3()
  1332.    end
  1333. end
  1334.  
  1335. function Slider2()
  1336.    if makarov.Ammo.Value == 0 then
  1337.       Slide2()
  1338.       Tool.Handle.Empty:play()
  1339.    elseif makarov.Ammo.Value >= 1 then
  1340.    end
  1341. end
  1342.  
  1343. function Slide1()
  1344. Tool.A1.Mesh.Offset = Vector3.new(0.17, 0, 0)
  1345. Tool.A2.Mesh.Offset = Vector3.new(0.2, 0, 0)
  1346. Tool.A3.Mesh.Offset = Vector3.new(0.2, 0, 0)
  1347. Tool.A4.Mesh.Offset = Vector3.new(0.2, 0, 0)
  1348. Tool.A5.Mesh.Offset = Vector3.new(0.2, 0, 0)
  1349. Tool.A6.Mesh.Offset = Vector3.new(0.135, 0.119, 0)
  1350. Tool.A7.Mesh.Offset = Vector3.new(0.18, 0, 0)
  1351. Tool.A8.Mesh.Offset = Vector3.new(0.1, 0.15, 0)
  1352. Tool.A9.Mesh.Offset = Vector3.new(0.185, 0.075, 0)
  1353. Tool.A10.Mesh.Offset = Vector3.new(0.18, 0, 0)
  1354. Tool.A11.Mesh.Offset = Vector3.new(0.1, 0.15, 0)
  1355. Tool.A12.Mesh.Offset = Vector3.new(0.2, 0, 0)
  1356. Tool.A13.Mesh.Offset = Vector3.new(0.14, 0.119, 0)
  1357. Tool.A14.Mesh.Offset = Vector3.new(0.2, 0, 0)
  1358. Tool.A15.Mesh.Offset = Vector3.new(0.2, 0, 0)
  1359. Tool.A16.Mesh.Offset = Vector3.new(0.2, 0, 0)
  1360. Tool.A17.Mesh.Offset = Vector3.new(0.2, 0, 0)
  1361. Tool.A18.Mesh.Offset = Vector3.new(0.2, 0, 0)
  1362. Tool.A19.Mesh.Offset = Vector3.new(0.2, 0, 0)
  1363. Tool.A20.Mesh.Offset = Vector3.new(0.1, 0.15, 0)
  1364. Tool.A21.Mesh.Offset = Vector3.new(0.15, -0.1, 0)
  1365. Tool.A22.Mesh.Offset = Vector3.new(0.2, 0, 0)
  1366. Tool.A23.Mesh.Offset = Vector3.new(0.2, 0, 0)
  1367. Tool.A24.Mesh.Offset = Vector3.new(0.2, 0, 0)
  1368. Tool.Backsight.Mesh.Offset = Vector3.new(0, -0.2, 0)
  1369. Tool.Backsight2.Mesh.Offset = Vector3.new(0, -0.2, 0)
  1370. Tool.Backsight3.Mesh.Offset = Vector3.new(0, -0.2, 0)
  1371. Tool.Frontsight.Mesh.Offset = Vector3.new(0, 0, 0.3)
  1372. Tool.Barrel2.Mesh.Offset = Vector3.new(0, 0.2, 0)
  1373. end
  1374.  
  1375. function Slide2()
  1376. Tool.A1.Mesh.Offset = Vector3.new(0.27, 0, 0)
  1377. Tool.A2.Mesh.Offset = Vector3.new(0.3, 0, 0)
  1378. Tool.A3.Mesh.Offset = Vector3.new(0.3, 0, 0)
  1379. Tool.A4.Mesh.Offset = Vector3.new(0.3, 0, 0)
  1380. Tool.A5.Mesh.Offset = Vector3.new(0.3, 0, 0)
  1381. Tool.A6.Mesh.Offset = Vector3.new(0.26, 0.19, 0)
  1382. Tool.A7.Mesh.Offset = Vector3.new(0.28, 0, 0)
  1383. Tool.A8.Mesh.Offset = Vector3.new(0.2, 0.25, 0)
  1384. Tool.A9.Mesh.Offset = Vector3.new(0.185, 0.075, 0)
  1385. Tool.A10.Mesh.Offset = Vector3.new(0.28, 0, 0)
  1386. Tool.A11.Mesh.Offset = Vector3.new(0.2, 0.25, 0)
  1387. Tool.A12.Mesh.Offset = Vector3.new(0.3, 0, 0)
  1388. Tool.A13.Mesh.Offset = Vector3.new(0.26, 0.19, 0)
  1389. Tool.A14.Mesh.Offset = Vector3.new(0.3, 0, 0)
  1390. Tool.A15.Mesh.Offset = Vector3.new(0.3, 0, 0)
  1391. Tool.A16.Mesh.Offset = Vector3.new(0.3, 0, 0)
  1392. Tool.A17.Mesh.Offset = Vector3.new(0.3, 0, 0)
  1393. Tool.A18.Mesh.Offset = Vector3.new(0.3, 0, 0)
  1394. Tool.A19.Mesh.Offset = Vector3.new(0.3, 0, 0)
  1395. Tool.A20.Mesh.Offset = Vector3.new(0.2, 0.25, 0)
  1396. Tool.A21.Mesh.Offset = Vector3.new(0.25, -0.2, 0)
  1397. Tool.A22.Mesh.Offset = Vector3.new(0.3, 0, 0)
  1398. Tool.A23.Mesh.Offset = Vector3.new(0.3, 0, 0)
  1399. Tool.A24.Mesh.Offset = Vector3.new(0.3, 0, 0)
  1400. Tool.Backsight.Mesh.Offset = Vector3.new(0, -0.3, 0)
  1401. Tool.Backsight2.Mesh.Offset = Vector3.new(0, -0.3, 0)
  1402. Tool.Backsight3.Mesh.Offset = Vector3.new(0, -0.3, 0)
  1403. Tool.Frontsight.Mesh.Offset = Vector3.new(0, 0, 0.4)
  1404. Tool.Barrel2.Mesh.Offset = Vector3.new(0, 0.3, 0)
  1405. end
  1406.  
  1407. function Slide3()
  1408. Tool.A1.Mesh.Offset = Vector3.new(0, 0, 0)
  1409. Tool.A2.Mesh.Offset = Vector3.new(0, 0, 0)
  1410. Tool.A3.Mesh.Offset = Vector3.new(0, 0, 0)
  1411. Tool.A4.Mesh.Offset = Vector3.new(0, 0, 0)
  1412. Tool.A5.Mesh.Offset = Vector3.new(0, 0, 0)
  1413. Tool.A6.Mesh.Offset = Vector3.new(0, 0, 0)
  1414. Tool.A7.Mesh.Offset = Vector3.new(0, 0, 0)
  1415. Tool.A8.Mesh.Offset = Vector3.new(0, 0, 0)
  1416. Tool.A9.Mesh.Offset = Vector3.new(0, 0, 0)
  1417. Tool.A10.Mesh.Offset = Vector3.new(0, 0, 0)
  1418. Tool.A11.Mesh.Offset = Vector3.new(0, 0, 0)
  1419. Tool.A12.Mesh.Offset = Vector3.new(0, 0, 0)
  1420. Tool.A13.Mesh.Offset = Vector3.new(0, 0, 0)
  1421. Tool.A14.Mesh.Offset = Vector3.new(0, 0, 0)
  1422. Tool.A15.Mesh.Offset = Vector3.new(0, 0, 0)
  1423. Tool.A16.Mesh.Offset = Vector3.new(0, 0, 0)
  1424. Tool.A17.Mesh.Offset = Vector3.new(0, 0, 0)
  1425. Tool.A18.Mesh.Offset = Vector3.new(0, 0, 0)
  1426. Tool.A19.Mesh.Offset = Vector3.new(0, 0, 0)
  1427. Tool.A20.Mesh.Offset = Vector3.new(0, 0, 0)
  1428. Tool.A21.Mesh.Offset = Vector3.new(0, 0, 0)
  1429. Tool.A22.Mesh.Offset = Vector3.new(0, 0, 0)
  1430. Tool.A23.Mesh.Offset = Vector3.new(0, 0, 0)
  1431. Tool.A24.Mesh.Offset = Vector3.new(0, 0, 0)
  1432. Tool.Backsight.Mesh.Offset = Vector3.new(0, 0, 0)
  1433. Tool.Backsight2.Mesh.Offset = Vector3.new(0, 0, 0)
  1434. Tool.Backsight3.Mesh.Offset = Vector3.new(0, 0, 0)
  1435. Tool.Frontsight.Mesh.Offset = Vector3.new(0, 0, 0)
  1436. Tool.Barrel2.Mesh.Offset = Vector3.new(0, 0, 0)
  1437. end
  1438.  
  1439. function Takeout()
  1440. local canreload = false
  1441. local canshoot = false
  1442. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-78), math.rad(-25), 0)
  1443. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.3, math.rad(-90))
  1444. wait(.03)
  1445. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-82), math.rad(-25), 0)
  1446. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.2, math.rad(-90))
  1447. wait(.03)
  1448. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-86), math.rad(-25), 0)
  1449. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), -0.1, math.rad(-90))
  1450. wait(.03)
  1451. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-25), 0)
  1452. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0, math.rad(-90))
  1453. wait(.03)
  1454. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-94), math.rad(-25), 0)
  1455. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0.1, math.rad(-90))
  1456. wait(.03)
  1457. weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-25), 0)
  1458. weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0, math.rad(-90))
  1459. local canreload = true
  1460. local canshoot = true
  1461. end
  1462.  
  1463. function Equip(mouse)
  1464. wait(0.01)
  1465. arms = {Tool.Parent:FindFirstChild("Left Arm"), Tool.Parent:FindFirstChild("Right Arm")}
  1466. torso = Tool.Parent:FindFirstChild("Torso")
  1467. if arms ~= nil and torso ~= nil then
  1468. local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
  1469. if sh ~= nil then
  1470. local yes = true
  1471. if yes then
  1472. yes = false
  1473. sh[1].Part1 = nil
  1474. sh[2].Part1 = nil
  1475. falsearm1 = arms[1]:clone()
  1476. local mesh1 = Instance.new("BlockMesh")
  1477. mesh1.Scale = Vector3.new(.9,.9,.9)
  1478. mesh1.Parent = falsearm1
  1479. local armweld1 = Instance.new("Weld")
  1480. falsearm1.BrickColor = BrickColor.new(26)
  1481. falsearm1.Parent = Tool
  1482. armweld1.Parent = falsearm1
  1483. armweld1.Part0 = falsearm1
  1484. armweld1.Part1 = arms[1]
  1485. falsearm2 = arms[2]:clone()
  1486. local mesh2 = Instance.new("BlockMesh")
  1487. mesh2.Scale = Vector3.new(.9,.9,.9)
  1488. mesh2.Parent = falsearm2
  1489. local armweld2 = Instance.new("Weld")
  1490. falsearm2.BrickColor = BrickColor.new(26)
  1491. falsearm2.Parent = Tool
  1492. armweld2.Parent = falsearm2
  1493. armweld2.Part0 = falsearm2
  1494. armweld2.Part1 = arms[2]
  1495. local weld1 = Instance.new("Weld") -- left arm
  1496. weld55 = weld1
  1497. weld1.Part0 = torso
  1498. weld1.Parent = torso
  1499. weld1.Part1 = arms[1]
  1500. weld1.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0, math.rad(-90))
  1501. welds[1] = weld1
  1502. local weld2 = Instance.new("Weld") -- right arm
  1503. weld33 = weld2
  1504. weld2.Part0 = torso
  1505. weld2.Parent = torso
  1506. weld2.Part1 = arms[2]
  1507. weld2.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-25), 0)
  1508. welds[2] = weld2
  1509. Takeout()
  1510. end
  1511. else
  1512. print("sh")
  1513. end
  1514. else
  1515. print("arms")
  1516. end
  1517. end
  1518.  
  1519. local legs = nil
  1520. local torso2 = nil
  1521. local welds2 = {}
  1522. local bodyforce = nil
  1523.  
  1524. function Unequip(mouse)
  1525. if arms ~= nil and torso ~= nil then
  1526. local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
  1527. if sh ~= nil then
  1528. local yes = true
  1529. if yes then
  1530. yes = false
  1531. sh[1].Part1 = arms[1]
  1532. sh[2].Part1 = arms[2]
  1533. welds[1].Parent = nil
  1534. welds[2].Parent = nil
  1535. falsearm1:remove()
  1536. falsearm2:remove()
  1537. end
  1538. else
  1539. print("sh")
  1540. end
  1541. else
  1542. print("arms")
  1543. end
  1544. end
  1545.  
  1546. function fire(v)
  1547.  
  1548.     Tool.Handle.Fire:play()
  1549.    
  1550.  
  1551.     local vCharacter = Tool.Parent
  1552.     local vPlayer = game.Players:playerFromCharacter(vCharacter)
  1553.  
  1554.     local missile = Instance.new("Part")
  1555.  
  1556.        
  1557.  
  1558.     local spawnPos = vCharacter.PrimaryPart.Position
  1559.    
  1560.  
  1561.  
  1562.     spawnPos  = spawnPos + (v * 8)
  1563.  
  1564.     missile.Position = spawnPos
  1565.     missile.Size = Vector3.new(1,1,1)
  1566.     missile.Velocity = v * 800
  1567.     missile.BrickColor = BrickColor.new(26)
  1568.     missile.Shape = 0
  1569.     missile.BottomSurface = 0
  1570.     missile.TopSurface = 0
  1571.     missile.Name = "Bullet"
  1572.     missile.Elasticity = 0
  1573.     missile.Reflectance = 0
  1574.     missile.Friction = .9
  1575.     missile.CanCollide = false
  1576.  
  1577.     local force = Instance.new("BodyForce")
  1578.     force.force = Vector3.new(0,missile:getMass() * 196,0)
  1579.     force.Parent = missile
  1580.  
  1581.     local mesh = Instance.new("SpecialMesh")
  1582.     mesh.Scale = Vector3.new(.01,.01,.01)
  1583.     mesh.MeshType = "Sphere"
  1584.     mesh.Parent = missile
  1585.  
  1586.     local creator_tag = Instance.new("ObjectValue")
  1587.     creator_tag.Value = vPlayer
  1588.     creator_tag.Name = "creator"
  1589.     creator_tag.Parent = missile
  1590.    
  1591.    
  1592.  
  1593.     missile.Parent = game.Workspace
  1594.    
  1595. function onHit(hit)
  1596.     if hit.Name == "Right Leg" or hit.Name == "Left Leg" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Head" or hit.Name == "Torso" then
  1597.         if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1598.             hit.Parent.Humanoid:TakeDamage(9) -- Amount of damage a pellet will do to a player
  1599.             missile:Remove()
  1600.         elseif hit.Parent:findFirstChild("Zombie") ~= nil then
  1601.             hit.Parent.Zombie:TakeDamage(100) -- Amount of damage a pellet will do to a zombie
  1602.             missile:Remove()
  1603.         end
  1604.     elseif hit.Name == "Bullet" then
  1605.         return
  1606.     else
  1607.         missile:Remove()
  1608.     end
  1609. end
  1610.  
  1611. missile.Touched:connect(onHit)
  1612.  
  1613.  
  1614.    cam = game.Workspace.CurrentCamera
  1615.    local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p
  1616.     local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
  1617.     local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(0.004, 0.004, 0)
  1618.     cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
  1619.    weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-94), math.rad(-25), 0)
  1620.     weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0.05, math.rad(-90))
  1621. Tool.A1.Mesh.Offset = Vector3.new(0.17, 0, 0)
  1622. Tool.A2.Mesh.Offset = Vector3.new(0.2, 0, 0)
  1623. Tool.A3.Mesh.Offset = Vector3.new(0.2, 0, 0)
  1624. Tool.A4.Mesh.Offset = Vector3.new(0.2, 0, 0)
  1625. Tool.A5.Mesh.Offset = Vector3.new(0.2, 0, 0)
  1626. Tool.A6.Mesh.Offset = Vector3.new(0.135, 0.119, 0)
  1627. Tool.A7.Mesh.Offset = Vector3.new(0.18, 0, 0)
  1628. Tool.A8.Mesh.Offset = Vector3.new(0.1, 0.15, 0)
  1629. Tool.A9.Mesh.Offset = Vector3.new(0.185, 0.075, 0)
  1630. Tool.A10.Mesh.Offset = Vector3.new(0.18, 0, 0)
  1631. Tool.A11.Mesh.Offset = Vector3.new(0.1, 0.15, 0)
  1632. Tool.A12.Mesh.Offset = Vector3.new(0.2, 0, 0)
  1633. Tool.A13.Mesh.Offset = Vector3.new(0.14, 0.119, 0)
  1634. Tool.A14.Mesh.Offset = Vector3.new(0.2, 0, 0)
  1635. Tool.A15.Mesh.Offset = Vector3.new(0.2, 0, 0)
  1636. Tool.A16.Mesh.Offset = Vector3.new(0.2, 0, 0)
  1637. Tool.A17.Mesh.Offset = Vector3.new(0.2, 0, 0)
  1638. Tool.A18.Mesh.Offset = Vector3.new(0.2, 0, 0)
  1639. Tool.A19.Mesh.Offset = Vector3.new(0.2, 0, 0)
  1640. Tool.A20.Mesh.Offset = Vector3.new(0.1, 0.15, 0)
  1641. Tool.A21.Mesh.Offset = Vector3.new(0.15, -0.1, 0)
  1642. Tool.A22.Mesh.Offset = Vector3.new(0.2, 0, 0)
  1643. Tool.A23.Mesh.Offset = Vector3.new(0.2, 0, 0)
  1644. Tool.A24.Mesh.Offset = Vector3.new(0.2, 0, 0)
  1645. Tool.Backsight.Mesh.Offset = Vector3.new(0, -0.2, 0)
  1646. Tool.Backsight2.Mesh.Offset = Vector3.new(0, -0.2, 0)
  1647. Tool.Backsight3.Mesh.Offset = Vector3.new(0, -0.2, 0)
  1648. Tool.Frontsight.Mesh.Offset = Vector3.new(0, 0, 0.3)
  1649. Tool.Barrel2.Mesh.Offset = Vector3.new(0, 0.2, 0)
  1650.     wait(.02)
  1651.    local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p
  1652.     local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
  1653.     local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(0.004, -0.004, 0)
  1654.     cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
  1655.    weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-98), math.rad(-25), 0)
  1656.     weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0.1, math.rad(-90))
  1657. Tool.A1.Mesh.Offset = Vector3.new(0.27, 0, 0)
  1658. Tool.A2.Mesh.Offset = Vector3.new(0.3, 0, 0)
  1659. Tool.A3.Mesh.Offset = Vector3.new(0.3, 0, 0)
  1660. Tool.A4.Mesh.Offset = Vector3.new(0.3, 0, 0)
  1661. Tool.A5.Mesh.Offset = Vector3.new(0.3, 0, 0)
  1662. Tool.A6.Mesh.Offset = Vector3.new(0.26, 0.19, 0)
  1663. Tool.A7.Mesh.Offset = Vector3.new(0.28, 0, 0)
  1664. Tool.A8.Mesh.Offset = Vector3.new(0.1, 0.15, 0)
  1665. Tool.A9.Mesh.Offset = Vector3.new(0.185, 0.075, 0)
  1666. Tool.A10.Mesh.Offset = Vector3.new(0.28, 0, 0)
  1667. Tool.A11.Mesh.Offset = Vector3.new(0.2, 0.25, 0)
  1668. Tool.A12.Mesh.Offset = Vector3.new(0.3, 0, 0)
  1669. Tool.A13.Mesh.Offset = Vector3.new(0.26, 0.19, 0)
  1670. Tool.A14.Mesh.Offset = Vector3.new(0.3, 0, 0)
  1671. Tool.A15.Mesh.Offset = Vector3.new(0.3, 0, 0)
  1672. Tool.A16.Mesh.Offset = Vector3.new(0.3, 0, 0)
  1673. Tool.A17.Mesh.Offset = Vector3.new(0.3, 0, 0)
  1674. Tool.A18.Mesh.Offset = Vector3.new(0.3, 0, 0)
  1675. Tool.A19.Mesh.Offset = Vector3.new(0.3, 0, 0)
  1676. Tool.A20.Mesh.Offset = Vector3.new(0.2, 0.25, 0)
  1677. Tool.A21.Mesh.Offset = Vector3.new(0.25, -0.2, 0)
  1678. Tool.A22.Mesh.Offset = Vector3.new(0.3, 0, 0)
  1679. Tool.A23.Mesh.Offset = Vector3.new(0.3, 0, 0)
  1680. Tool.A24.Mesh.Offset = Vector3.new(0.3, 0, 0)
  1681. Tool.Backsight.Mesh.Offset = Vector3.new(0, -0.3, 0)
  1682. Tool.Backsight2.Mesh.Offset = Vector3.new(0, -0.3, 0)
  1683. Tool.Backsight3.Mesh.Offset = Vector3.new(0, -0.3, 0)
  1684. Tool.Frontsight.Mesh.Offset = Vector3.new(0, 0, 0.4)
  1685. Tool.Barrel2.Mesh.Offset = Vector3.new(0, 0.3, 0)
  1686.     wait(.02)
  1687.    local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p
  1688.     local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
  1689.     local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(0.004, 0.004, 0)
  1690.     cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
  1691.    weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-94), math.rad(-25), 0)
  1692.     weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0.05, math.rad(-90))
  1693.    Slider()
  1694.     wait(.02)
  1695.    local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p
  1696.     local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
  1697.     local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(0.004, -0.004, 0)
  1698.     cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
  1699.     weld33.C1 = CFrame.new(-0.95, 0.1, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-25), 0)
  1700.     weld55.C1 = CFrame.new(-0.25, 0.2, 0.7) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0, math.rad(-90))
  1701.    Slider2()
  1702. end
  1703.  
  1704. function KeyDownFunctions(key)
  1705.     if key == "r" then
  1706.         Reload()
  1707.     end
  1708. end
  1709.  
  1710. Tool.Enabled = true
  1711. function onActivated()
  1712.  
  1713.     if not Tool.Enabled then
  1714.         return
  1715.     end
  1716.  
  1717.     Tool.Enabled = false
  1718.  
  1719.     local character = Tool.Parent;
  1720.     local humanoid = character.Humanoid
  1721.     if humanoid == nil then
  1722.         print("Humanoid not found")
  1723.         return
  1724.     end
  1725.     local ammo = makarov.Ammo
  1726.     local maxammo = makarov.MaxAmmo
  1727.     if reloading == false and humanoid.Health >= 1 then
  1728.         if ammo.Value >= 1 then
  1729.             ammo.Value = ammo.Value - 1
  1730.             local targetPos = humanoid.TargetPoint
  1731.             local lookAt = (targetPos - character.Head.Position).unit
  1732.             if makarov.Recoil.Value < 20 then
  1733.                 makarov.Recoil.Value = makarov.Recoil.Value + math.random(1,3)
  1734.             end
  1735.             fire(lookAt)
  1736.         else
  1737.             Reload()
  1738.         end
  1739.     end
  1740.     Tool.Enabled = true
  1741. end
  1742.  
  1743. function onEquippedLocal(mouse)
  1744.  
  1745.     if mouse == nil then
  1746.         print("Mouse not found")
  1747.         return
  1748.     end
  1749.  
  1750.     mouse.Icon = "http://www.roblox.com/asset/?id=49912389"
  1751.     mouse.KeyDown:connect(KeyDownFunctions)
  1752.     while true do
  1753.         wait()
  1754.     end
  1755. end
  1756.  
  1757.  
  1758. Tool.Equipped:connect(onEquippedLocal)
  1759.  
  1760.  
  1761. makarov.Activated:connect(onActivated)
  1762. Tool.Equipped:connect(Equip)
  1763. Tool.Unequipped:connect(Unequip)
  1764.  
  1765.  
  1766. local Tool = makarov
  1767. local Ammo = Tool.Ammo
  1768. local MaxAmmo = Ammo.Value
  1769.  
  1770. local vPlayer
  1771. local Gui
  1772. local Text
  1773.  
  1774. function onChanged(value)
  1775.     if value == "Value" or value == Ammo.Value then
  1776.         if Gui ~= nil and Text ~= nil then
  1777.             if Ammo.Value >= 1 then
  1778.                 Text.Text = ""..makarov.Ammo.Value.."|"..makarov.StoredAmmo.Value..""
  1779.             elseif math.floor(Ammo.Value) == 0 then
  1780.                 Text.Text = ""..makarov.Ammo.Value.."|"..makarov.StoredAmmo.Value..""
  1781.             elseif Ammo.Value < 0 then
  1782.                 for i = 0, 1, 0.03 / 2 do
  1783.                     local Num = math.floor(i * MaxAmmo + 0.5)
  1784.  
  1785.                     Text.Text = ""..makarov.Ammo.Value.."|"..makarov.StoredAmmo.Value..""
  1786.                     wait()
  1787.                 end
  1788.             end
  1789.         end
  1790.     end
  1791. end
  1792.  
  1793. function on2Changed()
  1794.     if Gui ~= nil and Text ~= nil then
  1795.  
  1796.         Text.Text = ""..makarov.Ammo.Value.."|"..makarov.StoredAmmo.Value..""
  1797.         wait()
  1798.     end
  1799. end
  1800.  
  1801. function setUpGui()
  1802.     if vPlayer == nil or vPlayer:findFirstChild("PlayerGui") == nil then
  1803.         return
  1804.     end
  1805.  
  1806.     Gui = Instance.new("ScreenGui")
  1807.     Text = Instance.new("TextLabel")
  1808.  
  1809.     Gui.Name = "DEDisplay"
  1810.     Gui.Parent = vPlayer.PlayerGui
  1811.  
  1812.     Text.BackgroundColor3 = BrickColor.Black().Color
  1813.    Text.BackgroundTransparency = 1
  1814.     Text.BorderColor3 = BrickColor.White().Color
  1815.    Text.BorderSizePixel = 0
  1816.     Text.Name = "Ammo"
  1817.     Text.Parent = Gui
  1818.     Text.Position = UDim2.new(0.15, 0, 0.825, 0)
  1819.     Text.Size = UDim2.new(0, -60, 0, 64)
  1820.    Text.FontSize = "Size18"
  1821.     Text.Text = ""..makarov.Ammo.Value.."|"..makarov.StoredAmmo.Value..""
  1822.     Text.TextColor3 = BrickColor.White().Color
  1823. end
  1824.  
  1825. function onEquippedLocal(mouse)
  1826.     vPlayer = game.Players.LocalPlayer
  1827.  
  1828.     setUpGui()
  1829. end
  1830.  
  1831. function onUnequippedLocal(mouse)
  1832.     if Gui then
  1833.         Gui:remove()
  1834.     end
  1835.  
  1836.     Gui = nil
  1837.     Text = nil
  1838.     vPlayer = nil
  1839. end
  1840.  
  1841. Tool.Equipped:connect(onEquippedLocal)
  1842. Tool.Unequipped:connect(onUnequippedLocal)
  1843.  
  1844. Ammo.Changed:connect(onChanged)
  1845. Tool.StoredAmmo.Changed:connect(on2Changed)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement