Advertisement
billwa

AKM

Oct 21st, 2015
419
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 53.63 KB | None | 0 0
  1. akm = Instance.new("Tool",game.Players.LocalPlayer.Backpack)
  2. akm.GripPos = Vector3.new(0,-0.20000000298023,0.20000000298023)
  3. akm.Grip = CFrame.new(0,-0.20000000298023,0.20000000298023) * CFrame.Angles(-0, 0.313845962286, 0)
  4. akm.GripForward = Vector3.new(-0.308719009161,-0,-0.95115327835083)
  5. akm.Name = "AKM"
  6. akm.GripRight = Vector3.new(0.95115327835083,0,-0.308719009161)
  7.  
  8. smokepart = Instance.new("Part",akm)
  9. smokepart.FormFactor = Enum.FormFactor.Custom
  10. smokepart.TopSurface = Enum.SurfaceType.Smooth
  11. smokepart.Anchored = false
  12. smokepart.Material = Enum.Material.SmoothPlastic
  13. smokepart.Size = Vector3.new(0.20000000298023,1.1185201406479,0.20000000298023)
  14. smokepart.Name = "SmokePart"
  15. smokepart.Locked = true
  16. smokepart.CFrame = CFrame.new(51.685955047607,1.0509999990463,-79.087982177734) * CFrame.Angles(-1.5707956552505, -9.4048732535157e-007, -3.1415927410126)
  17. smokepart.BrickColor = BrickColor.new("Dark stone grey")
  18. smokepart.Friction = 0.30000001192093
  19. smokepart.BottomSurface = Enum.SurfaceType.Smooth
  20.  
  21. mesh = Instance.new("CylinderMesh",smokepart)
  22. mesh.Scale = Vector3.new(0.77777779102325,1,0.62962853908539)
  23.  
  24. aimpart = Instance.new("Part",akm)
  25. aimpart.FormFactor = Enum.FormFactor.Custom
  26. aimpart.Transparency = 1
  27. aimpart.TopSurface = Enum.SurfaceType.Smooth
  28. aimpart.Anchored = false
  29. aimpart.Material = Enum.Material.SmoothPlastic
  30. aimpart.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
  31. aimpart.Name = "AimPart"
  32. aimpart.Locked = true
  33. aimpart.CFrame = CFrame.new(51.689979553223,1.4399999380112,-82.319984436035) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
  34. aimpart.BrickColor = BrickColor.new("Brown")
  35. aimpart.Friction = 0.30000001192093
  36. aimpart.BottomSurface = Enum.SurfaceType.Smooth
  37.  
  38. mesh = Instance.new("BlockMesh",aimpart)
  39. mesh.Scale = Vector3.new(0.11111108213663,0.22222222387791,0.14814814925194)
  40.  
  41. handle = Instance.new("Part",akm)
  42. handle.FormFactor = Enum.FormFactor.Custom
  43. handle.Transparency = 1
  44. handle.TopSurface = Enum.SurfaceType.Smooth
  45. handle.Anchored = false
  46. handle.Material = Enum.Material.SmoothPlastic
  47. handle.Size = Vector3.new(0.25925925374031,0.61481547355652,0.22222222387791)
  48. handle.Name = "Handle"
  49. handle.Locked = true
  50. handle.CFrame = CFrame.new(51.422946929932,0.783999979496,-81.052978515625) * CFrame.Angles(-3.1415927410126, 0.26179939508438, -3.1415927410126)
  51. handle.BrickColor = BrickColor.new("Brown")
  52. handle.Friction = 0.30000001192093
  53. handle.BottomSurface = Enum.SurfaceType.Smooth
  54.  
  55. mesh = Instance.new("BlockMesh",handle)
  56.  
  57. reload = Instance.new("Sound",handle)
  58. reload.Name = "Reload"
  59. reload.Volume = 1
  60. reload.SoundId = "http://www.roblox.com/asset/?id=132456328"
  61.  
  62. shoot = Instance.new("Sound",handle)
  63. shoot.Pitch = 0.80000001192093
  64. shoot.Name = "Shoot"
  65. shoot.Volume = 0.69999998807907
  66. shoot.SoundId = "http://www.roblox.com/asset/?id=139711658"
  67.  
  68. part = Instance.new("Part",akm)
  69. part.FormFactor = Enum.FormFactor.Custom
  70. part.TopSurface = Enum.SurfaceType.Smooth
  71. part.Anchored = false
  72. part.Material = Enum.Material.SmoothPlastic
  73. part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
  74. part.Locked = true
  75. part.CFrame = CFrame.new(51.689979553223,1.3729989528656,-80.320991516113) * CFrame.Angles(-0, 0, -0)
  76. part.BrickColor = BrickColor.new("Dark stone grey")
  77. part.Friction = 0.30000001192093
  78. part.BottomSurface = Enum.SurfaceType.Smooth
  79.  
  80. mesh = Instance.new("SpecialMesh",part)
  81. mesh.Scale = Vector3.new(0.77777808904648,0.14814813435078,0.48148131370544)
  82. mesh.MeshType = Enum.MeshType.Wedge
  83.  
  84. part = Instance.new("Part",akm)
  85. part.FormFactor = Enum.FormFactor.Custom
  86. part.TopSurface = Enum.SurfaceType.Smooth
  87. part.Anchored = false
  88. part.Material = Enum.Material.SmoothPlastic
  89. part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
  90. part.Locked = true
  91. part.CFrame = CFrame.new(51.652965545654,1.4009989500046,-78.824989318848) * CFrame.Angles(-0, 0, 0.52359879016876)
  92. part.BrickColor = BrickColor.new("Dark stone grey")
  93. part.Friction = 0.30000001192093
  94. part.BottomSurface = Enum.SurfaceType.Smooth
  95.  
  96. mesh = Instance.new("BlockMesh",part)
  97. mesh.Scale = Vector3.new(0.037037037312984,0.22222222387791,0.37037035822868)
  98.  
  99. part = Instance.new("Part",akm)
  100. part.FormFactor = Enum.FormFactor.Custom
  101. part.TopSurface = Enum.SurfaceType.Smooth
  102. part.Anchored = false
  103. part.Material = Enum.Material.SmoothPlastic
  104. part.Size = Vector3.new(0.72592586278915,0.20000000298023,0.20000000298023)
  105. part.Locked = true
  106. part.CFrame = CFrame.new(51.563972473145,1.3139970302582,-79.998977661133) * CFrame.Angles(-0, 1.5701057910919, -0)
  107. part.BrickColor = BrickColor.new("Brown")
  108. part.Friction = 0.30000001192093
  109. part.BottomSurface = Enum.SurfaceType.Smooth
  110.  
  111. mesh = Instance.new("SpecialMesh",part)
  112. mesh.Scale = Vector3.new(1,0.29629626870155,0.18518517911434)
  113. mesh.MeshType = Enum.MeshType.Wedge
  114.  
  115. part = Instance.new("Part",akm)
  116. part.FormFactor = Enum.FormFactor.Custom
  117. part.TopSurface = Enum.SurfaceType.Smooth
  118. part.Anchored = false
  119. part.Material = Enum.Material.SmoothPlastic
  120. part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
  121. part.Locked = true
  122. part.CFrame = CFrame.new(51.689979553223,1.3810000419617,-78.824989318848) * CFrame.Angles(-0, 0, -0)
  123. part.BrickColor = BrickColor.new("Dark stone grey")
  124. part.Friction = 0.30000001192093
  125. part.BottomSurface = Enum.SurfaceType.Smooth
  126.  
  127. mesh = Instance.new("BlockMesh",part)
  128. mesh.Scale = Vector3.new(0.33333322405815,0.074074074625969,0.37037035822868)
  129.  
  130. part = Instance.new("Part",akm)
  131. part.FormFactor = Enum.FormFactor.Custom
  132. part.TopSurface = Enum.SurfaceType.Smooth
  133. part.Reflectance = 0.20000000298023
  134. part.Anchored = false
  135. part.Material = Enum.Material.SmoothPlastic
  136. part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
  137. part.Locked = true
  138. part.CFrame = CFrame.new(51.689979553223,1.3069989681244,-82.020988464355) * CFrame.Angles(-0, 0, -0)
  139. part.BrickColor = BrickColor.new("Dark stone grey")
  140. part.Friction = 0.30000001192093
  141. part.BottomSurface = Enum.SurfaceType.Smooth
  142.  
  143. mesh = Instance.new("SpecialMesh",part)
  144. mesh.Scale = Vector3.new(0.40740758180618,0.37037035822868,0.22222183644772)
  145. mesh.MeshType = Enum.MeshType.Wedge
  146.  
  147. part = Instance.new("Part",akm)
  148. part.FormFactor = Enum.FormFactor.Custom
  149. part.TopSurface = Enum.SurfaceType.Smooth
  150. part.Reflectance = 0.20000000298023
  151. part.Anchored = false
  152. part.Material = Enum.Material.SmoothPlastic
  153. part.Size = Vector3.new(1.5037040710449,0.20000000298023,0.20000000298023)
  154. part.Locked = true
  155. part.CFrame = CFrame.new(51.807964324951,1.2329989671707,-81.290985107422) * CFrame.Angles(-0, -1.5707963705063, 0)
  156. part.BrickColor = BrickColor.new("Dark stone grey")
  157. part.Friction = 0.30000001192093
  158. part.BottomSurface = Enum.SurfaceType.Smooth
  159.  
  160. mesh = Instance.new("SpecialMesh",part)
  161. mesh.Scale = Vector3.new(1,0.37037035822868,0.18518517911434)
  162. mesh.MeshType = Enum.MeshType.Wedge
  163.  
  164. part = Instance.new("Part",akm)
  165. part.FormFactor = Enum.FormFactor.Custom
  166. part.TopSurface = Enum.SurfaceType.Smooth
  167. part.Anchored = false
  168. part.Material = Enum.Material.SmoothPlastic
  169. part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.32592597603798)
  170. part.Locked = true
  171. part.CFrame = CFrame.new(51.689979553223,1.3509989976883,-80.435989379883) * CFrame.Angles(-0, 0, -0)
  172. part.BrickColor = BrickColor.new("Dark stone grey")
  173. part.Friction = 0.30000001192093
  174. part.BottomSurface = Enum.SurfaceType.Smooth
  175.  
  176. mesh = Instance.new("BlockMesh",part)
  177. mesh.Scale = Vector3.new(0.77777773141861,0.07407408207655,1)
  178.  
  179. part = Instance.new("Part",akm)
  180. part.FormFactor = Enum.FormFactor.Custom
  181. part.TopSurface = Enum.SurfaceType.Smooth
  182. part.Anchored = false
  183. part.Material = Enum.Material.SmoothPlastic
  184. part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.22962953150272)
  185. part.Locked = true
  186. part.CFrame = CFrame.new(51.689979553223,1.3700000047684,-80.483985900879) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
  187. part.BrickColor = BrickColor.new("Dark stone grey")
  188. part.Friction = 0.30000001192093
  189. part.BottomSurface = Enum.SurfaceType.Smooth
  190.  
  191. mesh = Instance.new("SpecialMesh",part)
  192. mesh.Scale = Vector3.new(0.77777808904648,0.11111110448837,1)
  193. mesh.MeshType = Enum.MeshType.Wedge
  194.  
  195. part = Instance.new("Part",akm)
  196. part.FormFactor = Enum.FormFactor.Custom
  197. part.TopSurface = Enum.SurfaceType.Smooth
  198. part.Anchored = false
  199. part.Material = Enum.Material.SmoothPlastic
  200. part.Size = Vector3.new(0.21481476724148,0.20000000298023,0.20000000298023)
  201. part.Locked = true
  202. part.CFrame = CFrame.new(51.689979553223,1.4149990081787,-80.561988830566) * CFrame.Angles(0.24789763987064, 0, -0)
  203. part.BrickColor = BrickColor.new("Dark stone grey")
  204. part.Friction = 0.30000001192093
  205. part.BottomSurface = Enum.SurfaceType.Smooth
  206.  
  207. mesh = Instance.new("BlockMesh",part)
  208. mesh.Scale = Vector3.new(1,0.074074074625969,0.18518501520157)
  209.  
  210. part = Instance.new("Part",akm)
  211. part.FormFactor = Enum.FormFactor.Custom
  212. part.TopSurface = Enum.SurfaceType.Smooth
  213. part.Reflectance = 0.20000000298023
  214. part.Anchored = false
  215. part.Material = Enum.Material.SmoothPlastic
  216. part.Size = Vector3.new(0.20000000298023,0.20000000298023,1.355558514595)
  217. part.Locked = true
  218. part.CFrame = CFrame.new(51.689979553223,1.3069989681244,-81.320991516113) * CFrame.Angles(-0, 0, -0)
  219. part.BrickColor = BrickColor.new("Dark stone grey")
  220. part.Friction = 0.30000001192093
  221. part.BottomSurface = Enum.SurfaceType.Smooth
  222.  
  223. mesh = Instance.new("BlockMesh",part)
  224. mesh.Scale = Vector3.new(0.40740755200386,0.37036967277527,1)
  225.  
  226. part = Instance.new("Part",akm)
  227. part.FormFactor = Enum.FormFactor.Custom
  228. part.TopSurface = Enum.SurfaceType.Smooth
  229. part.Anchored = false
  230. part.Material = Enum.Material.SmoothPlastic
  231. part.Size = Vector3.new(0.28888890147209,0.20000000298023,0.72592878341675)
  232. part.Locked = true
  233. part.CFrame = CFrame.new(51.689979553223,1.2469999790192,-79.998977661133) * CFrame.Angles(-0, 0, -0)
  234. part.BrickColor = BrickColor.new("Brown")
  235. part.Friction = 0.30000001192093
  236. part.BottomSurface = Enum.SurfaceType.Smooth
  237.  
  238. mesh = Instance.new("BlockMesh",part)
  239. mesh.Scale = Vector3.new(1,0.37036892771721,1)
  240.  
  241. part = Instance.new("Part",akm)
  242. part.FormFactor = Enum.FormFactor.Custom
  243. part.TopSurface = Enum.SurfaceType.Smooth
  244. part.Anchored = false
  245. part.Material = Enum.Material.SmoothPlastic
  246. part.Size = Vector3.new(0.20000000298023,0.38518509268761,0.42222213745117)
  247. part.Locked = true
  248. part.CFrame = CFrame.new(51.685955047607,0.28900000452995,-80.758987426758) * CFrame.Angles(-0.78539818525314, 0, -0)
  249. part.BrickColor = BrickColor.new("Dark stone grey")
  250. part.Friction = 0.30000001192093
  251. part.BottomSurface = Enum.SurfaceType.Smooth
  252.  
  253. mesh = Instance.new("BlockMesh",part)
  254. mesh.Scale = Vector3.new(0.55555552244186,1,1)
  255.  
  256. part = Instance.new("Part",akm)
  257. part.FormFactor = Enum.FormFactor.Custom
  258. part.TopSurface = Enum.SurfaceType.Smooth
  259. part.Anchored = false
  260. part.Material = Enum.Material.SmoothPlastic
  261. part.Size = Vector3.new(0.28888890147209,0.20000000298023,0.20000000298023)
  262. part.Locked = true
  263. part.CFrame = CFrame.new(51.689979553223,1.1959979534149,-79.709983825684) * CFrame.Angles(-0, 0, -0)
  264. part.BrickColor = BrickColor.new("Brown")
  265. part.Friction = 0.30000001192093
  266. part.BottomSurface = Enum.SurfaceType.Smooth
  267.  
  268. mesh = Instance.new("BlockMesh",part)
  269. mesh.Scale = Vector3.new(1,0.14814814925194,0.74074083566666)
  270.  
  271. part = Instance.new("Part",akm)
  272. part.FormFactor = Enum.FormFactor.Custom
  273. part.TopSurface = Enum.SurfaceType.Smooth
  274. part.Anchored = false
  275. part.Material = Enum.Material.SmoothPlastic
  276. part.Size = Vector3.new(0.30370369553566,0.2740738093853,0.20000000298023)
  277. part.Locked = true
  278. part.CFrame = CFrame.new(51.689979553223,1.0589989423752,-80.446975708008) * CFrame.Angles(-0, 0, -0)
  279. part.BrickColor = BrickColor.new("Brown")
  280. part.Friction = 0.30000001192093
  281. part.BottomSurface = Enum.SurfaceType.Smooth
  282.  
  283. mesh = Instance.new("BlockMesh",part)
  284. mesh.Scale = Vector3.new(1,1,0.85186696052551)
  285.  
  286. part = Instance.new("Part",akm)
  287. part.FormFactor = Enum.FormFactor.Custom
  288. part.TopSurface = Enum.SurfaceType.Smooth
  289. part.Anchored = false
  290. part.Material = Enum.Material.SmoothPlastic
  291. part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
  292. part.Locked = true
  293. part.CFrame = CFrame.new(51.630954742432,1.4439979791641,-80.553985595703) * CFrame.Angles(0.24789763987064, 0, -0)
  294. part.BrickColor = BrickColor.new("Dark stone grey")
  295. part.Friction = 0.30000001192093
  296. part.BottomSurface = Enum.SurfaceType.Smooth
  297.  
  298. mesh = Instance.new("BlockMesh",part)
  299. mesh.Scale = Vector3.new(0.48148128390312,0.22222222387791,0.18518501520157)
  300.  
  301. part = Instance.new("Part",akm)
  302. part.FormFactor = Enum.FormFactor.Custom
  303. part.TopSurface = Enum.SurfaceType.Smooth
  304. part.Anchored = false
  305. part.Material = Enum.Material.SmoothPlastic
  306. part.Size = Vector3.new(0.20000000298023,0.31111294031143,0.20000000298023)
  307. part.Locked = true
  308. part.CFrame = CFrame.new(51.685955047607,1.1669989824295,-79.173980712891) * CFrame.Angles(2.3561944961548, -2.5609111276026e-007, -3.141592502594)
  309. part.BrickColor = BrickColor.new("Dark stone grey")
  310. part.Friction = 0.30000001192093
  311. part.BottomSurface = Enum.SurfaceType.Smooth
  312.  
  313. mesh = Instance.new("CylinderMesh",part)
  314. mesh.Scale = Vector3.new(0.77777779102325,1,0.62962853908539)
  315.  
  316. part = Instance.new("Part",akm)
  317. part.FormFactor = Enum.FormFactor.Custom
  318. part.TopSurface = Enum.SurfaceType.Smooth
  319. part.Anchored = false
  320. part.Material = Enum.Material.SmoothPlastic
  321. part.Size = Vector3.new(0.20000000298023,0.28148150444031,0.20000000298023)
  322. part.Locked = true
  323. part.CFrame = CFrame.new(51.689979553223,1.2329989671707,-78.824989318848) * CFrame.Angles(-0, 0, -0)
  324. part.BrickColor = BrickColor.new("Dark stone grey")
  325. part.Friction = 0.30000001192093
  326. part.BottomSurface = Enum.SurfaceType.Smooth
  327.  
  328. mesh = Instance.new("BlockMesh",part)
  329. mesh.Scale = Vector3.new(0.33333322405815,1,0.37037035822868)
  330.  
  331. part = Instance.new("Part",akm)
  332. part.FormFactor = Enum.FormFactor.Custom
  333. part.TopSurface = Enum.SurfaceType.Smooth
  334. part.Anchored = false
  335. part.Material = Enum.Material.SmoothPlastic
  336. part.Size = Vector3.new(0.20000000298023,0.40740922093391,0.20000000298023)
  337. part.Locked = true
  338. part.CFrame = CFrame.new(51.685955047607,1.2589989900589,-79.442985534668) * CFrame.Angles(1.5707963705063, -0, -3.1415927410126)
  339. part.BrickColor = BrickColor.new("Dark stone grey")
  340. part.Friction = 0.30000001192093
  341. part.BottomSurface = Enum.SurfaceType.Smooth
  342.  
  343. mesh = Instance.new("CylinderMesh",part)
  344. mesh.Scale = Vector3.new(0.77777779102325,1,0.62962853908539)
  345.  
  346. part = Instance.new("Part",akm)
  347. part.FormFactor = Enum.FormFactor.Custom
  348. part.TopSurface = Enum.SurfaceType.Smooth
  349. part.Anchored = false
  350. part.Material = Enum.Material.SmoothPlastic
  351. part.Size = Vector3.new(0.72592586278915,0.20000000298023,0.20000000298023)
  352. part.Locked = true
  353. part.CFrame = CFrame.new(51.81595993042,1.3139970302582,-79.998977661133) * CFrame.Angles(-0, -1.5707963705063, 0)
  354. part.BrickColor = BrickColor.new("Brown")
  355. part.Friction = 0.30000001192093
  356. part.BottomSurface = Enum.SurfaceType.Smooth
  357.  
  358. mesh = Instance.new("SpecialMesh",part)
  359. mesh.Scale = Vector3.new(1,0.29629626870155,0.18518517911434)
  360. mesh.MeshType = Enum.MeshType.Wedge
  361.  
  362. part = Instance.new("Part",akm)
  363. part.FormFactor = Enum.FormFactor.Custom
  364. part.TopSurface = Enum.SurfaceType.Smooth
  365. part.Anchored = false
  366. part.Material = Enum.Material.SmoothPlastic
  367. part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
  368. part.Locked = true
  369. part.CFrame = CFrame.new(51.689979553223,1.2469999790192,-82.065979003906) * CFrame.Angles(-0, 0, -0)
  370. part.BrickColor = BrickColor.new("Dark stone grey")
  371. part.Friction = 0.30000001192093
  372. part.BottomSurface = Enum.SurfaceType.Smooth
  373.  
  374. mesh = Instance.new("SpecialMesh",part)
  375. mesh.Scale = Vector3.new(0.40740758180618,0.37037035822868,0.22222183644772)
  376. mesh.MeshType = Enum.MeshType.Wedge
  377.  
  378. part = Instance.new("Part",akm)
  379. part.FormFactor = Enum.FormFactor.Custom
  380. part.TopSurface = Enum.SurfaceType.Smooth
  381. part.Reflectance = 0.20000000298023
  382. part.Anchored = false
  383. part.Material = Enum.Material.SmoothPlastic
  384. part.Size = Vector3.new(0.20000000298023,0.20740738511086,0.20000000298023)
  385. part.Locked = true
  386. part.CFrame = CFrame.new(51.689979553223,0.87000000476837,-81.520988464355) * CFrame.Angles(-0.26179939508438, 0, -0)
  387. part.BrickColor = BrickColor.new("Dark stone grey")
  388. part.Friction = 0.30000001192093
  389. part.BottomSurface = Enum.SurfaceType.Smooth
  390.  
  391. mesh = Instance.new("BlockMesh",part)
  392. mesh.Scale = Vector3.new(0.18518517911434,1,0.18518517911434)
  393.  
  394. part = Instance.new("Part",akm)
  395. part.FormFactor = Enum.FormFactor.Custom
  396. part.TopSurface = Enum.SurfaceType.Smooth
  397. part.Reflectance = 0.20000000298023
  398. part.Anchored = false
  399. part.Material = Enum.Material.SmoothPlastic
  400. part.Size = Vector3.new(0.20000001788139,0.20000000298023,1.5037070512772)
  401. part.Locked = true
  402. part.CFrame = CFrame.new(51.689979553223,1.2329989671707,-81.290985107422) * CFrame.Angles(-0, 0, -0)
  403. part.BrickColor = BrickColor.new("Dark stone grey")
  404. part.Friction = 0.30000001192093
  405. part.BottomSurface = Enum.SurfaceType.Smooth
  406.  
  407. mesh = Instance.new("BlockMesh",part)
  408. mesh.Scale = Vector3.new(1,0.37036967277527,1)
  409.  
  410. part = Instance.new("Part",akm)
  411. part.FormFactor = Enum.FormFactor.Custom
  412. part.TopSurface = Enum.SurfaceType.Smooth
  413. part.Reflectance = 0.20000000298023
  414. part.Anchored = false
  415. part.Material = Enum.Material.SmoothPlastic
  416. part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.33629661798477)
  417. part.Locked = true
  418. part.CFrame = CFrame.new(51.689979553223,0.74400001764297,-81.541969299316) * CFrame.Angles(-0, 0, -0)
  419. part.BrickColor = BrickColor.new("Dark stone grey")
  420. part.Friction = 0.30000001192093
  421. part.BottomSurface = Enum.SurfaceType.Smooth
  422.  
  423. mesh = Instance.new("BlockMesh",part)
  424. mesh.Scale = Vector3.new(0.55555552244186,0.22222222387791,1)
  425.  
  426. part = Instance.new("Part",akm)
  427. part.FormFactor = Enum.FormFactor.Custom
  428. part.TopSurface = Enum.SurfaceType.Smooth
  429. part.Anchored = false
  430. part.Material = Enum.Material.SmoothPlastic
  431. part.Size = Vector3.new(0.20000000298023,0.21481455862522,1.2296324968338)
  432. part.Locked = true
  433. part.CFrame = CFrame.new(51.689979553223,0.92900002002716,-82.639991760254) * CFrame.Angles(-0.26179939508438, 0, -0)
  434. part.BrickColor = BrickColor.new("Brown")
  435. part.Friction = 0.30000001192093
  436. part.BottomSurface = Enum.SurfaceType.Smooth
  437.  
  438. mesh = Instance.new("BlockMesh",part)
  439. mesh.Scale = Vector3.new(0.62962961196899,1,1)
  440.  
  441. part = Instance.new("Part",akm)
  442. part.FormFactor = Enum.FormFactor.Custom
  443. part.TopSurface = Enum.SurfaceType.Smooth
  444. part.Reflectance = 0.20000000298023
  445. part.Anchored = false
  446. part.Material = Enum.Material.SmoothPlastic
  447. part.Size = Vector3.new(1.3555555343628,0.20000000298023,0.20000000298023)
  448. part.Locked = true
  449. part.CFrame = CFrame.new(51.748970031738,1.3069989681244,-81.320991516113) * CFrame.Angles(-0, -1.5707963705063, 0)
  450. part.BrickColor = BrickColor.new("Dark stone grey")
  451. part.Friction = 0.30000001192093
  452. part.BottomSurface = Enum.SurfaceType.Smooth
  453.  
  454. mesh = Instance.new("SpecialMesh",part)
  455. mesh.Scale = Vector3.new(1,0.37037035822868,0.18518517911434)
  456. mesh.MeshType = Enum.MeshType.Wedge
  457.  
  458. part = Instance.new("Part",akm)
  459. part.FormFactor = Enum.FormFactor.Custom
  460. part.TopSurface = Enum.SurfaceType.Smooth
  461. part.Anchored = false
  462. part.Material = Enum.Material.SmoothPlastic
  463. part.Size = Vector3.new(0.20000000298023,0.22962978482246,0.41481474041939)
  464. part.Locked = true
  465. part.CFrame = CFrame.new(51.685955047607,0.86599898338318,-81.024978637695) * CFrame.Angles(-0, 0, -0)
  466. part.BrickColor = BrickColor.new("Dark stone grey")
  467. part.Friction = 0.30000001192093
  468. part.BottomSurface = Enum.SurfaceType.Smooth
  469.  
  470. mesh = Instance.new("BlockMesh",part)
  471. mesh.Scale = Vector3.new(0.55555552244186,1,1)
  472.  
  473. part = Instance.new("Part",akm)
  474. part.FormFactor = Enum.FormFactor.Custom
  475. part.TopSurface = Enum.SurfaceType.Smooth
  476. part.Anchored = false
  477. part.Material = Enum.Material.SmoothPlastic
  478. part.Size = Vector3.new(0.25925925374031,0.61481547355652,0.22222222387791)
  479. part.Locked = true
  480. part.CFrame = CFrame.new(51.689979553223,0.65099900960922,-81.894989013672) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
  481. part.BrickColor = BrickColor.new("Brown")
  482. part.Friction = 0.30000001192093
  483. part.BottomSurface = Enum.SurfaceType.Smooth
  484.  
  485. mesh = Instance.new("BlockMesh",part)
  486.  
  487. part = Instance.new("Part",akm)
  488. part.FormFactor = Enum.FormFactor.Custom
  489. part.TopSurface = Enum.SurfaceType.Smooth
  490. part.Anchored = false
  491. part.Material = Enum.Material.SmoothPlastic
  492. part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
  493. part.Locked = true
  494. part.CFrame = CFrame.new(51.72696685791,1.4009989500046,-78.824989318848) * CFrame.Angles(-0, 0, -0.52359879016876)
  495. part.BrickColor = BrickColor.new("Dark stone grey")
  496. part.Friction = 0.30000001192093
  497. part.BottomSurface = Enum.SurfaceType.Smooth
  498.  
  499. mesh = Instance.new("BlockMesh",part)
  500. mesh.Scale = Vector3.new(0.037037037312984,0.22222222387791,0.37037035822868)
  501.  
  502. part = Instance.new("Part",akm)
  503. part.FormFactor = Enum.FormFactor.Custom
  504. part.TopSurface = Enum.SurfaceType.Smooth
  505. part.Anchored = false
  506. part.Material = Enum.Material.SmoothPlastic
  507. part.Size = Vector3.new(0.20000000298023,0.26666662096977,0.42222213745117)
  508. part.Locked = true
  509. part.CFrame = CFrame.new(51.685955047607,0.49700000882149,-80.923980712891) * CFrame.Angles(-0.52359879016876, 0, -0)
  510. part.BrickColor = BrickColor.new("Dark stone grey")
  511. part.Friction = 0.30000001192093
  512. part.BottomSurface = Enum.SurfaceType.Smooth
  513.  
  514. mesh = Instance.new("BlockMesh",part)
  515. mesh.Scale = Vector3.new(0.55555552244186,1,1)
  516.  
  517. part = Instance.new("Part",akm)
  518. part.FormFactor = Enum.FormFactor.Custom
  519. part.TopSurface = Enum.SurfaceType.Smooth
  520. part.Anchored = false
  521. part.Material = Enum.Material.SmoothPlastic
  522. part.Size = Vector3.new(0.20000000298023,0.28148144483566,0.41481474041939)
  523. part.Locked = true
  524. part.CFrame = CFrame.new(51.685955047607,0.66999900341034,-80.997993469238) * CFrame.Angles(-0.26179939508438, 0, -0)
  525. part.BrickColor = BrickColor.new("Dark stone grey")
  526. part.Friction = 0.30000001192093
  527. part.BottomSurface = Enum.SurfaceType.Smooth
  528.  
  529. mesh = Instance.new("BlockMesh",part)
  530. mesh.Scale = Vector3.new(0.55555552244186,1,1)
  531.  
  532. part = Instance.new("Part",akm)
  533. part.FormFactor = Enum.FormFactor.Custom
  534. part.TopSurface = Enum.SurfaceType.Smooth
  535. part.Anchored = false
  536. part.Material = Enum.Material.SmoothPlastic
  537. part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
  538. part.Locked = true
  539. part.CFrame = CFrame.new(51.652965545654,1.4550000429153,-78.824989318848) * CFrame.Angles(-0, 0, -0.52359879016876)
  540. part.BrickColor = BrickColor.new("Dark stone grey")
  541. part.Friction = 0.30000001192093
  542. part.BottomSurface = Enum.SurfaceType.Smooth
  543.  
  544. mesh = Instance.new("BlockMesh",part)
  545. mesh.Scale = Vector3.new(0.037037037312984,0.14814814925194,0.37037035822868)
  546.  
  547. part = Instance.new("Part",akm)
  548. part.FormFactor = Enum.FormFactor.Custom
  549. part.TopSurface = Enum.SurfaceType.Smooth
  550. part.Anchored = false
  551. part.Material = Enum.Material.SmoothPlastic
  552. part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.26666963100433)
  553. part.Locked = true
  554. part.CFrame = CFrame.new(51.689979553223,1.0709979534149,-82.527992248535) * CFrame.Angles(0.52359879016876, 0, -0)
  555. part.BrickColor = BrickColor.new("Brown")
  556. part.Friction = 0.30000001192093
  557. part.BottomSurface = Enum.SurfaceType.Smooth
  558.  
  559. mesh = Instance.new("BlockMesh",part)
  560. mesh.Scale = Vector3.new(0.62962961196899,0.70370382070541,1)
  561.  
  562. part = Instance.new("Part",akm)
  563. part.FormFactor = Enum.FormFactor.Custom
  564. part.TopSurface = Enum.SurfaceType.Smooth
  565. part.Anchored = false
  566. part.Material = Enum.Material.SmoothPlastic
  567. part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
  568. part.Locked = true
  569. part.CFrame = CFrame.new(51.72696685791,1.4550000429153,-78.824989318848) * CFrame.Angles(-0, 0, 0.52359879016876)
  570. part.BrickColor = BrickColor.new("Dark stone grey")
  571. part.Friction = 0.30000001192093
  572. part.BottomSurface = Enum.SurfaceType.Smooth
  573.  
  574. mesh = Instance.new("BlockMesh",part)
  575. mesh.Scale = Vector3.new(0.037037037312984,0.14814814925194,0.37037035822868)
  576.  
  577. part = Instance.new("Part",akm)
  578. part.FormFactor = Enum.FormFactor.Custom
  579. part.TopSurface = Enum.SurfaceType.Smooth
  580. part.Anchored = false
  581. part.Material = Enum.Material.SmoothPlastic
  582. part.Size = Vector3.new(0.21481490135193,0.20000000298023,0.72592878341675)
  583. part.Locked = true
  584. part.CFrame = CFrame.new(51.689979553223,1.3139970302582,-79.998977661133) * CFrame.Angles(-0, 0, -0)
  585. part.BrickColor = BrickColor.new("Brown")
  586. part.Friction = 0.30000001192093
  587. part.BottomSurface = Enum.SurfaceType.Smooth
  588.  
  589. mesh = Instance.new("BlockMesh",part)
  590. mesh.Scale = Vector3.new(1,0.29629480838776,1)
  591.  
  592. part = Instance.new("Part",akm)
  593. part.FormFactor = Enum.FormFactor.Custom
  594. part.TopSurface = Enum.SurfaceType.Smooth
  595. part.Anchored = false
  596. part.Material = Enum.Material.SmoothPlastic
  597. part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
  598. part.Locked = true
  599. part.CFrame = CFrame.new(51.689979553223,1.4290000200272,-78.824989318848) * CFrame.Angles(-0, 0, -0)
  600. part.BrickColor = BrickColor.new("Dark stone grey")
  601. part.Friction = 0.30000001192093
  602. part.BottomSurface = Enum.SurfaceType.Smooth
  603.  
  604. mesh = Instance.new("BlockMesh",part)
  605. mesh.Scale = Vector3.new(0.037037037312984,0.11111114174128,0.37037035822868)
  606.  
  607. part = Instance.new("Part",akm)
  608. part.FormFactor = Enum.FormFactor.Custom
  609. part.TopSurface = Enum.SurfaceType.Smooth
  610. part.Reflectance = 0.20000000298023
  611. part.Anchored = false
  612. part.Material = Enum.Material.SmoothPlastic
  613. part.Size = Vector3.new(1.5037040710449,0.20000000298023,0.20000000298023)
  614. part.Locked = true
  615. part.CFrame = CFrame.new(51.570964813232,1.2329989671707,-81.290985107422) * CFrame.Angles(0, 1.5707963705063, 0)
  616. part.BrickColor = BrickColor.new("Dark stone grey")
  617. part.Friction = 0.30000001192093
  618. part.BottomSurface = Enum.SurfaceType.Smooth
  619.  
  620. mesh = Instance.new("SpecialMesh",part)
  621. mesh.Scale = Vector3.new(1,0.37037035822868,0.18518517911434)
  622. mesh.MeshType = Enum.MeshType.Wedge
  623.  
  624. part = Instance.new("Part",akm)
  625. part.FormFactor = Enum.FormFactor.Custom
  626. part.TopSurface = Enum.SurfaceType.Smooth
  627. part.Anchored = false
  628. part.Material = Enum.Material.SmoothPlastic
  629. part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
  630. part.Locked = true
  631. part.CFrame = CFrame.new(51.748970031738,1.4439979791641,-80.553985595703) * CFrame.Angles(0.24789763987064, 0, -0)
  632. part.BrickColor = BrickColor.new("Dark stone grey")
  633. part.Friction = 0.30000001192093
  634. part.BottomSurface = Enum.SurfaceType.Smooth
  635.  
  636. mesh = Instance.new("BlockMesh",part)
  637. mesh.Scale = Vector3.new(0.48148128390312,0.22222222387791,0.18518501520157)
  638.  
  639. part = Instance.new("Part",akm)
  640. part.FormFactor = Enum.FormFactor.Custom
  641. part.TopSurface = Enum.SurfaceType.Smooth
  642. part.Anchored = false
  643. part.Material = Enum.Material.SmoothPlastic
  644. part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
  645. part.Locked = true
  646. part.CFrame = CFrame.new(51.645973205566,1.4329999685287,-78.824989318848) * CFrame.Angles(-0, 0, -0)
  647. part.BrickColor = BrickColor.new("Dark stone grey")
  648. part.Friction = 0.30000001192093
  649. part.BottomSurface = Enum.SurfaceType.Smooth
  650.  
  651. mesh = Instance.new("BlockMesh",part)
  652. mesh.Scale = Vector3.new(0.037037037312984,0.14814814925194,0.37037035822868)
  653.  
  654. part = Instance.new("Part",akm)
  655. part.FormFactor = Enum.FormFactor.Custom
  656. part.TopSurface = Enum.SurfaceType.Smooth
  657. part.Anchored = false
  658. part.Material = Enum.Material.SmoothPlastic
  659. part.Size = Vector3.new(0.25925925374031,0.52592587471008,0.20000000298023)
  660. part.Locked = true
  661. part.CFrame = CFrame.new(51.689979553223,0.60699999332428,-82.079986572266) * CFrame.Angles(-0, 0, -0)
  662. part.BrickColor = BrickColor.new("Brown")
  663. part.Friction = 0.30000001192093
  664. part.BottomSurface = Enum.SurfaceType.Smooth
  665.  
  666. mesh = Instance.new("SpecialMesh",part)
  667. mesh.Scale = Vector3.new(1,1,0.74074071645737)
  668. mesh.MeshType = Enum.MeshType.Wedge
  669.  
  670. part = Instance.new("Part",akm)
  671. part.FormFactor = Enum.FormFactor.Custom
  672. part.TopSurface = Enum.SurfaceType.Smooth
  673. part.Reflectance = 0.20000000298023
  674. part.Anchored = false
  675. part.Material = Enum.Material.SmoothPlastic
  676. part.Size = Vector3.new(0.20000000298023,0.23703700304031,0.20000000298023)
  677. part.Locked = true
  678. part.CFrame = CFrame.new(51.689979553223,0.83999902009964,-81.311988830566) * CFrame.Angles(-0, 0, -0)
  679. part.BrickColor = BrickColor.new("Dark stone grey")
  680. part.Friction = 0.30000001192093
  681. part.BottomSurface = Enum.SurfaceType.Smooth
  682.  
  683. mesh = Instance.new("BlockMesh",part)
  684. mesh.Scale = Vector3.new(0.55555552244186,1,0.64444601535797)
  685.  
  686. part = Instance.new("Part",akm)
  687. part.FormFactor = Enum.FormFactor.Custom
  688. part.TopSurface = Enum.SurfaceType.Smooth
  689. part.Anchored = false
  690. part.Material = Enum.Material.SmoothPlastic
  691. part.Size = Vector3.new(0.28888890147209,0.20000000298023,0.20000000298023)
  692. part.Locked = true
  693. part.CFrame = CFrame.new(51.689979553223,1.1959979534149,-80.046989440918) * CFrame.Angles(-0, 0, -0)
  694. part.BrickColor = BrickColor.new("Brown")
  695. part.Friction = 0.30000001192093
  696. part.BottomSurface = Enum.SurfaceType.Smooth
  697.  
  698. mesh = Instance.new("BlockMesh",part)
  699. mesh.Scale = Vector3.new(1,0.14814814925194,0.25925925374031)
  700.  
  701. part = Instance.new("Part",akm)
  702. part.FormFactor = Enum.FormFactor.Custom
  703. part.TopSurface = Enum.SurfaceType.Smooth
  704. part.Reflectance = 0.20000000298023
  705. part.Anchored = false
  706. part.Material = Enum.Material.SmoothPlastic
  707. part.Size = Vector3.new(0.27407410740852,0.20000000298023,0.28148445487022)
  708. part.Locked = true
  709. part.CFrame = CFrame.new(51.689979553223,1.2699999809265,-80.502983093262) * CFrame.Angles(-0, 0, -0)
  710. part.BrickColor = BrickColor.new("Dark stone grey")
  711. part.Friction = 0.30000001192093
  712. part.BottomSurface = Enum.SurfaceType.Smooth
  713.  
  714. mesh = Instance.new("BlockMesh",part)
  715. mesh.Scale = Vector3.new(1,0.74074000120163,1)
  716.  
  717. part = Instance.new("Part",akm)
  718. part.FormFactor = Enum.FormFactor.Custom
  719. part.TopSurface = Enum.SurfaceType.Smooth
  720. part.Reflectance = 0.20000000298023
  721. part.Anchored = false
  722. part.Material = Enum.Material.SmoothPlastic
  723. part.Size = Vector3.new(0.20000001788139,0.20000000298023,0.20000000298023)
  724. part.Locked = true
  725. part.CFrame = CFrame.new(51.689979553223,1.2329989671707,-82.065979003906) * CFrame.Angles(-0, 0, -0)
  726. part.BrickColor = BrickColor.new("Dark stone grey")
  727. part.Friction = 0.30000001192093
  728. part.BottomSurface = Enum.SurfaceType.Smooth
  729.  
  730. mesh = Instance.new("SpecialMesh",part)
  731. mesh.Scale = Vector3.new(1,0.37037035822868,0.22222185134888)
  732. mesh.MeshType = Enum.MeshType.Wedge
  733.  
  734. part = Instance.new("Part",akm)
  735. part.FormFactor = Enum.FormFactor.Custom
  736. part.TopSurface = Enum.SurfaceType.Smooth
  737. part.Reflectance = 0.20000000298023
  738. part.Anchored = false
  739. part.Material = Enum.Material.SmoothPlastic
  740. part.Size = Vector3.new(0.27407410740852,0.23703689873219,1.6592621803284)
  741. part.Locked = true
  742. part.CFrame = CFrame.new(51.689979553223,1.0770000219345,-81.25798034668) * CFrame.Angles(-0, 0, -0)
  743. part.BrickColor = BrickColor.new("Dark stone grey")
  744. part.Friction = 0.30000001192093
  745. part.BottomSurface = Enum.SurfaceType.Smooth
  746.  
  747. mesh = Instance.new("BlockMesh",part)
  748.  
  749. part = Instance.new("Part",akm)
  750. part.FormFactor = Enum.FormFactor.Custom
  751. part.TopSurface = Enum.SurfaceType.Smooth
  752. part.Anchored = false
  753. part.Material = Enum.Material.SmoothPlastic
  754. part.Size = Vector3.new(0.20000000298023,0.32592588663101,0.65926241874695)
  755. part.Locked = true
  756. part.CFrame = CFrame.new(51.689979553223,1.0340000391006,-82.936988830566) * CFrame.Angles(-1.4901162970204e-008, 0, -0)
  757. part.BrickColor = BrickColor.new("Brown")
  758. part.Friction = 0.30000001192093
  759. part.BottomSurface = Enum.SurfaceType.Smooth
  760.  
  761. mesh = Instance.new("BlockMesh",part)
  762. mesh.Scale = Vector3.new(0.62962961196899,1,1)
  763.  
  764. part = Instance.new("Part",akm)
  765. part.FormFactor = Enum.FormFactor.Custom
  766. part.TopSurface = Enum.SurfaceType.Smooth
  767. part.Reflectance = 0.20000000298023
  768. part.Anchored = false
  769. part.Material = Enum.Material.SmoothPlastic
  770. part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
  771. part.Locked = true
  772. part.CFrame = CFrame.new(51.689979553223,0.69799900054932,-81.294990539551) * CFrame.Angles(0.52359879016876, 0, -0)
  773. part.BrickColor = BrickColor.new("Dark stone grey")
  774. part.Friction = 0.30000001192093
  775. part.BottomSurface = Enum.SurfaceType.Smooth
  776.  
  777. mesh = Instance.new("BlockMesh",part)
  778. mesh.Scale = Vector3.new(0.18518517911434,0.66666656732559,0.07407408207655)
  779.  
  780. part = Instance.new("Part",akm)
  781. part.FormFactor = Enum.FormFactor.Custom
  782. part.TopSurface = Enum.SurfaceType.Smooth
  783. part.Anchored = false
  784. part.Material = Enum.Material.SmoothPlastic
  785. part.Size = Vector3.new(0.28888890147209,0.24444410204887,0.72592878341675)
  786. part.Locked = true
  787. part.CFrame = CFrame.new(51.689979553223,1.0589989423752,-79.998977661133) * CFrame.Angles(-0, 0, -0)
  788. part.BrickColor = BrickColor.new("Brown")
  789. part.Friction = 0.30000001192093
  790. part.BottomSurface = Enum.SurfaceType.Smooth
  791.  
  792. mesh = Instance.new("BlockMesh",part)
  793.  
  794. part = Instance.new("Part",akm)
  795. part.FormFactor = Enum.FormFactor.Custom
  796. part.TopSurface = Enum.SurfaceType.Smooth
  797. part.Anchored = false
  798. part.Material = Enum.Material.SmoothPlastic
  799. part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
  800. part.Locked = true
  801. part.CFrame = CFrame.new(51.733951568604,1.4329999685287,-78.824989318848) * CFrame.Angles(-0, 0, -0)
  802. part.BrickColor = BrickColor.new("Dark stone grey")
  803. part.Friction = 0.30000001192093
  804. part.BottomSurface = Enum.SurfaceType.Smooth
  805.  
  806. mesh = Instance.new("BlockMesh",part)
  807. mesh.Scale = Vector3.new(0.037037037312984,0.14814814925194,0.37037035822868)
  808.  
  809. part = Instance.new("Part",akm)
  810. part.FormFactor = Enum.FormFactor.Custom
  811. part.TopSurface = Enum.SurfaceType.Smooth
  812. part.Anchored = false
  813. part.Material = Enum.Material.SmoothPlastic
  814. part.Size = Vector3.new(0.25925925374031,0.60740673542023,0.20000000298023)
  815. part.Locked = true
  816. part.CFrame = CFrame.new(51.689979553223,0.65499997138977,-81.690979003906) * CFrame.Angles(-3.1415927410126, 0, -0)
  817. part.BrickColor = BrickColor.new("Brown")
  818. part.Friction = 0.30000001192093
  819. part.BottomSurface = Enum.SurfaceType.Smooth
  820.  
  821. mesh = Instance.new("SpecialMesh",part)
  822. mesh.Scale = Vector3.new(1,1,0.92592597007751)
  823. mesh.MeshType = Enum.MeshType.Wedge
  824.  
  825. part = Instance.new("Part",akm)
  826. part.FormFactor = Enum.FormFactor.Custom
  827. part.TopSurface = Enum.SurfaceType.Smooth
  828. part.Anchored = false
  829. part.Material = Enum.Material.SmoothPlastic
  830. part.Size = Vector3.new(0.28888890147209,0.20000000298023,0.20000000298023)
  831. part.Locked = true
  832. part.CFrame = CFrame.new(51.689979553223,1.1959979534149,-80.335983276367) * CFrame.Angles(-0, 0, -0)
  833. part.BrickColor = BrickColor.new("Brown")
  834. part.Friction = 0.30000001192093
  835. part.BottomSurface = Enum.SurfaceType.Smooth
  836.  
  837. mesh = Instance.new("BlockMesh",part)
  838. mesh.Scale = Vector3.new(1,0.14814814925194,0.25925925374031)
  839.  
  840. part = Instance.new("Part",akm)
  841. part.FormFactor = Enum.FormFactor.Custom
  842. part.TopSurface = Enum.SurfaceType.Smooth
  843. part.Anchored = false
  844. part.Material = Enum.Material.SmoothPlastic
  845. part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
  846. part.Locked = true
  847. part.CFrame = CFrame.new(51.689979553223,1.3960000276566,-78.824989318848) * CFrame.Angles(-0, 0, -0)
  848. part.BrickColor = BrickColor.new("Dark stone grey")
  849. part.Friction = 0.30000001192093
  850. part.BottomSurface = Enum.SurfaceType.Smooth
  851.  
  852. mesh = Instance.new("BlockMesh",part)
  853. mesh.Scale = Vector3.new(0.077777780592442,0.22222223877907,0.37037035822868)
  854.  
  855. part = Instance.new("Part",akm)
  856. part.FormFactor = Enum.FormFactor.Custom
  857. part.TopSurface = Enum.SurfaceType.Smooth
  858. part.Anchored = false
  859. part.Material = Enum.Material.SmoothPlastic
  860. part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.22962960600853)
  861. part.Locked = true
  862. part.CFrame = CFrame.new(51.689979553223,1.3769999742508,-80.471992492676) * CFrame.Angles(0.24789763987064, 0, -0)
  863. part.BrickColor = BrickColor.new("Dark stone grey")
  864. part.Friction = 0.30000001192093
  865. part.BottomSurface = Enum.SurfaceType.Smooth
  866.  
  867. mesh = Instance.new("BlockMesh",part)
  868. mesh.Scale = Vector3.new(0.77777779102325,0.074074074625969,1)
  869.  
  870. part = Instance.new("Part",akm)
  871. part.FormFactor = Enum.FormFactor.Custom
  872. part.TopSurface = Enum.SurfaceType.Smooth
  873. part.Reflectance = 0.20000000298023
  874. part.Anchored = false
  875. part.Material = Enum.Material.SmoothPlastic
  876. part.Size = Vector3.new(1.3555557727814,0.20000000298023,0.20000000298023)
  877. part.Locked = true
  878. part.CFrame = CFrame.new(51.630954742432,1.3069989681244,-81.320991516113) * CFrame.Angles(0, 1.5707963705063, 0)
  879. part.BrickColor = BrickColor.new("Dark stone grey")
  880. part.Friction = 0.30000001192093
  881. part.BottomSurface = Enum.SurfaceType.Smooth
  882.  
  883. storedammo = Instance.new("NumberValue",akm)
  884. storedammo.Name = "StoredAmmo"
  885. storedammo.Value = 400
  886.  
  887. smoke1 = Instance.new("Smoke",akm)
  888. smoke1.Enabled = false
  889. smoke1.Color = Color3.new(1, 0.6, 0.2)
  890. smoke1.Name = "Smoke1"
  891. smoke1.Opacity = 0.40000000596046
  892. smoke1.Size = 0.10000000149012
  893.  
  894. flash = Instance.new("PointLight",akm)
  895. flash.Shadows = true
  896. flash.Name = "Flash"
  897. flash.Color = Color3.new(0.772549, 0.384314, 0)
  898. flash.Brightness = 10
  899. flash.Range = 10
  900.  
  901. ammo = Instance.new("NumberValue",akm)
  902. ammo.Name = "Ammo"
  903. ammo.Value = 31
  904.  
  905. smoke = Instance.new("Smoke",akm)
  906. smoke.Enabled = false
  907. smoke.Color = Color3.new(0.372549, 0.372549, 0.372549)
  908. smoke.Opacity = 0.25999999046326
  909. smoke.RiseVelocity = 4
  910. smoke.Size = 0.25
  911.  
  912. mesh = Instance.new("SpecialMesh",part)
  913. mesh.Scale = Vector3.new(1,0.37037035822868,0.18518517911434)
  914. mesh.MeshType = Enum.MeshType.Wedge
  915.  
  916. gui = Instance.new("ScreenGui",akm)
  917. gui.Name = "Gui"
  918.  
  919. frame = Instance.new("Frame",gui)
  920. frame.BorderSizePixel = 0
  921. frame.Size = UDim2.new(0, 100, 0, 100)
  922. frame.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  923. frame.Position = UDim2.new(1, -200, 1, -100)
  924. frame.BackgroundTransparency = 1
  925. frame.BackgroundColor3 = Color3.new(1, 1, 1)
  926.  
  927. ammodisplay = Instance.new("TextLabel",frame)
  928. ammodisplay.FontSize = Enum.FontSize.Size24
  929. ammodisplay.TextStrokeTransparency = 0.5
  930. ammodisplay.Size = UDim2.new(1, 0, 1, 0)
  931. ammodisplay.TextColor3 = Color3.new(0.917647, 0.917647, 0.917647)
  932. ammodisplay.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  933. ammodisplay.Text = ""
  934. ammodisplay.BackgroundTransparency = 1
  935. ammodisplay.Name = "AmmoDisplay"
  936. ammodisplay.TextXAlignment = Enum.TextXAlignment.Right
  937. ammodisplay.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
  938.  
  939. wait(0.5)
  940. --Made by YouTubes--
  941. --Edit settings below--
  942. local Tool = akm
  943. local Settings = {
  944. Range = 1000
  945. ,Spread = 7
  946. ,Damage = {40, 40}
  947. ,HeadShotDamage = {70, 120}
  948. ,Bullets = 1
  949. ,FireRate = 0.1
  950. ,Automatic = true
  951. ,AntiTK = true
  952. ,ImpactDuration = 3
  953. --Reload
  954. ,ReloadKey = "R"
  955. ,ReloadTime = 2.5
  956. ,Ammo = 30
  957. ,IncludeChamberedBullet = true
  958. --Gui
  959. ,GuiPos = Vector2.new(akm.Gui.Frame.Position.X.Scale, akm.Gui.Frame.Position.Y.Scale)
  960. --Arms
  961. ,OneHanded = false
  962. ,FakeArms = true
  963. ,FakeArmTransparency = 0
  964. ,RightPos = CFrame.new(-0.75, -0.25, 0.5) * CFrame.Angles(math.rad(-90), 0, 0)
  965. ,LeftPos = CFrame.new(1, 0.5, 0.5) * CFrame.Angles(math.rad(-90), math.rad(45), 0)
  966. ,AimPart = Tool.AimPart
  967. ,AimPartOffset = CFrame.new()
  968. ,AimGripOffset = Vector3.new(0, 0, 0)
  969. ,LeftAimPos = CFrame.new(1, 0.5, 0.5) * CFrame.Angles(math.rad(-100), math.rad(45), 0)
  970. ,AimAnim = {
  971. Enabled = false
  972. ,Frames = 50
  973. ,Time = 0.1
  974. }
  975. ,ChangeFOV = {true, 60}
  976. ,SpreadReduction = 5
  977. --Weld
  978. ,Weld = true
  979. --Mouse
  980. ,Icons = {
  981. Idle = "rbxassetid://70288585"
  982. ,Fire1 = "rbxassetid://70288578"
  983. ,Fire2 = "rbxassetid://70288572"
  984. ,Fire3 = "rbxassetid://70288578"
  985. ,Reload = "rbxassetid://70288599"
  986. ,Aim = "rbxasset://textures/Blank.png"
  987. }
  988. ,FireMouseAnimTime = 0.15
  989. --Recoil
  990. ,Recoil = math.rad(0.8)
  991. --Smoke
  992. ,Smoke = true
  993. ,SmokePart = Tool.SmokePart
  994. ,Smokes = {{akm.Smoke, 6, 0.2}, {akm.Smoke1, 0.1}, {akm.Smoke1, 0.1}, {akm.Flash, 0.03}}
  995. --Sprint
  996. ,Sprint = true
  997. ,SprintSpeed = 25
  998. ,SprintKey = "0"
  999. ,SprintSpreadIncrease = 40
  1000. ,SprintArmOffset = CFrame.new(0.25, 0.125, 0.25) * CFrame.Angles(math.rad(-30), math.rad(35), 0)
  1001. --Other
  1002. ,DropHats = false
  1003. }
  1004.  
  1005. --Do not edit below this lign--
  1006.  
  1007. local Orig_Spread = Settings.Spread
  1008. local Orig_Grip = Tool.GripPos
  1009.  
  1010. local Player = game.Players.LocalPlayer
  1011. local Character = Player.Character
  1012.  
  1013. local Camera = Workspace.CurrentCamera
  1014.  
  1015. local Ammo, StoredAmmo = akm.Ammo, akm.StoredAmmo
  1016.  
  1017. local Gui, CanUpdateGui = nil, true
  1018.  
  1019. local Sprinting, Equipped
  1020.  
  1021. function Update_Gui()
  1022. if Gui and CanUpdateGui then
  1023. Gui.Frame.AmmoDisplay.Text = Ammo.Value .. "|" .. StoredAmmo.Value
  1024. end
  1025. end
  1026.  
  1027. local Welded
  1028. if Settings.Weld then
  1029. Delay(0, function()
  1030. local weldC0s = {}
  1031. for i, v in pairs(Tool:GetChildren()) do
  1032. if v:IsA("BasePart") and v ~= Tool.Handle then
  1033. table.insert(weldC0s, {v, Tool.Handle.CFrame:toObjectSpace(v.CFrame)})
  1034. v.Anchored = false
  1035. end
  1036. end
  1037. Tool.Handle.Anchored = false
  1038. local welds = {}
  1039. Tool.Equipped:connect(function()
  1040. for i, v in ipairs(welds) do
  1041. v.Part1 = nil
  1042. v:Destroy()
  1043. end
  1044. for i, v in ipairs(weldC0s) do
  1045. if v[1] and v[2] then
  1046. local w = Instance.new("Weld", Tool.Handle)
  1047. w.Part0 = Tool.Handle
  1048. w.Part1 = v[1]
  1049. w.C0 = v[2]
  1050. table.insert(welds, w)
  1051. end
  1052. end
  1053. end)
  1054. wait()
  1055. Welded = true
  1056. end)
  1057. end
  1058.  
  1059. local Left_Weld, Right_Weld
  1060.  
  1061. Ammo.Changed:connect(Update_Gui)
  1062. StoredAmmo.Changed:connect(Update_Gui)
  1063.  
  1064. Settings.Range = math.min(Settings.Range, 999)
  1065.  
  1066. local Ignore_Model = Workspace:FindFirstChild("Ray_Ignore") or Instance.new("Model", Workspace)
  1067. Ignore_Model.Name = "Ray_Ignore"
  1068.  
  1069. local Ray_Ignore = {Character, Ignore_Model, Camera}
  1070.  
  1071. Character.Humanoid.Died:connect(function()
  1072. Tool.Parent = Player.Backpack
  1073. end)
  1074.  
  1075. function Fire(Mouse)
  1076. 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))
  1077. local Ray = Ray.new(Character.Head.Position, (CFrame.new(Character.Head.Position, Mouse.Hit.p) * Spread).lookVector.unit * Settings.Range)
  1078. local Hit, Pos = Workspace:FindPartOnRayWithIgnoreList(Ray, Ray_Ignore)
  1079. if Hit and Hit.Parent:FindFirstChild("Humanoid") then
  1080. local Hit_Player = game.Players:GetPlayerFromCharacter(Hit.Parent)
  1081. if Settings.AntiTK and not Hit_Player.Neutral and Hit_Player.TeamColor == Player.TeamColor then
  1082. return
  1083. end
  1084. local Humanoid = Hit.Parent.Humanoid
  1085. local c = Instance.new("ObjectValue")
  1086. c.Name = "creator"
  1087. c.Value = Player
  1088. game.Debris:AddItem(c, 3)
  1089. c.Parent = Humanoid
  1090. if Hit.Name == "Head" then
  1091. Humanoid.Health = Humanoid.Health - math.random(Settings.HeadShotDamage[1], Settings.HeadShotDamage[2])
  1092. else
  1093. Humanoid.Health = Humanoid.Health - math.random(Settings.Damage[1], Settings.Damage[2])
  1094. end
  1095. elseif Hit then
  1096. local Hit_Part = Instance.new("Part", Ignore_Model)
  1097. Hit_Part.FormFactor = "Custom"
  1098. Hit_Part.TopSurface = 0
  1099. Hit_Part.BottomSurface = 0
  1100. Hit_Part.Anchored = true
  1101. Hit_Part.CanCollide = false
  1102. Hit_Part.Size = Vector3.new()
  1103. Hit_Part.CFrame = CFrame.new(Pos) * CFrame.Angles(math.random(0, 360), math.random(0, 360), math.random(0, 360))
  1104. Hit_Part.BrickColor = BrickColor.new("Black")
  1105. game.Debris:AddItem(Hit_Part, Settings.ImpactDuration)
  1106. if not Hit.Anchored then
  1107. local w = Instance.new("Weld", Hit_Part)
  1108. w.Part0 = Hit
  1109. w.Part1 = Hit_Part
  1110. w.C0 = Hit.CFrame:toObjectSpace(Hit_Part.CFrame)
  1111. Hit_Part.Anchored = false
  1112. end
  1113. if Hit.Parent:IsA("Hat") and Settings.DropHats then
  1114. Hit.Parent.Parent = workspace
  1115. game.Debris:AddItem(Hit, 3)
  1116. end
  1117. end
  1118. end
  1119.  
  1120. local Can_Shoot = true
  1121. local Reloading = false
  1122.  
  1123. local First_Person = false
  1124.  
  1125. local Mouse_Held
  1126.  
  1127. Tool.Equipped:connect(function(Mouse)
  1128. Equipped = true
  1129. if Settings.Weld and not Welded then
  1130. wait()
  1131. Tool.Parent = Player.Backpack
  1132. end
  1133. Character = Player.Character
  1134. if Gui then
  1135. return
  1136. end
  1137. Ray_Ignore = {Character, Ignore_Model, Camera}
  1138. Mouse.Icon = Settings.Icons.Idle
  1139. Gui = akm.Gui:Clone()
  1140. Gui.Parent = Player.PlayerGui
  1141. Gui.Frame.Position = UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, 1.1, Gui.Frame.Position.Y.Offset)
  1142. Gui.Frame:TweenPosition(UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, Settings.GuiPos.Y, Gui.Frame.Position.Y.Offset), "Out", "Bounce", 1)
  1143. CanUpdateGui = true
  1144. Update_Gui()
  1145. Mouse.Button1Down:connect(function()
  1146. if Can_Shoot and Ammo.Value > 0 and Character.Humanoid.Health > 0 then
  1147. Mouse_Held = true
  1148. while true do
  1149. Can_Shoot = false
  1150. Delay(0, function()
  1151. local t = math.min(Settings.FireMouseAnimTime/3, Settings.FireRate/3)
  1152. if not Aiming then
  1153. Mouse.Icon = Settings.Icons.Fire1
  1154. end
  1155. wait(t)
  1156. if not Aiming then
  1157. if Reloading then return end
  1158. Mouse.Icon = Settings.Icons.Fire2
  1159. end
  1160. wait(t)
  1161. if not Aiming then
  1162. if Reloading then return end
  1163. Mouse.Icon = Settings.Icons.Fire3
  1164. end
  1165. wait(t)
  1166. if not Aiming then
  1167. if Reloading then return end
  1168. Mouse.Icon = Settings.Icons.Idle
  1169. end
  1170. end)
  1171. if Settings.Smoke then
  1172. for i, v in pairs(Settings.Smokes) do
  1173. local s = v[1]:Clone()
  1174. s.Parent = Settings.SmokePart
  1175. s.Enabled = true
  1176. game.Debris:AddItem(s, v[2])
  1177. if v[3] then
  1178. Delay(v[3], function()
  1179. s.Enabled = false
  1180. end)
  1181. end
  1182. end
  1183. end
  1184. for _ = 1, Settings.Bullets do
  1185. pcall(function() Fire(Mouse) end)
  1186. end
  1187. 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)
  1188. if Tool.Handle:FindFirstChild("Shoot") then
  1189. Tool.Handle.Shoot:Play()
  1190. end
  1191. Ammo.Value = Ammo.Value - 1
  1192. wait(Settings.FireRate)
  1193. if not Settings.Automatic or Ammo.Value <= 0 or Character.Humanoid.Health <= 0 or not Mouse_Held then
  1194. break
  1195. end
  1196. end
  1197. Can_Shoot = true
  1198. elseif Can_Shoot and Character.Humanoid.Health > 0 and Tool.Handle:FindFirstChild("Click") then
  1199. Tool.Handle.Click:Play()
  1200. end
  1201. end)
  1202. Mouse.Button1Up:connect(function()
  1203. Mouse_Held = false
  1204. end)
  1205. Mouse.KeyDown:connect(function(Key)
  1206. if Key:upper() == Settings.ReloadKey:upper() and Can_Shoot and StoredAmmo.Value > 0 and not Aiming then
  1207. if Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo + 1 or not Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo then
  1208. return
  1209. end
  1210. Can_Shoot = false
  1211. Reloading = true
  1212. local TextLabel = Gui.Frame.AmmoDisplay
  1213. Delay(0, function()
  1214. CanUpdateGui = false
  1215. TextLabel.Text = "Reloading."
  1216. wait(Settings.ReloadTime/3)
  1217. if TextLabel then
  1218. TextLabel.Text = "Reloading.."
  1219. end
  1220. wait(Settings.ReloadTime/3)
  1221. if TextLabel then
  1222. TextLabel.Text = "Reloading..."
  1223. end
  1224. end)
  1225. if Tool.Handle:FindFirstChild("Reload") then
  1226. Tool.Handle.Reload:Play()
  1227. end
  1228. Mouse.Icon = Settings.Icons.Reload
  1229. wait(Settings.ReloadTime)
  1230. Mouse.Icon = Settings.Icons.Idle
  1231. CanUpdateGui = true
  1232. local m = Settings.Ammo
  1233. if Ammo.Value > 0 and Settings.IncludeChamberedBullet then
  1234. m = m + 1
  1235. end
  1236. if (StoredAmmo.Value - (m - Ammo.Value)) <= 0 then
  1237. Ammo.Value = Ammo.Value + StoredAmmo.Value
  1238. StoredAmmo.Value = 0
  1239. else
  1240. StoredAmmo.Value = StoredAmmo.Value - (m - Ammo.Value)
  1241. Ammo.Value = m
  1242. end
  1243. Can_Shoot = true
  1244. Reloading = false
  1245. elseif Key:upper() == Settings.SprintKey:upper() and Settings.Sprint and not Aiming then
  1246. Sprinting = true
  1247. Character.Humanoid.WalkSpeed = Settings.SprintSpeed
  1248. Settings.Spread = Settings.Spread + Settings.SprintSpreadIncrease
  1249. end
  1250. end)
  1251. Mouse.KeyUp:connect(function(Key)
  1252. if Key:upper() == Settings.SprintKey:upper() and Sprinting then
  1253. Sprinting = false
  1254. Character.Humanoid.WalkSpeed = 16
  1255. Settings.Spread = Settings.Spread - Settings.SprintSpreadIncrease
  1256. Right_Weld.C0 = CFrame.new(0, -1.5, 0)
  1257. end
  1258. end)
  1259. Mouse.Button2Down:connect(function()
  1260. if not Reloading and not Sprinting and not Aiming and (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 then
  1261. Aiming = true
  1262. Mouse.Icon = Settings.Icons.Aim
  1263. Right_Weld.C1 = CFrame.new()
  1264. Right_Weld.C0 = CFrame.new()
  1265. Right_Weld.C1 = Character.Head.CFrame:toObjectSpace(Settings.AimPart.CFrame)
  1266. Left_Weld.C1 = Settings.LeftAimPos
  1267. if Settings.ChangeFOV[1] then
  1268. Camera.FieldOfView = Settings.ChangeFOV[2]
  1269. end
  1270. Tool.GripPos = Orig_Grip + Settings.AimGripOffset
  1271. Settings.Spread = Settings.Spread - Settings.SpreadReduction
  1272. end
  1273. end)
  1274. Mouse.Button2Up:connect(function()
  1275. if Aiming then
  1276. Mouse.Icon = Settings.Icons.Idle
  1277. Tool.GripPos = Orig_Grip
  1278. Right_Weld.C1 = Settings.RightPos
  1279. Right_Weld.C0 = CFrame.new(0, -1.5, 0)
  1280. Left_Weld.C1 = Settings.LeftPos
  1281. if Settings.ChangeFOV[1] then
  1282. Camera.FieldOfView = 70
  1283. end
  1284. Settings.Spread = Settings.Spread + Settings.SpreadReduction
  1285. Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1286. Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1287. wait(0.25)
  1288. Aiming = false
  1289. end
  1290. end)
  1291. wait()
  1292. Camera.Changed:connect(function()
  1293. if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
  1294. Mouse.TargetFilter = workspace
  1295. Character.Torso.Neck.C1 = CFrame.new()
  1296. Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
  1297. end
  1298. end)
  1299. Mouse.Idle:connect(function()
  1300. if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
  1301. Mouse.TargetFilter = workspace
  1302. Character.Torso.Neck.C1 = CFrame.new()
  1303. Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
  1304. end
  1305. end)
  1306. while wait() and Equipped do
  1307. if Sprinting then
  1308. Right_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
  1309. Left_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
  1310. elseif not Aiming then
  1311. Left_Weld.C0 = CFrame.new(0, -1.5, 0)
  1312. end
  1313. if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude > 1 and Equipped then
  1314. Mouse.TargetFilter = nil
  1315. Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1316. Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1317. end
  1318. end
  1319. end)
  1320.  
  1321. local Arms_Made
  1322. local Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model
  1323.  
  1324. Tool.Equipped:connect(function(Mouse)
  1325. if Character and not Arms_Made then
  1326. Arms_Made = true
  1327. local Torso = Character.Torso
  1328. Torso["Right Shoulder"].Part1 = nil
  1329. Left_Weld = Instance.new("Weld", Torso)
  1330. Left_Weld.Name = "Left_Weld"
  1331. Left_Weld.Part0 = Character.Head
  1332. Left_Weld.C0 = CFrame.new(0, -1.5, 0)
  1333. if not Settings.OneHanded then
  1334. Torso["Left Shoulder"].Part1 = nil
  1335. Left_Weld.Part1 = Character["Left Arm"]
  1336. end
  1337. Right_Weld = Instance.new("Weld", Torso)
  1338. Right_Weld.Name = "Right_Weld"
  1339. Right_Weld.Part0 = Character.Head
  1340. Right_Weld.Part1 = Character["Right Arm"]
  1341. Right_Weld.C0 = CFrame.new(0, -1.5, 0)
  1342. Left_Weld.C1 = Settings.LeftPos
  1343. Right_Weld.C1 = Settings.RightPos
  1344. end
  1345. if Settings.FakeArms and not Fake_Arm_Right then
  1346. Fake_Arm_Right, Fake_Arm_Left = Character["Right Arm"]:Clone(), Character["Left Arm"]:Clone()
  1347. Fake_Arm_Right.FormFactor, Fake_Arm_Left.FormFactor = "Custom", "Custom"
  1348. Fake_Arm_Right.Size, Fake_Arm_Left.Size = Vector3.new(), Vector3.new()
  1349. local fakeArms = {Fake_Arm_Right, Fake_Arm_Left}
  1350. for i = 1, 2 do
  1351. local w = Instance.new("Weld", fakeArms[i])
  1352. w.Part0 = Character[fakeArms[i].Name]
  1353. w.Part1 = fakeArms[i]
  1354. fakeArms[i].Transparency = Settings.FakeArmTransparency
  1355. end
  1356. Fake_Arm_Model = Instance.new("Model", Camera)
  1357. Fake_Arm_Right.Parent = Fake_Arm_Model
  1358. if not Settings.OneHanded then
  1359. Fake_Arm_Left.Parent = Fake_Arm_Model
  1360. end
  1361. Fake_Arm_Model.Name = "FakeArms"
  1362. if Settings.CharacterMeshes then
  1363. for i, v in pairs(Character:GetChildren()) do
  1364. if v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.LeftArm or v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.RightArm then
  1365. v:Clone().Parent = Fake_Arm_Model
  1366. end
  1367. end
  1368. end
  1369. if Character:FindFirstChild("Shirt") then
  1370. Instance.new("Humanoid", Fake_Arm_Model)
  1371. Character.Shirt:Clone().Parent = Fake_Arm_Model
  1372. else
  1373. local Arm_Mesh = Instance.new("SpecialMesh", Fake_Arm_Right)
  1374. Arm_Mesh.MeshType, Arm_Mesh.Scale = "Brick", Vector3.new(5, 10, 5)
  1375. local Arm_Mesh2 = Instance.new("SpecialMesh", Fake_Arm_Left)
  1376. Arm_Mesh2.MeshType, Arm_Mesh2.Scale = "Brick", Vector3.new(5, 10, 5)
  1377. end
  1378. end
  1379. end)
  1380.  
  1381. Tool.Unequipped:connect(function()
  1382. Equipped = false
  1383. Tool.GripPos = Orig_Grip
  1384. Aiming = false
  1385. Settings.Spread = Orig_Spread
  1386. if Settings.ChangeFOV[1] then
  1387. Camera.FieldOfView = 70
  1388. end
  1389. if Gui then
  1390. Gui:Destroy()
  1391. Gui = nil
  1392. end
  1393. for i, v in pairs(Tool.Handle:GetChildren()) do
  1394. if v:IsA("Sound") then
  1395. v:Stop()
  1396. end
  1397. end
  1398. if Fake_Arm_Right and Fake_Arm_Left and Fake_Arm_Model then
  1399. Fake_Arm_Model:Destroy()
  1400. Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model = nil, nil, nil
  1401. end
  1402. if Character and Left_Weld and Right_Weld then
  1403. Arms_Made = false
  1404. local Torso = Character.Torso
  1405. Torso["Right Shoulder"].Part1, Torso["Left Shoulder"].Part1 = Character["Right Arm"], Character["Left Arm"]
  1406. Left_Weld:Destroy()
  1407. Right_Weld:Destroy()
  1408. end
  1409. Sprinting = false
  1410. Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1411. Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1412. Character.Humanoid.WalkSpeed = 16
  1413. end)
  1414.  
  1415.  
  1416. local prev
  1417. local parts = akm:GetChildren()
  1418.  
  1419. for i = 1,#parts do
  1420. if (parts[i].className == "Part") then
  1421. if (prev ~= nil)then
  1422. local weld = Instance.new("Weld")
  1423. weld.Part0 = prev
  1424. weld.Part1 = parts[i]
  1425. weld.C0 = prev.CFrame:inverse()
  1426. weld.C1 = parts[i].CFrame:inverse()
  1427. weld.Parent = prev
  1428. end
  1429. prev = parts[i]
  1430. end
  1431. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement