Advertisement
billwa

M2 Carbine

Oct 23rd, 2015
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 79.81 KB | None | 0 0
  1. m2carbine = Instance.new("Tool", game.Players.LocalPlayer.Backpack)
  2. m2carbine.Name = "M2Carbine"
  3.  
  4. part = Instance.new("Part", m2carbine)
  5. part.FormFactor = Enum.FormFactor.Custom
  6. part.CanCollide = false
  7. part.TopSurface = Enum.SurfaceType.Smooth
  8. part.Anchored = false
  9. part.Material = Enum.Material.Metal
  10. part.Size = Vector3.new(0.834, 0.834, 0.834)
  11. part.CFrame = CFrame.new(8.479, 1.254, 40.994)* CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
  12. part.BrickColor = BrickColor.new("Dark stone grey")
  13. part.Friction = 0.3
  14. part.BottomSurface = Enum.SurfaceType.Smooth
  15.  
  16. mesh = Instance.new("CylinderMesh", part)
  17. mesh.Scale = Vector3.new(0.106, 2.069, 0.106)
  18.  
  19. decal = Instance.new("Decal", part)
  20. decal.Face = Enum.NormalId.Top
  21. decal.Texture = "http://www.roblox.com/asset/?id=47760372"
  22.  
  23. part_2 = Instance.new("Part", m2carbine)
  24. part_2.FormFactor = Enum.FormFactor.Custom
  25. part_2.CanCollide = false
  26. part_2.TopSurface = Enum.SurfaceType.Smooth
  27. part_2.Anchored = false
  28. part_2.Material = Enum.Material.Wood
  29. part_2.Size = Vector3.new(0.834, 0.834, 0.834)
  30. part_2.CFrame = CFrame.new(9.126, 1.182, 40.99)* CFrame.Angles(-3.1415927410126, 5.5202993287651e-009, 2.3561944961548)
  31. part_2.BrickColor = BrickColor.new("Reddish brown")
  32. part_2.Friction = 0.3
  33. part_2.BottomSurface = Enum.SurfaceType.Smooth
  34.  
  35. mesh_2 = Instance.new("CylinderMesh", part_2)
  36. mesh_2.Scale = Vector3.new(0.239, 0.13, 0.239)
  37.  
  38. part_3 = Instance.new("Part", m2carbine)
  39. part_3.FormFactor = Enum.FormFactor.Custom
  40. part_3.CanCollide = false
  41. part_3.TopSurface = Enum.SurfaceType.Smooth
  42. part_3.Anchored = false
  43. part_3.Material = Enum.Material.Wood
  44. part_3.Size = Vector3.new(0.834, 0.834, 0.834)
  45. part_3.CFrame = CFrame.new(9.28, 1.275, 40.948)* CFrame.Angles(6.8167693711985e-014, 1.5707963705063, 0)
  46. part_3.BrickColor = BrickColor.new("Reddish brown")
  47. part_3.Friction = 0.3
  48. part_3.BottomSurface = Enum.SurfaceType.Smooth
  49.  
  50. mesh_3 = Instance.new("SpecialMesh", part_3)
  51. mesh_3.Scale = Vector3.new(0.133, 0.133, 0.133)
  52. mesh_3.MeshType = Enum.MeshType.Sphere
  53.  
  54. part_4 = Instance.new("Part", m2carbine)
  55. part_4.FormFactor = Enum.FormFactor.Custom
  56. part_4.CanCollide = false
  57. part_4.TopSurface = Enum.SurfaceType.Smooth
  58. part_4.Anchored = false
  59. part_4.Material = Enum.Material.Wood
  60. part_4.Size = Vector3.new(0.834, 0.834, 0.834)
  61. part_4.CFrame = CFrame.new(9.118, 1.206, 40.99)* CFrame.Angles(-3.1415927410126, -3.0997426847534e-013, -3.1415927410126)
  62. part_4.BrickColor = BrickColor.new("Reddish brown")
  63. part_4.Friction = 0.3
  64. part_4.BottomSurface = Enum.SurfaceType.Smooth
  65.  
  66. mesh_4 = Instance.new("CylinderMesh", part_4)
  67. mesh_4.Scale = Vector3.new(0.239, 0.129, 0.239)
  68.  
  69. part_5 = Instance.new("Part", m2carbine)
  70. part_5.FormFactor = Enum.FormFactor.Custom
  71. part_5.CanCollide = false
  72. part_5.TopSurface = Enum.SurfaceType.Smooth
  73. part_5.Anchored = false
  74. part_5.Material = Enum.Material.Wood
  75. part_5.Size = Vector3.new(0.425, 0.425, 0.425)
  76. part_5.CFrame = CFrame.new(9.352, 1.209, 40.992)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -3.1415927410126)
  77. part_5.BrickColor = BrickColor.new("Reddish brown")
  78. part_5.Friction = 0.3
  79. part_5.BottomSurface = Enum.SurfaceType.Smooth
  80.  
  81. mesh_5 = Instance.new("SpecialMesh", part_5)
  82. mesh_5.Scale = Vector3.new(1.196, 0.156, 0.468)
  83. mesh_5.MeshType = Enum.MeshType.Brick
  84.  
  85. part_6 = Instance.new("Part", m2carbine)
  86. part_6.FormFactor = Enum.FormFactor.Custom
  87. part_6.CanCollide = false
  88. part_6.TopSurface = Enum.SurfaceType.Smooth
  89. part_6.Anchored = false
  90. part_6.Material = Enum.Material.Wood
  91. part_6.Size = Vector3.new(1, 1, 1)
  92. part_6.CFrame = CFrame.new(9.217, 1.176, 40.992)* CFrame.Angles(-1.5707963705063, 0, -1.5707963705063)
  93. part_6.BrickColor = BrickColor.new("Reddish brown")
  94. part_6.Friction = 0.3
  95. part_6.BottomSurface = Enum.SurfaceType.Smooth
  96.  
  97. mesh_6 = Instance.new("CylinderMesh", part_6)
  98. mesh_6.Scale = Vector3.new(0.199, 0.24, 0.221)
  99.  
  100. part_7 = Instance.new("Part", m2carbine)
  101. part_7.FormFactor = Enum.FormFactor.Custom
  102. part_7.CanCollide = false
  103. part_7.TopSurface = Enum.SurfaceType.Smooth
  104. part_7.Anchored = false
  105. part_7.Material = Enum.Material.Metal
  106. part_7.Size = Vector3.new(0.425, 0.425, 0.425)
  107. part_7.CFrame = CFrame.new(9.23, 1.162, 40.993)* CFrame.Angles(-1.5707963705063, 0, -1.5707963705063)
  108. part_7.BrickColor = BrickColor.new("Dark stone grey")
  109. part_7.Friction = 0.3
  110. part_7.BottomSurface = Enum.SurfaceType.Smooth
  111.  
  112. mesh_7 = Instance.new("CylinderMesh", part_7)
  113. mesh_7.Scale = Vector3.new(0.601, 0.104, 0.476)
  114.  
  115. part_8 = Instance.new("Part", m2carbine)
  116. part_8.FormFactor = Enum.FormFactor.Custom
  117. part_8.CanCollide = false
  118. part_8.TopSurface = Enum.SurfaceType.Smooth
  119. part_8.Anchored = false
  120. part_8.Material = Enum.Material.Metal
  121. part_8.Size = Vector3.new(0.834, 0.834, 0.834)
  122. part_8.CFrame = CFrame.new(8.954, 1.253, 40.992)* CFrame.Angles(-1.5707963705063, 0, -1.5707963705063)
  123. part_8.BrickColor = BrickColor.new("Dark stone grey")
  124. part_8.Friction = 0.3
  125. part_8.BottomSurface = Enum.SurfaceType.Smooth
  126.  
  127. mesh_8 = Instance.new("CylinderMesh", part_8)
  128. mesh_8.Scale = Vector3.new(0.133, 1.088, 0.133)
  129.  
  130. part_9 = Instance.new("Part", m2carbine)
  131. part_9.FormFactor = Enum.FormFactor.Custom
  132. part_9.CanCollide = false
  133. part_9.TopSurface = Enum.SurfaceType.Smooth
  134. part_9.Anchored = false
  135. part_9.Material = Enum.Material.Metal
  136. part_9.Size = Vector3.new(0.425, 0.425, 0.425)
  137. part_9.CFrame = CFrame.new(9.23, 1.212, 40.993)* CFrame.Angles(-1.5707963705063, 0, -1.5707963705063)
  138. part_9.BrickColor = BrickColor.new("Dark stone grey")
  139. part_9.Friction = 0.3
  140. part_9.BottomSurface = Enum.SurfaceType.Smooth
  141.  
  142. mesh_9 = Instance.new("SpecialMesh", part_9)
  143. mesh_9.Scale = Vector3.new(0.481, 0.104, 0.252)
  144. mesh_9.MeshType = Enum.MeshType.Brick
  145.  
  146. part_10 = Instance.new("Part", m2carbine)
  147. part_10.FormFactor = Enum.FormFactor.Custom
  148. part_10.CanCollide = false
  149. part_10.TopSurface = Enum.SurfaceType.Smooth
  150. part_10.Anchored = false
  151. part_10.Material = Enum.Material.Wood
  152. part_10.Size = Vector3.new(0.834, 0.834, 0.834)
  153. part_10.CFrame = CFrame.new(9.28, 1.275, 41.036)* CFrame.Angles(6.8167693711985e-014, 1.5707963705063, 0)
  154. part_10.BrickColor = BrickColor.new("Reddish brown")
  155. part_10.Friction = 0.3
  156. part_10.BottomSurface = Enum.SurfaceType.Smooth
  157.  
  158. mesh_10 = Instance.new("SpecialMesh", part_10)
  159. mesh_10.Scale = Vector3.new(0.133, 0.133, 0.133)
  160. mesh_10.MeshType = Enum.MeshType.Sphere
  161.  
  162. part_11 = Instance.new("Part", m2carbine)
  163. part_11.FormFactor = Enum.FormFactor.Custom
  164. part_11.CanCollide = false
  165. part_11.TopSurface = Enum.SurfaceType.Smooth
  166. part_11.Anchored = false
  167. part_11.Material = Enum.Material.Wood
  168. part_11.Size = Vector3.new(0.425, 0.425, 0.425)
  169. part_11.CFrame = CFrame.new(9.407, 1.142, 40.992)* CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  170. part_11.BrickColor = BrickColor.new("Reddish brown")
  171. part_11.Friction = 0.3
  172. part_11.BottomSurface = Enum.SurfaceType.Smooth
  173.  
  174. mesh_11 = Instance.new("SpecialMesh", part_11)
  175. mesh_11.Scale = Vector3.new(0.468, 0.832, 0.156)
  176. mesh_11.MeshType = Enum.MeshType.Wedge
  177.  
  178. part_12 = Instance.new("Part", m2carbine)
  179. part_12.FormFactor = Enum.FormFactor.Custom
  180. part_12.CanCollide = false
  181. part_12.TopSurface = Enum.SurfaceType.Smooth
  182. part_12.Anchored = false
  183. part_12.Material = Enum.Material.Wood
  184. part_12.Size = Vector3.new(1, 1, 1)
  185. part_12.CFrame = CFrame.new(9.438, 1.132, 40.992)* CFrame.Angles(-1.5707963705063, 0.20137369632721, -1.5707963705063)
  186. part_12.BrickColor = BrickColor.new("Reddish brown")
  187. part_12.Friction = 0.3
  188. part_12.BottomSurface = Enum.SurfaceType.Smooth
  189.  
  190. mesh_12 = Instance.new("CylinderMesh", part_12)
  191. mesh_12.Scale = Vector3.new(0.199, 0.373, 0.221)
  192.  
  193. part_13 = Instance.new("Part", m2carbine)
  194. part_13.FormFactor = Enum.FormFactor.Custom
  195. part_13.CanCollide = false
  196. part_13.TopSurface = Enum.SurfaceType.Smooth
  197. part_13.Anchored = false
  198. part_13.Size = Vector3.new(0.217, 0.217, 0.217)
  199. part_13.CFrame = CFrame.new(10.325, 1.303, 41.077)* CFrame.Angles(1.0472025871277, 0, -0)
  200. part_13.BrickColor = BrickColor.new("Really black")
  201. part_13.Friction = 0.3
  202. part_13.BottomSurface = Enum.SurfaceType.Smooth
  203.  
  204. mesh_13 = Instance.new("CylinderMesh", part_13)
  205. mesh_13.Scale = Vector3.new(0.102, 0.102, 0.102)
  206.  
  207. part_14 = Instance.new("Part", m2carbine)
  208. part_14.FormFactor = Enum.FormFactor.Custom
  209. part_14.CanCollide = false
  210. part_14.TopSurface = Enum.SurfaceType.Smooth
  211. part_14.Anchored = false
  212. part_14.Material = Enum.Material.Wood
  213. part_14.Size = Vector3.new(0.834, 0.834, 0.834)
  214. part_14.CFrame = CFrame.new(9.838, 1.275, 41.036)* CFrame.Angles(-1.5707963705063, 0, -1.5707963705063)
  215. part_14.BrickColor = BrickColor.new("Reddish brown")
  216. part_14.Friction = 0.3
  217. part_14.BottomSurface = Enum.SurfaceType.Smooth
  218.  
  219. mesh_14 = Instance.new("CylinderMesh", part_14)
  220. mesh_14.Scale = Vector3.new(0.133, 1.353, 0.133)
  221.  
  222. part_15 = Instance.new("Part", m2carbine)
  223. part_15.FormFactor = Enum.FormFactor.Custom
  224. part_15.CanCollide = false
  225. part_15.TopSurface = Enum.SurfaceType.Smooth
  226. part_15.Anchored = false
  227. part_15.Material = Enum.Material.Wood
  228. part_15.Size = Vector3.new(0.217, 0.217, 0.217)
  229. part_15.CFrame = CFrame.new(9.551, 1.253, 40.992)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -3.1415927410126)
  230. part_15.BrickColor = BrickColor.new("Reddish brown")
  231. part_15.Friction = 0.3
  232. part_15.BottomSurface = Enum.SurfaceType.Smooth
  233.  
  234. mesh_15 = Instance.new("SpecialMesh", part_15)
  235. mesh_15.Scale = Vector3.new(4.182, 0.102, 0.918)
  236. mesh_15.MeshType = Enum.MeshType.Brick
  237.  
  238. part_16 = Instance.new("Part", m2carbine)
  239. part_16.FormFactor = Enum.FormFactor.Custom
  240. part_16.CanCollide = false
  241. part_16.TopSurface = Enum.SurfaceType.Smooth
  242. part_16.Anchored = false
  243. part_16.Size = Vector3.new(0.217, 0.217, 0.217)
  244. part_16.CFrame = CFrame.new(10.37, 1.303, 41.076)* CFrame.Angles(1.0472025871277, 0, -0)
  245. part_16.BrickColor = BrickColor.new("Really black")
  246. part_16.Friction = 0.3
  247. part_16.BottomSurface = Enum.SurfaceType.Smooth
  248.  
  249. mesh_16 = Instance.new("CylinderMesh", part_16)
  250. mesh_16.Scale = Vector3.new(0.102, 0.102, 0.102)
  251.  
  252. aimpart = Instance.new("Part", m2carbine)
  253. aimpart.FormFactor = Enum.FormFactor.Custom
  254. aimpart.CanCollide = false
  255. aimpart.Transparency = 1
  256. aimpart.TopSurface = Enum.SurfaceType.Smooth
  257. aimpart.Anchored = false
  258. aimpart.Size = Vector3.new(0.2, 0.2, 0.2)
  259. aimpart.Name = "AimPart"
  260. aimpart.FrontSurface = Enum.SurfaceType.Glue
  261. aimpart.CFrame = CFrame.new(11.45, 1.345, 40.991)* CFrame.Angles(0, 1.5707963705063, 0)
  262. aimpart.BrickColor = BrickColor.new("Black")
  263. aimpart.Friction = 0.3
  264. aimpart.BottomSurface = Enum.SurfaceType.Smooth
  265.  
  266. handle = Instance.new("Part", m2carbine)
  267. handle.FormFactor = Enum.FormFactor.Custom
  268. handle.CanCollide = false
  269. handle.Transparency = 1
  270. handle.TopSurface = Enum.SurfaceType.Smooth
  271. handle.Anchored = false
  272. handle.Size = Vector3.new(0.2, 0.2, 0.2)
  273. handle.Name = "Handle"
  274. handle.FrontSurface = Enum.SurfaceType.Glue
  275. handle.CFrame = CFrame.new(10.82, 0.585, 40.991)* CFrame.Angles(0, 1.5707963705063, 0)
  276. handle.BrickColor = BrickColor.new("Black")
  277. handle.Friction = 0.3
  278. handle.BottomSurface = Enum.SurfaceType.Smooth
  279.  
  280. reload = Instance.new("Sound", handle)
  281. reload.Name = "Reload"
  282. reload.Volume = 1
  283. reload.SoundId = "http://www.roblox.com/asset/?id=132455960"
  284.  
  285. shoot = Instance.new("Sound", handle)
  286. shoot.Name = "Shoot"
  287. shoot.Volume = 1
  288. shoot.SoundId = "http://www.roblox.com/asset/?id=132455948"
  289.  
  290. part_17 = Instance.new("Part", m2carbine)
  291. part_17.FormFactor = Enum.FormFactor.Custom
  292. part_17.CanCollide = false
  293. part_17.TopSurface = Enum.SurfaceType.Smooth
  294. part_17.Anchored = false
  295. part_17.Material = Enum.Material.Metal
  296. part_17.Size = Vector3.new(0.217, 0.217, 0.217)
  297. part_17.CFrame = CFrame.new(10.889, 0.835, 40.993)* CFrame.Angles(3.1415927410126, -3.0708768861132e-013, -1.4948227405548)
  298. part_17.BrickColor = BrickColor.new("Dark stone grey")
  299. part_17.Friction = 0.3
  300. part_17.BottomSurface = Enum.SurfaceType.Smooth
  301.  
  302. mesh_17 = Instance.new("SpecialMesh", part_17)
  303. mesh_17.Scale = Vector3.new(0.102, 0.663, 0.102)
  304. mesh_17.MeshType = Enum.MeshType.Brick
  305.  
  306. part_18 = Instance.new("Part", m2carbine)
  307. part_18.FormFactor = Enum.FormFactor.Custom
  308. part_18.CanCollide = false
  309. part_18.TopSurface = Enum.SurfaceType.Smooth
  310. part_18.Anchored = false
  311. part_18.Material = Enum.Material.Metal
  312. part_18.Size = Vector3.new(0.217, 0.217, 0.217)
  313. part_18.CFrame = CFrame.new(10.971, 0.84, 40.993)* CFrame.Angles(3.1415927410126, -3.0819791163594e-013, -2.0378346443176)
  314. part_18.BrickColor = BrickColor.new("Dark stone grey")
  315. part_18.Friction = 0.3
  316. part_18.BottomSurface = Enum.SurfaceType.Smooth
  317.  
  318. mesh_18 = Instance.new("SpecialMesh", part_18)
  319. mesh_18.Scale = Vector3.new(0.102, 0.184, 0.102)
  320. mesh_18.MeshType = Enum.MeshType.Brick
  321.  
  322. part_19 = Instance.new("Part", m2carbine)
  323. part_19.FormFactor = Enum.FormFactor.Custom
  324. part_19.CanCollide = false
  325. part_19.TopSurface = Enum.SurfaceType.Smooth
  326. part_19.Anchored = false
  327. part_19.Material = Enum.Material.Wood
  328. part_19.Size = Vector3.new(1, 1, 1)
  329. part_19.CFrame = CFrame.new(11.332, 0.939, 40.992)* CFrame.Angles(-1.5707963705063, 0.61067652702332, -1.5707963705063)
  330. part_19.BrickColor = BrickColor.new("Reddish brown")
  331. part_19.Friction = 0.3
  332. part_19.BottomSurface = Enum.SurfaceType.Smooth
  333.  
  334. mesh_19 = Instance.new("CylinderMesh", part_19)
  335. mesh_19.Scale = Vector3.new(0.199, 0.199, 0.199)
  336.  
  337. part_20 = Instance.new("Part", m2carbine)
  338. part_20.FormFactor = Enum.FormFactor.Custom
  339. part_20.CanCollide = false
  340. part_20.TopSurface = Enum.SurfaceType.Smooth
  341. part_20.Anchored = false
  342. part_20.Material = Enum.Material.Metal
  343. part_20.Size = Vector3.new(0.217, 0.217, 0.217)
  344. part_20.CFrame = CFrame.new(10.808, 0.85, 40.993)* CFrame.Angles(3.1415927410126, -3.0742075551871e-013, -1.1516569852829)
  345. part_20.BrickColor = BrickColor.new("Dark stone grey")
  346. part_20.Friction = 0.3
  347. part_20.BottomSurface = Enum.SurfaceType.Smooth
  348.  
  349. mesh_20 = Instance.new("SpecialMesh", part_20)
  350. mesh_20.Scale = Vector3.new(0.102, 0.184, 0.102)
  351. mesh_20.MeshType = Enum.MeshType.Brick
  352.  
  353. part_21 = Instance.new("Part", m2carbine)
  354. part_21.FormFactor = Enum.FormFactor.Custom
  355. part_21.CanCollide = false
  356. part_21.TopSurface = Enum.SurfaceType.Smooth
  357. part_21.Anchored = false
  358. part_21.Material = Enum.Material.Wood
  359. part_21.Size = Vector3.new(1, 1, 1)
  360. part_21.CFrame = CFrame.new(11.362, 1.039, 40.992)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -2.5309164524078)
  361. part_21.BrickColor = BrickColor.new("Reddish brown")
  362. part_21.Friction = 0.3
  363. part_21.BottomSurface = Enum.SurfaceType.Smooth
  364.  
  365. mesh_21 = Instance.new("SpecialMesh", part_21)
  366. mesh_21.Scale = Vector3.new(0.265, 0.201, 0.199)
  367. mesh_21.MeshType = Enum.MeshType.Brick
  368.  
  369. part_22 = Instance.new("Part", m2carbine)
  370. part_22.FormFactor = Enum.FormFactor.Custom
  371. part_22.CanCollide = false
  372. part_22.TopSurface = Enum.SurfaceType.Smooth
  373. part_22.Anchored = false
  374. part_22.Material = Enum.Material.Metal
  375. part_22.Size = Vector3.new(0.834, 0.834, 0.834)
  376. part_22.CFrame = CFrame.new(10.806, 1.251, 40.994)* CFrame.Angles(-1.5707963705063, 0, -1.5707963705063)
  377. part_22.BrickColor = BrickColor.new("Dark stone grey")
  378. part_22.Friction = 0.3
  379. part_22.BottomSurface = Enum.SurfaceType.Smooth
  380.  
  381. mesh_22 = Instance.new("CylinderMesh", part_22)
  382. mesh_22.Scale = Vector3.new(0.106, 0.121, 0.106)
  383.  
  384. part_23 = Instance.new("Part", m2carbine)
  385. part_23.FormFactor = Enum.FormFactor.Custom
  386. part_23.CanCollide = false
  387. part_23.TopSurface = Enum.SurfaceType.Smooth
  388. part_23.Anchored = false
  389. part_23.Material = Enum.Material.Metal
  390. part_23.Size = Vector3.new(0.217, 0.217, 0.217)
  391. part_23.CFrame = CFrame.new(10.795, 0.915, 40.993)* CFrame.Angles(3.1415927410126, -3.0819791163594e-013, 3.1051728725433)
  392. part_23.BrickColor = BrickColor.new("Dark stone grey")
  393. part_23.Friction = 0.3
  394. part_23.BottomSurface = Enum.SurfaceType.Smooth
  395.  
  396. mesh_23 = Instance.new("SpecialMesh", part_23)
  397. mesh_23.Scale = Vector3.new(0.102, 0.592, 0.102)
  398. mesh_23.MeshType = Enum.MeshType.Brick
  399.  
  400. part_24 = Instance.new("Part", m2carbine)
  401. part_24.FormFactor = Enum.FormFactor.Custom
  402. part_24.CanCollide = false
  403. part_24.TopSurface = Enum.SurfaceType.Smooth
  404. part_24.Anchored = false
  405. part_24.Material = Enum.Material.Wood
  406. part_24.Size = Vector3.new(1, 1, 1)
  407. part_24.CFrame = CFrame.new(11.172, 1.143, 40.992)* CFrame.Angles(3.1415927410126, -3.0708768861132e-013, -2.7927157878876)
  408. part_24.BrickColor = BrickColor.new("Reddish brown")
  409. part_24.Friction = 0.3
  410. part_24.BottomSurface = Enum.SurfaceType.Smooth
  411.  
  412. mesh_24 = Instance.new("SpecialMesh", part_24)
  413. mesh_24.Scale = Vector3.new(0.243, 0.201, 0.199)
  414. mesh_24.MeshType = Enum.MeshType.Brick
  415.  
  416. part_25 = Instance.new("Part", m2carbine)
  417. part_25.FormFactor = Enum.FormFactor.Custom
  418. part_25.CanCollide = false
  419. part_25.TopSurface = Enum.SurfaceType.Smooth
  420. part_25.Anchored = false
  421. part_25.Material = Enum.Material.Wood
  422. part_25.Size = Vector3.new(1, 1, 1)
  423. part_25.CFrame = CFrame.new(11.156, 1.033, 40.992)* CFrame.Angles(-1.5707963705063, 0.34887683391571, -1.5707963705063)
  424. part_25.BrickColor = BrickColor.new("Reddish brown")
  425. part_25.Friction = 0.3
  426. part_25.BottomSurface = Enum.SurfaceType.Smooth
  427.  
  428. mesh_25 = Instance.new("CylinderMesh", part_25)
  429. mesh_25.Scale = Vector3.new(0.199, 0.199, 0.199)
  430.  
  431. part_26 = Instance.new("Part", m2carbine)
  432. part_26.FormFactor = Enum.FormFactor.Custom
  433. part_26.CanCollide = false
  434. part_26.TopSurface = Enum.SurfaceType.Smooth
  435. part_26.Anchored = false
  436. part_26.Material = Enum.Material.Metal
  437. part_26.Size = Vector3.new(0.217, 0.217, 0.217)
  438. part_26.CFrame = CFrame.new(10.979, 1.26, 40.992)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -3.1415927410126)
  439. part_26.BrickColor = BrickColor.new("Dark stone grey")
  440. part_26.Friction = 0.3
  441. part_26.BottomSurface = Enum.SurfaceType.Smooth
  442.  
  443. mesh_26 = Instance.new("BlockMesh", part_26)
  444. mesh_26.Scale = Vector3.new(1.127, 0.102, 0.51)
  445.  
  446. part_27 = Instance.new("Part", m2carbine)
  447. part_27.FormFactor = Enum.FormFactor.Custom
  448. part_27.CanCollide = false
  449. part_27.TopSurface = Enum.SurfaceType.Smooth
  450. part_27.Anchored = false
  451. part_27.Material = Enum.Material.Metal
  452. part_27.Size = Vector3.new(0.217, 0.217, 0.217)
  453. part_27.CFrame = CFrame.new(11.077, 1.309, 40.992)* CFrame.Angles(6.8167693711985e-014, -1.5707963705063, 0)
  454. part_27.BrickColor = BrickColor.new("Dark stone grey")
  455. part_27.Friction = 0.3
  456. part_27.BottomSurface = Enum.SurfaceType.Smooth
  457.  
  458. mesh_27 = Instance.new("SpecialMesh", part_27)
  459. mesh_27.Scale = Vector3.new(0.168, 0.148, 0.102)
  460. mesh_27.MeshType = Enum.MeshType.Brick
  461.  
  462. part_28 = Instance.new("Part", m2carbine)
  463. part_28.FormFactor = Enum.FormFactor.Custom
  464. part_28.CanCollide = false
  465. part_28.TopSurface = Enum.SurfaceType.Smooth
  466. part_28.Anchored = false
  467. part_28.Material = Enum.Material.Metal
  468. part_28.Size = Vector3.new(0.2, 0.2, 0.2)
  469. part_28.CFrame = CFrame.new(11.068, 1.344, 40.991)* CFrame.Angles(1.5707963705063, -1.483447432518, -3.1415927410126)
  470. part_28.BrickColor = BrickColor.new("Dark stone grey")
  471. part_28.Friction = 0.3
  472. part_28.BottomSurface = Enum.SurfaceType.Smooth
  473.  
  474. mesh_28 = Instance.new("SpecialMesh", part_28)
  475. mesh_28.Scale = Vector3.new(0.042, 0.042, 0.22)
  476. mesh_28.MeshId = "http://www.roblox.com/asset/?id=3270017"
  477. mesh_28.MeshType = Enum.MeshType.FileMesh
  478.  
  479. part_29 = Instance.new("Part", m2carbine)
  480. part_29.FormFactor = Enum.FormFactor.Custom
  481. part_29.CanCollide = false
  482. part_29.TopSurface = Enum.SurfaceType.Smooth
  483. part_29.Anchored = false
  484. part_29.Material = Enum.Material.Metal
  485. part_29.Size = Vector3.new(0.217, 0.217, 0.217)
  486. part_29.CFrame = CFrame.new(10.946, 1.298, 40.959)* CFrame.Angles(-1.5707963705063, 1.4834481477737, 1.5707963705063)
  487. part_29.BrickColor = BrickColor.new("Dark stone grey")
  488. part_29.Friction = 0.3
  489. part_29.BottomSurface = Enum.SurfaceType.Smooth
  490.  
  491. mesh_29 = Instance.new("SpecialMesh", part_29)
  492. mesh_29.Scale = Vector3.new(0.102, 0.306, 0.204)
  493. mesh_29.MeshType = Enum.MeshType.Wedge
  494.  
  495. part_30 = Instance.new("Part", m2carbine)
  496. part_30.FormFactor = Enum.FormFactor.Custom
  497. part_30.CanCollide = false
  498. part_30.TopSurface = Enum.SurfaceType.Smooth
  499. part_30.Anchored = false
  500. part_30.Material = Enum.Material.Metal
  501. part_30.Size = Vector3.new(0.217, 0.217, 0.217)
  502. part_30.CFrame = CFrame.new(11.058, 1.304, 40.992)* CFrame.Angles(6.8167693711985e-014, 1.5707963705063, 0)
  503. part_30.BrickColor = BrickColor.new("Dark stone grey")
  504. part_30.Friction = 0.3
  505. part_30.BottomSurface = Enum.SurfaceType.Smooth
  506.  
  507. mesh_30 = Instance.new("SpecialMesh", part_30)
  508. mesh_30.Scale = Vector3.new(0.51, 0.102, 0.408)
  509. mesh_30.MeshType = Enum.MeshType.Wedge
  510.  
  511. part_31 = Instance.new("Part", m2carbine)
  512. part_31.FormFactor = Enum.FormFactor.Custom
  513. part_31.CanCollide = false
  514. part_31.TopSurface = Enum.SurfaceType.Smooth
  515. part_31.Anchored = false
  516. part_31.Material = Enum.Material.Metal
  517. part_31.Size = Vector3.new(0.217, 0.217, 0.217)
  518. part_31.CFrame = CFrame.new(11.035, 1.306, 41.028)* CFrame.Angles(3.1415927410126, -3.0708768861132e-013, 3.0542430877686)
  519. part_31.BrickColor = BrickColor.new("Dark stone grey")
  520. part_31.Friction = 0.3
  521. part_31.BottomSurface = Enum.SurfaceType.Smooth
  522.  
  523. mesh_31 = Instance.new("BlockMesh", part_31)
  524. mesh_31.Scale = Vector3.new(0.617, 0.306, 0.102)
  525.  
  526. part_32 = Instance.new("Part", m2carbine)
  527. part_32.FormFactor = Enum.FormFactor.Custom
  528. part_32.CanCollide = false
  529. part_32.TopSurface = Enum.SurfaceType.Smooth
  530. part_32.Anchored = false
  531. part_32.Material = Enum.Material.Metal
  532. part_32.Size = Vector3.new(0.217, 0.217, 0.217)
  533. part_32.CFrame = CFrame.new(10.993, 0.904, 40.993)* CFrame.Angles(3.1415927410126, -3.0786484472856e-013, -3.0272324085236)
  534. part_32.BrickColor = BrickColor.new("Dark stone grey")
  535. part_32.Friction = 0.3
  536. part_32.BottomSurface = Enum.SurfaceType.Smooth
  537.  
  538. mesh_32 = Instance.new("SpecialMesh", part_32)
  539. mesh_32.Scale = Vector3.new(0.102, 0.592, 0.102)
  540. mesh_32.MeshType = Enum.MeshType.Brick
  541.  
  542. part_33 = Instance.new("Part", m2carbine)
  543. part_33.FormFactor = Enum.FormFactor.Custom
  544. part_33.CanCollide = false
  545. part_33.TopSurface = Enum.SurfaceType.Smooth
  546. part_33.Anchored = false
  547. part_33.Material = Enum.Material.Metal
  548. part_33.Size = Vector3.new(0.217, 0.217, 0.217)
  549. part_33.CFrame = CFrame.new(11.013, 1.282, 40.992)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -3.1415927410126)
  550. part_33.BrickColor = BrickColor.new("Dark stone grey")
  551. part_33.Friction = 0.3
  552. part_33.BottomSurface = Enum.SurfaceType.Smooth
  553.  
  554. mesh_33 = Instance.new("BlockMesh", part_33)
  555. mesh_33.Scale = Vector3.new(0.821, 0.102, 0.51)
  556.  
  557. part_34 = Instance.new("Part", m2carbine)
  558. part_34.FormFactor = Enum.FormFactor.Custom
  559. part_34.CanCollide = false
  560. part_34.TopSurface = Enum.SurfaceType.Smooth
  561. part_34.Anchored = false
  562. part_34.Material = Enum.Material.Metal
  563. part_34.Size = Vector3.new(0.217, 0.217, 0.217)
  564. part_34.CFrame = CFrame.new(11.042, 1.241, 40.992)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -3.1415927410126)
  565. part_34.BrickColor = BrickColor.new("Dark stone grey")
  566. part_34.Friction = 0.3
  567. part_34.BottomSurface = Enum.SurfaceType.Smooth
  568.  
  569. mesh_34 = Instance.new("CylinderMesh", part_34)
  570. mesh_34.Scale = Vector3.new(0.714, 0.102, 0.714)
  571.  
  572. part_35 = Instance.new("Part", m2carbine)
  573. part_35.FormFactor = Enum.FormFactor.Custom
  574. part_35.CanCollide = false
  575. part_35.TopSurface = Enum.SurfaceType.Smooth
  576. part_35.Anchored = false
  577. part_35.Material = Enum.Material.Metal
  578. part_35.Size = Vector3.new(0.425, 0.425, 0.425)
  579. part_35.CFrame = CFrame.new(10.602, 1.252, 40.992)* CFrame.Angles(-1.5707963705063, 0, -1.5707963705063)
  580. part_35.Friction = 0.3
  581. part_35.BottomSurface = Enum.SurfaceType.Smooth
  582.  
  583. mesh_35 = Instance.new("CylinderMesh", part_35)
  584. mesh_35.Scale = Vector3.new(0.156, 0.728, 0.208)
  585.  
  586. part_36 = Instance.new("Part", m2carbine)
  587. part_36.FormFactor = Enum.FormFactor.Custom
  588. part_36.CanCollide = false
  589. part_36.TopSurface = Enum.SurfaceType.Smooth
  590. part_36.Anchored = false
  591. part_36.Material = Enum.Material.Metal
  592. part_36.Size = Vector3.new(0.834, 0.834, 0.834)
  593. part_36.CFrame = CFrame.new(10.6, 0.845, 40.997)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -3.1415927410126)
  594. part_36.BrickColor = BrickColor.new("Dark stone grey")
  595. part_36.Friction = 0.3
  596. part_36.BottomSurface = Enum.SurfaceType.Smooth
  597.  
  598. mesh_36 = Instance.new("SpecialMesh", part_36)
  599. mesh_36.Scale = Vector3.new(0.345, 0.393, 0.133)
  600. mesh_36.MeshType = Enum.MeshType.Brick
  601.  
  602. part_37 = Instance.new("Part", m2carbine)
  603. part_37.FormFactor = Enum.FormFactor.Custom
  604. part_37.CanCollide = false
  605. part_37.TopSurface = Enum.SurfaceType.Smooth
  606. part_37.Anchored = false
  607. part_37.Material = Enum.Material.Metal
  608. part_37.Size = Vector3.new(0.217, 0.217, 0.217)
  609. part_37.CFrame = CFrame.new(10.723, 1.241, 40.992)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -3.1415927410126)
  610. part_37.BrickColor = BrickColor.new("Dark stone grey")
  611. part_37.Friction = 0.3
  612. part_37.BottomSurface = Enum.SurfaceType.Smooth
  613.  
  614. mesh_37 = Instance.new("SpecialMesh", part_37)
  615. mesh_37.Scale = Vector3.new(2.958, 0.102, 0.714)
  616. mesh_37.MeshType = Enum.MeshType.Brick
  617.  
  618. part_38 = Instance.new("Part", m2carbine)
  619. part_38.FormFactor = Enum.FormFactor.Custom
  620. part_38.CanCollide = false
  621. part_38.TopSurface = Enum.SurfaceType.Smooth
  622. part_38.Anchored = false
  623. part_38.Material = Enum.Material.Metal
  624. part_38.Size = Vector3.new(0.217, 0.217, 0.217)
  625. part_38.CFrame = CFrame.new(10.756, 1.26, 40.948)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -3.1415927410126)
  626. part_38.BrickColor = BrickColor.new("Dark stone grey")
  627. part_38.Friction = 0.3
  628. part_38.BottomSurface = Enum.SurfaceType.Smooth
  629.  
  630. mesh_38 = Instance.new("SpecialMesh", part_38)
  631. mesh_38.Scale = Vector3.new(3.264, 0.102, 0.102)
  632. mesh_38.MeshType = Enum.MeshType.Brick
  633.  
  634. part_39 = Instance.new("Part", m2carbine)
  635. part_39.FormFactor = Enum.FormFactor.Custom
  636. part_39.CanCollide = false
  637. part_39.TopSurface = Enum.SurfaceType.Smooth
  638. part_39.Anchored = false
  639. part_39.Material = Enum.Material.Metal
  640. part_39.Size = Vector3.new(0.217, 0.217, 0.217)
  641. part_39.CFrame = CFrame.new(10.761, 0.98, 40.993)* CFrame.Angles(3.1415927410126, -3.0819791163594e-013, 3.1051728725433)
  642. part_39.BrickColor = BrickColor.new("Dark stone grey")
  643. part_39.Friction = 0.3
  644. part_39.BottomSurface = Enum.SurfaceType.Smooth
  645.  
  646. mesh_39 = Instance.new("SpecialMesh", part_39)
  647. mesh_39.Scale = Vector3.new(0.204, 0.49, 0.102)
  648. mesh_39.MeshType = Enum.MeshType.Brick
  649.  
  650. part_40 = Instance.new("Part", m2carbine)
  651. part_40.FormFactor = Enum.FormFactor.Custom
  652. part_40.CanCollide = false
  653. part_40.TopSurface = Enum.SurfaceType.Smooth
  654. part_40.Anchored = false
  655. part_40.Material = Enum.Material.Wood
  656. part_40.Size = Vector3.new(1, 1, 1)
  657. part_40.CFrame = CFrame.new(10.358, 1.075, 40.992)* CFrame.Angles(-1.5707963705063, 0.03432298079133, -1.5707963705063)
  658. part_40.BrickColor = BrickColor.new("Reddish brown")
  659. part_40.Friction = 0.3
  660. part_40.BottomSurface = Enum.SurfaceType.Smooth
  661.  
  662. mesh_40 = Instance.new("CylinderMesh", part_40)
  663. mesh_40.Scale = Vector3.new(0.199, 1.504, 0.221)
  664.  
  665. part_41 = Instance.new("Part", m2carbine)
  666. part_41.FormFactor = Enum.FormFactor.Custom
  667. part_41.CanCollide = false
  668. part_41.TopSurface = Enum.SurfaceType.Smooth
  669. part_41.Anchored = false
  670. part_41.Material = Enum.Material.Metal
  671. part_41.Size = Vector3.new(0.217, 0.217, 0.217)
  672. part_41.CFrame = CFrame.new(10.756, 1.26, 41.036)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -3.1415927410126)
  673. part_41.BrickColor = BrickColor.new("Dark stone grey")
  674. part_41.Friction = 0.3
  675. part_41.BottomSurface = Enum.SurfaceType.Smooth
  676.  
  677. mesh_41 = Instance.new("SpecialMesh", part_41)
  678. mesh_41.Scale = Vector3.new(3.264, 0.102, 0.102)
  679. mesh_41.MeshType = Enum.MeshType.Brick
  680.  
  681. part_42 = Instance.new("Part", m2carbine)
  682. part_42.FormFactor = Enum.FormFactor.Custom
  683. part_42.CanCollide = false
  684. part_42.TopSurface = Enum.SurfaceType.Smooth
  685. part_42.Anchored = false
  686. part_42.Material = Enum.Material.Wood
  687. part_42.Size = Vector3.new(0.425, 0.425, 0.425)
  688. part_42.CFrame = CFrame.new(10.347, 1.076, 40.992)* CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  689. part_42.BrickColor = BrickColor.new("Reddish brown")
  690. part_42.Friction = 0.3
  691. part_42.BottomSurface = Enum.SurfaceType.Smooth
  692.  
  693. mesh_42 = Instance.new("SpecialMesh", part_42)
  694. mesh_42.Scale = Vector3.new(0.468, 3.589, 0.156)
  695. mesh_42.MeshType = Enum.MeshType.Wedge
  696.  
  697. part_43 = Instance.new("Part", m2carbine)
  698. part_43.FormFactor = Enum.FormFactor.Custom
  699. part_43.CanCollide = false
  700. part_43.TopSurface = Enum.SurfaceType.Smooth
  701. part_43.Anchored = false
  702. part_43.Material = Enum.Material.Metal
  703. part_43.Size = Vector3.new(0.217, 0.217, 0.217)
  704. part_43.CFrame = CFrame.new(10.902, 1.282, 40.948)* CFrame.Angles(6.8167693711985e-014, 1.5707963705063, 0)
  705. part_43.BrickColor = BrickColor.new("Dark stone grey")
  706. part_43.Friction = 0.3
  707. part_43.BottomSurface = Enum.SurfaceType.Smooth
  708.  
  709. mesh_43 = Instance.new("SpecialMesh", part_43)
  710. mesh_43.Scale = Vector3.new(0.102, 0.102, 0.204)
  711. mesh_43.MeshType = Enum.MeshType.Wedge
  712.  
  713. part_44 = Instance.new("Part", m2carbine)
  714. part_44.FormFactor = Enum.FormFactor.Custom
  715. part_44.CanCollide = false
  716. part_44.TopSurface = Enum.SurfaceType.Smooth
  717. part_44.Anchored = false
  718. part_44.Material = Enum.Material.Metal
  719. part_44.Size = Vector3.new(0.425, 0.425, 0.425)
  720. part_44.CFrame = CFrame.new(10.424, 1.251, 40.994)* CFrame.Angles(-1.5707963705063, 0, -1.5707963705063)
  721. part_44.BrickColor = BrickColor.new("Dark stone grey")
  722. part_44.Friction = 0.3
  723. part_44.BottomSurface = Enum.SurfaceType.Smooth
  724.  
  725. mesh_44 = Instance.new("CylinderMesh", part_44)
  726. mesh_44.Scale = Vector3.new(0.208, 0.104, 0.208)
  727.  
  728. part_45 = Instance.new("Part", m2carbine)
  729. part_45.FormFactor = Enum.FormFactor.Custom
  730. part_45.CanCollide = false
  731. part_45.TopSurface = Enum.SurfaceType.Smooth
  732. part_45.Anchored = false
  733. part_45.Material = Enum.Material.Metal
  734. part_45.Size = Vector3.new(0.217, 0.217, 0.217)
  735. part_45.CFrame = CFrame.new(11.04, 1.304, 40.943)* CFrame.Angles(1.5707963705063, -0.34887683391571, 3.1415927410126)
  736. part_45.BrickColor = BrickColor.new("Dark stone grey")
  737. part_45.Friction = 0.3
  738. part_45.BottomSurface = Enum.SurfaceType.Smooth
  739.  
  740. mesh_45 = Instance.new("CylinderMesh", part_45)
  741. mesh_45.Scale = Vector3.new(0.408, 0.148, 0.306)
  742.  
  743. part_46 = Instance.new("Part", m2carbine)
  744. part_46.FormFactor = Enum.FormFactor.Custom
  745. part_46.CanCollide = false
  746. part_46.TopSurface = Enum.SurfaceType.Smooth
  747. part_46.Anchored = false
  748. part_46.Material = Enum.Material.Metal
  749. part_46.Size = Vector3.new(0.217, 0.217, 0.217)
  750. part_46.CFrame = CFrame.new(10.946, 1.298, 41.028)* CFrame.Angles(-1.5707963705063, 1.4834481477737, 1.5707963705063)
  751. part_46.BrickColor = BrickColor.new("Dark stone grey")
  752. part_46.Friction = 0.3
  753. part_46.BottomSurface = Enum.SurfaceType.Smooth
  754.  
  755. mesh_46 = Instance.new("SpecialMesh", part_46)
  756. mesh_46.Scale = Vector3.new(0.102, 0.306, 0.204)
  757. mesh_46.MeshType = Enum.MeshType.Wedge
  758.  
  759. part_47 = Instance.new("Part", m2carbine)
  760. part_47.FormFactor = Enum.FormFactor.Custom
  761. part_47.CanCollide = false
  762. part_47.TopSurface = Enum.SurfaceType.Smooth
  763. part_47.Anchored = false
  764. part_47.Material = Enum.Material.Metal
  765. part_47.Size = Vector3.new(0.217, 0.217, 0.217)
  766. part_47.CFrame = CFrame.new(10.902, 1.282, 41.036)* CFrame.Angles(6.8167693711985e-014, 1.5707963705063, 0)
  767. part_47.BrickColor = BrickColor.new("Dark stone grey")
  768. part_47.Friction = 0.3
  769. part_47.BottomSurface = Enum.SurfaceType.Smooth
  770.  
  771. mesh_47 = Instance.new("SpecialMesh", part_47)
  772. mesh_47.Scale = Vector3.new(0.102, 0.102, 0.204)
  773. mesh_47.MeshType = Enum.MeshType.Wedge
  774.  
  775. part_48 = Instance.new("Part", m2carbine)
  776. part_48.FormFactor = Enum.FormFactor.Custom
  777. part_48.CanCollide = false
  778. part_48.TopSurface = Enum.SurfaceType.Smooth
  779. part_48.Anchored = false
  780. part_48.Material = Enum.Material.Metal
  781. part_48.Size = Vector3.new(0.217, 0.217, 0.217)
  782. part_48.CFrame = CFrame.new(11.035, 1.306, 40.959)* CFrame.Angles(3.1415927410126, -3.0708768861132e-013, 3.0542430877686)
  783. part_48.BrickColor = BrickColor.new("Dark stone grey")
  784. part_48.Friction = 0.3
  785. part_48.BottomSurface = Enum.SurfaceType.Smooth
  786.  
  787. mesh_48 = Instance.new("BlockMesh", part_48)
  788. mesh_48.Scale = Vector3.new(0.617, 0.306, 0.102)
  789.  
  790. part_49 = Instance.new("Part", m2carbine)
  791. part_49.FormFactor = Enum.FormFactor.Custom
  792. part_49.CanCollide = false
  793. part_49.TopSurface = Enum.SurfaceType.Smooth
  794. part_49.Anchored = false
  795. part_49.Material = Enum.Material.Metal
  796. part_49.Size = Vector3.new(0.217, 0.217, 0.217)
  797. part_49.CFrame = CFrame.new(10.929, 0.942, 40.993)* CFrame.Angles(3.1415927410126, -3.0830893393841e-013, -2.8816318511963)
  798. part_49.Friction = 0.3
  799. part_49.BottomSurface = Enum.SurfaceType.Smooth
  800.  
  801. mesh_49 = Instance.new("SpecialMesh", part_49)
  802. mesh_49.Scale = Vector3.new(0.102, 0.592, 0.102)
  803. mesh_49.MeshType = Enum.MeshType.Brick
  804.  
  805. part_50 = Instance.new("Part", m2carbine)
  806. part_50.FormFactor = Enum.FormFactor.Custom
  807. part_50.CanCollide = false
  808. part_50.TopSurface = Enum.SurfaceType.Smooth
  809. part_50.Anchored = false
  810. part_50.Material = Enum.Material.Metal
  811. part_50.Size = Vector3.new(0.217, 0.217, 0.217)
  812. part_50.CFrame = CFrame.new(7.759, 1.332, 40.956)* CFrame.Angles(2.8797905445099, -4.4703483581543e-008, -3.1415927410126)
  813. part_50.BrickColor = BrickColor.new("Dark stone grey")
  814. part_50.Friction = 0.3
  815. part_50.BottomSurface = Enum.SurfaceType.Smooth
  816.  
  817. mesh_50 = Instance.new("SpecialMesh", part_50)
  818. mesh_50.Scale = Vector3.new(0.306, 0.306, 0.102)
  819. mesh_50.MeshType = Enum.MeshType.Brick
  820.  
  821. part_51 = Instance.new("Part", m2carbine)
  822. part_51.FormFactor = Enum.FormFactor.Custom
  823. part_51.CanCollide = false
  824. part_51.TopSurface = Enum.SurfaceType.Smooth
  825. part_51.Anchored = false
  826. part_51.Material = Enum.Material.Metal
  827. part_51.Size = Vector3.new(0.217, 0.217, 0.217)
  828. part_51.CFrame = CFrame.new(7.759, 1.359, 40.949)* CFrame.Angles(-1.8325928449631, 0, 1.4901161193848e-008)
  829. part_51.BrickColor = BrickColor.new("Dark stone grey")
  830. part_51.Friction = 0.3
  831. part_51.BottomSurface = Enum.SurfaceType.Smooth
  832.  
  833. mesh_51 = Instance.new("CylinderMesh", part_51)
  834. mesh_51.Scale = Vector3.new(0.306, 0.102, 0.306)
  835.  
  836. part_52 = Instance.new("Part", m2carbine)
  837. part_52.FormFactor = Enum.FormFactor.Custom
  838. part_52.CanCollide = false
  839. part_52.TopSurface = Enum.SurfaceType.Smooth
  840. part_52.Anchored = false
  841. part_52.Material = Enum.Material.Metal
  842. part_52.Size = Vector3.new(0.217, 0.217, 0.217)
  843. part_52.CFrame = CFrame.new(7.803, 1.332, 41.025)* CFrame.Angles(0.26179659366608, -1.5707963705063, 0)
  844. part_52.BrickColor = BrickColor.new("Dark stone grey")
  845. part_52.Friction = 0.3
  846. part_52.BottomSurface = Enum.SurfaceType.Smooth
  847.  
  848. mesh_52 = Instance.new("SpecialMesh", part_52)
  849. mesh_52.Scale = Vector3.new(0.102, 0.306, 0.102)
  850. mesh_52.MeshType = Enum.MeshType.Wedge
  851.  
  852. part_53 = Instance.new("Part", m2carbine)
  853. part_53.FormFactor = Enum.FormFactor.Custom
  854. part_53.CanCollide = false
  855. part_53.TopSurface = Enum.SurfaceType.Smooth
  856. part_53.Anchored = false
  857. part_53.Material = Enum.Material.Metal
  858. part_53.Size = Vector3.new(0.217, 0.217, 0.217)
  859. part_53.CFrame = CFrame.new(7.759, 1.359, 41.032)* CFrame.Angles(-1.3089997768402, 0, -0)
  860. part_53.BrickColor = BrickColor.new("Dark stone grey")
  861. part_53.Friction = 0.3
  862. part_53.BottomSurface = Enum.SurfaceType.Smooth
  863.  
  864. mesh_53 = Instance.new("CylinderMesh", part_53)
  865. mesh_53.Scale = Vector3.new(0.306, 0.102, 0.306)
  866.  
  867. part_54 = Instance.new("Part", m2carbine)
  868. part_54.FormFactor = Enum.FormFactor.Custom
  869. part_54.CanCollide = false
  870. part_54.TopSurface = Enum.SurfaceType.Smooth
  871. part_54.Anchored = false
  872. part_54.Material = Enum.Material.Metal
  873. part_54.Size = Vector3.new(0.217, 0.217, 0.217)
  874. part_54.CFrame = CFrame.new(7.759, 1.332, 41.025)* CFrame.Angles(-2.8797905445099, -2.9802322387695e-008, -3.1415927410126)
  875. part_54.BrickColor = BrickColor.new("Dark stone grey")
  876. part_54.Friction = 0.3
  877. part_54.BottomSurface = Enum.SurfaceType.Smooth
  878.  
  879. mesh_54 = Instance.new("SpecialMesh", part_54)
  880. mesh_54.Scale = Vector3.new(0.306, 0.306, 0.102)
  881. mesh_54.MeshType = Enum.MeshType.Brick
  882.  
  883. part_55 = Instance.new("Part", m2carbine)
  884. part_55.FormFactor = Enum.FormFactor.Custom
  885. part_55.CanCollide = false
  886. part_55.TopSurface = Enum.SurfaceType.Smooth
  887. part_55.Anchored = false
  888. part_55.Material = Enum.Material.Metal
  889. part_55.Size = Vector3.new(0.217, 0.217, 0.217)
  890. part_55.CFrame = CFrame.new(7.803, 1.332, 40.956)* CFrame.Angles(-0.26179653406143, -1.5707963705063, 0)
  891. part_55.BrickColor = BrickColor.new("Dark stone grey")
  892. part_55.Friction = 0.3
  893. part_55.BottomSurface = Enum.SurfaceType.Smooth
  894.  
  895. mesh_55 = Instance.new("SpecialMesh", part_55)
  896. mesh_55.Scale = Vector3.new(0.102, 0.306, 0.102)
  897. mesh_55.MeshType = Enum.MeshType.Wedge
  898.  
  899. part_56 = Instance.new("Part", m2carbine)
  900. part_56.FormFactor = Enum.FormFactor.Custom
  901. part_56.CanCollide = false
  902. part_56.TopSurface = Enum.SurfaceType.Smooth
  903. part_56.Anchored = false
  904. part_56.Material = Enum.Material.Metal
  905. part_56.Size = Vector3.new(0.834, 0.834, 0.834)
  906. part_56.CFrame = CFrame.new(7.759, 1.253, 40.992)* CFrame.Angles(-1.5707963705063, 0, -1.5707963705063)
  907. part_56.BrickColor = BrickColor.new("Dark stone grey")
  908. part_56.Friction = 0.3
  909. part_56.BottomSurface = Enum.SurfaceType.Smooth
  910.  
  911. mesh_56 = Instance.new("CylinderMesh", part_56)
  912. mesh_56.Scale = Vector3.new(0.133, 0.133, 0.133)
  913.  
  914. part_57 = Instance.new("Part", m2carbine)
  915. part_57.FormFactor = Enum.FormFactor.Custom
  916. part_57.CanCollide = false
  917. part_57.TopSurface = Enum.SurfaceType.Smooth
  918. part_57.Anchored = false
  919. part_57.Material = Enum.Material.Metal
  920. part_57.Size = Vector3.new(0.217, 0.217, 0.217)
  921. part_57.CFrame = CFrame.new(7.715, 1.332, 41.025)* CFrame.Angles(0.26179659366608, 1.5707963705063, 0)
  922. part_57.BrickColor = BrickColor.new("Dark stone grey")
  923. part_57.Friction = 0.3
  924. part_57.BottomSurface = Enum.SurfaceType.Smooth
  925.  
  926. mesh_57 = Instance.new("SpecialMesh", part_57)
  927. mesh_57.Scale = Vector3.new(0.102, 0.306, 0.102)
  928. mesh_57.MeshType = Enum.MeshType.Wedge
  929.  
  930. part_58 = Instance.new("Part", m2carbine)
  931. part_58.FormFactor = Enum.FormFactor.Custom
  932. part_58.CanCollide = false
  933. part_58.TopSurface = Enum.SurfaceType.Smooth
  934. part_58.Anchored = false
  935. part_58.Material = Enum.Material.Metal
  936. part_58.Size = Vector3.new(0.217, 0.217, 0.217)
  937. part_58.CFrame = CFrame.new(7.715, 1.332, 40.956)* CFrame.Angles(-0.26179653406143, 1.5707963705063, 0)
  938. part_58.BrickColor = BrickColor.new("Dark stone grey")
  939. part_58.Friction = 0.3
  940. part_58.BottomSurface = Enum.SurfaceType.Smooth
  941.  
  942. mesh_58 = Instance.new("SpecialMesh", part_58)
  943. mesh_58.Scale = Vector3.new(0.102, 0.306, 0.102)
  944. mesh_58.MeshType = Enum.MeshType.Wedge
  945.  
  946. part_59 = Instance.new("Part", m2carbine)
  947. part_59.FormFactor = Enum.FormFactor.Custom
  948. part_59.CanCollide = false
  949. part_59.TopSurface = Enum.SurfaceType.Smooth
  950. part_59.Anchored = false
  951. part_59.Material = Enum.Material.Metal
  952. part_59.Size = Vector3.new(0.425, 0.425, 0.425)
  953. part_59.CFrame = CFrame.new(7.759, 1.286, 40.992)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -3.1415927410126)
  954. part_59.BrickColor = BrickColor.new("Dark stone grey")
  955. part_59.Friction = 0.3
  956. part_59.BottomSurface = Enum.SurfaceType.Smooth
  957.  
  958. mesh_59 = Instance.new("SpecialMesh", part_59)
  959. mesh_59.Scale = Vector3.new(0.26, 0.104, 0.156)
  960. mesh_59.MeshType = Enum.MeshType.Brick
  961.  
  962. part_60 = Instance.new("Part", m2carbine)
  963. part_60.FormFactor = Enum.FormFactor.Custom
  964. part_60.CanCollide = false
  965. part_60.TopSurface = Enum.SurfaceType.Smooth
  966. part_60.Anchored = false
  967. part_60.Material = Enum.Material.Wood
  968. part_60.Size = Vector3.new(0.834, 0.834, 0.834)
  969. part_60.CFrame = CFrame.new(9.838, 1.275, 40.948)* CFrame.Angles(-1.5707963705063, 0, -1.5707963705063)
  970. part_60.BrickColor = BrickColor.new("Reddish brown")
  971. part_60.Friction = 0.3
  972. part_60.BottomSurface = Enum.SurfaceType.Smooth
  973.  
  974. mesh_60 = Instance.new("CylinderMesh", part_60)
  975. mesh_60.Scale = Vector3.new(0.133, 1.353, 0.133)
  976.  
  977. part_61 = Instance.new("Part", m2carbine)
  978. part_61.FormFactor = Enum.FormFactor.Custom
  979. part_61.CanCollide = false
  980. part_61.TopSurface = Enum.SurfaceType.Smooth
  981. part_61.Anchored = false
  982. part_61.Material = Enum.Material.Metal
  983. part_61.Size = Vector3.new(0.217, 0.217, 0.217)
  984. part_61.CFrame = CFrame.new(10.204, 1.253, 40.992)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -3.1415927410126)
  985. part_61.BrickColor = BrickColor.new("Dark stone grey")
  986. part_61.Friction = 0.3
  987. part_61.BottomSurface = Enum.SurfaceType.Smooth
  988.  
  989. mesh_61 = Instance.new("SpecialMesh", part_61)
  990. mesh_61.Scale = Vector3.new(1.836, 0.102, 0.887)
  991. mesh_61.MeshType = Enum.MeshType.Brick
  992.  
  993. part_62 = Instance.new("Part", m2carbine)
  994. part_62.FormFactor = Enum.FormFactor.Custom
  995. part_62.CanCollide = false
  996. part_62.TopSurface = Enum.SurfaceType.Smooth
  997. part_62.Anchored = false
  998. part_62.Material = Enum.Material.Metal
  999. part_62.Size = Vector3.new(0.217, 0.217, 0.217)
  1000. part_62.CFrame = CFrame.new(10.436, 1.276, 40.923)* CFrame.Angles(-2.8797905445099, -2.9802322387695e-008, -3.1415927410126)
  1001. part_62.BrickColor = BrickColor.new("Dark stone grey")
  1002. part_62.Friction = 0.3
  1003. part_62.BottomSurface = Enum.SurfaceType.Smooth
  1004.  
  1005. mesh_62 = Instance.new("SpecialMesh", part_62)
  1006. mesh_62.Scale = Vector3.new(0.306, 0.102, 0.102)
  1007. mesh_62.MeshType = Enum.MeshType.Brick
  1008.  
  1009. part_63 = Instance.new("Part", m2carbine)
  1010. part_63.FormFactor = Enum.FormFactor.Custom
  1011. part_63.CanCollide = false
  1012. part_63.TopSurface = Enum.SurfaceType.Smooth
  1013. part_63.Anchored = false
  1014. part_63.Material = Enum.Material.Metal
  1015. part_63.Size = Vector3.new(0.217, 0.217, 0.217)
  1016. part_63.CFrame = CFrame.new(10.475, 1.258, 40.927)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -3.1415927410126)
  1017. part_63.BrickColor = BrickColor.new("Dark stone grey")
  1018. part_63.Friction = 0.3
  1019. part_63.BottomSurface = Enum.SurfaceType.Smooth
  1020.  
  1021. mesh_63 = Instance.new("SpecialMesh", part_63)
  1022. mesh_63.Scale = Vector3.new(0.673, 0.102, 0.418)
  1023. mesh_63.MeshType = Enum.MeshType.Brick
  1024.  
  1025. part_64 = Instance.new("Part", m2carbine)
  1026. part_64.FormFactor = Enum.FormFactor.Custom
  1027. part_64.CanCollide = false
  1028. part_64.TopSurface = Enum.SurfaceType.Smooth
  1029. part_64.Anchored = false
  1030. part_64.Material = Enum.Material.Metal
  1031. part_64.Size = Vector3.new(0.217, 0.217, 0.217)
  1032. part_64.CFrame = CFrame.new(10.436, 1.297, 40.945)* CFrame.Angles(-2.3561887741089, 2.9802322387695e-008, 3.1415927410126)
  1033. part_64.BrickColor = BrickColor.new("Dark stone grey")
  1034. part_64.Friction = 0.3
  1035. part_64.BottomSurface = Enum.SurfaceType.Smooth
  1036.  
  1037. mesh_64 = Instance.new("SpecialMesh", part_64)
  1038. mesh_64.Scale = Vector3.new(0.306, 0.306, 0.102)
  1039. mesh_64.MeshType = Enum.MeshType.Brick
  1040.  
  1041. part_65 = Instance.new("Part", m2carbine)
  1042. part_65.FormFactor = Enum.FormFactor.Custom
  1043. part_65.CanCollide = false
  1044. part_65.TopSurface = Enum.SurfaceType.Smooth
  1045. part_65.Anchored = false
  1046. part_65.Size = Vector3.new(0.217, 0.217, 0.217)
  1047. part_65.CFrame = CFrame.new(10.325, 1.298, 40.904)* CFrame.Angles(-1.0472023487091, 2.9802322387695e-008, -0)
  1048. part_65.BrickColor = BrickColor.new("Really black")
  1049. part_65.Friction = 0.3
  1050. part_65.BottomSurface = Enum.SurfaceType.Smooth
  1051.  
  1052. mesh_65 = Instance.new("CylinderMesh", part_65)
  1053. mesh_65.Scale = Vector3.new(0.102, 0.102, 0.102)
  1054.  
  1055. part_66 = Instance.new("Part", m2carbine)
  1056. part_66.FormFactor = Enum.FormFactor.Custom
  1057. part_66.CanCollide = false
  1058. part_66.TopSurface = Enum.SurfaceType.Smooth
  1059. part_66.Anchored = false
  1060. part_66.Size = Vector3.new(0.217, 0.217, 0.217)
  1061. part_66.CFrame = CFrame.new(10.37, 1.297, 40.904)* CFrame.Angles(-1.0472023487091, 2.9802322387695e-008, -0)
  1062. part_66.BrickColor = BrickColor.new("Really black")
  1063. part_66.Friction = 0.3
  1064. part_66.BottomSurface = Enum.SurfaceType.Smooth
  1065.  
  1066. mesh_66 = Instance.new("CylinderMesh", part_66)
  1067. mesh_66.Scale = Vector3.new(0.102, 0.102, 0.102)
  1068.  
  1069. part_67 = Instance.new("Part", m2carbine)
  1070. part_67.FormFactor = Enum.FormFactor.Custom
  1071. part_67.CanCollide = false
  1072. part_67.TopSurface = Enum.SurfaceType.Smooth
  1073. part_67.Anchored = false
  1074. part_67.Material = Enum.Material.Wood
  1075. part_67.Size = Vector3.new(0.834, 0.834, 0.834)
  1076. part_67.CFrame = CFrame.new(10.347, 1.176, 40.992)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -3.1415927410126)
  1077. part_67.BrickColor = BrickColor.new("Reddish brown")
  1078. part_67.Friction = 0.3
  1079. part_67.BottomSurface = Enum.SurfaceType.Smooth
  1080.  
  1081. mesh_67 = Instance.new("SpecialMesh", part_67)
  1082. mesh_67.Scale = Vector3.new(1.831, 0.159, 0.239)
  1083. mesh_67.MeshType = Enum.MeshType.Brick
  1084.  
  1085. part_68 = Instance.new("Part", m2carbine)
  1086. part_68.FormFactor = Enum.FormFactor.Custom
  1087. part_68.CanCollide = false
  1088. part_68.TopSurface = Enum.SurfaceType.Smooth
  1089. part_68.Anchored = false
  1090. part_68.Size = Vector3.new(0.2, 0.2, 0.2)
  1091. part_68.CFrame = CFrame.new(7.76, 1.295, 40.991)* CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
  1092. part_68.BrickColor = BrickColor.new("Black")
  1093. part_68.Friction = 0.3
  1094. part_68.BottomSurface = Enum.SurfaceType.Smooth
  1095.  
  1096. mesh_68 = Instance.new("BlockMesh", part_68)
  1097. mesh_68.Scale = Vector3.new(0.1, 0.5, 0.05)
  1098.  
  1099. smokepart = Instance.new("Part", m2carbine)
  1100. smokepart.FormFactor = Enum.FormFactor.Custom
  1101. smokepart.CanCollide = false
  1102. smokepart.Transparency = 1
  1103. smokepart.TopSurface = Enum.SurfaceType.Smooth
  1104. smokepart.Anchored = false
  1105. smokepart.Size = Vector3.new(0.2, 0.2, 0.2)
  1106. smokepart.Name = "SmokePart"
  1107. smokepart.FrontSurface = Enum.SurfaceType.Glue
  1108. smokepart.CFrame = CFrame.new(7.62, 1.245, 40.991)* CFrame.Angles(0, 1.5707963705063, 0)
  1109. smokepart.BrickColor = BrickColor.new("Black")
  1110. smokepart.Friction = 0.3
  1111. smokepart.BottomSurface = Enum.SurfaceType.Smooth
  1112.  
  1113. part_69 = Instance.new("Part", m2carbine)
  1114. part_69.FormFactor = Enum.FormFactor.Custom
  1115. part_69.CanCollide = false
  1116. part_69.TopSurface = Enum.SurfaceType.Smooth
  1117. part_69.Anchored = false
  1118. part_69.Material = Enum.Material.Metal
  1119. part_69.Size = Vector3.new(0.217, 0.217, 0.217)
  1120. part_69.CFrame = CFrame.new(12.442, 0.81, 40.994)* CFrame.Angles(3.1415927410126, -3.0786484472856e-013, -3.0588607788086)
  1121. part_69.BrickColor = BrickColor.new("Black")
  1122. part_69.Friction = 0.3
  1123. part_69.BottomSurface = Enum.SurfaceType.Smooth
  1124.  
  1125. mesh_69 = Instance.new("SpecialMesh", part_69)
  1126. mesh_69.Scale = Vector3.new(0.102, 1.428, 0.918)
  1127. mesh_69.MeshType = Enum.MeshType.Brick
  1128.  
  1129. part_70 = Instance.new("Part", m2carbine)
  1130. part_70.FormFactor = Enum.FormFactor.Custom
  1131. part_70.CanCollide = false
  1132. part_70.TopSurface = Enum.SurfaceType.Smooth
  1133. part_70.Anchored = false
  1134. part_70.Size = Vector3.new(0.217, 0.217, 0.217)
  1135. part_70.CFrame = CFrame.new(11.69, 0.965, 40.868)* CFrame.Angles(-1.5707963705063, 0.082731895148754, 1.5707963705063)
  1136. part_70.BrickColor = BrickColor.new("Brick yellow")
  1137. part_70.Friction = 0.3
  1138. part_70.BottomSurface = Enum.SurfaceType.Smooth
  1139.  
  1140. mesh_70 = Instance.new("SpecialMesh", part_70)
  1141. mesh_70.Scale = Vector3.new(0.102, 0.612, 0.306)
  1142. mesh_70.MeshType = Enum.MeshType.Wedge
  1143.  
  1144. part_71 = Instance.new("Part", m2carbine)
  1145. part_71.FormFactor = Enum.FormFactor.Custom
  1146. part_71.CanCollide = false
  1147. part_71.TopSurface = Enum.SurfaceType.Smooth
  1148. part_71.Anchored = false
  1149. part_71.Material = Enum.Material.Wood
  1150. part_71.Size = Vector3.new(1, 1, 1)
  1151. part_71.CFrame = CFrame.new(11.388, 0.858, 40.992)* CFrame.Angles(-1.5707963705063, 1.2100417613983, -1.5707963705063)
  1152. part_71.BrickColor = BrickColor.new("Reddish brown")
  1153. part_71.Friction = 0.3
  1154. part_71.BottomSurface = Enum.SurfaceType.Smooth
  1155.  
  1156. mesh_71 = Instance.new("CylinderMesh", part_71)
  1157. mesh_71.Scale = Vector3.new(0.199, 0.199, 0.199)
  1158.  
  1159. part_72 = Instance.new("Part", m2carbine)
  1160. part_72.FormFactor = Enum.FormFactor.Custom
  1161. part_72.CanCollide = false
  1162. part_72.TopSurface = Enum.SurfaceType.Smooth
  1163. part_72.Anchored = false
  1164. part_72.Material = Enum.Material.Wood
  1165. part_72.Size = Vector3.new(0.851, 0.851, 0.851)
  1166. part_72.CFrame = CFrame.new(11.454, 0.919, 40.992)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -1.9315510988235)
  1167. part_72.BrickColor = BrickColor.new("Reddish brown")
  1168. part_72.Friction = 0.3
  1169. part_72.BottomSurface = Enum.SurfaceType.Smooth
  1170.  
  1171. mesh_72 = Instance.new("SpecialMesh", part_72)
  1172. mesh_72.Scale = Vector3.new(0.312, 0.199, 0.234)
  1173. mesh_72.MeshType = Enum.MeshType.Brick
  1174.  
  1175. part_73 = Instance.new("Part", m2carbine)
  1176. part_73.FormFactor = Enum.FormFactor.Custom
  1177. part_73.CanCollide = false
  1178. part_73.TopSurface = Enum.SurfaceType.Smooth
  1179. part_73.Anchored = false
  1180. part_73.Size = Vector3.new(0.217, 0.217, 0.217)
  1181. part_73.CFrame = CFrame.new(11.896, 0.809, 40.887)* CFrame.Angles(3.1415927410126, -3.0819791163594e-013, -3.05886054039)
  1182. part_73.BrickColor = BrickColor.new("Black")
  1183. part_73.Friction = 0.3
  1184. part_73.BottomSurface = Enum.SurfaceType.Smooth
  1185.  
  1186. mesh_73 = Instance.new("SpecialMesh", part_73)
  1187. mesh_73.Scale = Vector3.new(0.102, 0.729, 0.102)
  1188. mesh_73.MeshType = Enum.MeshType.Brick
  1189.  
  1190. part_74 = Instance.new("Part", m2carbine)
  1191. part_74.FormFactor = Enum.FormFactor.Custom
  1192. part_74.CanCollide = false
  1193. part_74.TopSurface = Enum.SurfaceType.Smooth
  1194. part_74.Anchored = false
  1195. part_74.Size = Vector3.new(0.221, 0.575, 0.221)
  1196. part_74.CFrame = CFrame.new(11.917, 1.021, 40.99)* CFrame.Angles(-1.5707963705063, 0.082732133567333, -1.5707963705063)
  1197. part_74.BrickColor = BrickColor.new("Brick yellow")
  1198. part_74.Friction = 0.3
  1199. part_74.BottomSurface = Enum.SurfaceType.Smooth
  1200.  
  1201. mesh_74 = Instance.new("CylinderMesh", part_74)
  1202.  
  1203. part_75 = Instance.new("Part", m2carbine)
  1204. part_75.FormFactor = Enum.FormFactor.Custom
  1205. part_75.CanCollide = false
  1206. part_75.TopSurface = Enum.SurfaceType.Smooth
  1207. part_75.Anchored = false
  1208. part_75.Size = Vector3.new(0.221, 0.575, 0.221)
  1209. part_75.CFrame = CFrame.new(11.917, 1.021, 40.968)* CFrame.Angles(-1.5707963705063, 0.082732133567333, -1.5707963705063)
  1210. part_75.BrickColor = BrickColor.new("Brick yellow")
  1211. part_75.Friction = 0.3
  1212. part_75.BottomSurface = Enum.SurfaceType.Smooth
  1213.  
  1214. mesh_75 = Instance.new("CylinderMesh", part_75)
  1215.  
  1216. part_76 = Instance.new("Part", m2carbine)
  1217. part_76.FormFactor = Enum.FormFactor.Custom
  1218. part_76.CanCollide = false
  1219. part_76.TopSurface = Enum.SurfaceType.Smooth
  1220. part_76.Anchored = false
  1221. part_76.Size = Vector3.new(0.221, 0.597, 0.221)
  1222. part_76.CFrame = CFrame.new(11.889, 0.753, 40.99)* CFrame.Angles(-1.5707963705063, 0.16998812556267, -1.5707963705063)
  1223. part_76.BrickColor = BrickColor.new("Brick yellow")
  1224. part_76.Friction = 0.3
  1225. part_76.BottomSurface = Enum.SurfaceType.Smooth
  1226.  
  1227. mesh_76 = Instance.new("CylinderMesh", part_76)
  1228.  
  1229. part_77 = Instance.new("Part", m2carbine)
  1230. part_77.FormFactor = Enum.FormFactor.Custom
  1231. part_77.CanCollide = false
  1232. part_77.TopSurface = Enum.SurfaceType.Smooth
  1233. part_77.Anchored = false
  1234. part_77.Size = Vector3.new(0.575, 0.262, 0.221)
  1235. part_77.CFrame = CFrame.new(11.904, 0.89, 40.99)* CFrame.Angles(3.1415927410126, -3.0819791163594e-013, -3.0588607788086)
  1236. part_77.BrickColor = BrickColor.new("Brick yellow")
  1237. part_77.Friction = 0.3
  1238. part_77.BottomSurface = Enum.SurfaceType.Smooth
  1239.  
  1240. part_78 = Instance.new("Part", m2carbine)
  1241. part_78.FormFactor = Enum.FormFactor.Custom
  1242. part_78.CanCollide = false
  1243. part_78.TopSurface = Enum.SurfaceType.Smooth
  1244. part_78.Anchored = false
  1245. part_78.Material = Enum.Material.Wood
  1246. part_78.Size = Vector3.new(1, 1, 1)
  1247. part_78.CFrame = CFrame.new(11.929, 0.904, 40.992)* CFrame.Angles(3.1415927410126, -3.0819791163594e-013, -3.0588607788086)
  1248. part_78.BrickColor = BrickColor.new("Reddish brown")
  1249. part_78.Friction = 0.3
  1250. part_78.BottomSurface = Enum.SurfaceType.Smooth
  1251.  
  1252. mesh_77 = Instance.new("SpecialMesh", part_78)
  1253. mesh_77.Scale = Vector3.new(1.017, 0.21, 0.199)
  1254. mesh_77.MeshType = Enum.MeshType.Brick
  1255.  
  1256. part_79 = Instance.new("Part", m2carbine)
  1257. part_79.FormFactor = Enum.FormFactor.Custom
  1258. part_79.CanCollide = false
  1259. part_79.TopSurface = Enum.SurfaceType.Smooth
  1260. part_79.Anchored = false
  1261. part_79.Material = Enum.Material.Wood
  1262. part_79.Size = Vector3.new(1, 1, 1)
  1263. part_79.CFrame = CFrame.new(11.895, 1.023, 40.992)* CFrame.Angles(-1.5707963705063, 0.082732133567333, -1.5707963705063)
  1264. part_79.BrickColor = BrickColor.new("Reddish brown")
  1265. part_79.Friction = 0.3
  1266. part_79.BottomSurface = Enum.SurfaceType.Smooth
  1267.  
  1268. mesh_78 = Instance.new("CylinderMesh", part_79)
  1269. mesh_78.Scale = Vector3.new(0.199, 1.106, 0.199)
  1270.  
  1271. part_80 = Instance.new("Part", m2carbine)
  1272. part_80.FormFactor = Enum.FormFactor.Custom
  1273. part_80.CanCollide = false
  1274. part_80.Transparency = 1
  1275. part_80.TopSurface = Enum.SurfaceType.Smooth
  1276. part_80.Anchored = false
  1277. part_80.Size = Vector3.new(0.425, 0.425, 0.425)
  1278. part_80.CFrame = CFrame.new(11.907, 1.033, 40.879)* CFrame.Angles(-1.4076421260834, 0.081637971103191, -0.013423169963062)
  1279. part_80.BrickColor = BrickColor.new("Brick yellow")
  1280. part_80.Friction = 0.3
  1281. part_80.BottomSurface = Enum.SurfaceType.Smooth
  1282.  
  1283. decal_2 = Instance.new("Decal", part_80)
  1284. decal_2.Face = Enum.NormalId.Top
  1285. decal_2.Texture = "http://www.roblox.com/asset/?id=147699968"
  1286.  
  1287. mesh_79 = Instance.new("SpecialMesh", part_80)
  1288. mesh_79.Scale = Vector3.new(0.468, 0.104, 0.26)
  1289. mesh_79.MeshType = Enum.MeshType.Brick
  1290.  
  1291. part_81 = Instance.new("Part", m2carbine)
  1292. part_81.FormFactor = Enum.FormFactor.Custom
  1293. part_81.CanCollide = false
  1294. part_81.TopSurface = Enum.SurfaceType.Smooth
  1295. part_81.Anchored = false
  1296. part_81.Size = Vector3.new(0.217, 0.217, 0.217)
  1297. part_81.CFrame = CFrame.new(11.816, 0.9, 40.868)* CFrame.Angles(-1.5707963705063, 0.082731895148754, 1.5707963705063)
  1298. part_81.BrickColor = BrickColor.new("Brick yellow")
  1299. part_81.Friction = 0.3
  1300. part_81.BottomSurface = Enum.SurfaceType.Smooth
  1301.  
  1302. mesh_80 = Instance.new("SpecialMesh", part_81)
  1303. mesh_80.Scale = Vector3.new(0.102, 0.612, 0.204)
  1304. mesh_80.MeshType = Enum.MeshType.Wedge
  1305.  
  1306. part_82 = Instance.new("Part", m2carbine)
  1307. part_82.FormFactor = Enum.FormFactor.Custom
  1308. part_82.CanCollide = false
  1309. part_82.TopSurface = Enum.SurfaceType.Smooth
  1310. part_82.Anchored = false
  1311. part_82.Size = Vector3.new(0.425, 0.425, 0.425)
  1312. part_82.CFrame = CFrame.new(11.894, 0.729, 40.99)* CFrame.Angles(-1.5707963705063, 0.082732133567333, 1.5707963705063)
  1313. part_82.BrickColor = BrickColor.new("Brick yellow")
  1314. part_82.Friction = 0.3
  1315. part_82.BottomSurface = Enum.SurfaceType.Smooth
  1316.  
  1317. mesh_81 = Instance.new("SpecialMesh", part_82)
  1318. mesh_81.Scale = Vector3.new(0.52, 1.353, 0.156)
  1319. mesh_81.MeshType = Enum.MeshType.Wedge
  1320.  
  1321. part_83 = Instance.new("Part", m2carbine)
  1322. part_83.FormFactor = Enum.FormFactor.Custom
  1323. part_83.CanCollide = false
  1324. part_83.TopSurface = Enum.SurfaceType.Smooth
  1325. part_83.Anchored = false
  1326. part_83.Size = Vector3.new(0.217, 0.217, 0.217)
  1327. part_83.CFrame = CFrame.new(11.904, 0.892, 40.868)* CFrame.Angles(3.1415927410126, -3.0819791163594e-013, -3.05886054039)
  1328. part_83.BrickColor = BrickColor.new("Brick yellow")
  1329. part_83.Friction = 0.3
  1330. part_83.BottomSurface = Enum.SurfaceType.Smooth
  1331.  
  1332. mesh_82 = Instance.new("SpecialMesh", part_83)
  1333. mesh_82.Scale = Vector3.new(0.204, 0.204, 0.102)
  1334. mesh_82.MeshType = Enum.MeshType.Brick
  1335.  
  1336. part_84 = Instance.new("Part", m2carbine)
  1337. part_84.FormFactor = Enum.FormFactor.Custom
  1338. part_84.CanCollide = false
  1339. part_84.TopSurface = Enum.SurfaceType.Smooth
  1340. part_84.Anchored = false
  1341. part_84.Size = Vector3.new(0.217, 0.217, 0.217)
  1342. part_84.CFrame = CFrame.new(11.91, 0.946, 40.868)* CFrame.Angles(3.1415927410126, -3.0819791163594e-013, -3.05886054039)
  1343. part_84.BrickColor = BrickColor.new("Brick yellow")
  1344. part_84.Friction = 0.3
  1345. part_84.BottomSurface = Enum.SurfaceType.Smooth
  1346.  
  1347. mesh_83 = Instance.new("SpecialMesh", part_84)
  1348. mesh_83.Scale = Vector3.new(1.428, 0.306, 0.102)
  1349. mesh_83.MeshType = Enum.MeshType.Brick
  1350.  
  1351. part_85 = Instance.new("Part", m2carbine)
  1352. part_85.FormFactor = Enum.FormFactor.Custom
  1353. part_85.CanCollide = false
  1354. part_85.TopSurface = Enum.SurfaceType.Smooth
  1355. part_85.Anchored = false
  1356. part_85.Size = Vector3.new(0.217, 0.217, 0.217)
  1357. part_85.CFrame = CFrame.new(11.913, 1.006, 40.868)* CFrame.Angles(3.1415927410126, -3.0819791163594e-013, -3.0588607788086)
  1358. part_85.BrickColor = BrickColor.new("Brick yellow")
  1359. part_85.Friction = 0.3
  1360. part_85.BottomSurface = Enum.SurfaceType.Smooth
  1361.  
  1362. mesh_84 = Instance.new("SpecialMesh", part_85)
  1363. mesh_84.Scale = Vector3.new(2.652, 0.245, 0.102)
  1364. mesh_84.MeshType = Enum.MeshType.Brick
  1365.  
  1366. part_86 = Instance.new("Part", m2carbine)
  1367. part_86.FormFactor = Enum.FormFactor.Custom
  1368. part_86.CanCollide = false
  1369. part_86.TopSurface = Enum.SurfaceType.Smooth
  1370. part_86.Anchored = false
  1371. part_86.Material = Enum.Material.Wood
  1372. part_86.Size = Vector3.new(1, 1, 1)
  1373. part_86.CFrame = CFrame.new(11.913, 0.748, 40.992)* CFrame.Angles(-1.5707963705063, 0.16998812556267, -1.5707963705063)
  1374. part_86.BrickColor = BrickColor.new("Reddish brown")
  1375. part_86.Friction = 0.3
  1376. part_86.BottomSurface = Enum.SurfaceType.Smooth
  1377.  
  1378. mesh_85 = Instance.new("CylinderMesh", part_86)
  1379. mesh_85.Scale = Vector3.new(0.199, 1.04, 0.199)
  1380.  
  1381. part_87 = Instance.new("Part", m2carbine)
  1382. part_87.FormFactor = Enum.FormFactor.Custom
  1383. part_87.CanCollide = false
  1384. part_87.TopSurface = Enum.SurfaceType.Smooth
  1385. part_87.Anchored = false
  1386. part_87.Material = Enum.Material.Wood
  1387. part_87.Size = Vector3.new(0.217, 0.217, 0.217)
  1388. part_87.CFrame = CFrame.new(11.909, 0.922, 40.859)* CFrame.Angles(-1.5707963705063, -1.4880641698837, 3.1415927410126)
  1389. part_87.BrickColor = BrickColor.new("Brown")
  1390. part_87.Friction = 0.3
  1391. part_87.BottomSurface = Enum.SurfaceType.Smooth
  1392.  
  1393. mesh_86 = Instance.new("CylinderMesh", part_87)
  1394. mesh_86.Scale = Vector3.new(0.306, 0.102, 0.612)
  1395.  
  1396. part_88 = Instance.new("Part", m2carbine)
  1397. part_88.FormFactor = Enum.FormFactor.Custom
  1398. part_88.CanCollide = false
  1399. part_88.TopSurface = Enum.SurfaceType.Smooth
  1400. part_88.Anchored = false
  1401. part_88.Material = Enum.Material.Wood
  1402. part_88.Size = Vector3.new(0.834, 0.834, 0.834)
  1403. part_88.CFrame = CFrame.new(11.915, 0.744, 40.992)* CFrame.Angles(-1.5707963705063, 0.082732133567333, 1.5707963705063)
  1404. part_88.BrickColor = BrickColor.new("Reddish brown")
  1405. part_88.Friction = 0.3
  1406. part_88.BottomSurface = Enum.SurfaceType.Smooth
  1407.  
  1408. mesh_87 = Instance.new("SpecialMesh", part_88)
  1409. mesh_87.Scale = Vector3.new(0.239, 1.22, 0.133)
  1410. mesh_87.MeshType = Enum.MeshType.Wedge
  1411.  
  1412. part_89 = Instance.new("Part", m2carbine)
  1413. part_89.FormFactor = Enum.FormFactor.Custom
  1414. part_89.CanCollide = false
  1415. part_89.TopSurface = Enum.SurfaceType.Smooth
  1416. part_89.Anchored = false
  1417. part_89.Material = Enum.Material.Metal
  1418. part_89.Size = Vector3.new(0.217, 0.217, 0.217)
  1419. part_89.CFrame = CFrame.new(10.544, 1.246, 40.867)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -0)
  1420. part_89.BrickColor = BrickColor.new("Dark stone grey")
  1421. part_89.Friction = 0.3
  1422. part_89.BottomSurface = Enum.SurfaceType.Smooth
  1423.  
  1424. mesh_88 = Instance.new("SpecialMesh", part_89)
  1425. mesh_88.Scale = Vector3.new(0.102, 0.306, 0.214)
  1426. mesh_88.MeshType = Enum.MeshType.Brick
  1427.  
  1428. part_90 = Instance.new("Part", m2carbine)
  1429. part_90.FormFactor = Enum.FormFactor.Custom
  1430. part_90.CanCollide = false
  1431. part_90.TopSurface = Enum.SurfaceType.Smooth
  1432. part_90.Anchored = false
  1433. part_90.Material = Enum.Material.Metal
  1434. part_90.Size = Vector3.new(0.217, 0.217, 0.217)
  1435. part_90.CFrame = CFrame.new(10.54, 1.246, 40.827)* CFrame.Angles(-3.1415927410126, -0.10056495666504, -0)
  1436. part_90.BrickColor = BrickColor.new("Dark stone grey")
  1437. part_90.Friction = 0.3
  1438. part_90.BottomSurface = Enum.SurfaceType.Smooth
  1439.  
  1440. mesh_89 = Instance.new("SpecialMesh", part_90)
  1441. mesh_89.Scale = Vector3.new(0.102, 0.306, 0.214)
  1442. mesh_89.MeshType = Enum.MeshType.Brick
  1443.  
  1444. part_91 = Instance.new("Part", m2carbine)
  1445. part_91.FormFactor = Enum.FormFactor.Custom
  1446. part_91.CanCollide = false
  1447. part_91.TopSurface = Enum.SurfaceType.Smooth
  1448. part_91.Anchored = false
  1449. part_91.Material = Enum.Material.Metal
  1450. part_91.Size = Vector3.new(0.217, 0.217, 0.217)
  1451. part_91.CFrame = CFrame.new(12.432, 0.664, 40.994)* CFrame.Angles(-1.5707963705063, 0.082732133567333, -1.5707963705063)
  1452. part_91.BrickColor = BrickColor.new("Black")
  1453. part_91.Friction = 0.3
  1454. part_91.BottomSurface = Enum.SurfaceType.Smooth
  1455.  
  1456. mesh_90 = Instance.new("CylinderMesh", part_91)
  1457. mesh_90.Scale = Vector3.new(0.918, 0.102, 0.918)
  1458.  
  1459. part_92 = Instance.new("Part", m2carbine)
  1460. part_92.FormFactor = Enum.FormFactor.Custom
  1461. part_92.CanCollide = false
  1462. part_92.TopSurface = Enum.SurfaceType.Smooth
  1463. part_92.Anchored = false
  1464. part_92.Material = Enum.Material.Metal
  1465. part_92.Size = Vector3.new(0.217, 0.217, 0.217)
  1466. part_92.CFrame = CFrame.new(12.458, 0.976, 40.994)* CFrame.Angles(-1.5707963705063, 0.082732133567333, -1.5707963705063)
  1467. part_92.BrickColor = BrickColor.new("Black")
  1468. part_92.Friction = 0.3
  1469. part_92.BottomSurface = Enum.SurfaceType.Smooth
  1470.  
  1471. mesh_91 = Instance.new("CylinderMesh", part_92)
  1472. mesh_91.Scale = Vector3.new(0.918, 0.102, 0.918)
  1473.  
  1474. part_93 = Instance.new("Part", m2carbine)
  1475. part_93.FormFactor = Enum.FormFactor.Custom
  1476. part_93.CanCollide = false
  1477. part_93.TopSurface = Enum.SurfaceType.Smooth
  1478. part_93.Anchored = false
  1479. part_93.Size = Vector3.new(0.217, 0.217, 0.217)
  1480. part_93.CFrame = CFrame.new(11.992, 0.885, 40.868)* CFrame.Angles(-1.5707963705063, 0.082732133567333, -1.5707963705063)
  1481. part_93.BrickColor = BrickColor.new("Brick yellow")
  1482. part_93.Friction = 0.3
  1483. part_93.BottomSurface = Enum.SurfaceType.Smooth
  1484.  
  1485. mesh_92 = Instance.new("SpecialMesh", part_93)
  1486. mesh_92.Scale = Vector3.new(0.102, 0.612, 0.204)
  1487. mesh_92.MeshType = Enum.MeshType.Wedge
  1488.  
  1489. part_94 = Instance.new("Part", m2carbine)
  1490. part_94.FormFactor = Enum.FormFactor.Custom
  1491. part_94.CanCollide = false
  1492. part_94.TopSurface = Enum.SurfaceType.Smooth
  1493. part_94.Anchored = false
  1494. part_94.Size = Vector3.new(0.217, 0.217, 0.217)
  1495. part_94.CFrame = CFrame.new(12.129, 0.929, 40.868)* CFrame.Angles(-1.5707963705063, 0.082732014358044, -1.5707963705063)
  1496. part_94.BrickColor = BrickColor.new("Brick yellow")
  1497. part_94.Friction = 0.3
  1498. part_94.BottomSurface = Enum.SurfaceType.Smooth
  1499.  
  1500. mesh_93 = Instance.new("SpecialMesh", part_94)
  1501. mesh_93.Scale = Vector3.new(0.102, 0.612, 0.306)
  1502. mesh_93.MeshType = Enum.MeshType.Wedge
  1503.  
  1504. part_95 = Instance.new("Part", m2carbine)
  1505. part_95.FormFactor = Enum.FormFactor.Custom
  1506. part_95.CanCollide = false
  1507. part_95.TopSurface = Enum.SurfaceType.Smooth
  1508. part_95.Anchored = false
  1509. part_95.Material = Enum.Material.Metal
  1510. part_95.Size = Vector3.new(0.834, 0.834, 0.834)
  1511. part_95.CFrame = CFrame.new(10.55, 0.595, 40.997)* CFrame.Angles(3.1415927410126, -3.0853097854333e-013, -2.7925267219543)
  1512. part_95.BrickColor = BrickColor.new("Dark stone grey")
  1513. part_95.Friction = 0.3
  1514. part_95.BottomSurface = Enum.SurfaceType.Smooth
  1515.  
  1516. mesh_94 = Instance.new("SpecialMesh", part_95)
  1517. mesh_94.Scale = Vector3.new(0.345, 0.393, 0.133)
  1518. mesh_94.MeshType = Enum.MeshType.Brick
  1519.  
  1520. local ammo = Instance.new("NumberValue", m2carbine)
  1521. ammo.Name = "Ammo"
  1522. ammo.Value = 15
  1523.  
  1524. local smoke = Instance.new("Smoke", m2carbine)
  1525. smoke.Enabled = false
  1526. smoke.Color = Color3.new(0.392157, 0.392157, 0.392157)
  1527. smoke.Opacity = 0.1
  1528. smoke.RiseVelocity = 15
  1529. smoke.Size = 0.25
  1530.  
  1531. local smoke1 = Instance.new("Smoke", m2carbine)
  1532. smoke1.Enabled = false
  1533. smoke1.Color = Color3.new(1, 0.6, 0.2)
  1534. smoke1.Name = "Smoke1"
  1535. smoke1.Opacity = 0.1
  1536. smoke1.RiseVelocity = 15
  1537. smoke1.Size = 0.1
  1538.  
  1539. local storedammo = Instance.new("NumberValue", m2carbine)
  1540. storedammo.Name = "StoredAmmo"
  1541. storedammo.Value = 120
  1542.  
  1543. local gui = Instance.new("ScreenGui", m2carbine)
  1544. gui.Name = "Gui"
  1545.  
  1546. local frame = Instance.new("Frame", gui)
  1547. frame.Size = UDim2.new(0, 200, 0, 100)
  1548. frame.BorderColor3 = Color3.new(0, 0, 0)
  1549. frame.Position = UDim2.new(1, -200, 1, -100)
  1550. frame.BorderSizePixel = 0
  1551. frame.BackgroundTransparency = 1
  1552. frame.BackgroundColor3 = Color3.new(0, 0, 0)
  1553.  
  1554. local ammodisplay = Instance.new("TextLabel", frame)
  1555. ammodisplay.BorderSizePixel = 0
  1556. ammodisplay.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
  1557. ammodisplay.BackgroundTransparency = 1
  1558. ammodisplay.Size = UDim2.new(1, 0, 1, 0)
  1559. ammodisplay.TextColor3 = Color3.new(0, 0, 0)
  1560. ammodisplay.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  1561. ammodisplay.Text = ""
  1562. ammodisplay.Position = UDim2.new(0, -40, 0, 0)
  1563. ammodisplay.Font = Enum.Font.ArialBold
  1564. ammodisplay.Name = "AmmoDisplay"
  1565. ammodisplay.TextXAlignment = Enum.TextXAlignment.Right
  1566. ammodisplay.FontSize = Enum.FontSize.Size36
  1567.  
  1568. local prev
  1569. local parts = m2carbine:GetChildren()
  1570.  
  1571. for i = 1,#parts do
  1572. if (parts[i].className == "Part") then
  1573. if (prev ~= nil)then
  1574. local weld = Instance.new("Weld")
  1575. weld.Part0 = prev
  1576. weld.Part1 = parts[i]
  1577. weld.C0 = prev.CFrame:inverse()
  1578. weld.C1 = parts[i].CFrame:inverse()
  1579. weld.Parent = prev
  1580. end
  1581. prev = parts[i]
  1582. end
  1583. end
  1584.  
  1585. wait(0.5)
  1586. --Made by YouTubes--
  1587. --Edit settings below--
  1588. local Tool = m2carbine
  1589. local Settings = {
  1590. Range = 900
  1591. ,Spread = 15
  1592. ,Damage = {70, 80}
  1593. ,HeadShotDamage = {100, 100}
  1594. ,Bullets = 1
  1595. ,FireRate = 0.1
  1596. ,Automatic = true
  1597. ,AntiTK = true
  1598. ,ImpactDuration = 3
  1599. --Reload
  1600. ,ReloadKey = "R"
  1601. ,ReloadTime = 2.6
  1602. ,Ammo = 30
  1603. ,IncludeChamberedBullet = false
  1604. --Gui
  1605. ,GuiPos = Vector2.new(m2carbine.Gui.Frame.Position.X.Scale, m2carbine.Gui.Frame.Position.Y.Scale)
  1606. --Arms
  1607. ,OneHanded = false
  1608. ,FakeArms = true
  1609. ,FakeArmTransparency = 0
  1610. ,RightPos = CFrame.new(-0.75, -0.25, 0.5) * CFrame.Angles(math.rad(-90), 0, 0)
  1611. ,LeftPos = CFrame.new(1, 0.5, 0.5) * CFrame.Angles(math.rad(-90), math.rad(45), 0)
  1612. ,AimPart = Tool.AimPart
  1613. ,AimPartOffset = CFrame.new()
  1614. ,AimGripOffset = Vector3.new(0, 0, 0)
  1615. ,LeftAimPos = CFrame.new(1, 0.5, 0.5) * CFrame.Angles(math.rad(-100), math.rad(45), 0)
  1616. ,AimAnim = {
  1617. Enabled = false
  1618. ,Frames = 50
  1619. ,Time = 0.1
  1620. }
  1621. ,ChangeFOV = {true, 60}
  1622. ,SpreadReduction = 5
  1623. --Weld
  1624. ,Weld = true
  1625. --Mouse
  1626. ,Icons = {
  1627. Idle = "rbxassetid://146544271"
  1628. ,Fire1 = "rbxassetid://146544271"
  1629. ,Fire2 = "rbxassetid://146544271"
  1630. ,Fire3 = "rbxassetid://146544271"
  1631. ,Reload = "rbxassetid://146544271"
  1632. ,Aim = "rbxasset://textures/Blank.png"
  1633. }
  1634. ,FireMouseAnimTime = 0.15
  1635. --Recoil
  1636. ,Recoil = math.rad(1)
  1637. --Smoke
  1638. ,Smoke = true
  1639. ,SmokePart = Tool.SmokePart
  1640. ,Smokes = {{m2carbine.Smoke, 6, 0.1}, {m2carbine.Smoke1, 0.1}, {m2carbine.Smoke1, 0.1}}
  1641. --Sprint
  1642. ,Sprint = true
  1643. ,SprintSpeed = 25
  1644. ,SprintKey = "0"
  1645. ,SprintSpreadIncrease = 40
  1646. ,SprintArmOffset = CFrame.new(0.25, 0.125, 0.25) * CFrame.Angles(math.rad(-30), math.rad(35), 0)
  1647. --Other
  1648. ,DropHats = true
  1649. }
  1650.  
  1651. --Do not edit below this lign--
  1652.  
  1653. local Orig_Spread = Settings.Spread
  1654. local Orig_Grip = Tool.GripPos
  1655.  
  1656. local Player = game.Players.LocalPlayer
  1657. local Character = Player.Character
  1658.  
  1659. local Camera = Workspace.CurrentCamera
  1660.  
  1661. local Ammo, StoredAmmo = m2carbine.Ammo, m2carbine.StoredAmmo
  1662.  
  1663. local Gui, CanUpdateGui = nil, true
  1664.  
  1665. local Sprinting, Equipped
  1666.  
  1667. function Update_Gui()
  1668. if Gui and CanUpdateGui then
  1669. Gui.Frame.AmmoDisplay.Text = Ammo.Value .. "|" .. StoredAmmo.Value
  1670. end
  1671. end
  1672.  
  1673. local Welded
  1674. if Settings.Weld then
  1675. Delay(0, function()
  1676. local weldC0s = {}
  1677. for i, v in pairs(Tool:GetChildren()) do
  1678. if v:IsA("BasePart") and v ~= Tool.Handle then
  1679. table.insert(weldC0s, {v, Tool.Handle.CFrame:toObjectSpace(v.CFrame)})
  1680. v.Anchored = false
  1681. end
  1682. end
  1683. Tool.Handle.Anchored = false
  1684. local welds = {}
  1685. Tool.Equipped:connect(function()
  1686. for i, v in ipairs(welds) do
  1687. v.Part1 = nil
  1688. v:Destroy()
  1689. end
  1690. for i, v in ipairs(weldC0s) do
  1691. if v[1] and v[2] then
  1692. local w = Instance.new("Weld", Tool.Handle)
  1693. w.Part0 = Tool.Handle
  1694. w.Part1 = v[1]
  1695. w.C0 = v[2]
  1696. table.insert(welds, w)
  1697. end
  1698. end
  1699. end)
  1700. wait()
  1701. Welded = true
  1702. end)
  1703. end
  1704.  
  1705. local Left_Weld, Right_Weld
  1706.  
  1707. Ammo.Changed:connect(Update_Gui)
  1708. StoredAmmo.Changed:connect(Update_Gui)
  1709.  
  1710. Settings.Range = math.min(Settings.Range, 999)
  1711.  
  1712. local Ignore_Model = Workspace:FindFirstChild("Ray_Ignore") or Instance.new("Model", Workspace)
  1713. Ignore_Model.Name = "Ray_Ignore"
  1714.  
  1715. local Ray_Ignore = {Character, Ignore_Model, Camera}
  1716.  
  1717. Character.Humanoid.Died:connect(function()
  1718. Tool.Parent = Player.Backpack
  1719. end)
  1720.  
  1721. function Fire(Mouse)
  1722. local Spread = CFrame.Angles(math.rad(math.random(-Settings.Spread, Settings.Spread)/10), math.rad(math.random(-Settings.Spread, Settings.Spread)/10), math.rad(math.random(-Settings.Spread, Settings.Spread)/10))
  1723. local Ray = Ray.new(Character.Head.Position, (CFrame.new(Character.Head.Position, Mouse.Hit.p) * Spread).lookVector.unit * Settings.Range)
  1724. local Hit, Pos = Workspace:FindPartOnRayWithIgnoreList(Ray, Ray_Ignore)
  1725. if Hit and Hit.Parent:FindFirstChild("Humanoid") then
  1726. local Hit_Player = game.Players:GetPlayerFromCharacter(Hit.Parent)
  1727. if Settings.AntiTK and not Hit_Player.Neutral and Hit_Player.TeamColor == Player.TeamColor then
  1728. return
  1729. end
  1730. local Humanoid = Hit.Parent.Humanoid
  1731. local c = Instance.new("ObjectValue")
  1732. c.Name = "creator"
  1733. c.Value = Player
  1734. game.Debris:AddItem(c, 3)
  1735. c.Parent = Humanoid
  1736. if Hit.Name == "Head" then
  1737. Humanoid.Health = Humanoid.Health - math.random(Settings.HeadShotDamage[1], Settings.HeadShotDamage[2])
  1738. else
  1739. Humanoid.Health = Humanoid.Health - math.random(Settings.Damage[1], Settings.Damage[2])
  1740. end
  1741. elseif Hit then
  1742. local Hit_Part = Instance.new("Part", Ignore_Model)
  1743. Hit_Part.FormFactor = "Custom"
  1744. Hit_Part.TopSurface = 0
  1745. Hit_Part.BottomSurface = 0
  1746. Hit_Part.Anchored = true
  1747. Hit_Part.CanCollide = false
  1748. Hit_Part.Size = Vector3.new()
  1749. Hit_Part.CFrame = CFrame.new(Pos) * CFrame.Angles(math.random(0, 360), math.random(0, 360), math.random(0, 360))
  1750. Hit_Part.BrickColor = BrickColor.new("Brown")
  1751. game.Debris:AddItem(Hit_Part, Settings.ImpactDuration)
  1752. if not Hit.Anchored then
  1753. local w = Instance.new("Weld", Hit_Part)
  1754. w.Part0 = Hit
  1755. w.Part1 = Hit_Part
  1756. w.C0 = Hit.CFrame:toObjectSpace(Hit_Part.CFrame)
  1757. Hit_Part.Anchored = false
  1758. end
  1759. if Hit.Parent:IsA("Hat") and Settings.DropHats then
  1760. Hit.Parent.Parent = workspace
  1761. game.Debris:AddItem(Hit, 3)
  1762. end
  1763. end
  1764. end
  1765.  
  1766. local Can_Shoot = true
  1767. local Reloading = false
  1768.  
  1769. local First_Person = false
  1770.  
  1771. local Mouse_Held
  1772.  
  1773. Tool.Equipped:connect(function(Mouse)
  1774. Equipped = true
  1775. if Settings.Weld and not Welded then
  1776. wait()
  1777. Tool.Parent = Player.Backpack
  1778. end
  1779. Character = Player.Character
  1780. if Gui then
  1781. return
  1782. end
  1783. Ray_Ignore = {Character, Ignore_Model, Camera}
  1784. Mouse.Icon = Settings.Icons.Idle
  1785. Gui = m2carbine.Gui:Clone()
  1786. Gui.Parent = Player.PlayerGui
  1787. Gui.Frame.Position = UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, 1.1, Gui.Frame.Position.Y.Offset)
  1788. Gui.Frame:TweenPosition(UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, Settings.GuiPos.Y, Gui.Frame.Position.Y.Offset), "Out", "Bounce", 1)
  1789. CanUpdateGui = true
  1790. Update_Gui()
  1791. Mouse.Button1Down:connect(function()
  1792. if Can_Shoot and Ammo.Value > 0 and Character.Humanoid.Health > 0 then
  1793. Mouse_Held = true
  1794. while true do
  1795. Can_Shoot = false
  1796. Delay(0, function()
  1797. local t = math.min(Settings.FireMouseAnimTime/3, Settings.FireRate/3)
  1798. if not Aiming then
  1799. Mouse.Icon = Settings.Icons.Fire1
  1800. end
  1801. wait(t)
  1802. if not Aiming then
  1803. if Reloading then return end
  1804. Mouse.Icon = Settings.Icons.Fire2
  1805. end
  1806. wait(t)
  1807. if not Aiming then
  1808. if Reloading then return end
  1809. Mouse.Icon = Settings.Icons.Fire3
  1810. end
  1811. wait(t)
  1812. if not Aiming then
  1813. if Reloading then return end
  1814. Mouse.Icon = Settings.Icons.Idle
  1815. end
  1816. end)
  1817. if Settings.Smoke then
  1818. for i, v in pairs(Settings.Smokes) do
  1819. local s = v[1]:Clone()
  1820. s.Parent = Settings.SmokePart
  1821. s.Enabled = true
  1822. game.Debris:AddItem(s, v[2])
  1823. if v[3] then
  1824. Delay(v[3], function()
  1825. s.Enabled = false
  1826. end)
  1827. end
  1828. end
  1829. end
  1830. for _ = 1, Settings.Bullets do
  1831. Fire(Mouse)
  1832. end
  1833. Camera.CoordinateFrame = CFrame.new(Camera.Focus.p) * (Camera.CoordinateFrame - Camera.CoordinateFrame.p) * CFrame.Angles(math.abs(Settings.Recoil), 0, 0) * CFrame.new(0, 0, (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude)
  1834. if Tool.Handle:FindFirstChild("Shoot") then
  1835. Tool.Handle.Shoot:Play()
  1836. end
  1837. Ammo.Value = Ammo.Value - 1
  1838. wait(Settings.FireRate)
  1839. if not Settings.Automatic or Ammo.Value <= 0 or Character.Humanoid.Health <= 0 or not Mouse_Held then
  1840. break
  1841. end
  1842. end
  1843. Can_Shoot = true
  1844. elseif Can_Shoot and Character.Humanoid.Health > 0 and Tool.Handle:FindFirstChild("Click") then
  1845. Tool.Handle.Click:Play()
  1846. end
  1847. end)
  1848. Mouse.Button1Up:connect(function()
  1849. Mouse_Held = false
  1850. end)
  1851. Mouse.KeyDown:connect(function(Key)
  1852. if Key:upper() == Settings.ReloadKey:upper() and Can_Shoot and StoredAmmo.Value > 0 and not Aiming then
  1853. if Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo + 1 or not Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo then
  1854. return
  1855. end
  1856. Can_Shoot = false
  1857. Reloading = true
  1858. local TextLabel = Gui.Frame.AmmoDisplay
  1859. Delay(0, function()
  1860. CanUpdateGui = false
  1861. TextLabel.Text = "Reloading"
  1862. wait(Settings.ReloadTime/3)
  1863. if TextLabel then
  1864. TextLabel.Text = "Reloading"
  1865. end
  1866. wait(Settings.ReloadTime/3)
  1867. if TextLabel then
  1868. TextLabel.Text = "Reloading"
  1869. end
  1870. end)
  1871. if Tool.Handle:FindFirstChild("Reload") then
  1872. Tool.Handle.Reload:Play()
  1873. end
  1874. Mouse.Icon = Settings.Icons.Reload
  1875. wait(Settings.ReloadTime)
  1876. Mouse.Icon = Settings.Icons.Idle
  1877. CanUpdateGui = true
  1878. local m = Settings.Ammo
  1879. if Ammo.Value > 0 and Settings.IncludeChamberedBullet then
  1880. m = m + 1
  1881. end
  1882. if (StoredAmmo.Value - (m - Ammo.Value)) <= 0 then
  1883. Ammo.Value = Ammo.Value + StoredAmmo.Value
  1884. StoredAmmo.Value = 0
  1885. else
  1886. StoredAmmo.Value = StoredAmmo.Value - (m - Ammo.Value)
  1887. Ammo.Value = m
  1888. end
  1889. Can_Shoot = true
  1890. Reloading = false
  1891. elseif Key:upper() == Settings.SprintKey:upper() and Settings.Sprint and not Aiming then
  1892. Sprinting = true
  1893. Character.Humanoid.WalkSpeed = Settings.SprintSpeed
  1894. Settings.Spread = Settings.Spread + Settings.SprintSpreadIncrease
  1895. end
  1896. end)
  1897. Mouse.KeyUp:connect(function(Key)
  1898. if Key:upper() == Settings.SprintKey:upper() and Sprinting then
  1899. Sprinting = false
  1900. Character.Humanoid.WalkSpeed = 16
  1901. Settings.Spread = Settings.Spread - Settings.SprintSpreadIncrease
  1902. Right_Weld.C0 = CFrame.new(0, -1.5, 0)
  1903. end
  1904. end)
  1905. Mouse.Button2Down:connect(function()
  1906. if not Reloading and not Sprinting and not Aiming and (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 then
  1907. Aiming = true
  1908. Mouse.Icon = Settings.Icons.Aim
  1909. if Settings.AimAnim.Enabled then
  1910. Right_Weld.C1 = CFrame.new()
  1911. Right_Weld.C0 = CFrame.new()
  1912. Delay(0, function()
  1913. Tween_C0(Right_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Right_Weld.C0, Character.Head.CFrame:toObjectSpace(Settings.AimPart.CFrame))
  1914. end)
  1915. Delay(0, function()
  1916. Tween_C1(Left_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Left_Weld.C1, Settings.LeftAimPos)
  1917. end)
  1918. Delay(0, function()
  1919. if Settings.ChangeFOV[1] then
  1920. Camera.FieldOfView = 70
  1921. local Cam_Dif, T_F = 70 - Settings.ChangeFOV[2], Settings.AimAnim.Time * Settings.AimAnim.Frames
  1922. for i = 1, T_F do
  1923. local FOV = 70 - Cam_Dif/T_F * i
  1924. Camera.FieldOfView = FOV
  1925. wait(Settings.AimAnim.Time/Settings.AimAnim.Frames)
  1926. if not Aiming then
  1927. return
  1928. end
  1929. end
  1930. Camera.FieldOfView = Settings.ChangeFOV[2]
  1931. end
  1932. end)
  1933. else
  1934. Right_Weld.C1 = CFrame.new()
  1935. Right_Weld.C0 = CFrame.new()
  1936. Right_Weld.C1 = Character.Head.CFrame:toObjectSpace(Settings.AimPart.CFrame)
  1937. Left_Weld.C1 = Settings.LeftAimPos
  1938. if Settings.ChangeFOV[1] then
  1939. Camera.FieldOfView = Settings.ChangeFOV[2]
  1940. end
  1941. end
  1942. Tool.GripPos = Orig_Grip + Settings.AimGripOffset
  1943. Settings.Spread = Settings.Spread - Settings.SpreadReduction
  1944. end
  1945. end)
  1946. Mouse.Button2Up:connect(function()
  1947. if Aiming then
  1948. Mouse.Icon = Settings.Icons.Idle
  1949. Tool.GripPos = Orig_Grip
  1950. if Settings.AimAnim.Enabled then
  1951. Delay(0, function()
  1952. Tween_C0(Right_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Right_Weld.C0, CFrame.new(0, -1.5, 0))
  1953. end)
  1954. Delay(0, function()
  1955. Tween_C1(Left_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Left_Weld.C1, Settings.LeftPos)
  1956. end)
  1957. else
  1958. Right_Weld.C1 = Settings.RightPos
  1959. Right_Weld.C0 = CFrame.new(0, -1.5, 0)
  1960. Left_Weld.C1 = Settings.LeftPos
  1961. end
  1962. if Settings.ChangeFOV[1] then
  1963. Camera.FieldOfView = 70
  1964. end
  1965. Settings.Spread = Settings.Spread + Settings.SpreadReduction
  1966. Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1967. Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1968. wait(0.25)
  1969. Aiming = false
  1970. end
  1971. end)
  1972. wait()
  1973. Camera.Changed:connect(function()
  1974. if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
  1975. Mouse.TargetFilter = workspace
  1976. Character.Torso.Neck.C1 = CFrame.new()
  1977. Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
  1978. end
  1979. end)
  1980. Mouse.Idle:connect(function()
  1981. if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
  1982. Mouse.TargetFilter = workspace
  1983. Character.Torso.Neck.C1 = CFrame.new()
  1984. Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
  1985. end
  1986. end)
  1987. while wait() and Equipped do
  1988. if Sprinting then
  1989. Right_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
  1990. Left_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
  1991. elseif not Aiming then
  1992. Left_Weld.C0 = CFrame.new(0, -1.5, 0)
  1993. end
  1994. if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude > 1 and Equipped then
  1995. Mouse.TargetFilter = nil
  1996. Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1997. Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1998. end
  1999. end
  2000. end)
  2001.  
  2002. local Arms_Made
  2003. local Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model
  2004.  
  2005. Tool.Equipped:connect(function(Mouse)
  2006. if Character and not Arms_Made then
  2007. Arms_Made = true
  2008. local Torso = Character.Torso
  2009. Torso["Right Shoulder"].Part1 = nil
  2010. Left_Weld = Instance.new("Weld", Torso)
  2011. Left_Weld.Name = "Left_Weld"
  2012. Left_Weld.Part0 = Character.Head
  2013. Left_Weld.C0 = CFrame.new(0, -1.5, 0)
  2014. if not Settings.OneHanded then
  2015. Torso["Left Shoulder"].Part1 = nil
  2016. Left_Weld.Part1 = Character["Left Arm"]
  2017. end
  2018. Right_Weld = Instance.new("Weld", Torso)
  2019. Right_Weld.Name = "Right_Weld"
  2020. Right_Weld.Part0 = Character.Head
  2021. Right_Weld.Part1 = Character["Right Arm"]
  2022. Right_Weld.C0 = CFrame.new(0, -1.5, 0)
  2023. Left_Weld.C1 = Settings.LeftPos
  2024. Right_Weld.C1 = Settings.RightPos
  2025. end
  2026. if Settings.FakeArms and not Fake_Arm_Right then
  2027. Fake_Arm_Right, Fake_Arm_Left = Character["Right Arm"]:Clone(), Character["Left Arm"]:Clone()
  2028. Fake_Arm_Right.FormFactor, Fake_Arm_Left.FormFactor = "Custom", "Custom"
  2029. Fake_Arm_Right.Size, Fake_Arm_Left.Size = Vector3.new(), Vector3.new()
  2030. local fakeArms = {Fake_Arm_Right, Fake_Arm_Left}
  2031. for i = 1, 2 do
  2032. local w = Instance.new("Weld", fakeArms[i])
  2033. w.Part0 = Character[fakeArms[i].Name]
  2034. w.Part1 = fakeArms[i]
  2035. fakeArms[i].Transparency = Settings.FakeArmTransparency
  2036. end
  2037. Fake_Arm_Model = Instance.new("Model", Camera)
  2038. Fake_Arm_Right.Parent = Fake_Arm_Model
  2039. if not Settings.OneHanded then
  2040. Fake_Arm_Left.Parent = Fake_Arm_Model
  2041. end
  2042. Fake_Arm_Model.Name = "FakeArms"
  2043. if Settings.CharacterMeshes then
  2044. for i, v in pairs(Character:GetChildren()) do
  2045. if v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.LeftArm or v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.RightArm then
  2046. v:Clone().Parent = Fake_Arm_Model
  2047. end
  2048. end
  2049. end
  2050. if Character:FindFirstChild("Shirt") then
  2051. Instance.new("Humanoid", Fake_Arm_Model)
  2052. Character.Shirt:Clone().Parent = Fake_Arm_Model
  2053. else
  2054. local Arm_Mesh = Instance.new("SpecialMesh", Fake_Arm_Right)
  2055. Arm_Mesh.MeshType, Arm_Mesh.Scale = "Brick", Vector3.new(5, 10, 5)
  2056. local Arm_Mesh2 = Instance.new("SpecialMesh", Fake_Arm_Left)
  2057. Arm_Mesh2.MeshType, Arm_Mesh2.Scale = "Brick", Vector3.new(5, 10, 5)
  2058. end
  2059. end
  2060. end)
  2061.  
  2062. Tool.Unequipped:connect(function()
  2063. Equipped = false
  2064. Tool.GripPos = Orig_Grip
  2065. Aiming = false
  2066. Settings.Spread = Orig_Spread
  2067. if Settings.ChangeFOV[1] then
  2068. Camera.FieldOfView = 70
  2069. end
  2070. if Gui then
  2071. Gui:Destroy()
  2072. Gui = nil
  2073. end
  2074. for i, v in pairs(Tool.Handle:GetChildren()) do
  2075. if v:IsA("Sound") then
  2076. v:Stop()
  2077. end
  2078. end
  2079. if Fake_Arm_Right and Fake_Arm_Left and Fake_Arm_Model then
  2080. Fake_Arm_Model:Destroy()
  2081. Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model = nil, nil, nil
  2082. end
  2083. if Character and Left_Weld and Right_Weld then
  2084. Arms_Made = false
  2085. local Torso = Character.Torso
  2086. Torso["Right Shoulder"].Part1, Torso["Left Shoulder"].Part1 = Character["Right Arm"], Character["Left Arm"]
  2087. Left_Weld:Destroy()
  2088. Right_Weld:Destroy()
  2089. end
  2090. Sprinting = false
  2091. Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2092. Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2093. Character.Humanoid.WalkSpeed = 16
  2094. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement