Advertisement
Dark_EccentricYT

Untitled

Mar 30th, 2018 (edited)
2,368
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 150.79 KB | None | 0 0
  1. -- Made by 1ndrew Five-Seven
  2. --Controls
  3. --T for Stand by
  4. --R for Reload
  5. --Right Click to Aim
  6. --Q for Inspect
  7. --C to Crouch
  8. --X to get back up
  9. --Left Shift to Sprint
  10. --When you click Q you can click E to cock it
  11. function sandbox(var,func)
  12. local env = getfenv(func)
  13. local newenv = setmetatable({},{
  14. __index = function(self,k)
  15. if k=="script" then
  16. return var
  17. else
  18. return env[k]
  19. end
  20. end,
  21. })
  22. setfenv(func,newenv)
  23. return func
  24. end
  25. cors = {}
  26. mas = Instance.new("Model",game:GetService("Lighting"))
  27. Tool0 = Instance.new("Tool")
  28. Part1 = Instance.new("Part")
  29. SpecialMesh2 = Instance.new("SpecialMesh")
  30. Part3 = Instance.new("Part")
  31. SpecialMesh4 = Instance.new("SpecialMesh")
  32. Part5 = Instance.new("Part")
  33. BlockMesh6 = Instance.new("BlockMesh")
  34. Part7 = Instance.new("Part")
  35. CylinderMesh8 = Instance.new("CylinderMesh")
  36. Part9 = Instance.new("Part")
  37. BlockMesh10 = Instance.new("BlockMesh")
  38. Part11 = Instance.new("Part")
  39. SpecialMesh12 = Instance.new("SpecialMesh")
  40. Part13 = Instance.new("Part")
  41. SpecialMesh14 = Instance.new("SpecialMesh")
  42. Part15 = Instance.new("Part")
  43. BlockMesh16 = Instance.new("BlockMesh")
  44. Part17 = Instance.new("Part")
  45. BlockMesh18 = Instance.new("BlockMesh")
  46. Part19 = Instance.new("Part")
  47. BlockMesh20 = Instance.new("BlockMesh")
  48. Part21 = Instance.new("Part")
  49. BlockMesh22 = Instance.new("BlockMesh")
  50. Part23 = Instance.new("Part")
  51. SpecialMesh24 = Instance.new("SpecialMesh")
  52. Part25 = Instance.new("Part")
  53. CylinderMesh26 = Instance.new("CylinderMesh")
  54. Part27 = Instance.new("Part")
  55. BlockMesh28 = Instance.new("BlockMesh")
  56. Part29 = Instance.new("Part")
  57. SpecialMesh30 = Instance.new("SpecialMesh")
  58. Part31 = Instance.new("Part")
  59. BlockMesh32 = Instance.new("BlockMesh")
  60. Part33 = Instance.new("Part")
  61. BlockMesh34 = Instance.new("BlockMesh")
  62. Part35 = Instance.new("Part")
  63. SpecialMesh36 = Instance.new("SpecialMesh")
  64. Part37 = Instance.new("Part")
  65. SpecialMesh38 = Instance.new("SpecialMesh")
  66. Part39 = Instance.new("Part")
  67. BlockMesh40 = Instance.new("BlockMesh")
  68. Part41 = Instance.new("Part")
  69. BlockMesh42 = Instance.new("BlockMesh")
  70. Script43 = Instance.new("Script")
  71. Part44 = Instance.new("Part")
  72. BlockMesh45 = Instance.new("BlockMesh")
  73. Part46 = Instance.new("Part")
  74. BlockMesh47 = Instance.new("BlockMesh")
  75. Part48 = Instance.new("Part")
  76. BlockMesh49 = Instance.new("BlockMesh")
  77. Part50 = Instance.new("Part")
  78. BlockMesh51 = Instance.new("BlockMesh")
  79. Part52 = Instance.new("Part")
  80. BlockMesh53 = Instance.new("BlockMesh")
  81. Part54 = Instance.new("Part")
  82. BlockMesh55 = Instance.new("BlockMesh")
  83. Part56 = Instance.new("Part")
  84. BlockMesh57 = Instance.new("BlockMesh")
  85. Part58 = Instance.new("Part")
  86. BlockMesh59 = Instance.new("BlockMesh")
  87. Part60 = Instance.new("Part")
  88. BlockMesh61 = Instance.new("BlockMesh")
  89. LocalScript62 = Instance.new("LocalScript")
  90. NumberValue63 = Instance.new("NumberValue")
  91. StringValue64 = Instance.new("StringValue")
  92. NumberValue65 = Instance.new("NumberValue")
  93. NumberValue66 = Instance.new("NumberValue")
  94. NumberValue67 = Instance.new("NumberValue")
  95. ScreenGui68 = Instance.new("ScreenGui")
  96. Frame69 = Instance.new("Frame")
  97. Frame70 = Instance.new("Frame")
  98. TextLabel71 = Instance.new("TextLabel")
  99. Frame72 = Instance.new("Frame")
  100. TextLabel73 = Instance.new("TextLabel")
  101. TextLabel74 = Instance.new("TextLabel")
  102. TextLabel75 = Instance.new("TextLabel")
  103. Frame76 = Instance.new("Frame")
  104. ImageLabel77 = Instance.new("ImageLabel")
  105. ImageLabel78 = Instance.new("ImageLabel")
  106. ImageLabel79 = Instance.new("ImageLabel")
  107. ImageLabel80 = Instance.new("ImageLabel")
  108. Frame81 = Instance.new("Frame")
  109. TextLabel82 = Instance.new("TextLabel")
  110. ImageLabel83 = Instance.new("ImageLabel")
  111. Frame84 = Instance.new("Frame")
  112. TextLabel85 = Instance.new("TextLabel")
  113. Part86 = Instance.new("Part")
  114. BlockMesh87 = Instance.new("BlockMesh")
  115. Part88 = Instance.new("Part")
  116. BlockMesh89 = Instance.new("BlockMesh")
  117. Part90 = Instance.new("Part")
  118. BlockMesh91 = Instance.new("BlockMesh")
  119. Part92 = Instance.new("Part")
  120. BlockMesh93 = Instance.new("BlockMesh")
  121. Part94 = Instance.new("Part")
  122. BlockMesh95 = Instance.new("BlockMesh")
  123. Sound96 = Instance.new("Sound")
  124. Sound97 = Instance.new("Sound")
  125. Sound98 = Instance.new("Sound")
  126. Sound99 = Instance.new("Sound")
  127. Sound100 = Instance.new("Sound")
  128. Sound101 = Instance.new("Sound")
  129. Sound102 = Instance.new("Sound")
  130. Sound103 = Instance.new("Sound")
  131. Sound104 = Instance.new("Sound")
  132. Weld105 = Instance.new("Weld")
  133. Part106 = Instance.new("Part")
  134. Weld107 = Instance.new("Weld")
  135. Sound108 = Instance.new("Sound")
  136. Sound109 = Instance.new("Sound")
  137. Sound110 = Instance.new("Sound")
  138. Sound111 = Instance.new("Sound")
  139. Sound112 = Instance.new("Sound")
  140. Sound113 = Instance.new("Sound")
  141. Sound114 = Instance.new("Sound")
  142. Sound115 = Instance.new("Sound")
  143. Sound116 = Instance.new("Sound")
  144. Part117 = Instance.new("Part")
  145. BlockMesh118 = Instance.new("BlockMesh")
  146. Sound119 = Instance.new("Sound")
  147. ParticleEmitter120 = Instance.new("ParticleEmitter")
  148. SpotLight121 = Instance.new("SpotLight")
  149. ParticleEmitter122 = Instance.new("ParticleEmitter")
  150. ParticleEmitter123 = Instance.new("ParticleEmitter")
  151. Part124 = Instance.new("Part")
  152. BlockMesh125 = Instance.new("BlockMesh")
  153. Part126 = Instance.new("Part")
  154. BlockMesh127 = Instance.new("BlockMesh")
  155. Part128 = Instance.new("Part")
  156. BlockMesh129 = Instance.new("BlockMesh")
  157. Part130 = Instance.new("Part")
  158. BlockMesh131 = Instance.new("BlockMesh")
  159. Part132 = Instance.new("Part")
  160. BlockMesh133 = Instance.new("BlockMesh")
  161. Part134 = Instance.new("Part")
  162. BlockMesh135 = Instance.new("BlockMesh")
  163. Part136 = Instance.new("Part")
  164. SpecialMesh137 = Instance.new("SpecialMesh")
  165. Part138 = Instance.new("Part")
  166. SpecialMesh139 = Instance.new("SpecialMesh")
  167. Part140 = Instance.new("Part")
  168. SpecialMesh141 = Instance.new("SpecialMesh")
  169. Part142 = Instance.new("Part")
  170. SpecialMesh143 = Instance.new("SpecialMesh")
  171. Part144 = Instance.new("Part")
  172. SpecialMesh145 = Instance.new("SpecialMesh")
  173. Part146 = Instance.new("Part")
  174. BlockMesh147 = Instance.new("BlockMesh")
  175. Part148 = Instance.new("Part")
  176. SpecialMesh149 = Instance.new("SpecialMesh")
  177. Part150 = Instance.new("Part")
  178. Decal151 = Instance.new("Decal")
  179. CylinderMesh152 = Instance.new("CylinderMesh")
  180. Part153 = Instance.new("Part")
  181. BlockMesh154 = Instance.new("BlockMesh")
  182. Part155 = Instance.new("Part")
  183. BlockMesh156 = Instance.new("BlockMesh")
  184. Part157 = Instance.new("Part")
  185. SpecialMesh158 = Instance.new("SpecialMesh")
  186. Part159 = Instance.new("Part")
  187. SpecialMesh160 = Instance.new("SpecialMesh")
  188. Part161 = Instance.new("Part")
  189. BlockMesh162 = Instance.new("BlockMesh")
  190. Part163 = Instance.new("Part")
  191. BlockMesh164 = Instance.new("BlockMesh")
  192. Part165 = Instance.new("Part")
  193. CylinderMesh166 = Instance.new("CylinderMesh")
  194. Part167 = Instance.new("Part")
  195. SpecialMesh168 = Instance.new("SpecialMesh")
  196. Part169 = Instance.new("Part")
  197. BlockMesh170 = Instance.new("BlockMesh")
  198. Part171 = Instance.new("Part")
  199. BlockMesh172 = Instance.new("BlockMesh")
  200. Part173 = Instance.new("Part")
  201. SpecialMesh174 = Instance.new("SpecialMesh")
  202. LocalScript175 = Instance.new("LocalScript")
  203. Model176 = Instance.new("Model")
  204. Part177 = Instance.new("Part")
  205. SpecialMesh178 = Instance.new("SpecialMesh")
  206. Part179 = Instance.new("Part")
  207. BlockMesh180 = Instance.new("BlockMesh")
  208. Part181 = Instance.new("Part")
  209. BlockMesh182 = Instance.new("BlockMesh")
  210. Part183 = Instance.new("Part")
  211. Part184 = Instance.new("Part")
  212. BlockMesh185 = Instance.new("BlockMesh")
  213. Part186 = Instance.new("Part")
  214. BlockMesh187 = Instance.new("BlockMesh")
  215. Sound188 = Instance.new("Sound")
  216. Sound189 = Instance.new("Sound")
  217. Sound190 = Instance.new("Sound")
  218. Sound191 = Instance.new("Sound")
  219. Sound192 = Instance.new("Sound")
  220. Sound193 = Instance.new("Sound")
  221. Sound194 = Instance.new("Sound")
  222. Sound195 = Instance.new("Sound")
  223. Sound196 = Instance.new("Sound")
  224. Weld197 = Instance.new("Weld")
  225. Part198 = Instance.new("Part")
  226. Weld199 = Instance.new("Weld")
  227. Sound200 = Instance.new("Sound")
  228. Sound201 = Instance.new("Sound")
  229. Sound202 = Instance.new("Sound")
  230. Sound203 = Instance.new("Sound")
  231. Sound204 = Instance.new("Sound")
  232. Sound205 = Instance.new("Sound")
  233. Sound206 = Instance.new("Sound")
  234. Sound207 = Instance.new("Sound")
  235. Sound208 = Instance.new("Sound")
  236. Tool0.Name = "Five-Seven"
  237. Tool0.Parent = mas
  238. Tool0.GripForward = Vector3.new(-0.379291713, -0, -0.925277233)
  239. Tool0.GripPos = Vector3.new(0, -0.300000012, 0.5)
  240. Tool0.GripRight = Vector3.new(0.925277114, 0, -0.379291654)
  241. Tool0.CanBeDropped = false
  242. Part1.Parent = Tool0
  243. Part1.Material = Enum.Material.Metal
  244. Part1.BrickColor = BrickColor.new("Really black")
  245. Part1.Rotation = Vector3.new(90, 0, -180)
  246. Part1.Anchored = true
  247. Part1.FormFactor = Enum.FormFactor.Custom
  248. Part1.Size = Vector3.new(0.200000003, 0.200000003, 0.242857143)
  249. Part1.CFrame = CFrame.new(70.3000031, 0.557009995, -22.1189995, -1, 0, 0, -0, 0, -1, -0, -1, 0)
  250. Part1.BottomSurface = Enum.SurfaceType.Smooth
  251. Part1.TopSurface = Enum.SurfaceType.Smooth
  252. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  253. Part1.Position = Vector3.new(70.3000031, 0.557009995, -22.1189995)
  254. Part1.Orientation = Vector3.new(90, 180, 0)
  255. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  256. SpecialMesh2.Parent = Part1
  257. SpecialMesh2.Scale = Vector3.new(0.928571463, 0.464285731, 1)
  258. SpecialMesh2.MeshType = Enum.MeshType.Wedge
  259. SpecialMesh2.Scale = Vector3.new(0.928571463, 0.464285731, 1)
  260. Part3.Parent = Tool0
  261. Part3.Material = Enum.Material.Metal
  262. Part3.BrickColor = BrickColor.new("Really black")
  263. Part3.Rotation = Vector3.new(-180, 0, 0)
  264. Part3.Anchored = true
  265. Part3.FormFactor = Enum.FormFactor.Custom
  266. Part3.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  267. Part3.CFrame = CFrame.new(70.3000031, 0.782010019, -21.6149998, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  268. Part3.BottomSurface = Enum.SurfaceType.Smooth
  269. Part3.TopSurface = Enum.SurfaceType.Smooth
  270. Part3.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  271. Part3.Position = Vector3.new(70.3000031, 0.782010019, -21.6149998)
  272. Part3.Orientation = Vector3.new(0, 180, 180)
  273. Part3.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  274. SpecialMesh4.Parent = Part3
  275. SpecialMesh4.Scale = Vector3.new(0.928571463, 0.25, 0.285714269)
  276. SpecialMesh4.MeshType = Enum.MeshType.Wedge
  277. SpecialMesh4.Scale = Vector3.new(0.928571463, 0.25, 0.285714269)
  278. Part5.Parent = Tool0
  279. Part5.Material = Enum.Material.Metal
  280. Part5.BrickColor = BrickColor.new("Really black")
  281. Part5.Rotation = Vector3.new(-180, 0, 0)
  282. Part5.Anchored = true
  283. Part5.FormFactor = Enum.FormFactor.Custom
  284. Part5.Size = Vector3.new(0.200000003, 0.200000003, 1.12142861)
  285. Part5.CFrame = CFrame.new(70.3000031, 0.886009991, -21.6900005, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  286. Part5.BottomSurface = Enum.SurfaceType.Smooth
  287. Part5.TopSurface = Enum.SurfaceType.Smooth
  288. Part5.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  289. Part5.Position = Vector3.new(70.3000031, 0.886009991, -21.6900005)
  290. Part5.Orientation = Vector3.new(0, 180, 180)
  291. Part5.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  292. BlockMesh6.Parent = Part5
  293. BlockMesh6.Scale = Vector3.new(0.928571463, 0.785714328, 1)
  294. BlockMesh6.Scale = Vector3.new(0.928571463, 0.785714328, 1)
  295. Part7.Parent = Tool0
  296. Part7.Material = Enum.Material.Metal
  297. Part7.BrickColor = BrickColor.new("Really black")
  298. Part7.Rotation = Vector3.new(-90, 0, 0)
  299. Part7.Anchored = true
  300. Part7.FormFactor = Enum.FormFactor.Custom
  301. Part7.Size = Vector3.new(0.200000003, 0.664285719, 0.200000003)
  302. Part7.CFrame = CFrame.new(70.3000031, 0.926010013, -20.8190002, 1, 4.37113883e-08, 1.50995803e-07, -1.50995803e-07, 0, 1, 4.37113883e-08, -1, 0)
  303. Part7.BottomSurface = Enum.SurfaceType.Smooth
  304. Part7.TopSurface = Enum.SurfaceType.Smooth
  305. Part7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  306. Part7.Position = Vector3.new(70.3000031, 0.926010013, -20.8190002)
  307. Part7.Orientation = Vector3.new(-90, 0, 0)
  308. Part7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  309. CylinderMesh8.Parent = Part7
  310. CylinderMesh8.Scale = Vector3.new(0.25, 1, 0.25)
  311. CylinderMesh8.Scale = Vector3.new(0.25, 1, 0.25)
  312. Part9.Parent = Tool0
  313. Part9.Material = Enum.Material.Metal
  314. Part9.BrickColor = BrickColor.new("Really black")
  315. Part9.Rotation = Vector3.new(-180, 0, 0)
  316. Part9.Anchored = true
  317. Part9.FormFactor = Enum.FormFactor.Custom
  318. Part9.Size = Vector3.new(0.200000003, 0.200000003, 0.592857122)
  319. Part9.CFrame = CFrame.new(70.3000031, 0.862010002, -20.8260002, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  320. Part9.BottomSurface = Enum.SurfaceType.Smooth
  321. Part9.TopSurface = Enum.SurfaceType.Smooth
  322. Part9.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  323. Part9.Position = Vector3.new(70.3000031, 0.862010002, -20.8260002)
  324. Part9.Orientation = Vector3.new(0, 180, 180)
  325. Part9.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  326. BlockMesh10.Parent = Part9
  327. BlockMesh10.Scale = Vector3.new(0.857142866, 0.178571433, 1)
  328. BlockMesh10.Scale = Vector3.new(0.857142866, 0.178571433, 1)
  329. Part11.Parent = Tool0
  330. Part11.Material = Enum.Material.Metal
  331. Part11.BrickColor = BrickColor.new("Really black")
  332. Part11.Rotation = Vector3.new(-165, 0, 180)
  333. Part11.Anchored = true
  334. Part11.FormFactor = Enum.FormFactor.Custom
  335. Part11.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  336. Part11.CFrame = CFrame.new(70.3000031, 0.715009987, -21.6340008, -1, -9.3184731e-08, 5.50950396e-11, -8.99952965e-08, 0.965926051, 0.258818388, -2.41711469e-08, 0.258818388, -0.965926051)
  337. Part11.BottomSurface = Enum.SurfaceType.Smooth
  338. Part11.TopSurface = Enum.SurfaceType.Smooth
  339. Part11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  340. Part11.Position = Vector3.new(70.3000031, 0.715009987, -21.6340008)
  341. Part11.Orientation = Vector3.new(-15, 180, 0)
  342. Part11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  343. SpecialMesh12.Parent = Part11
  344. SpecialMesh12.Scale = Vector3.new(0.785714328, 0.607142866, 0.321428597)
  345. SpecialMesh12.MeshType = Enum.MeshType.Wedge
  346. SpecialMesh12.Scale = Vector3.new(0.785714328, 0.607142866, 0.321428597)
  347. Part13.Parent = Tool0
  348. Part13.Material = Enum.Material.Metal
  349. Part13.BrickColor = BrickColor.new("Really black")
  350. Part13.Rotation = Vector3.new(0, 0, -180)
  351. Part13.Anchored = true
  352. Part13.FormFactor = Enum.FormFactor.Custom
  353. Part13.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  354. Part13.CFrame = CFrame.new(70.3000031, 0.782010019, -21.2150002, -1, 0, 0, -0, -1, 0, -0, 0, 1)
  355. Part13.BottomSurface = Enum.SurfaceType.Smooth
  356. Part13.TopSurface = Enum.SurfaceType.Smooth
  357. Part13.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  358. Part13.Position = Vector3.new(70.3000031, 0.782010019, -21.2150002)
  359. Part13.Orientation = Vector3.new(0, 0, -180)
  360. Part13.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  361. SpecialMesh14.Parent = Part13
  362. SpecialMesh14.Scale = Vector3.new(0.785714328, 0.25, 0.142857134)
  363. SpecialMesh14.MeshType = Enum.MeshType.Wedge
  364. SpecialMesh14.Scale = Vector3.new(0.785714328, 0.25, 0.142857134)
  365. Part15.Parent = Tool0
  366. Part15.Material = Enum.Material.Metal
  367. Part15.BrickColor = BrickColor.new("Really black")
  368. Part15.Rotation = Vector3.new(153.979996, 0, 90)
  369. Part15.Anchored = true
  370. Part15.FormFactor = Enum.FormFactor.Custom
  371. Part15.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  372. Part15.CFrame = CFrame.new(70.3960037, 0.882009983, -21.9279995, 8.05431011e-09, -1, -6.0249107e-08, -0.898638487, 1.91927843e-08, -0.438689888, 0.438689888, 5.76754999e-08, -0.898638487)
  373. Part15.BottomSurface = Enum.SurfaceType.Smooth
  374. Part15.TopSurface = Enum.SurfaceType.Smooth
  375. Part15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  376. Part15.Position = Vector3.new(70.3960037, 0.882009983, -21.9279995)
  377. Part15.Orientation = Vector3.new(26.0199986, -180, -90)
  378. Part15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  379. BlockMesh16.Parent = Part15
  380. BlockMesh16.Scale = Vector3.new(0.25, 0.0357142836, 0.964285731)
  381. BlockMesh16.Scale = Vector3.new(0.25, 0.0357142836, 0.964285731)
  382. Part17.Parent = Tool0
  383. Part17.Material = Enum.Material.Metal
  384. Part17.BrickColor = BrickColor.new("Really black")
  385. Part17.Rotation = Vector3.new(168, 90, 0)
  386. Part17.Anchored = true
  387. Part17.FormFactor = Enum.FormFactor.Custom
  388. Part17.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  389. Part17.CFrame = CFrame.new(70.3000031, 0.597010016, -21.2220001, -4.27561844e-08, -9.08810627e-09, 1, 0.20791167, -0.978147626, -1.77635684e-15, 0.978147626, 0.20791167, 4.37113883e-08)
  390. Part17.BottomSurface = Enum.SurfaceType.Smooth
  391. Part17.TopSurface = Enum.SurfaceType.Smooth
  392. Part17.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  393. Part17.Position = Vector3.new(70.3000031, 0.597010016, -21.2220001)
  394. Part17.Orientation = Vector3.new(0, 90, 168)
  395. Part17.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  396. BlockMesh18.Parent = Part17
  397. BlockMesh18.Scale = Vector3.new(1, 0.142857134, 0.785714328)
  398. BlockMesh18.Scale = Vector3.new(1, 0.142857134, 0.785714328)
  399. Part19.Parent = Tool0
  400. Part19.Material = Enum.Material.Metal
  401. Part19.BrickColor = BrickColor.new("Really black")
  402. Part19.Rotation = Vector3.new(177, 0, 90)
  403. Part19.Anchored = true
  404. Part19.FormFactor = Enum.FormFactor.Custom
  405. Part19.Size = Vector3.new(0.200000003, 0.200000003, 0.385714293)
  406. Part19.CFrame = CFrame.new(70.3960037, 0.887009978, -21.5639992, -1.09365146e-07, -1, -2.70665696e-05, -0.998629451, 1.52577013e-06, -0.0523359627, 0.0523359627, 2.70237524e-05, -0.998629451)
  407. Part19.BottomSurface = Enum.SurfaceType.Smooth
  408. Part19.TopSurface = Enum.SurfaceType.Smooth
  409. Part19.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  410. Part19.Position = Vector3.new(70.3960037, 0.887009978, -21.5639992)
  411. Part19.Orientation = Vector3.new(3, -180, -90)
  412. Part19.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  413. BlockMesh20.Parent = Part19
  414. BlockMesh20.Scale = Vector3.new(0.25, 0.0357142836, 1)
  415. BlockMesh20.Scale = Vector3.new(0.25, 0.0357142836, 1)
  416. Part21.Parent = Tool0
  417. Part21.Material = Enum.Material.Metal
  418. Part21.BrickColor = BrickColor.new("Really black")
  419. Part21.Rotation = Vector3.new(180, 90, 0)
  420. Part21.Anchored = true
  421. Part21.FormFactor = Enum.FormFactor.Custom
  422. Part21.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  423. Part21.CFrame = CFrame.new(70.3000031, 0.576009989, -21.4160004, -4.37113883e-08, 6.21724894e-15, 1, 0, -1, -1.77635684e-15, 1, 0, 4.37113883e-08)
  424. Part21.BottomSurface = Enum.SurfaceType.Smooth
  425. Part21.TopSurface = Enum.SurfaceType.Smooth
  426. Part21.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  427. Part21.Position = Vector3.new(70.3000031, 0.576009989, -21.4160004)
  428. Part21.Orientation = Vector3.new(0, 90, 180)
  429. Part21.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  430. BlockMesh22.Parent = Part21
  431. BlockMesh22.Scale = Vector3.new(1, 0.142857134, 0.785714328)
  432. BlockMesh22.Scale = Vector3.new(1, 0.142857134, 0.785714328)
  433. Part23.Parent = Tool0
  434. Part23.Material = Enum.Material.Metal
  435. Part23.BrickColor = BrickColor.new("Really black")
  436. Part23.Rotation = Vector3.new(180, 0, 0)
  437. Part23.Anchored = true
  438. Part23.FormFactor = Enum.FormFactor.Custom
  439. Part23.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  440. Part23.CFrame = CFrame.new(70.3000031, 0.76801002, -21.1399994, 1, -0, -0, 0, -1, -0, 0, -0, -1)
  441. Part23.BottomSurface = Enum.SurfaceType.Smooth
  442. Part23.TopSurface = Enum.SurfaceType.Smooth
  443. Part23.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  444. Part23.Position = Vector3.new(70.3000031, 0.76801002, -21.1399994)
  445. Part23.Orientation = Vector3.new(0, -180, 180)
  446. Part23.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  447. SpecialMesh24.Parent = Part23
  448. SpecialMesh24.Scale = Vector3.new(0.785714328, 0.392857164, 0.107142858)
  449. SpecialMesh24.MeshType = Enum.MeshType.Wedge
  450. SpecialMesh24.Scale = Vector3.new(0.785714328, 0.392857164, 0.107142858)
  451. Part25.Parent = Tool0
  452. Part25.Material = Enum.Material.Metal
  453. Part25.BrickColor = BrickColor.new("Really black")
  454. Part25.Rotation = Vector3.new(-90, 0, 0)
  455. Part25.Anchored = true
  456. Part25.FormFactor = Enum.FormFactor.Custom
  457. Part25.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  458. Part25.CFrame = CFrame.new(70.3000031, 1.07500899, -22.2409992, 1, 1.77635684e-15, 1.94707184e-07, -1.94707198e-07, 1.49011612e-08, 1, 0, -1, 1.49011612e-08)
  459. Part25.BottomSurface = Enum.SurfaceType.Smooth
  460. Part25.TopSurface = Enum.SurfaceType.Smooth
  461. Part25.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  462. Part25.Position = Vector3.new(70.3000031, 1.07500899, -22.2409992)
  463. Part25.Orientation = Vector3.new(-90, 0, 0)
  464. Part25.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  465. CylinderMesh26.Parent = Part25
  466. CylinderMesh26.Scale = Vector3.new(0.25, 0.0357142836, 0.25)
  467. CylinderMesh26.Scale = Vector3.new(0.25, 0.0357142836, 0.25)
  468. Part27.Parent = Tool0
  469. Part27.Material = Enum.Material.Metal
  470. Part27.BrickColor = BrickColor.new("Really black")
  471. Part27.Rotation = Vector3.new(177, 0, 90)
  472. Part27.Anchored = true
  473. Part27.FormFactor = Enum.FormFactor.Custom
  474. Part27.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  475. Part27.CFrame = CFrame.new(70.3960037, 0.915009975, -21.7049999, -1.09365146e-07, -1, 3.68935886e-08, -0.998629451, 1.072844e-07, -0.0523359776, 0.0523359776, -4.25667643e-08, -0.998629451)
  476. Part27.BottomSurface = Enum.SurfaceType.Smooth
  477. Part27.TopSurface = Enum.SurfaceType.Smooth
  478. Part27.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  479. Part27.Position = Vector3.new(70.3960037, 0.915009975, -21.7049999)
  480. Part27.Orientation = Vector3.new(3, 180, -90)
  481. Part27.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  482. BlockMesh28.Parent = Part27
  483. BlockMesh28.Scale = Vector3.new(0.107142858, 0.0357142836, 0.535714269)
  484. BlockMesh28.Scale = Vector3.new(0.107142858, 0.0357142836, 0.535714269)
  485. Part29.Parent = Tool0
  486. Part29.Material = Enum.Material.Metal
  487. Part29.BrickColor = BrickColor.new("Really black")
  488. Part29.Rotation = Vector3.new(-180, 0, 0)
  489. Part29.Anchored = true
  490. Part29.FormFactor = Enum.FormFactor.Custom
  491. Part29.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  492. Part29.CFrame = CFrame.new(70.3000031, 0.862010002, -20.5109997, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  493. Part29.BottomSurface = Enum.SurfaceType.Smooth
  494. Part29.TopSurface = Enum.SurfaceType.Smooth
  495. Part29.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  496. Part29.Position = Vector3.new(70.3000031, 0.862010002, -20.5109997)
  497. Part29.Orientation = Vector3.new(0, 180, 180)
  498. Part29.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  499. SpecialMesh30.Parent = Part29
  500. SpecialMesh30.Scale = Vector3.new(0.857142866, 0.178571433, 0.178571433)
  501. SpecialMesh30.MeshType = Enum.MeshType.Wedge
  502. SpecialMesh30.Scale = Vector3.new(0.857142866, 0.178571433, 0.178571433)
  503. Part31.Parent = Tool0
  504. Part31.Material = Enum.Material.Metal
  505. Part31.BrickColor = BrickColor.new("Really black")
  506. Part31.Rotation = Vector3.new(-180, 0, 0)
  507. Part31.Anchored = true
  508. Part31.FormFactor = Enum.FormFactor.Custom
  509. Part31.Size = Vector3.new(0.200000003, 0.621428549, 0.271428585)
  510. Part31.CFrame = CFrame.new(70.3000031, 0.447010994, -21.9360008, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  511. Part31.BottomSurface = Enum.SurfaceType.Smooth
  512. Part31.TopSurface = Enum.SurfaceType.Smooth
  513. Part31.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  514. Part31.Position = Vector3.new(70.3000031, 0.447010994, -21.9360008)
  515. Part31.Orientation = Vector3.new(0, 180, 180)
  516. Part31.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  517. BlockMesh32.Parent = Part31
  518. BlockMesh32.Scale = Vector3.new(0.928571463, 1, 1)
  519. BlockMesh32.Scale = Vector3.new(0.928571463, 1, 1)
  520. Part33.Parent = Tool0
  521. Part33.Material = Enum.Material.Metal
  522. Part33.BrickColor = BrickColor.new("Really black")
  523. Part33.Rotation = Vector3.new(180, 0, 0)
  524. Part33.Anchored = true
  525. Part33.FormFactor = Enum.FormFactor.Custom
  526. Part33.Size = Vector3.new(0.200000003, 0.200000003, 0.592857122)
  527. Part33.CFrame = CFrame.new(70.2320023, 0.922010005, -20.7900009, 1, 6.21724894e-15, -1.33226763e-15, -6.21724894e-15, -1, -0, 1.33226763e-15, 0, -1)
  528. Part33.BottomSurface = Enum.SurfaceType.Smooth
  529. Part33.TopSurface = Enum.SurfaceType.Smooth
  530. Part33.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  531. Part33.Position = Vector3.new(70.2320023, 0.922010005, -20.7900009)
  532. Part33.Orientation = Vector3.new(0, -180, -180)
  533. Part33.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  534. BlockMesh34.Parent = Part33
  535. BlockMesh34.Scale = Vector3.new(0.178571433, 0.428571433, 1)
  536. BlockMesh34.Scale = Vector3.new(0.178571433, 0.428571433, 1)
  537. Part35.Parent = Tool0
  538. Part35.Material = Enum.Material.Metal
  539. Part35.BrickColor = BrickColor.new("Really black")
  540. Part35.Rotation = Vector3.new(-180, 0, 0)
  541. Part35.Anchored = true
  542. Part35.FormFactor = Enum.FormFactor.Custom
  543. Part35.Size = Vector3.new(0.200000003, 0.535714269, 0.200000003)
  544. Part35.CFrame = CFrame.new(70.3000031, 0.489010006, -21.7220001, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  545. Part35.BottomSurface = Enum.SurfaceType.Smooth
  546. Part35.TopSurface = Enum.SurfaceType.Smooth
  547. Part35.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  548. Part35.Position = Vector3.new(70.3000031, 0.489010006, -21.7220001)
  549. Part35.Orientation = Vector3.new(0, 180, 180)
  550. Part35.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  551. SpecialMesh36.Parent = Part35
  552. SpecialMesh36.Scale = Vector3.new(0.928571463, 1, 0.785714328)
  553. SpecialMesh36.MeshType = Enum.MeshType.Wedge
  554. SpecialMesh36.Scale = Vector3.new(0.928571463, 1, 0.785714328)
  555. Part37.Parent = Tool0
  556. Part37.Material = Enum.Material.Metal
  557. Part37.BrickColor = BrickColor.new("Really black")
  558. Part37.Rotation = Vector3.new(-33, 0, 180)
  559. Part37.Anchored = true
  560. Part37.FormFactor = Enum.FormFactor.Custom
  561. Part37.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  562. Part37.CFrame = CFrame.new(70.2929993, 0.674009979, -21.4979992, -1, -6.30198969e-08, 1.86736648e-09, 5.3869968e-08, -0.838670552, 0.544639051, -3.27569794e-08, 0.544639051, 0.838670552)
  563. Part37.BottomSurface = Enum.SurfaceType.Smooth
  564. Part37.TopSurface = Enum.SurfaceType.Smooth
  565. Part37.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  566. Part37.Position = Vector3.new(70.2929993, 0.674009979, -21.4979992)
  567. Part37.Orientation = Vector3.new(-33, 0, 180)
  568. Part37.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  569. SpecialMesh38.Parent = Part37
  570. SpecialMesh38.Scale = Vector3.new(0.142857134, 0.535714269, 0.142857134)
  571. SpecialMesh38.MeshType = Enum.MeshType.Wedge
  572. SpecialMesh38.Scale = Vector3.new(0.142857134, 0.535714269, 0.142857134)
  573. Part39.Name = "A1"
  574. Part39.Parent = Tool0
  575. Part39.Material = Enum.Material.Metal
  576. Part39.BrickColor = BrickColor.new("Really black")
  577. Part39.Anchored = true
  578. Part39.FormFactor = Enum.FormFactor.Custom
  579. Part39.Size = Vector3.new(0.200000003, 0.200000003, 0.778571427)
  580. Part39.CFrame = CFrame.new(70.3000031, 1.07901001, -20.8829994, 1, 1.50995803e-07, -4.37113883e-08, -1.50995803e-07, 1, 0, 4.37113883e-08, 0, 1)
  581. Part39.BottomSurface = Enum.SurfaceType.Smooth
  582. Part39.TopSurface = Enum.SurfaceType.Smooth
  583. Part39.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  584. Part39.Position = Vector3.new(70.3000031, 1.07901001, -20.8829994)
  585. Part39.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  586. BlockMesh40.Parent = Part39
  587. BlockMesh40.Scale = Vector3.new(0.892857134, 0.5, 1)
  588. BlockMesh40.Scale = Vector3.new(0.892857134, 0.5, 1)
  589. Part41.Name = "A10"
  590. Part41.Parent = Tool0
  591. Part41.Material = Enum.Material.Metal
  592. Part41.BrickColor = BrickColor.new("Really black")
  593. Part41.Rotation = Vector3.new(180, 0, -40)
  594. Part41.Anchored = true
  595. Part41.FormFactor = Enum.FormFactor.Custom
  596. Part41.Size = Vector3.new(0.200000003, 0.200000003, 0.778571427)
  597. Part41.CFrame = CFrame.new(70.3580017, 1.13900995, -20.8829994, 0.766044378, 0.642787695, 1.02265245e-08, 0.642787755, -0.766044378, -2.98023224e-08, 0, 4.47034836e-08, -1)
  598. Part41.BottomSurface = Enum.SurfaceType.Smooth
  599. Part41.TopSurface = Enum.SurfaceType.Smooth
  600. Part41.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  601. Part41.Position = Vector3.new(70.3580017, 1.13900995, -20.8829994)
  602. Part41.Orientation = Vector3.new(0, 180, 140)
  603. Part41.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  604. BlockMesh42.Parent = Part41
  605. BlockMesh42.Scale = Vector3.new(0.178571433, 0.278571397, 1)
  606. BlockMesh42.Scale = Vector3.new(0.178571433, 0.278571397, 1)
  607. Script43.Name = "Weld"
  608. Script43.Parent = Tool0
  609. table.insert(cors,sandbox(Script43,function()
  610. function Weld(x,y,Name)
  611. local W = Instance.new("Weld")
  612. W.Name = Name
  613. W.Part0 = x
  614. W.Part1 = y
  615. local CJ = CFrame.new(x.Position)
  616. local C0 = x.CFrame:inverse()*CJ
  617. local C1 = y.CFrame:inverse()*CJ
  618. W.C0 = C0
  619. W.C1 = C1
  620. W.Parent = x
  621. end
  622.  
  623.  
  624.  
  625. function Get(A)
  626. if A.Name == "Slide" then
  627. Weld(script.Parent.Handle, A,"Slide")
  628. A.Anchored = false
  629. elseif A.className == "Part" or A.className == "UnionOperation" or A.className == "MeshPart" and not A.Name == "Bolt" then
  630. Weld(script.Parent.Handle, A,"Weld")
  631. A.Anchored = false
  632. else
  633. local C = A:GetChildren()
  634. for i=1, #C do
  635. Get(C[i])
  636. end
  637. end
  638. end
  639.  
  640. function Finale()
  641. Get(script.Parent)
  642. end
  643.  
  644. local Gun
  645. local Model
  646.  
  647.  
  648. script.Parent.Unequipped:connect(function()
  649. Model = Instance.new("Model",game.Players.LocalPlayer.Character)
  650. local C = script.Parent:GetChildren()
  651. for _,part in pairs(script.Parent:GetChildren()) do
  652. if part.className == "UnionOperation" or part.className == "MeshPart" or part.className == "Part" then
  653. Gun = part:clone()
  654. Gun.Anchored = false
  655. Gun.CanCollide = false
  656. Gun.Parent = Model
  657.  
  658.  
  659. end
  660. end
  661. wait(0.002)
  662. for _, parts in pairs(Model:GetChildren()) do
  663. Weld(Model.Handle, parts,"Weld")
  664. end
  665.  
  666. local W = Instance.new("Weld")
  667. W.Part0 = game.Players.LocalPlayer.Character.Torso
  668. W.Part1 = Model.Handle
  669. W.Parent = Model.Handle
  670. W.C0 = CFrame.new(0.1,0.25,0.4)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(90))
  671. end)
  672.  
  673. script.Parent.Equipped:connect(function()
  674. Model:Destroy()
  675. end)
  676.  
  677. Finale()
  678. end))
  679. Part44.Name = "A12"
  680. Part44.Parent = Tool0
  681. Part44.Material = Enum.Material.Metal
  682. Part44.BrickColor = BrickColor.new("Really black")
  683. Part44.Rotation = Vector3.new(-180, 0, 0)
  684. Part44.Anchored = true
  685. Part44.FormFactor = Enum.FormFactor.Custom
  686. Part44.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  687. Part44.CFrame = CFrame.new(70.3000031, 1.19000995, -20.5470009, 1, -1.50995803e-07, 4.37113883e-08, -1.50995803e-07, -1, 0, 4.37113883e-08, 0, -1)
  688. Part44.BottomSurface = Enum.SurfaceType.Smooth
  689. Part44.TopSurface = Enum.SurfaceType.Smooth
  690. Part44.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  691. Part44.Position = Vector3.new(70.3000031, 1.19000995, -20.5470009)
  692. Part44.Orientation = Vector3.new(0, 180, -180)
  693. Part44.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  694. BlockMesh45.Parent = Part44
  695. BlockMesh45.Scale = Vector3.new(0.0714285672, 0.178571433, 0.535714269)
  696. BlockMesh45.Scale = Vector3.new(0.0714285672, 0.178571433, 0.535714269)
  697. Part46.Name = "A13"
  698. Part46.Parent = Tool0
  699. Part46.Material = Enum.Material.Metal
  700. Part46.BrickColor = BrickColor.new("Really black")
  701. Part46.Rotation = Vector3.new(-180, 0, 0)
  702. Part46.Anchored = true
  703. Part46.FormFactor = Enum.FormFactor.Custom
  704. Part46.Size = Vector3.new(0.200000003, 0.200000003, 0.221428573)
  705. Part46.CFrame = CFrame.new(70.3000031, 1.17900896, -22.0330009, 1, -1.50995803e-07, 4.37113883e-08, -1.50995803e-07, -1, 0, 4.37113883e-08, 0, -1)
  706. Part46.BottomSurface = Enum.SurfaceType.Smooth
  707. Part46.TopSurface = Enum.SurfaceType.Smooth
  708. Part46.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  709. Part46.Position = Vector3.new(70.3000031, 1.17900896, -22.0330009)
  710. Part46.Orientation = Vector3.new(0, 180, -180)
  711. Part46.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  712. BlockMesh47.Parent = Part46
  713. BlockMesh47.Scale = Vector3.new(0.535714269, 0.0714285672, 1)
  714. BlockMesh47.Scale = Vector3.new(0.535714269, 0.0714285672, 1)
  715. Part48.Name = "A14"
  716. Part48.Parent = Tool0
  717. Part48.Material = Enum.Material.Metal
  718. Part48.BrickColor = BrickColor.new("Really black")
  719. Part48.Rotation = Vector3.new(-180, 0, 0)
  720. Part48.Anchored = true
  721. Part48.FormFactor = Enum.FormFactor.Custom
  722. Part48.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  723. Part48.CFrame = CFrame.new(70.3359985, 1.20401001, -22.0900002, 1, -1.50995803e-07, 4.37113883e-08, -1.50995803e-07, -1, 0, 4.37113883e-08, 0, -1)
  724. Part48.BottomSurface = Enum.SurfaceType.Smooth
  725. Part48.TopSurface = Enum.SurfaceType.Smooth
  726. Part48.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  727. Part48.Position = Vector3.new(70.3359985, 1.20401001, -22.0900002)
  728. Part48.Orientation = Vector3.new(0, 180, -180)
  729. Part48.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  730. BlockMesh49.Parent = Part48
  731. BlockMesh49.Scale = Vector3.new(0.178571433, 0.178571433, 0.25)
  732. BlockMesh49.Scale = Vector3.new(0.178571433, 0.178571433, 0.25)
  733. Part50.Name = "A15"
  734. Part50.Parent = Tool0
  735. Part50.Material = Enum.Material.Metal
  736. Part50.BrickColor = BrickColor.new("Really black")
  737. Part50.Rotation = Vector3.new(-180, 0, 0)
  738. Part50.Anchored = true
  739. Part50.FormFactor = Enum.FormFactor.Custom
  740. Part50.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  741. Part50.CFrame = CFrame.new(70.2639999, 1.20401001, -22.0900002, 1, -1.50995803e-07, 4.37113883e-08, -1.50995803e-07, -1, 0, 4.37113883e-08, 0, -1)
  742. Part50.BottomSurface = Enum.SurfaceType.Smooth
  743. Part50.TopSurface = Enum.SurfaceType.Smooth
  744. Part50.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  745. Part50.Position = Vector3.new(70.2639999, 1.20401001, -22.0900002)
  746. Part50.Orientation = Vector3.new(0, 180, -180)
  747. Part50.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  748. BlockMesh51.Parent = Part50
  749. BlockMesh51.Scale = Vector3.new(0.178571433, 0.178571433, 0.25)
  750. BlockMesh51.Scale = Vector3.new(0.178571433, 0.178571433, 0.25)
  751. Part52.Name = "A16"
  752. Part52.Parent = Tool0
  753. Part52.Material = Enum.Material.Metal
  754. Part52.BrickColor = BrickColor.new("Really black")
  755. Part52.Rotation = Vector3.new(180, 0, 0)
  756. Part52.Anchored = true
  757. Part52.FormFactor = Enum.FormFactor.Custom
  758. Part52.Size = Vector3.new(0.200000003, 0.200000003, 0.528571427)
  759. Part52.CFrame = CFrame.new(70.3000031, 0.922010005, -20.7579994, 1, -6.35730188e-08, -1.33226763e-15, -6.35730402e-08, -1, -0, 3.55271368e-15, 0, -1)
  760. Part52.BottomSurface = Enum.SurfaceType.Smooth
  761. Part52.TopSurface = Enum.SurfaceType.Smooth
  762. Part52.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  763. Part52.Position = Vector3.new(70.3000031, 0.922010005, -20.7579994)
  764. Part52.Orientation = Vector3.new(0, -180, -180)
  765. Part52.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  766. BlockMesh53.Parent = Part52
  767. BlockMesh53.Scale = Vector3.new(0.5, 0.428571433, 1)
  768. BlockMesh53.Scale = Vector3.new(0.5, 0.428571433, 1)
  769. Part54.Name = "A17"
  770. Part54.Parent = Tool0
  771. Part54.Material = Enum.Material.Metal
  772. Part54.Rotation = Vector3.new(-180, 0, 0)
  773. Part54.Anchored = true
  774. Part54.FormFactor = Enum.FormFactor.Custom
  775. Part54.Size = Vector3.new(0.200000003, 0.200000003, 0.235714287)
  776. Part54.CFrame = CFrame.new(70.3679962, 1.07901001, -21.3899994, 1, -1.50995803e-07, 4.37113883e-08, -1.50995803e-07, -1, 0, 4.37113883e-08, 0, -1)
  777. Part54.BottomSurface = Enum.SurfaceType.Smooth
  778. Part54.TopSurface = Enum.SurfaceType.Smooth
  779. Part54.Position = Vector3.new(70.3679962, 1.07901001, -21.3899994)
  780. Part54.Orientation = Vector3.new(0, 180, -180)
  781. BlockMesh55.Parent = Part54
  782. BlockMesh55.Scale = Vector3.new(0.214285716, 0.5, 1)
  783. BlockMesh55.Scale = Vector3.new(0.214285716, 0.5, 1)
  784. Part56.Name = "A2"
  785. Part56.Parent = Tool0
  786. Part56.Material = Enum.Material.Metal
  787. Part56.BrickColor = BrickColor.new("Really black")
  788. Part56.Rotation = Vector3.new(180, 0, 0)
  789. Part56.Anchored = true
  790. Part56.FormFactor = Enum.FormFactor.Custom
  791. Part56.Size = Vector3.new(0.200000003, 0.200000003, 1.01428568)
  792. Part56.CFrame = CFrame.new(70.3000031, 0.997009993, -21.0009995, 1, 6.21724894e-15, -1.33226763e-15, -6.21724894e-15, -1, -0, 1.33226763e-15, 0, -1)
  793. Part56.BottomSurface = Enum.SurfaceType.Smooth
  794. Part56.TopSurface = Enum.SurfaceType.Smooth
  795. Part56.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  796. Part56.Position = Vector3.new(70.3000031, 0.997009993, -21.0009995)
  797. Part56.Orientation = Vector3.new(0, -180, -180)
  798. Part56.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  799. BlockMesh57.Parent = Part56
  800. BlockMesh57.Scale = Vector3.new(0.928571463, 0.321428597, 1)
  801. BlockMesh57.Scale = Vector3.new(0.928571463, 0.321428597, 1)
  802. Part58.Name = "A3"
  803. Part58.Parent = Tool0
  804. Part58.Material = Enum.Material.Metal
  805. Part58.BrickColor = BrickColor.new("Really black")
  806. Part58.Rotation = Vector3.new(179.979996, 0, 0.209999993)
  807. Part58.Anchored = true
  808. Part58.FormFactor = Enum.FormFactor.Custom
  809. Part58.Size = Vector3.new(0.200000003, 0.200000003, 0.742857158)
  810. Part58.CFrame = CFrame.new(70.3639984, 1.04700994, -21.8789997, 0.999993086, -0.00373011292, -2.77045019e-05, -0.00373012037, -0.999993026, -0.000344231725, -2.64203991e-05, 0.000344321132, -0.99999994)
  811. Part58.BottomSurface = Enum.SurfaceType.Smooth
  812. Part58.TopSurface = Enum.SurfaceType.Smooth
  813. Part58.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  814. Part58.Position = Vector3.new(70.3639984, 1.04700994, -21.8789997)
  815. Part58.Orientation = Vector3.new(0.0199999996, -180, -179.789993)
  816. Part58.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  817. BlockMesh59.Parent = Part58
  818. BlockMesh59.Scale = Vector3.new(0.285714269, 0.821428597, 1)
  819. BlockMesh59.Scale = Vector3.new(0.285714269, 0.821428597, 1)
  820. Part60.Name = "A4"
  821. Part60.Parent = Tool0
  822. Part60.Material = Enum.Material.Metal
  823. Part60.BrickColor = BrickColor.new("Really black")
  824. Part60.Rotation = Vector3.new(180, 0, 0)
  825. Part60.Anchored = true
  826. Part60.FormFactor = Enum.FormFactor.Custom
  827. Part60.Size = Vector3.new(0.200000003, 0.200000003, 0.742857158)
  828. Part60.CFrame = CFrame.new(70.2360001, 1.04700994, -21.8789997, 1, 6.21724894e-15, -1.33226763e-15, -6.21724894e-15, -1, -0, 1.33226763e-15, 0, -1)
  829. Part60.BottomSurface = Enum.SurfaceType.Smooth
  830. Part60.TopSurface = Enum.SurfaceType.Smooth
  831. Part60.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  832. Part60.Position = Vector3.new(70.2360001, 1.04700994, -21.8789997)
  833. Part60.Orientation = Vector3.new(0, -180, -180)
  834. Part60.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  835. BlockMesh61.Parent = Part60
  836. BlockMesh61.Scale = Vector3.new(0.285714269, 0.821428597, 1)
  837. BlockMesh61.Scale = Vector3.new(0.285714269, 0.821428597, 1)
  838. LocalScript62.Name = "GunScript"
  839. LocalScript62.Parent = Tool0
  840. table.insert(cors,sandbox(LocalScript62,function()
  841.  
  842. wait(1)
  843.  
  844.  
  845. local Tool = script.Parent
  846.  
  847.  
  848. local Player = game.Players.LocalPlayer
  849. local Character = Player.Character
  850. local Torso = Character.Torso
  851. local Neck = Torso:WaitForChild("Neck")
  852. local Humanoid = Character.Humanoid
  853. local Mouse = Player:GetMouse()
  854.  
  855. local Camera = game.Workspace.CurrentCamera
  856.  
  857.  
  858. local GunSetup = {
  859.  
  860. Name = "M45A1";
  861. Ammo = script.Ammo.Value;
  862. RPM = 300;
  863. BurstRPM = 666;
  864. FireMode = "Single";
  865. BkFM = "Single";
  866. BurstFire = 3;
  867. SwitchableModes = {
  868. Burst = false;
  869. Single = true;
  870. Automatic = false;
  871.  
  872. };
  873.  
  874.  
  875. GrenadeLauncher = false;
  876. M203Ammo = 1; -- 1 For HEGrenade, 2 For SmokeGrenade
  877. GLFirerate = 2;
  878.  
  879. AnimSpeed = 1;
  880.  
  881. Chamber = true;
  882. CanBreak = false;
  883. CanSeeMag = true;
  884. FastReload = true;
  885.  
  886. BType = ".45 ACP";
  887. BSpeed = 884;
  888. ATK = true;
  889. BDrop = 5;
  890. BSpread = 0;
  891.  
  892. LimbsDamage = {10,20};
  893. TorsoDamage = {30,40};
  894. HeadDamage = {85,100};
  895.  
  896. HelmetDamage = 64;
  897. VestDamage = 34;
  898.  
  899. Recoil = {32,42};
  900. Aimpart = Tool.AimPart;
  901. FOV1 = 45;
  902. FOV2 = 20;
  903.  
  904. RightPos = CFrame.new(-0.76, 0.45, -1.05) * CFrame.Angles(math.rad(-100), math.rad(0), math.rad(0));
  905. LeftPos = CFrame.new(0.73,0.55,-1.075) * CFrame.Angles(math.rad(-100),math.rad(35.5),math.rad(2));
  906. ----------------------
  907. LeftAimPosition = CFrame.new(0.76,-0.7,-0.955) * CFrame.Angles(math.rad(-110),math.rad(48.5),math.rad(2));
  908. LeftAim2Position = CFrame.new(1.26,-0.185,-1.315) * CFrame.Angles(math.rad(-110),math.rad(48.5),math.rad(2));
  909. }
  910.  
  911.  
  912. local Recoilup = 0
  913.  
  914. local Recoil = math.random(GunSetup.Recoil[1],GunSetup.Recoil[2])/60
  915. local RecoilG
  916. local Firerate = 1/(GunSetup.RPM/60)
  917. local BURSTFirerate = 1/(GunSetup.BurstRPM/60)
  918. local GLFirerate = GunSetup.GLFirerate
  919. local Ammo = GunSetup.Ammo
  920. local GLAmmo = script.GLAmmo
  921. local MaxAmmo = script.MaxAmmo
  922. local StoredAmmo = script.StoredAmmo
  923. local EnableCycleSight = true
  924. local EnableFireMode = true
  925. local AimPartMode = 1
  926.  
  927. local slideback = false
  928. local Checando = false
  929. local Emperrado = false
  930. local Chambered = false
  931. local MagOut = false
  932. local GLChambered = false
  933.  
  934. local Animando = false
  935.  
  936. _G.Sprinting = false
  937.  
  938. local Safemode = false
  939.  
  940. local MouseHeld
  941.  
  942. local Equipped = false
  943. local Sprinting = false
  944. local Shooting = false
  945. local Aiming = false
  946. local Reloading = false
  947. local GLReloading = false
  948.  
  949. pos = 0.0006
  950. neg = -0.0006
  951.  
  952. local shell
  953. local AmmoGui
  954.  
  955. local RAW
  956. local LAW
  957.  
  958.  
  959.  
  960. local arms
  961.  
  962. local Shell = Tool:WaitForChild("Shells"):WaitForChild("Shell")
  963.  
  964. local function GetAmmo()
  965. AmmoGui.Frame.AText.Text = Ammo
  966. return Ammo
  967. end
  968.  
  969. local uis = game:GetService("UserInputService")
  970.  
  971. local RG = Character["Right Arm"]:FindFirstChild("RightGrip")
  972.  
  973.  
  974. ---------------------------------------------------------------------------------------
  975. ---------------- [ Tween Module ] --------------------------------------------------------
  976. ---------------------------------------------------------------------------------------
  977.  
  978. function tweenFoV(goal, frames)
  979. coroutine.resume(coroutine.create(function()
  980. SFn = SFn and SFn + 1 or 0
  981. local SFn_S = SFn
  982. for i = 1, frames do
  983. if SFn ~= SFn_S then break end
  984. Camera.FieldOfView = Camera.FieldOfView + (goal - Camera.FieldOfView) * (i / frames)
  985. game:GetService("RunService").RenderStepped:wait()
  986. end
  987. end))
  988. end
  989.  
  990.  
  991. --[[
  992.  
  993. tweenJoint Function Parameters:
  994.  
  995. Object Joint - This has to be a weld with a C0 and C1 property
  996.  
  997. CFrame newC0 - This is what the new C0 of the weld will be. You can put nil if you don't want to effect the C0
  998.  
  999. CFrame newC1 - This is what the new C1 of the weld will be. You can put nil if you don't want to effect the C1
  1000.  
  1001. function Alpha - This is an alpha function that takes an input parameter of a number between 0 and 90 and returns a number between 0 and 1.
  1002. For example, function(X) return math.sin(math.rad(X)) end
  1003.  
  1004. float Duration - This is how long the tweening takes to complete
  1005.  
  1006. --]]
  1007. local RS = game:GetService("RunService")
  1008.  
  1009. function tweenJoint(Joint, newC0, newC1, Alpha, Duration)
  1010. spawn(function()
  1011. local newCode = math.random(-1e9, 1e9) --This creates a random code between -1000000000 and 1000000000
  1012. local tweenIndicator = nil
  1013. if (not Joint:findFirstChild("tweenCode")) then --If the joint isn't being tweened, then
  1014. tweenIndicator = Instance.new("IntValue")
  1015. tweenIndicator.Name = "tweenCode"
  1016. tweenIndicator.Value = newCode
  1017. tweenIndicator.Parent = Joint
  1018. else
  1019. tweenIndicator = Joint.tweenCode
  1020. tweenIndicator.Value = newCode --If the joint is already being tweened, this will change the code, and the tween loop will stop
  1021. end
  1022. --local tweenIndicator = createTweenIndicator:InvokeServer(Joint, newCode)
  1023. if Duration <= 0 then --If the duration is less than or equal to 0 then there's no need for a tweening loop
  1024. if newC0 then Joint.C0 = newC0 end
  1025. if newC1 then Joint.C1 = newC1 end
  1026. else
  1027. local Increment = 1.5 / Duration
  1028. local startC0 = Joint.C0
  1029. local startC1 = Joint.C1
  1030. local X = 0
  1031. while true do
  1032. RS.RenderStepped:wait() --This makes the for loop step every 1/60th of a second
  1033. local newX = X + Increment
  1034. X = (newX > 90 and 90 or newX)
  1035. if tweenIndicator.Value ~= newCode then break end --This makes sure that another tween wasn't called on the same joint
  1036. if (not Equipped) then break end --This stops the tween if the tool is deselected
  1037. if newC0 then Joint.C0 = startC0:lerp(newC0, Alpha(X)) end
  1038. if newC1 then Joint.C1 = startC1:lerp(newC1, Alpha(X)) end
  1039. --if newC0 then lerpCF:InvokeServer(Joint, "C0", startC0, newC0, Alpha(X)) end
  1040. --if newC1 then lerpCF:InvokeServer(Joint, "C1", startC1, newC1, Alpha(X)) end
  1041. if X == 90 then break end
  1042. end
  1043. end
  1044. if tweenIndicator.Value == newCode then --If this tween functions was the last one called on a joint then it will remove the code
  1045. tweenIndicator:Destroy()
  1046. end
  1047. --deleteTweenIndicator:InvokeServer(tweenIndicator, newCode)
  1048. end)
  1049. end
  1050.  
  1051.  
  1052. -------------Motor6Ding Section------------------------
  1053. Tool.Equipped:connect(function()
  1054. if Humanoid.Health > 0 then
  1055. RAW = Instance.new("Motor6D")
  1056. RAW.Name= "RightWeld"
  1057. RAW.Part0 =Player.Character["Right Arm"]
  1058. RAW.Part1 = Character["Head"]
  1059. RAW.Parent=Player.Character["Right Arm"]
  1060. -- Player.CameraMode="LockFirstPerson"
  1061. Torso:WaitForChild("Right Shoulder").Part1 = nil
  1062. if Reloading then
  1063. Reloading = false
  1064. end
  1065. if GLReloading then
  1066. GLReloading = false
  1067. end
  1068. LAW = Instance.new("Motor6D")
  1069. LAW.Name= "LeftWeld"
  1070. LAW.Part0 = Player.Character["Left Arm"]
  1071. LAW.Part1 = Character["Head"]
  1072. LAW.Parent = Player.Character["Left Arm"]
  1073. LAW.C0 = GunSetup.LeftPos
  1074. RAW.C0 = GunSetup.RightPos
  1075. Torso:WaitForChild("Left Shoulder").Part1 = nil
  1076. LAW.C1 = CFrame.new()
  1077. RAW.C1 = CFrame.new()
  1078.  
  1079.  
  1080.  
  1081. uis.MouseIconEnabled = false
  1082. AmmoGui = script.AmmoGui:Clone()
  1083. AmmoGui.Parent = Player.PlayerGui
  1084. AmmoGui.Frame.Visible = false
  1085.  
  1086.  
  1087.  
  1088. Equipped = true
  1089. game:GetService('RunService').RenderStepped:connect(function()
  1090. RAW.C1 = CFrame.new() * CFrame.new((Recoilup/4),0,(Recoilup*2))
  1091. LAW.C1 = CFrame.new() * CFrame.new((Recoilup/4),0,(Recoilup*2))
  1092. if not Equipped then
  1093. IdleOrSteadyAnim()
  1094. Reloading = false
  1095. GLReloading = false
  1096. end
  1097. if AmmoGui:FindFirstChild("Frame") then
  1098. AmmoGui.Frame.FText.Text = GunSetup.FireMode
  1099. AmmoGui.Frame.SAText.Text = ""..math.ceil(StoredAmmo.Value/math.ceil(GunSetup.Ammo)).." MAGS"
  1100. AmmoGui.Frame.Btext.Text = GunSetup.BType
  1101.  
  1102. if Safemode then
  1103. AmmoGui.Frame.A.Visible = true
  1104. else
  1105. AmmoGui.Frame.A.Visible = false
  1106. end
  1107.  
  1108. if Chambered then
  1109. AmmoGui.Frame.B.Visible = false
  1110. else
  1111. AmmoGui.Frame.B.Visible = true
  1112. end
  1113.  
  1114. if GunSetup.GrenadeLauncher and GLChambered then
  1115. AmmoGui.Frame.E.Visible = false
  1116. elseif GunSetup.GrenadeLauncher and not GLChambered then
  1117. AmmoGui.Frame.E.Visible = true
  1118. else
  1119. AmmoGui.Frame.E.Visible = false
  1120. end
  1121.  
  1122. if Emperrado then
  1123. AmmoGui.Frame.C.Visible = true
  1124. else
  1125. AmmoGui.Frame.C.Visible = false
  1126. end
  1127.  
  1128.  
  1129. if slideback then
  1130. AmmoGui.Frame.D.Visible = true
  1131. else
  1132. AmmoGui.Frame.D.Visible = false
  1133. end
  1134.  
  1135.  
  1136. if GunSetup.FireMode == "M203" then
  1137. AmmoGui.Frame.NText.Text = "M203"
  1138. AmmoGui.Frame.SAText.Text = GLAmmo.Value
  1139. AmmoGui.Frame.AText.Text = Ammo .." Bullets"
  1140. end
  1141.  
  1142.  
  1143. if StoredAmmo.Value > MaxAmmo.Value then
  1144. StoredAmmo.Value = MaxAmmo.Value
  1145. end
  1146.  
  1147. if GunSetup.FireMode ~= "M203" then
  1148. AmmoGui.Frame.NText.Text = GunSetup.Name
  1149. AmmoGui.Frame.AText.Text = Ammo .." Bullets"
  1150. end
  1151. end
  1152. end)
  1153. end
  1154. end)
  1155.  
  1156.  
  1157.  
  1158.  
  1159.  
  1160.  
  1161.  
  1162.  
  1163. ---------- Animations ------------------
  1164.  
  1165. function SprintAnim()
  1166. Humanoid.WalkSpeed = 24
  1167. tweenJoint(RAW, RAW.C0 * CFrame.new(0,0,0.5) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)) , nil, function(X) return math.sin(math.rad(X)) end, 0.25 * GunSetup.AnimSpeed)
  1168. tweenJoint(LAW, LAW.C0 * CFrame.new(0,0,0.5) * CFrame.Angles(math.rad(25),math.rad(-10),math.rad(0)) , nil, function(X) return math.sin(math.rad(X)) end, 0.25 * GunSetup.AnimSpeed)
  1169. _G.Sprinting = true
  1170. end
  1171.  
  1172. function SafetyAnim()
  1173. Humanoid.WalkSpeed = Humanoid.WalkSpeed + 2
  1174. tweenJoint(RAW, CFrame.new(-0.975, 1.065, -1.085) * CFrame.Angles(math.rad(-70), math.rad(-35), math.rad(0)) , nil, function(X) return math.sin(math.rad(X)) end, 0.25 * GunSetup.AnimSpeed)
  1175. tweenJoint(LAW, CFrame.new(0.7623,0.95,-1.495) * CFrame.Angles(math.rad(-80),math.rad(6.5),math.rad(0)) , nil, function(X) return math.sin(math.rad(X)) end, 0.25 * GunSetup.AnimSpeed)
  1176. end
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182. function IdleOrSteadyAnim()
  1183. tweenJoint(RAW, GunSetup.RightPos , nil, function(X) return math.sin(math.rad(X)) end, 0.225 * GunSetup.AnimSpeed)
  1184. tweenJoint(LAW, GunSetup.LeftPos , nil, function(X) return math.sin(math.rad(X)) end, 0.215 * GunSetup.AnimSpeed)
  1185. end
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.  
  1193. function ReloadAnim()
  1194. if Equipped then
  1195. tweenJoint(RAW, CFrame.new(-1.35,0,-0.85) * CFrame.Angles(math.rad(-110),math.rad(-20),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.37257325 * GunSetup.AnimSpeed)
  1196. tweenJoint(LAW, CFrame.new(0.45,0.35,-1.275) * CFrame.Angles(math.rad(-115),math.rad(30),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.37257325 * GunSetup.AnimSpeed)
  1197. tweenJoint(RG, nil , RG.C1 * CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)) , function(X) return math.sin(math.rad(X)) end, 0.325 * GunSetup.AnimSpeed)
  1198. wait(0.55 * GunSetup.AnimSpeed)
  1199.  
  1200. tweenJoint(RAW, RAW.C0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(-20),math.rad(0),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.37257325 * GunSetup.AnimSpeed)
  1201. tweenJoint(LAW, CFrame.new(1.25,1.3,-0.55) * CFrame.Angles(math.rad(-10),math.rad(35),math.rad(0)) , nil, function(X) return math.sin(math.rad(X)) end, 0.37257325 * GunSetup.AnimSpeed)
  1202. Tool.Handle.MagOut:Play()
  1203.  
  1204. local MagC = Tool:WaitForChild("Mag"):clone()
  1205. Tool.Mag.Transparency = 1
  1206. MagC.Parent = Tool
  1207. MagC.Name = "MagC"
  1208. MagC.Transparency = 0
  1209.  
  1210. local MagCW = Instance.new("Motor6D")
  1211. MagCW.Part0 = MagC
  1212. MagCW.Part1 = Player.Character["Left Arm"]
  1213. MagCW.Parent = MagC
  1214. MagCW.C1 = MagC.CFrame:toObjectSpace(Tool.Mag.CFrame)
  1215.  
  1216. wait(0.65 * (GunSetup.AnimSpeed/1))
  1217.  
  1218. if (StoredAmmo.Value - (GunSetup.Ammo - Ammo)) < 0 then
  1219. Ammo = Ammo + StoredAmmo.Value
  1220. StoredAmmo.Value = 0
  1221. elseif Ammo <= 0 then
  1222. StoredAmmo.Value = StoredAmmo.Value - (GunSetup.Ammo - Ammo)
  1223. Ammo = GunSetup.Ammo
  1224. Chambered = false
  1225. elseif Ammo > 0 and Chambered and GunSetup.Chamber then
  1226. StoredAmmo.Value = StoredAmmo.Value - (GunSetup.Ammo - Ammo)
  1227. Ammo = GunSetup.Ammo + 1
  1228. elseif Ammo > 0 and Chambered and not GunSetup.Chamber then
  1229. StoredAmmo.Value = StoredAmmo.Value - (GunSetup.Ammo - Ammo)
  1230. Ammo = GunSetup.Ammo
  1231. end
  1232.  
  1233.  
  1234.  
  1235. tweenJoint(RAW, CFrame.new(-1.35,0,-0.85) * CFrame.Angles(math.rad(-110),math.rad(-20),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.37257325 * GunSetup.AnimSpeed)
  1236. tweenJoint(LAW, CFrame.new(0.45,0.35,-1.275) * CFrame.Angles(math.rad(-115),math.rad(30),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.30257325 * GunSetup.AnimSpeed)
  1237. tweenJoint(RG, nil , RG.C1 , function(X) return math.sin(math.rad(X)) end, 0.325 * GunSetup.AnimSpeed)
  1238. wait(0.235 * GunSetup.AnimSpeed)
  1239. Tool.Handle.MagIn:Play()
  1240. wait(0.16 * GunSetup.AnimSpeed)
  1241. MagC:Destroy()
  1242. Tool.Mag.Transparency = 0
  1243.  
  1244. wait(0.35 * GunSetup.AnimSpeed)
  1245.  
  1246. end
  1247. end
  1248.  
  1249.  
  1250. function SeeMag()
  1251. if Equipped then
  1252. Animando = true
  1253. tweenJoint(RAW, CFrame.new(0.213, -0.265, -1.25) * CFrame.Angles(math.rad(-90), math.rad(7.5), math.rad(-50.5)) , nil, function(X) return math.sin(math.rad(X)) end, 0.325 * GunSetup.AnimSpeed)
  1254. tweenJoint(LAW, CFrame.new(2.195,-0.825,-1.08) * CFrame.Angles(math.rad(-100),math.rad(75),math.rad(-41)) , nil, function(X) return math.sin(math.rad(X)) end, 0.375 * GunSetup.AnimSpeed)
  1255.  
  1256. wait(1.125 * (GunSetup.AnimSpeed/2))
  1257. tweenJoint(RAW, CFrame.new(-0.875, -0.465, -1.15) * CFrame.Angles(math.rad(-95), math.rad(-2), math.rad(7.5)) , nil, function(X) return math.sin(math.rad(X)) end, 0.425 * GunSetup.AnimSpeed)
  1258. tweenJoint(LAW, CFrame.new(1.195,-0.35,-1.48) * CFrame.Angles(math.rad(-100),math.rad(75),math.rad(0)) , nil, function(X) return math.sin(math.rad(X)) end, 0.375 * GunSetup.AnimSpeed)
  1259.  
  1260. wait(0.55 * GunSetup.AnimSpeed)
  1261. tweenJoint(RAW, CFrame.new(-0.975, -0.365, -1.2) * CFrame.Angles(math.rad(-85), math.rad(-2), math.rad(9)) , nil, function(X) return math.sin(math.rad(X)) end, 0.525 * GunSetup.AnimSpeed)
  1262. tweenJoint(LAW, CFrame.new(1.195,1.4,-0.5) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)) , nil, function(X) return math.sin(math.rad(X)) end, 0.375 * GunSetup.AnimSpeed)
  1263. Tool.Handle.MagOut:Play()
  1264.  
  1265. local MagC = Tool:WaitForChild("Mag"):clone()
  1266. Tool.Mag.Transparency = 1
  1267. MagC.Parent = Tool
  1268. MagC.Name = "MagC"
  1269. MagC.Transparency = 0
  1270.  
  1271. local MagCW = Instance.new("Motor6D")
  1272. MagCW.Part0 = MagC
  1273. MagCW.Part1 = Player.Character["Left Arm"]
  1274. MagCW.Parent = MagC
  1275. MagCW.C1 = MagC.CFrame:toObjectSpace(Tool.Mag.CFrame)
  1276.  
  1277. wait(0.75 * (GunSetup.AnimSpeed/1))
  1278.  
  1279.  
  1280. tweenJoint(RAW, CFrame.new(-0.875, -0.465, -1.15) * CFrame.Angles(math.rad(-95), math.rad(-2), math.rad(7.5)) , nil, function(X) return math.sin(math.rad(X)) end, 0.325 * GunSetup.AnimSpeed)
  1281. tweenJoint(LAW, CFrame.new(1.195,-0.35,-1.48) * CFrame.Angles(math.rad(-100),math.rad(45),math.rad(0)) , nil, function(X) return math.sin(math.rad(X)) end, 0.275 * GunSetup.AnimSpeed)
  1282. wait(0.12 * (GunSetup.AnimSpeed/1))
  1283. Animando = false
  1284.  
  1285. --[[wait(0.15 * GunSetup.AnimSpeed)
  1286. MagC:Destroy()
  1287. Tool.Mag.Transparency = 0
  1288. wait(0.35 * GunSetup.AnimSpeed)]]
  1289.  
  1290. end
  1291. end
  1292. function UNSeeMag()
  1293. if Equipped then
  1294. Animando = true
  1295. local MagC = Tool:WaitForChild("MagC")
  1296.  
  1297. local MagCW = script.Parent.MagC.Motor6D
  1298.  
  1299. wait(0.75 * (GunSetup.AnimSpeed/1))
  1300.  
  1301. tweenJoint(RAW, CFrame.new(-0.875, -0.465, -1.15) * CFrame.Angles(math.rad(-95), math.rad(-2), math.rad(7.5)) , nil, function(X) return math.sin(math.rad(X)) end, 0.325 * GunSetup.AnimSpeed)
  1302. tweenJoint(LAW, CFrame.new(1.195,-0.35,-1.48) * CFrame.Angles(math.rad(-100),math.rad(75),math.rad(0)) , nil, function(X) return math.sin(math.rad(X)) end, 0.275 * GunSetup.AnimSpeed)
  1303.  
  1304. wait(0.15 * GunSetup.AnimSpeed)
  1305. Tool.Handle.MagIn:Play()
  1306. MagC:Destroy()
  1307. Tool.Mag.Transparency = 0
  1308. wait(0.35 * GunSetup.AnimSpeed)
  1309. tweenJoint(RAW, CFrame.new(0.213, -0.265, -1.25) * CFrame.Angles(math.rad(-90), math.rad(7.5), math.rad(-50.5)) , nil, function(X) return math.sin(math.rad(X)) end, 0.325 * GunSetup.AnimSpeed)
  1310. tweenJoint(LAW, CFrame.new(1.25,0.55,-1.08) * CFrame.Angles(math.rad(-100),math.rad(25),math.rad(-41)) , nil, function(X) return math.sin(math.rad(X)) end, 0.375 * GunSetup.AnimSpeed)
  1311. wait(0.12 * (GunSetup.AnimSpeed/1))
  1312. Animando = false
  1313. end
  1314. end
  1315.  
  1316.  
  1317.  
  1318.  
  1319. function CheckAnim()
  1320. if Equipped then
  1321. Animando = true
  1322. tweenJoint(RAW, CFrame.new(-0.475, 0.665, -1.285) * CFrame.Angles(math.rad(-100), math.rad(-15), math.rad(-50)) , nil, function(X) return math.sin(math.rad(X)) end, 0.17257325 * GunSetup.AnimSpeed)
  1323. tweenJoint(LAW, CFrame.new(1.29845,0.35,-1.05) * CFrame.Angles(math.rad(-115),math.rad(45),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.27257325 * GunSetup.AnimSpeed)
  1324. wait(0.20 * (GunSetup.AnimSpeed/1))
  1325. Animando = false
  1326.  
  1327. end
  1328. end
  1329.  
  1330.  
  1331.  
  1332. function ChamberAnim()
  1333. if Equipped then
  1334. Animando = true
  1335. tweenJoint(RAW, CFrame.new(-0.475, 0.665, -1.285) * CFrame.Angles(math.rad(-100), math.rad(-15), math.rad(-50)) , nil, function(X) return math.sin(math.rad(X)) end, 0.17257325 * GunSetup.AnimSpeed)
  1336. tweenJoint(LAW, CFrame.new(1.29845,0.35,-1.05) * CFrame.Angles(math.rad(-115),math.rad(45),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.27257325 * GunSetup.AnimSpeed)
  1337. wait(0.15 * (GunSetup.AnimSpeed/2))
  1338. Tool.Handle.MagIn:Play()
  1339. tweenJoint(RAW, CFrame.new(-0.475, 0.665, -1.285) * CFrame.Angles(math.rad(-93), math.rad(-15), math.rad(-50)) , nil, function(X) return math.sin(math.rad(X)) end, 0.22257325 * GunSetup.AnimSpeed)
  1340. tweenJoint(LAW, CFrame.new(1.39845,0.047265,-1.05) * CFrame.Angles(math.rad(-115),math.rad(65),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.27257325 * GunSetup.AnimSpeed)
  1341. wait(0.12 * (GunSetup.AnimSpeed/1))
  1342. Animando = false
  1343. end
  1344. end
  1345.  
  1346.  
  1347. function ChamberBKAnim()
  1348. if Equipped then
  1349. Animando = true
  1350. tweenJoint(RAW, CFrame.new(-0.475, 0.665, -1.285) * CFrame.Angles(math.rad(-100), math.rad(-15), math.rad(-50)) , nil, function(X) return math.sin(math.rad(X)) end, 0.17257325 * GunSetup.AnimSpeed)
  1351. tweenJoint(LAW, CFrame.new(1.29845,0.05,-1.05) * CFrame.Angles(math.rad(-115),math.rad(45),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.27257325 * GunSetup.AnimSpeed)
  1352. wait(0.15 * (GunSetup.AnimSpeed/2))
  1353. Tool.Handle.MagIn:Play()
  1354. tweenJoint(RAW, CFrame.new(-0.475, 0.665, -1.285) * CFrame.Angles(math.rad(-100), math.rad(-15), math.rad(-50)) , nil, function(X) return math.sin(math.rad(X)) end, 0.17257325 * GunSetup.AnimSpeed)
  1355. tweenJoint(LAW, CFrame.new(1.29845,0.35,-1.05) * CFrame.Angles(math.rad(-115),math.rad(45),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.27257325 * GunSetup.AnimSpeed)
  1356. wait(0.12 * (GunSetup.AnimSpeed/1))
  1357. Animando = false
  1358.  
  1359. end
  1360. end
  1361.  
  1362.  
  1363.  
  1364.  
  1365. function FastReloadAnim()
  1366. if Equipped then
  1367. tweenJoint(RAW, CFrame.new(-1.35,0,-0.85) * CFrame.Angles(math.rad(-110),math.rad(-20),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.37257325 * GunSetup.AnimSpeed)
  1368. tweenJoint(LAW, CFrame.new(0.45,0.35,-1.275) * CFrame.Angles(math.rad(-115),math.rad(30),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.37257325 * GunSetup.AnimSpeed)
  1369. wait(0.55 * GunSetup.AnimSpeed)
  1370.  
  1371. tweenJoint(RAW, RAW.C0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(-20),math.rad(0),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.37257325 * GunSetup.AnimSpeed)
  1372. tweenJoint(LAW, CFrame.new(1.25,1.3,-0.55) * CFrame.Angles(math.rad(-10),math.rad(35),math.rad(0)) , nil, function(X) return math.sin(math.rad(X)) end, 0.37257325 * GunSetup.AnimSpeed)
  1373. Tool.Handle.MagOut:Play()
  1374.  
  1375. local MagC = Tool:WaitForChild("Mag"):clone()
  1376. Tool.Mag.Transparency = 1
  1377. MagC.Parent = Tool
  1378. MagC.Name = "MagC"
  1379. MagC.Transparency = 0
  1380.  
  1381. local MagCW = Instance.new("Motor6D")
  1382. MagCW.Part0 = MagC
  1383. MagCW.Part1 = Player.Character["Left Arm"]
  1384. MagCW.Parent = MagC
  1385. MagCW.C1 = MagC.CFrame:toObjectSpace(Tool.Mag.CFrame)
  1386.  
  1387. wait(0.65 * (GunSetup.AnimSpeed/1))
  1388. AmmoGui.Frame.AText.Visible = true
  1389. tweenJoint(LAW, CFrame.new(1.195,-0.45,-1.38) * CFrame.Angles(math.rad(-100),math.rad(45),math.rad(0)) , nil, function(X) return math.sin(math.rad(X)) end, 0.375 * GunSetup.AnimSpeed)
  1390. wait(0.55 * GunSetup.AnimSpeed)
  1391.  
  1392. if (StoredAmmo.Value - (GunSetup.Ammo - Ammo)) < 0 then
  1393. Ammo = Ammo + StoredAmmo.Value
  1394. StoredAmmo.Value = 0
  1395. elseif Ammo <= 0 then
  1396. StoredAmmo.Value = StoredAmmo.Value - (GunSetup.Ammo - Ammo)
  1397. Ammo = GunSetup.Ammo
  1398. Chambered = false
  1399. elseif Ammo > 0 and Chambered and GunSetup.Chamber then
  1400. StoredAmmo.Value = StoredAmmo.Value - (GunSetup.Ammo - Ammo)
  1401. Ammo = GunSetup.Ammo + 1
  1402. elseif Ammo > 0 and Chambered and not GunSetup.Chamber then
  1403. StoredAmmo.Value = StoredAmmo.Value - (GunSetup.Ammo - Ammo)
  1404. Ammo = GunSetup.Ammo
  1405. end
  1406.  
  1407. tweenJoint(RAW, CFrame.new(-1.35,0,-0.85) * CFrame.Angles(math.rad(-110),math.rad(-20),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.37257325 * GunSetup.AnimSpeed)
  1408. tweenJoint(LAW, CFrame.new(0.45,0.35,-1.275) * CFrame.Angles(math.rad(-115),math.rad(30),math.rad(15)) , nil, function(X) return math.sin(math.rad(X)) end, 0.30257325 * GunSetup.AnimSpeed)
  1409. wait(0.235 * GunSetup.AnimSpeed)
  1410. Tool.Handle.MagIn:Play()
  1411. wait(0.16 * GunSetup.AnimSpeed)
  1412. MagC:Destroy()
  1413. Tool.Mag.Transparency = 0
  1414. AmmoGui.Frame.AText.Visible = false
  1415.  
  1416. wait(0.35 * GunSetup.AnimSpeed)
  1417.  
  1418.  
  1419. end
  1420. end
  1421.  
  1422. function FastBolt()
  1423.  
  1424. tweenJoint(RAW, CFrame.new(0.213, -0.265, -1.25) * CFrame.Angles(math.rad(-90), math.rad(7.5), math.rad(-50.5)) , nil, function(X) return math.sin(math.rad(X)) end, 0.325 * GunSetup.AnimSpeed)
  1425. tweenJoint(LAW, CFrame.new(0.75,-0.6,-0.85) * CFrame.Angles(math.rad(-140),math.rad(70),math.rad(40)) , nil, function(X) return math.sin(math.rad(X)) end, 0.375 * GunSetup.AnimSpeed)
  1426. wait(0.55 * (GunSetup.AnimSpeed/2))
  1427. tweenJoint(RAW, CFrame.new(0.213, -0.265, -1.25) * CFrame.Angles(math.rad(-90), math.rad(7.5), math.rad(-50.5)) , nil, function(X) return math.sin(math.rad(X)) end, 0.325 * GunSetup.AnimSpeed)
  1428. tweenJoint(LAW, CFrame.new(0.75,-0.6,-0.85) * CFrame.Angles(math.rad(-140),math.rad(70),math.rad(40)) , nil, function(X) return math.sin(math.rad(X)) end, 0.375 * GunSetup.AnimSpeed)
  1429. wait(0.3 * (GunSetup.AnimSpeed/2))
  1430. Tool.Handle.MagIn:Play()
  1431. tweenJoint(RAW, CFrame.new(0.213, -0.265, -1.25) * CFrame.Angles(math.rad(-90), math.rad(7.5), math.rad(-50.5)) , nil, function(X) return math.sin(math.rad(X)) end, 0.325 * GunSetup.AnimSpeed)
  1432. tweenJoint(LAW, CFrame.new(0.195,-0.8,-0.85) * CFrame.Angles(math.rad(-140),math.rad(70),math.rad(40)) , nil, function(X) return math.sin(math.rad(X)) end, 0.375 * GunSetup.AnimSpeed)
  1433.  
  1434. slideback = true
  1435. Emperrado = false
  1436. if Ammo > 0 and Chambered then
  1437. EjectShells()
  1438. Ammo = Ammo - 1
  1439. print(Ammo)
  1440. end
  1441.  
  1442. wait(0.75 * (GunSetup.AnimSpeed/2))
  1443. Tool.Handle.MagIn:Play()
  1444. tweenJoint(RAW, CFrame.new(0.213, -0.265, -1.25) * CFrame.Angles(math.rad(-90), math.rad(7.5), math.rad(-50.5)) , nil, function(X) return math.sin(math.rad(X)) end, 0.325 * GunSetup.AnimSpeed)
  1445. tweenJoint(LAW, CFrame.new(0.75,-0.6,-0.85) * CFrame.Angles(math.rad(-140),math.rad(70),math.rad(40)) , nil, function(X) return math.sin(math.rad(X)) end, 0.375 * GunSetup.AnimSpeed)
  1446.  
  1447. slideback = false
  1448. Chambered = true
  1449.  
  1450. wait(0.25 * (GunSetup.AnimSpeed/2))
  1451. tweenJoint(RAW, GunSetup.RightPos , nil, function(X) return math.sin(math.rad(X)) end, 0.225 * GunSetup.AnimSpeed)
  1452. tweenJoint(LAW, GunSetup.LeftPos , nil, function(X) return math.sin(math.rad(X)) end, 0.215 * GunSetup.AnimSpeed)
  1453.  
  1454. end
  1455.  
  1456.  
  1457. function GLReloadAnim()
  1458. if Equipped then
  1459.  
  1460.  
  1461. tweenJoint(RAW, CFrame.new(-0.975, -0.365, -1.2) * CFrame.Angles(math.rad(-85), math.rad(-2), math.rad(9)) , nil, function(X) return math.sin(math.rad(X)) end, 0.525 * GunSetup.AnimSpeed)
  1462. tweenJoint(LAW, CFrame.new(1,0,-1.795) * CFrame.Angles(math.rad(-120),math.rad(45),math.rad(5)) , nil, function(X) return math.sin(math.rad(X)) end, 0.375 * GunSetup.AnimSpeed)
  1463.  
  1464. wait(0.25 * (GunSetup.AnimSpeed/1))
  1465.  
  1466. tweenJoint(RAW, CFrame.new(-0.875, -0.465, -1.15) * CFrame.Angles(math.rad(-95), math.rad(-2), math.rad(7.5)) , nil, function(X) return math.sin(math.rad(X)) end, 0.425 * GunSetup.AnimSpeed)
  1467. tweenJoint(LAW, CFrame.new(1.195,1.4,-0.5) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)) , nil, function(X) return math.sin(math.rad(X)) end, 0.375 * GunSetup.AnimSpeed)
  1468.  
  1469.  
  1470. wait(0.75 * (GunSetup.AnimSpeed/1))
  1471.  
  1472.  
  1473. Tool.Handle.MagOut:Play()
  1474.  
  1475. tweenJoint(RAW, CFrame.new(-0.975, -0.365, -1.2) * CFrame.Angles(math.rad(-85), math.rad(-2), math.rad(9)) , nil, function(X) return math.sin(math.rad(X)) end, 0.525 * GunSetup.AnimSpeed)
  1476. tweenJoint(LAW, CFrame.new(1,0,-1.795) * CFrame.Angles(math.rad(-120),math.rad(45),math.rad(5)) , nil, function(X) return math.sin(math.rad(X)) end, 0.375 * GunSetup.AnimSpeed)
  1477.  
  1478. if (StoredAmmo.Value - (GunSetup.Ammo - Ammo)) < 0 then
  1479. Ammo = Ammo + StoredAmmo.Value
  1480. StoredAmmo.Value = 0
  1481. elseif Ammo <= 0 then
  1482. StoredAmmo.Value = StoredAmmo.Value - (GunSetup.Ammo - Ammo)
  1483. Ammo = GunSetup.Ammo
  1484. Chambered = false
  1485. elseif Ammo > 0 and Chambered and GunSetup.Chamber then
  1486. StoredAmmo.Value = StoredAmmo.Value - (GunSetup.Ammo - Ammo)
  1487. Ammo = GunSetup.Ammo + 1
  1488. elseif Ammo > 0 and Chambered and not GunSetup.Chamber then
  1489. StoredAmmo.Value = StoredAmmo.Value - (GunSetup.Ammo - Ammo)
  1490. Ammo = GunSetup.Ammo
  1491. end
  1492.  
  1493. wait(0.75 * GunSetup.AnimSpeed)
  1494.  
  1495. tweenJoint(RAW, CFrame.new(0.213, -0.265, -1.25) * CFrame.Angles(math.rad(-90), math.rad(7.5), math.rad(-50.5)) , nil, function(X) return math.sin(math.rad(X)) end, 0.325 * GunSetup.AnimSpeed)
  1496. tweenJoint(LAW, CFrame.new(1.25,0.55,-1.08) * CFrame.Angles(math.rad(-100),math.rad(25),math.rad(-41)) , nil, function(X) return math.sin(math.rad(X)) end, 0.375 * GunSetup.AnimSpeed)
  1497.  
  1498. end
  1499. end
  1500.  
  1501. -----------------------ADS Function------------------------------
  1502.  
  1503.  
  1504.  
  1505.  
  1506.  
  1507.  
  1508.  
  1509.  
  1510.  
  1511.  
  1512. Mouse.Button2Down:connect(function()
  1513. if Equipped then
  1514. if not Aiming and not Reloading and not GLReloading and not Sprinting and not Safemode and not Checando then
  1515. Aiming = true
  1516. -- Mouse.Icon = GunSetup.Cursor.Aiming
  1517. if AimPartMode == 1 then
  1518. tweenJoint(RAW, RAW.C0 * CFrame.new(-Tool.AimPart.CFrame:toObjectSpace(Character.Head.CFrame).p), nil, function(X) return math.sin(math.rad(X)) end, 0.25 * GunSetup.AnimSpeed)
  1519. tweenJoint(LAW, GunSetup.LeftAimPosition , nil, function(X) return math.sin(math.rad(X)) end, 0.25 * GunSetup.AnimSpeed)
  1520. tweenFoV(GunSetup.FOV1, 40)
  1521. end
  1522. if AimPartMode == 2 then
  1523. tweenJoint(RAW, RAW.C0 * CFrame.new(-Tool.AimPart2.CFrame:toObjectSpace(Character.Head.CFrame).p), nil, function(X) return math.sin(math.rad(X)) end, 0.25 * GunSetup.AnimSpeed)
  1524. tweenJoint(LAW, GunSetup.LeftAim2Position , nil, function(X) return math.sin(math.rad(X)) end, 0.25 * GunSetup.AnimSpeed)
  1525. tweenFoV(GunSetup.FOV2, 40)
  1526. end
  1527.  
  1528. game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
  1529. end
  1530. end
  1531. end)
  1532.  
  1533. Mouse.Button2Up:connect(function()
  1534. if Equipped then
  1535. if Aiming then
  1536. Aiming = false
  1537. -- Mouse.Icon = GunSetup.Cursor.Aiming
  1538. if not Safemode then
  1539. IdleOrSteadyAnim()
  1540. tweenFoV(70, 40)
  1541. end
  1542. end
  1543. end
  1544. end)
  1545.  
  1546.  
  1547. -----------------------shooting function-----------------
  1548.  
  1549. function Rand(Min, Max, Accuracy)
  1550. local Inverse = 1 / (Accuracy or 1)
  1551. return (math.random(Min * Inverse, Max * Inverse) / Inverse)
  1552. end
  1553.  
  1554. function GetHitSurfaceCFrame(HitPos,Obj)
  1555. local SurfaceCF = {
  1556. {"Back",Obj.CFrame * CFrame.new(0,0,Obj.Size.z)};
  1557. {"Bottom",Obj.CFrame * CFrame.new(0,-Obj.Size.y,0)};
  1558. {"Front",Obj.CFrame * CFrame.new(0,0,-Obj.Size.z)};
  1559. {"Left",Obj.CFrame * CFrame.new(-Obj.Size.x,0,0)};
  1560. {"Right",Obj.CFrame * CFrame.new(Obj.Size.x,0,0)};
  1561. {"Top",Obj.CFrame * CFrame.new(0,Obj.Size.y,0)}
  1562. }
  1563. local ClosestDist = math.huge
  1564. local ClosestSurface = nil
  1565. for _,v in pairs(SurfaceCF) do
  1566. local SurfaceDist = (HitPos - v[2].p).magnitude
  1567. if SurfaceDist < ClosestDist then
  1568. ClosestDist = SurfaceDist
  1569. ClosestSurface = v
  1570. end
  1571. end
  1572. return ClosestSurface[2]
  1573. end
  1574.  
  1575.  
  1576.  
  1577. local Bullet
  1578. local HitMark
  1579. local BulletModel = workspace:FindFirstChild("Ray_Ignore") or Instance.new("Model", workspace)
  1580. BulletModel.Name = "Ray_Ignore"
  1581. spawn(function()
  1582. while true do
  1583. BulletModel.Parent = game.Workspace
  1584. wait(1 / 20)
  1585. end
  1586. end)
  1587.  
  1588. local Ray_Ignore = {Character, BulletModel, Camera}
  1589.  
  1590. function CreateBullet()
  1591.  
  1592. local Origin = Tool.FirePart.Position
  1593. local Direction = Tool.FirePart.CFrame.lookVector
  1594. local BulletCF = CFrame.new(Origin, Origin + Direction)
  1595.  
  1596. Bullet = Instance.new("Part")
  1597. game.Debris:AddItem(Bullet, 3)
  1598. Bullet.Name = "Bullet"
  1599. Bullet.Shape = Enum.PartType.Ball
  1600. Bullet.Size = Vector3.new(0.2, 0.2, 0.2)
  1601. Bullet.TopSurface = "Smooth"
  1602. Bullet.BottomSurface = "Smooth"
  1603. Bullet.BrickColor = BrickColor.new("Bright yellow")
  1604. Bullet.Material = "Neon"
  1605. Bullet.Transparency = 0
  1606. Bullet.CanCollide = false
  1607. Bullet.CFrame = Tool.FirePart.CFrame + (Tool.FirePart.CFrame.p - Tool.FirePart.CFrame.p)
  1608. Bullet.CFrame = CFrame.new(Tool.FirePart.CFrame.p, Tool.FirePart.CFrame.p + Tool.FirePart.CFrame.lookVector)
  1609. local BM = Instance.new("SpecialMesh", Bullet)
  1610. BM.MeshType = "Brick"
  1611. BM.Scale = Vector3.new(0.2,0.2,25)
  1612. local BulletMass = Bullet.Size.X * Bullet.Size.Y * Bullet.Size.Z
  1613. local BF = Instance.new("BodyForce")
  1614. BF.force = Vector3.new(0, BulletMass * (65 - GunSetup.BDrop), 0)
  1615. BF.Parent = Bullet
  1616. Bullet.Velocity = Direction * 1000
  1617. Bullet.CFrame = BulletCF + Direction
  1618.  
  1619. if GunSetup.BSpeed >= 343 then
  1620. local BulletWhizz = Instance.new("Sound")
  1621. BulletWhizz.Parent = Bullet
  1622. BulletWhizz.Pitch = 1
  1623. BulletWhizz.Looped = true
  1624. BulletWhizz.EmitterSize = 25
  1625. BulletWhizz.MaxDistance = 500
  1626. BulletWhizz.SoundId = "rbxassetid://151284431"
  1627. BulletWhizz:Play()
  1628. end
  1629.  
  1630. return Bullet
  1631.  
  1632. end
  1633.  
  1634. function CreateBulletImpact(HitPos, HitObj, HumanoidFound)
  1635. local SurfaceCF = GetHitSurfaceCFrame(HitPos, HitObj)
  1636. local SurfaceDir = CFrame.new(HitObj.CFrame.p, SurfaceCF.p)
  1637. local SurfaceDist = SurfaceDir.lookVector * (HitObj.CFrame.p - SurfaceCF.p).magnitude / 2
  1638. local SurfaceOffset = HitPos - SurfaceCF.p + SurfaceDist
  1639. local SurfaceCFrame = SurfaceDir + SurfaceDist + SurfaceOffset
  1640.  
  1641. HitMark = Instance.new("Part")
  1642. HitMark.BrickColor = BrickColor.new("Black")
  1643. HitMark.Transparency = 1
  1644. HitMark.Anchored = true
  1645. HitMark.CanCollide = false
  1646. HitMark.FormFactor = "Custom"
  1647. HitMark.Size = Vector3.new(math.random(1,1.5), math.random(1,1.5), 0.2)
  1648. HitMark.TopSurface = 0
  1649. HitMark.BottomSurface = 0
  1650. local Mesh = Instance.new("BlockMesh")
  1651. Mesh.Offset = Vector3.new(0, 0, -0.05)
  1652. Mesh.Scale = Vector3.new(-0.25, -0.25, 0)
  1653. Mesh.Parent = HitMark
  1654.  
  1655. local mat = HitObj.Material
  1656.  
  1657. if mat == Enum.Material.Wood or mat == Enum.Material.WoodPlanks then
  1658. local BulletWhizz = Instance.new("Sound")
  1659. BulletWhizz.Parent = HitMark
  1660. BulletWhizz.Pitch = BulletWhizz.Pitch * math.random(34, 46)/40
  1661. BulletWhizz.SoundId = "rbxassetid://142082171"
  1662. BulletWhizz:Play()
  1663.  
  1664. if game.ReplicatedStorage:FindFirstChild("Dust" or "Smoke") then
  1665. local D1 = game.ReplicatedStorage.Dust:clone()
  1666. D1.Parent = HitMark
  1667. D1.Enabled = true
  1668. end
  1669.  
  1670.  
  1671. local Decal = Instance.new("Decal")
  1672. Decal.Face = Enum.NormalId.Front
  1673. Decal.Texture = "http://www.roblox.com/asset/?id=64291961"
  1674. Decal.Parent = HitMark
  1675. HitMark.Parent = BulletModel
  1676. HitMark.CFrame = SurfaceCFrame
  1677. local Particles = Instance.new("ParticleEmitter")
  1678. Particles.Color = ColorSequence.new(Color3.new(255, 255, 255))
  1679. Particles.LightEmission = 0
  1680. Particles.Size = NumberSequence.new(0.25)
  1681. Particles.Texture = "http://www.roblox.com/asset/?id=434255560"
  1682. Particles.Transparency = NumberSequence.new(
  1683. {
  1684. NumberSequenceKeypoint.new(0, 0.25, 0.25);
  1685. NumberSequenceKeypoint.new(1, 1);
  1686. }
  1687. )
  1688. Particles.Acceleration = Vector3.new(0, -196.2, 0)
  1689. Particles.Lifetime = NumberRange.new(0.25 - 0.05, 0.25 + 0.15)
  1690. Particles.Rate = 500
  1691. Particles.RotSpeed = NumberRange.new(360)
  1692. Particles.Speed = NumberRange.new(25 - 0, 25 + 0)
  1693. Particles.VelocitySpread = 45
  1694. Particles.Parent = HitMark
  1695. Particles.EmissionDirection = "Top"
  1696. game.Debris:AddItem(Particles, 0.2)
  1697. game.Debris:AddItem(HitMark, 0.95)
  1698.  
  1699. elseif mat == Enum.Material.Plastic and HitObj.Name == "Head" or HitObj.Name == "Torso" or HitObj.Name == "Right Arm" or HitObj.Name == "Left Arm" or HitObj.Name == "Right Leg" or HitObj.Name == "Left Leg" then
  1700.  
  1701. local BulletWhizz = Instance.new("Sound")
  1702. BulletWhizz.Parent = HitMark
  1703. BulletWhizz.Pitch = BulletWhizz.Pitch * math.random(34, 46)/40
  1704. BulletWhizz.SoundId = "rbxassetid://330595293"
  1705. BulletWhizz:Play()
  1706.  
  1707. local Decal = Instance.new("Decal")
  1708. Decal.Face = Enum.NormalId.Front
  1709. Decal.Texture = "http://www.roblox.com/asset/?id=112969718"
  1710. Decal.Parent = HitMark
  1711. HitMark.Parent = BulletModel
  1712. HitMark.CFrame = SurfaceCFrame
  1713. local Particles = Instance.new("ParticleEmitter")
  1714. Particles.Color = ColorSequence.new(Color3.new(25, 0, 0))
  1715. Particles.LightEmission = 0
  1716. Particles.Size = NumberSequence.new(.5)
  1717. Particles.Texture = "http://www.roblox.com/asset/?id=176677966"
  1718. Particles.Transparency = NumberSequence.new(
  1719. {
  1720. NumberSequenceKeypoint.new(0, 0, 0);
  1721. NumberSequenceKeypoint.new(1, 1);
  1722. }
  1723. )
  1724. Particles.Acceleration = Vector3.new(0, 0, 0)
  1725. Particles.Lifetime = NumberRange.new(0.1 - 0.05, 0.1 + 0.05)
  1726. Particles.Rate = 500
  1727. Particles.RotSpeed = NumberRange.new(1000)
  1728. Particles.Speed = NumberRange.new(0 - 0, 0 + 0)
  1729. Particles.VelocitySpread = 0
  1730. Particles.Parent = HitMark
  1731. Particles.EmissionDirection = "Top"
  1732. game.Debris:AddItem(Particles, 0.2)
  1733. game.Debris:AddItem(HitMark, 0.95)
  1734.  
  1735.  
  1736. elseif mat == Enum.Material.Concrete or mat == Enum.Material.Slate or mat == Enum.Material.Cobblestone or mat == Enum.Material.Brick or mat == Enum.Material.Granite or mat == Enum.Material.Granite or mat == Enum.Material.Plastic or mat == Enum.Material.SmoothPlastic then
  1737. local BulletWhizz = Instance.new("Sound")
  1738. BulletWhizz.Parent = HitMark
  1739. BulletWhizz.Pitch = BulletWhizz.Pitch * math.random(34, 46)/40
  1740. BulletWhizz.SoundId = "rbxassetid://142082166"
  1741. BulletWhizz:Play()
  1742.  
  1743. if game.ReplicatedStorage:FindFirstChild("Dust" or "Smoke") then
  1744. local D1 = game.ReplicatedStorage.Dust:clone()
  1745. D1.Parent = HitMark
  1746. D1.Enabled = true
  1747. local D2 = game.ReplicatedStorage.Smoke:clone()
  1748. D2.Parent = HitMark
  1749. D2.Enabled = true
  1750. end
  1751.  
  1752. local Decal = Instance.new("Decal")
  1753. Decal.Face = Enum.NormalId.Front
  1754. Decal.Texture = "http://www.roblox.com/asset/?id=64291961"
  1755. Decal.Parent = HitMark
  1756. HitMark.Parent = BulletModel
  1757. HitMark.CFrame = SurfaceCFrame
  1758. local Particles = Instance.new("ParticleEmitter")
  1759. Particles.Color = ColorSequence.new(Color3.new(50, 50, 50))
  1760. Particles.LightEmission = 0
  1761. Particles.Size = NumberSequence.new(0.25)
  1762. Particles.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1763. Particles.Transparency = NumberSequence.new(
  1764. {
  1765. NumberSequenceKeypoint.new(0, 0.25, 0.25);
  1766. NumberSequenceKeypoint.new(1, 1);
  1767. }
  1768. )
  1769. Particles.Acceleration = Vector3.new(0, -196.2, 0)
  1770. Particles.Lifetime = NumberRange.new(0.1 - 0.05, 0.1 + 0.05)
  1771. Particles.Rate = 500
  1772. Particles.RotSpeed = NumberRange.new(360)
  1773. Particles.Speed = NumberRange.new(25 - 5, 25 + 5)
  1774. Particles.VelocitySpread = 45
  1775. Particles.Parent = HitMark
  1776. Particles.EmissionDirection = "Top"
  1777. game.Debris:AddItem(Particles, 0.2)
  1778. game.Debris:AddItem(HitMark, 0.95)
  1779.  
  1780. elseif mat == Enum.Material.Grass or mat == Enum.Material.Sand then
  1781. local BulletWhizz = Instance.new("Sound")
  1782. BulletWhizz.Parent = HitMark
  1783. BulletWhizz.Pitch = BulletWhizz.Pitch * math.random(34, 46)/40
  1784. BulletWhizz.SoundId = "rbxassetid://133758545"
  1785. BulletWhizz:Play()
  1786.  
  1787. if game.ReplicatedStorage:FindFirstChild("Dust" or "Smoke") then
  1788. local D1 = game.ReplicatedStorage.Dust:clone()
  1789. D1.Parent = HitMark
  1790. D1.Enabled = true
  1791. local D2 = game.ReplicatedStorage.Smoke:clone()
  1792. D2.Parent = HitMark
  1793. D2.Enabled = true
  1794. end
  1795.  
  1796. if game.ReplicatedStorage:FindFirstChild("Dust" or "Smoke") then
  1797. local D1 = game.ReplicatedStorage.Dust:clone()
  1798. D1.Parent = HitMark
  1799. D1.Enabled = true
  1800. local D2 = game.ReplicatedStorage.Smoke:clone()
  1801. D2.Parent = HitMark
  1802. D2.Enabled = true
  1803. end
  1804.  
  1805. local Decal = Instance.new("Decal")
  1806. Decal.Face = Enum.NormalId.Front
  1807. Decal.Texture = "http://www.roblox.com/asset/?id=64291961"
  1808. Decal.Parent = HitMark
  1809. HitMark.Parent = BulletModel
  1810. HitMark.CFrame = SurfaceCFrame
  1811. local Particles = Instance.new("ParticleEmitter")
  1812. Particles.Color = ColorSequence.new(Color3.new(50, 50, 50))
  1813. Particles.LightEmission = 0
  1814. Particles.Size = NumberSequence.new(0.25)
  1815. Particles.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1816. Particles.Transparency = NumberSequence.new(
  1817. {
  1818. NumberSequenceKeypoint.new(0, 0.25, 0.25);
  1819. NumberSequenceKeypoint.new(1, 1);
  1820. }
  1821. )
  1822. Particles.Acceleration = Vector3.new(0, -196.2, 0)
  1823. Particles.Lifetime = NumberRange.new(0.1 - 0.05, 0.1 + 0.05)
  1824. Particles.Rate = 500
  1825. Particles.RotSpeed = NumberRange.new(360)
  1826. Particles.Speed = NumberRange.new(25 - 5, 25 + 5)
  1827. Particles.VelocitySpread = 45
  1828. Particles.Parent = HitMark
  1829. Particles.EmissionDirection = "Top"
  1830. game.Debris:AddItem(Particles, 0.2)
  1831. game.Debris:AddItem(HitMark, 0.95)
  1832.  
  1833. elseif mat == Enum.Material.CorrodedMetal or mat == Enum.Material.Metal or mat == Enum.Material.DiamondPlate then
  1834. local BulletWhizz = Instance.new("Sound")
  1835. BulletWhizz.Parent = HitMark
  1836. BulletWhizz.Pitch = BulletWhizz.Pitch * math.random(34, 46)/40
  1837. BulletWhizz.SoundId = "rbxassetid://142082170"
  1838. BulletWhizz:Play()
  1839.  
  1840. local Decal = Instance.new("Decal")
  1841. Decal.Face = Enum.NormalId.Front
  1842. Decal.Texture = "http://www.roblox.com/asset/?id=64291961"
  1843. Decal.Parent = HitMark
  1844. HitMark.Parent = BulletModel
  1845. HitMark.CFrame = SurfaceCFrame
  1846. local Particles = Instance.new("ParticleEmitter")
  1847. Particles.Color = ColorSequence.new(Color3.new(255, 200, 0))
  1848. Particles.LightEmission = 1
  1849. Particles.Size = NumberSequence.new(0.075)
  1850. Particles.Texture = "http://www.roblox.com/asset/?id=416917683"
  1851. Particles.Transparency = NumberSequence.new(
  1852. {
  1853. NumberSequenceKeypoint.new(0, 0.25, 0.25);
  1854. NumberSequenceKeypoint.new(1, 1);
  1855. }
  1856. )
  1857. Particles.Acceleration = Vector3.new(0, -196.2, 0)
  1858. Particles.Lifetime = NumberRange.new(0.1 - 0.05, 0.1 + 0.05)
  1859. Particles.Rate = 500
  1860. Particles.RotSpeed = NumberRange.new(360)
  1861. Particles.Speed = NumberRange.new(25 - 5, 25 + 5)
  1862. Particles.VelocitySpread = 45
  1863. Particles.Parent = HitMark
  1864. Particles.EmissionDirection = "Top"
  1865. game.Debris:AddItem(Particles, 0.2)
  1866. game.Debris:AddItem(HitMark, 0.95)
  1867.  
  1868.  
  1869. else
  1870. local BulletWhizz = Instance.new("Sound")
  1871. BulletWhizz.Parent = HitMark
  1872. BulletWhizz.Pitch = BulletWhizz.Pitch * math.random(34, 46)/40
  1873. BulletWhizz.SoundId = "rbxassetid://142082166"
  1874. BulletWhizz:Play()
  1875. end
  1876.  
  1877.  
  1878.  
  1879. end
  1880.  
  1881.  
  1882.  
  1883.  
  1884. --rocket.Touched:connect(function(hit)
  1885.  
  1886. function EjectShells()
  1887. shell = Shell:clone()
  1888. shell.CFrame = Tool.Chamber.CFrame * CFrame.fromEulerAnglesXYZ(2.5,1,1.25)
  1889. shell.Velocity = Tool.Chamber.CFrame.lookVector * 20 + Vector3.new(0,10,0)
  1890. shell.RotVelocity = Vector3.new(-10,40,30)
  1891. shell.Parent = BulletModel
  1892. game:GetService("Debris"):addItem(shell,0.125)
  1893. print("Ejecting Shell")
  1894.  
  1895. end
  1896. local connection
  1897.  
  1898. function M203()
  1899. if GunSetup.GrenadeLauncher == true then
  1900. Tool.Handle.M203:Play()
  1901. local M203 = game.ReplicatedStorage.M203["M203"]:clone()
  1902. M203.Parent = game.Workspace
  1903. M203.CFrame = Tool.FirePart2.CFrame*CFrame.new(.15,-0.7,-5.5)
  1904.  
  1905. if GunSetup.M203Ammo == 1 then
  1906. M203.Velocity = Tool.FirePart2.CFrame.lookVector*(500-196.2)
  1907. end
  1908. if GunSetup.M203Ammo == 2 then
  1909. M203.Velocity = Tool.FirePart2.CFrame.lookVector*(575-196.2)
  1910. end
  1911.  
  1912. if GunSetup.M203Ammo == 1 then
  1913. local Explosion =Instance.new("Explosion")
  1914. Explosion.BlastRadius=15
  1915. Explosion.BlastPressure=0
  1916. damage = math.random(80,120)
  1917. M203.Touched:connect(function(Hit)
  1918. Explosion.Hit:connect(Damage)
  1919. Explosion.Position= M203.Position
  1920.  
  1921. Explosion.Parent=game.Workspace
  1922. M203:remove()
  1923. end)
  1924. end
  1925. if GunSetup.M203Ammo == 2 then
  1926. local Smoke = M203.Smoke
  1927. M203.Touched:connect(function(Hit)
  1928.  
  1929. Smoke.Enabled = true
  1930. M203.Velocity = Camera.CoordinateFrame.lookVector*0
  1931. wait(9.5)
  1932. Smoke.Enabled = false
  1933. wait(1.5)
  1934. M203:remove()
  1935. end)
  1936. end
  1937. end
  1938. end
  1939.  
  1940. function Raycasting()
  1941. local Hit,Pos
  1942. local Position0 = Bullet.Position;
  1943. local Position1 = Bullet.Position;
  1944. local Distance = 0
  1945. while true do
  1946. RS.RenderStepped:wait()
  1947. if Distance > 1500 then
  1948. Bullet:Destroy()
  1949. break
  1950. end
  1951. Position1 = Bullet.Position;
  1952. Distance = Distance + (Position1 - Position0).magnitude
  1953. Hit, Pos = workspace:FindPartOnRayWithIgnoreList(Ray.new(Position0,(Position1 - Position0)), Ray_Ignore);
  1954.  
  1955. if Hit then
  1956. Bullet:Destroy()
  1957.  
  1958. local hitHumanoid = ( Hit.Parent:IsA( "Accessory" ) and Hit.Parent.Parent:FindFirstChild( "Humanoid" ) or Hit.Parent:FindFirstChild( "Humanoid" ) );
  1959. local c = Instance.new("ObjectValue");
  1960. c.Name = "creator";
  1961. c.Value = Player;
  1962. game.Debris:AddItem(c, 3);
  1963. c.Parent = hitHumanoid;
  1964. local hitPlyr = ( hitHumanoid and game.Players:GetPlayerFromCharacter( hitHumanoid.Parent ) );
  1965. if not hitHumanoid then
  1966. CreateBulletImpact(Pos,Hit,false)
  1967. if game.ReplicatedStorage:FindFirstChild("Smoke") then
  1968. local D2 = game.ReplicatedStorage.Smoke:clone()
  1969. D2.Parent = HitMark
  1970. D2.Enabled = true
  1971. end
  1972. elseif hitHumanoid then
  1973. if game.ReplicatedStorage:FindFirstChild("Blood") then
  1974. local D2 = game.ReplicatedStorage.Blood:clone()
  1975. D2.Parent = HitMark
  1976. D2.Enabled = true
  1977. end
  1978. CreateBulletImpact(Pos,Hit,true)
  1979. end
  1980.  
  1981. if hitPlyr then
  1982. local isEnemy;
  1983. if GunSetup.ATK then
  1984. isEnemy = ( hitPlyr.TeamColor ~= Player.TeamColor or hitPlyr.Neutral );
  1985. elseif not GunSetup.ATK then
  1986. isEnemy = (hitPlyr.TeamColor == Player.TeamColor or hitPlyr.TeamColor ~= Player.TeamColor or hitPlyr.Neutral );
  1987. end
  1988. if isEnemy and Hit.Name == "Head" then
  1989. hitHumanoid:TakeDamage( GunSetup.HeadDamage );
  1990. elseif isEnemy and Hit.Name ~= "Head" then
  1991. hitHumanoid:TakeDamage( GunSetup.Damage);
  1992. elseif isEnemy and Hit.Name == "Chest" then
  1993. hitHumanoid:TakeDamage( GunSetup.Damage);
  1994. elseif isEnemy and Hit:IsA("Accessory") or Hit:IsA("Hat") and Hit.Parent.Parent:FindFirstChild("Humanoid") then
  1995. Hit.Parent.Parent:FindFirstChild("Humanoid"):TakeDamage(GunSetup.HeadDamage);
  1996. end
  1997.  
  1998. elseif hitHumanoid and Hit.Name == "Head" then
  1999. hitHumanoid:TakeDamage( GunSetup.HeadDamage );
  2000. elseif hitHumanoid and Hit.Name ~= "Head" then
  2001. hitHumanoid:TakeDamage( GunSetup.Damage );
  2002. elseif hitHumanoid and Hit.Name == "Chest" then
  2003. hitHumanoid:TakeDamage( GunSetup.VestDamage );
  2004. elseif hitHumanoid and Hit:IsA("Accessory") or Hit:IsA("Hat") or Hit.Name == "Face" and Hit.Parent.Parent:FindFirstChild("Humanoid") then
  2005. Hit.Parent.Parent:FindFirstChild("Humanoid"):TakeDamage( GunSetup.HeadDamage);
  2006. end
  2007. print(Hit.Name)
  2008. return Hit, Pos;
  2009. end
  2010. Position0 = Position1;
  2011. end
  2012. end
  2013.  
  2014.  
  2015. function Damage(Targ)
  2016. local humanoid=Targ.Parent:FindFirstChild("Humanoid")
  2017. if Targ.Parent:FindFirstChild("Humanoid") then
  2018. -- for i,v in ipairs(humanoids) do
  2019. -- if v==targ.Parent.Humanoid then
  2020. -- return
  2021. -- end
  2022. -- end
  2023. -- table.insert(humanoids,targ.Parent.Humanoid)
  2024. Targ.Parent.Humanoid:TakeDamage(damage)
  2025. end
  2026. end
  2027.  
  2028.  
  2029.  
  2030.  
  2031. function shoot()
  2032.  
  2033. local move = (Tool.FirePart.CFrame * CFrame.Angles(math.rad(math.random(-GunSetup.BSpread, GunSetup.BSpread)/10), math.rad(math.random(-GunSetup.BSpread, GunSetup.BSpread)/10), math.rad(math.random(-GunSetup.BSpread, GunSetup.BSpread)/10))).lookVector * 450
  2034. local from = Tool.FirePart.Position
  2035. local ray = Ray.new(from,move-Vector3.new(0, GunSetup.BDrop*0.05, 0))
  2036. local Hit,Pos = workspace:FindPartOnRayWithIgnoreList(ray, Ray_Ignore)
  2037. local HumanoidFound = false
  2038.  
  2039.  
  2040. CreateBullet()
  2041.  
  2042.  
  2043. local humanoid
  2044. if Hit then
  2045. CreateBulletImpact(Pos, Hit, HumanoidFound)
  2046.  
  2047. if Hit.Parent.Name == "Chest" then
  2048. if Hit.Parent.Parent:FindFirstChild("Humanoid") then
  2049. humanoid = Hit.Parent.Parent:FindFirstChild("Humanoid")
  2050. local c = Instance.new("ObjectValue")
  2051. c.Name = "creator"
  2052. c.Value = Player
  2053. game.Debris:AddItem(c, 3)
  2054. c.Parent = humanoid
  2055. humanoid:TakeDamage(GunSetup.VestDamage)
  2056. HumanoidFound = true
  2057.  
  2058. end
  2059.  
  2060. elseif Hit.Parent:IsA("Hat") or Hit.Parent:IsA("Accessory") then
  2061. if Hit.Parent.Parent:FindFirstChild("Humanoid") then
  2062. humanoid = Hit.Parent.Parent:FindFirstChild("Humanoid")
  2063. local c = Instance.new("ObjectValue")
  2064. c.Name = "creator"
  2065. c.Value = Player
  2066. game.Debris:AddItem(c, 3)
  2067. c.Parent = humanoid
  2068. local d = math.random(GunSetup.HeadDamage[1], GunSetup.HeadDamage[2])
  2069. humanoid:TakeDamage(d)
  2070. HumanoidFound = true
  2071.  
  2072. end
  2073. elseif Hit.Parent.Name=="Face" then
  2074. if Hit.Parent.Parent:FindFirstChild("Humanoid") then
  2075. humanoid = Hit.Parent.Parent:FindFirstChild("Humanoid")
  2076. local c = Instance.new("ObjectValue")
  2077. c.Name = "creator"
  2078. c.Value = Player
  2079. game.Debris:AddItem(c, 3)
  2080. c.Parent = humanoid
  2081. humanoid:TakeDamage(GunSetup.HelmetDamage)
  2082. HumanoidFound = true
  2083.  
  2084. end
  2085. end
  2086. if Hit.Parent:FindFirstChild("Humanoid") and Hit.Name == "Head" then
  2087. humanoid = Hit.Parent:FindFirstChild("Humanoid")
  2088. local c = Instance.new("ObjectValue")
  2089. c.Name = "creator"
  2090. c.Value = Player
  2091. game.Debris:AddItem(c, 3)
  2092. c.Parent = humanoid
  2093. local d = math.random(GunSetup.HeadDamage[1], GunSetup.HeadDamage[2])
  2094. humanoid:TakeDamage(d)
  2095. HumanoidFound = true
  2096.  
  2097. elseif Hit.Parent:FindFirstChild("Humanoid") and Hit.Name == "Torso" then
  2098. humanoid = Hit.Parent:FindFirstChild("Humanoid")
  2099. local c = Instance.new("ObjectValue")
  2100. c.Name = "creator"
  2101. c.Value = Player
  2102. game.Debris:AddItem(c, 3)
  2103. c.Parent = humanoid
  2104. local d = math.random(GunSetup.TorsoDamage[1], GunSetup.TorsoDamage[2])
  2105. humanoid:TakeDamage(d)
  2106. HumanoidFound = true
  2107.  
  2108. elseif Hit.Parent:FindFirstChild("Humanoid") and Hit.Name == "Right Arm" or Hit.Name == "Left Arm" or Hit.Name == "Right Leg" or Hit.Name == "Left Leg" then
  2109. humanoid = Hit.Parent:FindFirstChild("Humanoid")
  2110. local c = Instance.new("ObjectValue")
  2111. c.Name = "creator"
  2112. c.Value = Player
  2113. game.Debris:AddItem(c, 3)
  2114. c.Parent = humanoid
  2115. local d = math.random(GunSetup.LimbsDamage[1], GunSetup.LimbsDamage[2])
  2116. humanoid:TakeDamage(d)
  2117. HumanoidFound = true
  2118.  
  2119. end
  2120. end
  2121.  
  2122. Tool.FirePart.Fire:Play()
  2123. RecoilG = math.rad(math.random(GunSetup.Recoil[1],GunSetup.Recoil[1])/10 * Rand(1, 1.5, 0.1))--(GunSettings.Recoil*math.random(1,4))
  2124. Recoilup = RecoilG/2
  2125. print(RecoilG)
  2126. for i = Recoil, Recoil*Recoil do
  2127. Recoilup = Recoilup * math.abs(Recoil) * math.random(-i,i)
  2128. end
  2129.  
  2130. for _, v in pairs(Tool.FirePart:GetChildren()) do
  2131. if v.Name:sub(1, 7) == "FlashFX" or v.Name:sub(1, 7) == "Smoke" then
  2132. v.Enabled = true
  2133. end
  2134. end
  2135.  
  2136. delay(1 / 30, function()
  2137. for _, v in pairs(Tool.FirePart:GetChildren()) do
  2138. if v.Name:sub(1, 7) == "FlashFX" or v.Name:sub(1, 7) == "Smoke" then
  2139. v.Enabled = false
  2140. Recoilup = 0
  2141. end
  2142. end
  2143. end)
  2144.  
  2145.  
  2146. coroutine.resume(coroutine.create(function()
  2147. local r = math.abs(Recoilup)/3
  2148. local r2 = math.abs(Recoilup)/12
  2149. local r3 = math.abs(Recoilup)/14
  2150. if _G.Crouched then
  2151. r = r2
  2152. elseif _G.Proned then
  2153. r = r3
  2154. end
  2155. local ran = math.random(-1, 1)
  2156. Camera.CoordinateFrame = CFrame.new(Camera.Focus.p) * (Camera.CoordinateFrame - Camera.CoordinateFrame.p) * CFrame.Angles(r, 0, 0) * CFrame.new(0, 0, (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude)
  2157. local c = -r/20
  2158. local cx = -(r*ran)/20
  2159. for i = 1, math.random(15, 25) do
  2160. if EquipId == curId then
  2161. Camera.CoordinateFrame = CFrame.new(Camera.Focus.p) * (Camera.CoordinateFrame - Camera.CoordinateFrame.p) * CFrame.Angles(c, 0, 0) * CFrame.new(0, 0, (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude)
  2162. wait()
  2163.  
  2164. else
  2165. break
  2166. end
  2167.  
  2168. end
  2169. end))
  2170.  
  2171.  
  2172. -- Bullet Creation
  2173.  
  2174. EjectShells()
  2175. AmmoGui.Frame.AText.Text = Ammo
  2176. print(Ammo)
  2177.  
  2178. end
  2179.  
  2180.  
  2181.  
  2182.  
  2183. ------------Some Random Functions----------------
  2184.  
  2185. local Btype = script.BType
  2186. Btype.Value = GunSetup.BType
  2187.  
  2188. function Checar()
  2189. CheckAnim()
  2190. end
  2191.  
  2192. function Emperrar()
  2193. if GunSetup.CanBreak == true then
  2194. local Jam = math.random(200)
  2195. print("Chance de emperrar: "..Jam)
  2196. if Jam <= 2 then
  2197. Emperrado = true
  2198. end
  2199. end
  2200. end
  2201.  
  2202. ------------Shooting Function--------------------
  2203.  
  2204.  
  2205. Mouse.Button1Down:connect(function()
  2206. if Equipped then
  2207. if Safemode or slideback then return end
  2208. MouseHeld = true
  2209. if GetAmmo() == 0 or MagOut and GunSetup.FireMode ~= "M203" then
  2210. Tool.Handle.Click:Play()
  2211. Chambered = false
  2212. end
  2213.  
  2214. if Emperrado or not Chambered and GunSetup.FireMode ~= "M203" then
  2215. Tool.Handle.Click:Play()
  2216. return
  2217. end
  2218.  
  2219. if not Shooting and not Reloading and not GLReloading or Sprinting and not Emperrado and not Checando then
  2220. Shooting = true
  2221. if GunSetup.FireMode == "Single" and GetAmmo() > 0 and not Checando then
  2222. shoot()
  2223. Emperrar()
  2224. Ammo = Ammo - 1
  2225. GetAmmo()
  2226. wait(Firerate)
  2227. elseif GunSetup.FireMode == "Automatic" then
  2228. while MouseHeld and Equipped and Shooting and not Emperrado and GetAmmo() > 0 and not Checando do
  2229. shoot()
  2230. Emperrar()
  2231. Ammo = Ammo - 1
  2232. GetAmmo()
  2233. wait(Firerate)
  2234. end
  2235. elseif GunSetup.FireMode == "Burst" and GetAmmo() > 0 and not Checando then
  2236. for i = 1, GunSetup.BurstFire do
  2237. if GetAmmo() < 1 then
  2238. break
  2239. end
  2240. shoot()
  2241. Emperrar()
  2242. Ammo = Ammo - 1
  2243. GetAmmo()
  2244. wait(BURSTFirerate)
  2245. end
  2246. elseif GunSetup.FireMode == "M203" and GLAmmo.Value > 0 and GLChambered and not Checando then
  2247. M203()
  2248. GLChambered = false
  2249. GLAmmo.Value = GLAmmo.Value - 1
  2250. wait(GLFirerate)
  2251. end
  2252. Shooting = false
  2253. end
  2254. end
  2255. end)
  2256.  
  2257.  
  2258. Mouse.Button1Up:connect(function()
  2259. if Equipped then
  2260. MouseHeld = false
  2261. end
  2262. end)
  2263.  
  2264.  
  2265.  
  2266. ----------------Mouse Function---------------------------
  2267.  
  2268. Mouse.KeyDown:connect(function(Key)
  2269. if Equipped then
  2270. if Key == "t" then
  2271. if not Reloading and not GLReloading and not Aiming and not Checando then
  2272. if Safemode then
  2273. Safemode = false
  2274. IdleOrSteadyAnim()
  2275. elseif not Safemode then
  2276. if MouseHeld then
  2277. MouseHeld = false
  2278. end
  2279. Safemode = true
  2280. SafetyAnim()
  2281. end
  2282. end
  2283. end
  2284. if Key:byte() == 48 then
  2285. if MouseHeld then
  2286. MouseHeld = false
  2287. end
  2288. if not Sprinting and not Reloading and not GLReloading and not Checando and not Aiming and not _G.Crouched and not _G.Proned then
  2289. Sprinting = true
  2290. SprintAnim()
  2291. end
  2292. end
  2293. if Key == "y" then
  2294. if Tool:FindFirstChild('AimPart2') ~= nil then
  2295. if EnableCycleSight then
  2296. if AimPartMode == 1 then
  2297. AimPartMode = 2
  2298. if Aiming then
  2299. tweenJoint(RAW, RAW.C0 * CFrame.new(-Tool.AimPart2.CFrame:toObjectSpace(Character.Head.CFrame).p), nil, function(X) return math.sin(math.rad(X)) end, 0.25)
  2300. tweenJoint(LAW, GunSetup.LeftAim2Position , nil, function(X) return math.sin(math.rad(X)) end, 0.25)
  2301. tweenFoV(GunSetup.FOV2, 60)
  2302. end
  2303. elseif AimPartMode == 2 then
  2304. AimPartMode = 1
  2305. if Aiming then
  2306. tweenJoint(RAW, RAW.C0 * CFrame.new(-Tool.AimPart.CFrame:toObjectSpace(Character.Head.CFrame).p), nil, function(X) return math.sin(math.rad(X)) end, 0.25)
  2307. tweenJoint(LAW, GunSetup.LeftAimPosition , nil, function(X) return math.sin(math.rad(X)) end, 0.25)
  2308. tweenFoV(GunSetup.FOV1, 60)
  2309. end
  2310. end
  2311. end
  2312. end
  2313. end
  2314. if Key == "f" then
  2315. if EnableFireMode then
  2316. if MouseHeld then
  2317. MouseHeld = false
  2318. end
  2319. if GunSetup.FireMode == "Automatic" then
  2320. if GunSetup.SwitchableModes.Burst then
  2321. GunSetup.FireMode = "Burst"
  2322. Tool.Handle.SafetyClick:Play()
  2323. elseif GunSetup.SwitchableModes.Single then
  2324. GunSetup.FireMode = "Single"
  2325. Tool.Handle.SafetyClick:Play()
  2326. end
  2327. elseif GunSetup.FireMode == "Burst" then
  2328. if GunSetup.SwitchableModes.Single then
  2329. GunSetup.FireMode = "Single"
  2330. Tool.Handle.SafetyClick:Play()
  2331. elseif GunSetup.SwitchableModes.Automatic then
  2332. GunSetup.FireMode = "Automatic"
  2333. Tool.Handle.SafetyClick:Play()
  2334. end
  2335. elseif GunSetup.FireMode == "Single" then
  2336. if GunSetup.SwitchableModes.Automatic then
  2337. GunSetup.FireMode = "Automatic"
  2338. Tool.Handle.SafetyClick:Play()
  2339. elseif GunSetup.SwitchableModes.Burst then
  2340. GunSetup.FireMode = "Burst"
  2341. Tool.Handle.SafetyClick:Play()
  2342. end
  2343. end
  2344. -- if GunSetup.FireMode == "Automatic" then
  2345. -- GunSetup.FireMode = "Single"
  2346. -- Tool.Handle.SafetyClick:Play()
  2347. -- elseif GunSetup.FireMode == "Single" then
  2348. -- GunSetup.FireMode = "Burst"
  2349. -- Tool.Handle.SafetyClick:Play()
  2350. -- elseif GunSetup.FireMode == "Burst" then
  2351. -- GunSetup.FireMode = "Automatic"
  2352. -- Tool.Handle.SafetyClick:Play()
  2353. -- end
  2354. end
  2355.  
  2356. end
  2357. if Key == "r" then
  2358. if not Reloading and not Animando and not GLReloading and StoredAmmo.Value > 0 and not Sprinting and not Aiming and Checando and not MagOut then
  2359. if MouseHeld then
  2360. MouseHeld = false
  2361. end
  2362. Reloading = true
  2363. ReloadAnim()
  2364. Reloading = false
  2365. if Checando then
  2366. CheckAnim()
  2367. elseif Safemode then
  2368. SafetyAnim()
  2369. end
  2370. end
  2371.  
  2372. end
  2373.  
  2374.  
  2375. if Key == "r" then
  2376. if GunSetup.FastReload and not Animando and not Reloading and not GLReloading and StoredAmmo.Value > 0 and not Sprinting and not Aiming and not Checando and not MagOut then
  2377. if MouseHeld then
  2378. MouseHeld = false
  2379. end
  2380. Reloading = true
  2381. FastReloadAnim()
  2382. FastBolt()
  2383. Reloading = false
  2384. if Safemode then
  2385. SafetyAnim()
  2386. end
  2387. end
  2388.  
  2389. end
  2390.  
  2391.  
  2392. if Key == "q" then
  2393. if not Reloading and not GLReloading and not Sprinting and not Aiming and not Checando then
  2394. if MouseHeld then
  2395. MouseHeld = false
  2396. end
  2397. Checando = true
  2398. CheckAnim()
  2399. AmmoGui.Frame.Some.Visible = true
  2400. AmmoGui.Frame.Btext.Visible = true
  2401. AmmoGui.Frame.FText.Visible = true
  2402. AmmoGui.Frame.SAText.Visible = true
  2403. elseif not Reloading and not GLReloading and not Sprinting and not Aiming and Checando then
  2404. if Safemode then
  2405. SafetyAnim()
  2406. Checando = false
  2407. AmmoGui.Frame.Some.Visible = false
  2408. AmmoGui.Frame.Btext.Visible = false
  2409. AmmoGui.Frame.FText.Visible = false
  2410. AmmoGui.Frame.SAText.Visible = false
  2411. else
  2412. IdleOrSteadyAnim()
  2413. Checando = false
  2414. AmmoGui.Frame.Some.Visible = false
  2415. AmmoGui.Frame.Btext.Visible = false
  2416. AmmoGui.Frame.FText.Visible = false
  2417. AmmoGui.Frame.SAText.Visible = false
  2418. end
  2419.  
  2420. end
  2421. end
  2422. end
  2423.  
  2424. if Key == "e" then
  2425. if not Animando and not Reloading and not GLReloading and not Sprinting and not Aiming and Checando and not MagOut then
  2426. if MouseHeld then
  2427. MouseHeld = false
  2428. end
  2429. if not slideback then
  2430. ChamberAnim()
  2431. slideback = true
  2432. Emperrado = false
  2433. if Ammo > 0 and Chambered and not MagOut then
  2434. EjectShells()
  2435. Ammo = Ammo - 1
  2436. print(Ammo)
  2437. end
  2438. elseif slideback then
  2439. ChamberBKAnim()
  2440. slideback = false
  2441. Chambered = true
  2442. end
  2443. end
  2444. end
  2445.  
  2446.  
  2447. if Key == "g" then
  2448. if GunSetup.GrenadeLauncher and not Checando then
  2449. if MouseHeld then
  2450. MouseHeld = false
  2451. end
  2452. if GunSetup.FireMode ~= "M203" then
  2453. Tool.Handle.SafetyClick:Play()
  2454. GunSetup.FireMode = "M203"
  2455. else
  2456. Tool.Handle.SafetyClick:Play()
  2457. GunSetup.FireMode = GunSetup.BkFM
  2458. end
  2459. end
  2460. end
  2461.  
  2462.  
  2463. if Key == "g" then
  2464. if GunSetup.GrenadeLauncher and not Animando and GLAmmo.Value > 0 and not Reloading and not GLReloading and not Sprinting and Checando and not MagOut then
  2465. if MouseHeld then
  2466. MouseHeld = false
  2467. end
  2468. GLReloading = true
  2469. GLReloadAnim()
  2470. GLReloading = false
  2471. GLChambered = true
  2472. end
  2473. end
  2474.  
  2475. if Key == "b" then
  2476. if GunSetup.CanSeeMag and not Animando and not Reloading and not GLReloading and not Sprinting and not Aiming and Checando then
  2477. if MouseHeld then
  2478. MouseHeld = false
  2479. end
  2480.  
  2481.  
  2482. if not MagOut then
  2483. MagOut = true
  2484. SeeMag()
  2485. AmmoGui.Frame.Some2.Visible = true
  2486. AmmoGui.Frame.AText.Visible = true
  2487. else
  2488. AmmoGui.Frame.Some2.Visible = false
  2489. AmmoGui.Frame.AText.Visible = false
  2490. UNSeeMag()
  2491. MagOut = false
  2492. end
  2493.  
  2494.  
  2495.  
  2496. end
  2497. end
  2498.  
  2499. end)
  2500.  
  2501.  
  2502. Mouse.KeyUp:connect(function(Key)
  2503. if Equipped then
  2504. if Key:byte() == 48 then
  2505. if MouseHeld then
  2506. MouseHeld = false
  2507. end
  2508. if Sprinting and not Aiming and not Reloading and not GLReloading and not _G.Crouched and not _G.Proned then
  2509. if not Safemode then
  2510. IdleOrSteadyAnim()
  2511. end
  2512. wait(0.25 * GunSetup.AnimSpeed)
  2513. _G.Sprinting = false
  2514. Humanoid.WalkSpeed = 16
  2515. Sprinting = false
  2516. end
  2517. end
  2518. end
  2519. end)
  2520.  
  2521. -----------------Unequiping------------
  2522.  
  2523. Character.Humanoid.Died:connect(function()
  2524. Tool.Parent = Player.Backpack
  2525. Equipped = false
  2526. Torso:WaitForChild("Right Shoulder").Part1 = Character["Right Arm"]
  2527. Torso:WaitForChild("Left Shoulder").Part1 = Character["Left Arm"]
  2528. RAW:Destroy()
  2529. LAW:Destroy()
  2530. if Aiming then
  2531. Aiming = false
  2532. end
  2533. if Reloading then
  2534. Reloading = false
  2535. end
  2536. if GLReloading then
  2537. GLReloading = false
  2538. end
  2539. if Sprinting then
  2540. Sprinting = false
  2541. end
  2542. end)
  2543.  
  2544. Tool.Unequipped:connect(function()
  2545. Equipped = false
  2546. uis.MouseIconEnabled = true
  2547. if MouseHeld then
  2548. MouseHeld = false
  2549. end
  2550. if GunSetup.FireMode == "M203" then
  2551. AmmoGui.Frame.AText.Text = GLAmmo.Value
  2552. end
  2553. if GunSetup.FireMode ~= "M203" then
  2554. AmmoGui.Frame.AText.Text = Ammo
  2555. end
  2556. Player.PlayerGui:WaitForChild("AmmoGui"):Destroy()
  2557. if Aiming then
  2558. Aiming = false
  2559. end
  2560. if Reloading then
  2561. Reloading = false
  2562. IdleOrSteadyAnim()
  2563. end
  2564. tweenFoV(70, 10)
  2565. _G.Sprinting = false
  2566. Player.CameraMode="Classic"
  2567. Torso:WaitForChild("Right Shoulder").Part1 = Character["Right Arm"]
  2568. Torso:WaitForChild("Left Shoulder").Part1 = Character["Left Arm"]
  2569. RAW:Destroy()
  2570. LAW:Destroy()
  2571.  
  2572.  
  2573. end)
  2574.  
  2575. end))
  2576. NumberValue63.Name = "Ammo"
  2577. NumberValue63.Parent = LocalScript62
  2578. NumberValue63.Value = 7
  2579. StringValue64.Name = "BType"
  2580. StringValue64.Parent = LocalScript62
  2581. NumberValue65.Name = "StoredAmmo"
  2582. NumberValue65.Parent = LocalScript62
  2583. NumberValue65.Value = 300
  2584. NumberValue66.Name = "MaxAmmo"
  2585. NumberValue66.Parent = LocalScript62
  2586. NumberValue66.Value = 1000
  2587. NumberValue67.Name = "GLAmmo"
  2588. NumberValue67.Parent = LocalScript62
  2589. NumberValue67.Value = 10
  2590. ScreenGui68.Name = "AmmoGui"
  2591. ScreenGui68.Parent = LocalScript62
  2592. Frame69.Parent = ScreenGui68
  2593. Frame69.Transparency = 1
  2594. Frame69.Size = UDim2.new(0.0812182724, 0, 0.300000012, 0)
  2595. Frame69.Position = UDim2.new(0.899999976, 0, 0.649999976, 0)
  2596. Frame69.BackgroundColor3 = Color3.new(0, 0, 0)
  2597. Frame69.BackgroundTransparency = 1
  2598. Frame70.Name = "nao"
  2599. Frame70.Parent = Frame69
  2600. Frame70.Size = UDim2.new(1, 0, 0.100000001, 0)
  2601. Frame70.Style = Enum.FrameStyle.RobloxRound
  2602. Frame70.BackgroundColor3 = Color3.new(0, 0, 0)
  2603. TextLabel71.Name = "NText"
  2604. TextLabel71.Parent = Frame69
  2605. TextLabel71.Transparency = 1
  2606. TextLabel71.Size = UDim2.new(1, 0, 0.100000001, 0)
  2607. TextLabel71.Text = "M16A4"
  2608. TextLabel71.BackgroundColor3 = Color3.new(0, 0, 0)
  2609. TextLabel71.BackgroundTransparency = 1
  2610. TextLabel71.BorderSizePixel = 0
  2611. TextLabel71.Font = Enum.Font.SourceSansBold
  2612. TextLabel71.FontSize = Enum.FontSize.Size18
  2613. TextLabel71.TextColor3 = Color3.new(1, 1, 1)
  2614. TextLabel71.TextStrokeTransparency = 0.85000002384186
  2615. TextLabel71.TextWrapped = true
  2616. Frame72.Name = "Some"
  2617. Frame72.Parent = Frame69
  2618. Frame72.Size = UDim2.new(1, 0, 0.600000024, 0)
  2619. Frame72.Style = Enum.FrameStyle.RobloxRound
  2620. Frame72.Position = UDim2.new(0, 0, 0.400000006, 0)
  2621. Frame72.Visible = false
  2622. Frame72.BackgroundColor3 = Color3.new(0, 0, 0)
  2623. TextLabel73.Name = "FText"
  2624. TextLabel73.Parent = Frame69
  2625. TextLabel73.Transparency = 1
  2626. TextLabel73.Size = UDim2.new(1, 0, 0.100000001, 0)
  2627. TextLabel73.Text = "Automatic"
  2628. TextLabel73.Position = UDim2.new(0, 0, 0.400000006, 0)
  2629. TextLabel73.Visible = false
  2630. TextLabel73.BackgroundColor3 = Color3.new(0, 0, 0)
  2631. TextLabel73.BackgroundTransparency = 1
  2632. TextLabel73.BorderSizePixel = 0
  2633. TextLabel73.Font = Enum.Font.SourceSansBold
  2634. TextLabel73.FontSize = Enum.FontSize.Size18
  2635. TextLabel73.TextColor3 = Color3.new(1, 1, 1)
  2636. TextLabel73.TextStrokeTransparency = 0.85000002384186
  2637. TextLabel73.TextWrapped = true
  2638. TextLabel74.Name = "SAText"
  2639. TextLabel74.Parent = Frame69
  2640. TextLabel74.Transparency = 1
  2641. TextLabel74.Size = UDim2.new(1, 0, 0.25, 0)
  2642. TextLabel74.Text = "30"
  2643. TextLabel74.Position = UDim2.new(0, 0, 0.550000012, 0)
  2644. TextLabel74.Visible = false
  2645. TextLabel74.BackgroundColor3 = Color3.new(0, 0, 0)
  2646. TextLabel74.BackgroundTransparency = 1
  2647. TextLabel74.BorderSizePixel = 0
  2648. TextLabel74.Font = Enum.Font.SourceSansBold
  2649. TextLabel74.FontSize = Enum.FontSize.Size24
  2650. TextLabel74.TextColor3 = Color3.new(1, 1, 1)
  2651. TextLabel74.TextScaled = true
  2652. TextLabel74.TextStrokeTransparency = 0.85000002384186
  2653. TextLabel74.TextWrapped = true
  2654. TextLabel75.Name = "Btext"
  2655. TextLabel75.Parent = Frame69
  2656. TextLabel75.Transparency = 1
  2657. TextLabel75.Size = UDim2.new(1, 0, 0.100000001, 0)
  2658. TextLabel75.Text = "5.56x45mm"
  2659. TextLabel75.Position = UDim2.new(0, 0, 0.850000024, 0)
  2660. TextLabel75.Visible = false
  2661. TextLabel75.BackgroundColor3 = Color3.new(0, 0, 0)
  2662. TextLabel75.BackgroundTransparency = 1
  2663. TextLabel75.BorderSizePixel = 0
  2664. TextLabel75.Font = Enum.Font.SourceSansBold
  2665. TextLabel75.FontSize = Enum.FontSize.Size18
  2666. TextLabel75.TextColor3 = Color3.new(1, 1, 1)
  2667. TextLabel75.TextStrokeTransparency = 0.85000002384186
  2668. TextLabel75.TextWrapped = true
  2669. Frame76.Name = "nao"
  2670. Frame76.Parent = Frame69
  2671. Frame76.Size = UDim2.new(1, 0, 0.100000001, 0)
  2672. Frame76.Style = Enum.FrameStyle.RobloxRound
  2673. Frame76.Position = UDim2.new(0, 0, 0.150000006, 0)
  2674. Frame76.BackgroundColor3 = Color3.new(0, 0, 0)
  2675. ImageLabel77.Name = "A"
  2676. ImageLabel77.Parent = Frame69
  2677. ImageLabel77.Size = UDim2.new(0.100000001, 0, 0.0500000007, 0)
  2678. ImageLabel77.Position = UDim2.new(0.100000001, 0, 0.180000007, 0)
  2679. ImageLabel77.BackgroundColor3 = Color3.new(0, 1, 0)
  2680. ImageLabel77.Image = "rbxassetid://133293265"
  2681. ImageLabel77.ImageTransparency = 1
  2682. ImageLabel78.Name = "B"
  2683. ImageLabel78.Parent = Frame69
  2684. ImageLabel78.Size = UDim2.new(0.100000001, 0, 0.0500000007, 0)
  2685. ImageLabel78.Position = UDim2.new(0.280000001, 0, 0.180000007, 0)
  2686. ImageLabel78.BackgroundColor3 = Color3.new(1, 1, 0)
  2687. ImageLabel78.Image = "rbxassetid://133293265"
  2688. ImageLabel78.ImageTransparency = 1
  2689. ImageLabel79.Name = "C"
  2690. ImageLabel79.Parent = Frame69
  2691. ImageLabel79.Size = UDim2.new(0.100000001, 0, 0.0500000007, 0)
  2692. ImageLabel79.Position = UDim2.new(0.460000008, 0, 0.180000007, 0)
  2693. ImageLabel79.BackgroundColor3 = Color3.new(1, 0, 0)
  2694. ImageLabel79.Image = "rbxassetid://133293265"
  2695. ImageLabel79.ImageTransparency = 1
  2696. ImageLabel80.Name = "D"
  2697. ImageLabel80.Parent = Frame69
  2698. ImageLabel80.Size = UDim2.new(0.100000001, 0, 0.0500000007, 0)
  2699. ImageLabel80.Position = UDim2.new(0.819999993, 0, 0.180000007, 0)
  2700. ImageLabel80.BackgroundColor3 = Color3.new(0, 1, 1)
  2701. ImageLabel80.Image = "rbxassetid://133293265"
  2702. ImageLabel80.ImageTransparency = 1
  2703. Frame81.Name = "Some2"
  2704. Frame81.Parent = Frame69
  2705. Frame81.Size = UDim2.new(1, 0, 0.100000001, 0)
  2706. Frame81.Style = Enum.FrameStyle.RobloxRound
  2707. Frame81.Position = UDim2.new(0, 0, 0.289999992, 0)
  2708. Frame81.Visible = false
  2709. Frame81.BackgroundColor3 = Color3.new(0, 0, 0)
  2710. TextLabel82.Name = "AText"
  2711. TextLabel82.Parent = Frame69
  2712. TextLabel82.Transparency = 1
  2713. TextLabel82.Size = UDim2.new(1, 0, 0.100000001, 0)
  2714. TextLabel82.Text = "30 Bullets"
  2715. TextLabel82.Position = UDim2.new(0, 0, 0.280000001, 0)
  2716. TextLabel82.Visible = false
  2717. TextLabel82.BackgroundColor3 = Color3.new(0, 0, 0)
  2718. TextLabel82.BackgroundTransparency = 1
  2719. TextLabel82.BorderSizePixel = 0
  2720. TextLabel82.Font = Enum.Font.SourceSansBold
  2721. TextLabel82.FontSize = Enum.FontSize.Size48
  2722. TextLabel82.TextColor3 = Color3.new(1, 1, 1)
  2723. TextLabel82.TextScaled = true
  2724. TextLabel82.TextStrokeTransparency = 0.85000002384186
  2725. TextLabel82.TextWrapped = true
  2726. ImageLabel83.Name = "E"
  2727. ImageLabel83.Parent = Frame69
  2728. ImageLabel83.Size = UDim2.new(0.100000001, 0, 0.0500000007, 0)
  2729. ImageLabel83.Position = UDim2.new(0.639999986, 0, 0.180000007, 0)
  2730. ImageLabel83.BackgroundColor3 = Color3.new(1, 1, 1)
  2731. ImageLabel83.Image = "rbxassetid://133293265"
  2732. ImageLabel83.ImageTransparency = 1
  2733. Frame84.Parent = ScreenGui68
  2734. Frame84.Transparency = 0.5
  2735. Frame84.Size = UDim2.new(0, 126, 0, 10)
  2736. Frame84.Position = UDim2.new(1, -153, 1, -62)
  2737. Frame84.BackgroundColor3 = Color3.new(0.380392, 0.380392, 0.380392)
  2738. Frame84.BackgroundTransparency = 0.5
  2739. Frame84.BorderSizePixel = 3
  2740. TextLabel85.Name = "Caliber"
  2741. TextLabel85.Parent = Frame84
  2742. TextLabel85.Transparency = 1
  2743. TextLabel85.Size = UDim2.new(1, 0, 1, 0)
  2744. TextLabel85.Text = "Made by 1ndrew"
  2745. TextLabel85.BackgroundColor3 = Color3.new(0.380392, 0.380392, 0.380392)
  2746. TextLabel85.BackgroundTransparency = 1
  2747. TextLabel85.Font = Enum.Font.SourceSansBold
  2748. TextLabel85.FontSize = Enum.FontSize.Size12
  2749. TextLabel85.TextColor3 = Color3.new(0, 0, 0)
  2750. TextLabel85.TextStrokeColor3 = Color3.new(0.380392, 0.380392, 0.380392)
  2751. TextLabel85.TextStrokeTransparency = 0.5
  2752. TextLabel85.TextXAlignment = Enum.TextXAlignment.Right
  2753. Part86.Name = "A6"
  2754. Part86.Parent = Tool0
  2755. Part86.Material = Enum.Material.Metal
  2756. Part86.BrickColor = BrickColor.new("Really black")
  2757. Part86.Rotation = Vector3.new(180, 0, -42)
  2758. Part86.Anchored = true
  2759. Part86.FormFactor = Enum.FormFactor.Custom
  2760. Part86.Size = Vector3.new(0.200000003, 0.200000003, 0.742857158)
  2761. Part86.CFrame = CFrame.new(70.3600006, 1.13900995, -21.8789997, 0.743144929, 0.669130504, 1.12274909e-08, 0.669130504, -0.743144989, -2.98023224e-08, 0, 2.98023224e-08, -1)
  2762. Part86.BottomSurface = Enum.SurfaceType.Smooth
  2763. Part86.TopSurface = Enum.SurfaceType.Smooth
  2764. Part86.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2765. Part86.Position = Vector3.new(70.3600006, 1.13900995, -21.8789997)
  2766. Part86.Orientation = Vector3.new(0, 180, 138)
  2767. Part86.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2768. BlockMesh87.Parent = Part86
  2769. BlockMesh87.Scale = Vector3.new(0.178571433, 0.289285719, 1)
  2770. BlockMesh87.Scale = Vector3.new(0.178571433, 0.289285719, 1)
  2771. Part88.Name = "A7"
  2772. Part88.Parent = Tool0
  2773. Part88.Material = Enum.Material.Metal
  2774. Part88.BrickColor = BrickColor.new("Really black")
  2775. Part88.Rotation = Vector3.new(-180, 0, 0)
  2776. Part88.Anchored = true
  2777. Part88.FormFactor = Enum.FormFactor.Custom
  2778. Part88.Size = Vector3.new(0.200000003, 0.200000003, 0.742857158)
  2779. Part88.CFrame = CFrame.new(70.3000031, 1.14400899, -21.8789997, 1, -1.50995803e-07, 4.37113883e-08, -1.50995803e-07, -1, 0, 4.37113883e-08, 0, -1)
  2780. Part88.BottomSurface = Enum.SurfaceType.Smooth
  2781. Part88.TopSurface = Enum.SurfaceType.Smooth
  2782. Part88.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2783. Part88.Position = Vector3.new(70.3000031, 1.14400899, -21.8789997)
  2784. Part88.Orientation = Vector3.new(0, 180, -180)
  2785. Part88.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2786. BlockMesh89.Parent = Part88
  2787. BlockMesh89.Scale = Vector3.new(0.535714269, 0.285714269, 1)
  2788. BlockMesh89.Scale = Vector3.new(0.535714269, 0.285714269, 1)
  2789. Part90.Name = "A8"
  2790. Part90.Parent = Tool0
  2791. Part90.Material = Enum.Material.Metal
  2792. Part90.BrickColor = BrickColor.new("Really black")
  2793. Part90.Rotation = Vector3.new(-180, 0, 40)
  2794. Part90.Anchored = true
  2795. Part90.FormFactor = Enum.FormFactor.Custom
  2796. Part90.Size = Vector3.new(0.200000003, 0.200000003, 0.778571427)
  2797. Part90.CFrame = CFrame.new(70.2419968, 1.13900995, -20.8829994, 0.766044319, -0.642787755, 1.02265236e-08, -0.642787814, -0.766044378, 1.49011612e-08, -1.49011612e-08, -1.49011612e-08, -1)
  2798. Part90.BottomSurface = Enum.SurfaceType.Smooth
  2799. Part90.TopSurface = Enum.SurfaceType.Smooth
  2800. Part90.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2801. Part90.Position = Vector3.new(70.2419968, 1.13900995, -20.8829994)
  2802. Part90.Orientation = Vector3.new(0, 180, -140)
  2803. Part90.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2804. BlockMesh91.Parent = Part90
  2805. BlockMesh91.Scale = Vector3.new(0.178571433, 0.278571397, 1)
  2806. BlockMesh91.Scale = Vector3.new(0.178571433, 0.278571397, 1)
  2807. Part92.Name = "A9"
  2808. Part92.Parent = Tool0
  2809. Part92.Material = Enum.Material.Metal
  2810. Part92.BrickColor = BrickColor.new("Really black")
  2811. Part92.Rotation = Vector3.new(-180, 0, 0)
  2812. Part92.Anchored = true
  2813. Part92.FormFactor = Enum.FormFactor.Custom
  2814. Part92.Size = Vector3.new(0.200000003, 0.200000003, 0.778571427)
  2815. Part92.CFrame = CFrame.new(70.3000031, 1.15100896, -20.8829994, 1, -1.50995803e-07, 4.37113883e-08, -1.50995803e-07, -1, 0, 4.37113883e-08, 0, -1)
  2816. Part92.BottomSurface = Enum.SurfaceType.Smooth
  2817. Part92.TopSurface = Enum.SurfaceType.Smooth
  2818. Part92.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2819. Part92.Position = Vector3.new(70.3000031, 1.15100896, -20.8829994)
  2820. Part92.Orientation = Vector3.new(0, 180, -180)
  2821. Part92.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2822. BlockMesh93.Parent = Part92
  2823. BlockMesh93.Scale = Vector3.new(0.535714269, 0.214285716, 1)
  2824. BlockMesh93.Scale = Vector3.new(0.535714269, 0.214285716, 1)
  2825. Part94.Name = "Trigger"
  2826. Part94.Parent = Tool0
  2827. Part94.Material = Enum.Material.Metal
  2828. Part94.BrickColor = BrickColor.new("Really black")
  2829. Part94.Rotation = Vector3.new(179.979996, 0, -180)
  2830. Part94.Anchored = true
  2831. Part94.FormFactor = Enum.FormFactor.Custom
  2832. Part94.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2833. Part94.CFrame = CFrame.new(70.2929993, 0.760010004, -21.5240002, -1, 3.18015907e-08, 4.3674337e-08, 3.17865201e-08, 0.99999994, -0.000345334411, -4.36853149e-08, -0.000345334411, -0.99999994)
  2834. Part94.BottomSurface = Enum.SurfaceType.Smooth
  2835. Part94.TopSurface = Enum.SurfaceType.Smooth
  2836. Part94.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2837. Part94.Position = Vector3.new(70.2929993, 0.760010004, -21.5240002)
  2838. Part94.Orientation = Vector3.new(0.0199999996, 180, 0)
  2839. Part94.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2840. BlockMesh95.Parent = Part94
  2841. BlockMesh95.Scale = Vector3.new(0.142857134, 0.485714287, 0.142857134)
  2842. BlockMesh95.Scale = Vector3.new(0.142857134, 0.485714287, 0.142857134)
  2843. Sound96.Name = "Click"
  2844. Sound96.Parent = Part94
  2845. Sound96.SoundId = "rbxassetid://132464034"
  2846. Sound97.Name = "FireSound"
  2847. Sound97.Parent = Part94
  2848. Sound97.Pitch = 0.94999998807907
  2849. Sound97.SoundId = "rbxassetid://153230626"
  2850. Sound97.Volume = 1
  2851. Sound98.Name = "M203"
  2852. Sound98.Parent = Part94
  2853. Sound98.SoundId = "http://roblox.com/asset/?id=135039581"
  2854. Sound98.Volume = 1
  2855. Sound99.Name = "MagIn"
  2856. Sound99.Parent = Part94
  2857. Sound99.SoundId = "rbxassetid://269079412"
  2858. Sound99.Volume = 1
  2859. Sound100.Name = "MagOut"
  2860. Sound100.Parent = Part94
  2861. Sound100.Pitch = 0.89999997615814
  2862. Sound100.SoundId = "rbxassetid://268870109"
  2863. Sound100.Volume = 1
  2864. Sound101.Name = "ReloadSound"
  2865. Sound101.Parent = Part94
  2866. Sound101.SoundId = "rbxassetid://147323220"
  2867. Sound101.Volume = 0.80000001192093
  2868. Sound102.Name = "Running"
  2869. Sound102.Parent = Part94
  2870. Sound102.Pitch = 0.97500002384186
  2871. Sound102.SoundId = "http://www.roblox.com/asset/?id=246376673"
  2872. Sound102.Volume = 1
  2873. Sound102.Looped = true
  2874. Sound103.Name = "SafetyClick"
  2875. Sound103.Parent = Part94
  2876. Sound103.Pitch = 1.5
  2877. Sound103.SoundId = "rbxassetid://132464034"
  2878. Sound103.Volume = 0.30000001192093
  2879. Sound104.Name = "WindowBreak"
  2880. Sound104.Parent = Part94
  2881. Sound104.Pitch = 0.97500002384186
  2882. Sound104.SoundId = "http://www.roblox.com/asset/?id=142082167"
  2883. Sound104.Volume = 1
  2884. Weld105.Name = "Slide"
  2885. Weld105.Parent = Part94
  2886. Weld105.C0 = CFrame.new(0, 0, 0, -1, 2.01977812e-08, 1.26371216e-08, 1.76965127e-08, 0.984807849, -0.173648238, -1.59524411e-08, -0.173648223, -0.984807849)
  2887. Weld105.C1 = CFrame.new(-0.102050781, -0.454270244, -0.0144729614, 1, 6.58968489e-08, -2.78179293e-08, -6.58968489e-08, 1, 1.49014543e-08, 2.78179293e-08, -1.49014525e-08, 1)
  2888. Weld105.Part0 = Part106
  2889. Part106.Name = "lalalal"
  2890. Part106.Parent = Tool0
  2891. Part106.Material = Enum.Material.Metal
  2892. Part106.BrickColor = BrickColor.new("Dark stone grey")
  2893. Part106.Transparency = 1
  2894. Part106.Rotation = Vector3.new(172.119995, 0.239999995, -179.839996)
  2895. Part106.FormFactor = Enum.FormFactor.Custom
  2896. Part106.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2897. Part106.CFrame = CFrame.new(70.1421967, 0.0328967124, -22.0837383, -0.999987364, 0.00287522771, 0.00413909042, 0.00228100084, 0.990565896, -0.137018174, -0.00449400116, -0.137006983, -0.990559876)
  2898. Part106.BottomSurface = Enum.SurfaceType.Smooth
  2899. Part106.TopSurface = Enum.SurfaceType.Smooth
  2900. Part106.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2901. Part106.Position = Vector3.new(70.1421967, 0.0328967124, -22.0837383)
  2902. Part106.Orientation = Vector3.new(7.87999964, 179.759995, 0.129999995)
  2903. Part106.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2904. Weld107.Name = "Slide"
  2905. Weld107.Parent = Part106
  2906. Weld107.C0 = CFrame.new(0, 0, 0, -1, 2.01977812e-08, 1.26371216e-08, 1.76965127e-08, 0.984807849, -0.173648238, -1.59524411e-08, -0.173648223, -0.984807849)
  2907. Weld107.C1 = CFrame.new(-0.102050781, -0.454270244, -0.0144729614, 1, 6.58968489e-08, -2.78179293e-08, -6.58968489e-08, 1, 1.49014543e-08, 2.78179293e-08, -1.49014525e-08, 1)
  2908. Weld107.Part0 = Part106
  2909. Sound108.Name = "Click"
  2910. Sound108.Parent = Part106
  2911. Sound108.SoundId = "rbxassetid://132464034"
  2912. Sound109.Name = "FireSound"
  2913. Sound109.Parent = Part106
  2914. Sound109.Pitch = 0.94999998807907
  2915. Sound109.SoundId = "rbxassetid://153230626"
  2916. Sound109.Volume = 1
  2917. Sound110.Name = "M203"
  2918. Sound110.Parent = Part106
  2919. Sound110.SoundId = "http://roblox.com/asset/?id=135039581"
  2920. Sound110.Volume = 1
  2921. Sound111.Name = "MagIn"
  2922. Sound111.Parent = Part106
  2923. Sound111.SoundId = "rbxassetid://269079412"
  2924. Sound111.Volume = 1
  2925. Sound112.Name = "MagOut"
  2926. Sound112.Parent = Part106
  2927. Sound112.Pitch = 0.89999997615814
  2928. Sound112.SoundId = "rbxassetid://268870109"
  2929. Sound112.Volume = 1
  2930. Sound113.Name = "ReloadSound"
  2931. Sound113.Parent = Part106
  2932. Sound113.SoundId = "rbxassetid://147323220"
  2933. Sound113.Volume = 0.80000001192093
  2934. Sound114.Name = "Running"
  2935. Sound114.Parent = Part106
  2936. Sound114.Pitch = 0.97500002384186
  2937. Sound114.SoundId = "http://www.roblox.com/asset/?id=246376673"
  2938. Sound114.Volume = 1
  2939. Sound114.Looped = true
  2940. Sound115.Name = "SafetyClick"
  2941. Sound115.Parent = Part106
  2942. Sound115.Pitch = 1.5
  2943. Sound115.SoundId = "rbxassetid://132464034"
  2944. Sound115.Volume = 0.30000001192093
  2945. Sound116.Name = "WindowBreak"
  2946. Sound116.Parent = Part106
  2947. Sound116.Pitch = 0.97500002384186
  2948. Sound116.SoundId = "http://www.roblox.com/asset/?id=142082167"
  2949. Sound116.Volume = 1
  2950. Part117.Name = "FirePart"
  2951. Part117.Parent = Tool0
  2952. Part117.Material = Enum.Material.Metal
  2953. Part117.BrickColor = BrickColor.new("Really black")
  2954. Part117.Reflectance = 0.30000001192093
  2955. Part117.Transparency = 1
  2956. Part117.Rotation = Vector3.new(-180, 0, -90)
  2957. Part117.CanCollide = false
  2958. Part117.FormFactor = Enum.FormFactor.Custom
  2959. Part117.Size = Vector3.new(0.219398826, 0.219398826, 0.219398826)
  2960. Part117.CFrame = CFrame.new(70.3000031, 1.07599998, -20.0109997, 5.89999981e-05, 1, 0, 1, -5.89999981e-05, 0, 0, 0, -1)
  2961. Part117.BottomSurface = Enum.SurfaceType.Smooth
  2962. Part117.TopSurface = Enum.SurfaceType.Smooth
  2963. Part117.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2964. Part117.Position = Vector3.new(70.3000031, 1.07599998, -20.0109997)
  2965. Part117.Orientation = Vector3.new(0, 180, 90)
  2966. Part117.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2967. BlockMesh118.Parent = Part117
  2968. BlockMesh118.Scale = Vector3.new(0.902499974, 0.902499974, 0.902499974)
  2969. BlockMesh118.Scale = Vector3.new(0.902499974, 0.902499974, 0.902499974)
  2970. Sound119.Name = "Fire"
  2971. Sound119.Parent = Part117
  2972. Sound119.SoundId = "rbxassetid://474452428"
  2973. Sound119.Volume = 1
  2974. ParticleEmitter120.Name = "1FlashFX2"
  2975. ParticleEmitter120.Parent = Part117
  2976. ParticleEmitter120.Transparency = NumberSequence.new(0.625,1)
  2977. ParticleEmitter120.Rotation = NumberRange.new(0, 90)
  2978. ParticleEmitter120.Size = NumberSequence.new(1,0)
  2979. ParticleEmitter120.Color = ColorSequence.new(Color3.new(1, 1, 0.498039),Color3.new(1, 1, 0.498039))
  2980. ParticleEmitter120.Enabled = false
  2981. ParticleEmitter120.LightEmission = 1
  2982. ParticleEmitter120.Texture = "http://www.roblox.com/asset/?id=257430870"
  2983. ParticleEmitter120.Lifetime = NumberRange.new(0.050000000745058, 0.075000002980232)
  2984. ParticleEmitter120.Rate = 1000
  2985. ParticleEmitter120.Speed = NumberRange.new(100, 100)
  2986. ParticleEmitter120.Color = ColorSequence.new(Color3.new(1, 1, 0.498039),Color3.new(1, 1, 0.498039))
  2987. SpotLight121.Name = "FlashFX"
  2988. SpotLight121.Parent = Part117
  2989. SpotLight121.Color = Color3.new(1, 0.843137, 0.145098)
  2990. SpotLight121.Enabled = false
  2991. SpotLight121.Brightness = 5
  2992. SpotLight121.Range = 10
  2993. SpotLight121.Angle = 180
  2994. SpotLight121.Color = Color3.new(1, 0.843137, 0.145098)
  2995. ParticleEmitter122.Name = "Smoke"
  2996. ParticleEmitter122.Parent = Part117
  2997. ParticleEmitter122.Transparency = NumberSequence.new(0.99000000953674,0.99000000953674)
  2998. ParticleEmitter122.Rotation = NumberRange.new(0, 100)
  2999. ParticleEmitter122.Size = NumberSequence.new(0.20000000298023,0.20000000298023)
  3000. ParticleEmitter122.Enabled = false
  3001. ParticleEmitter122.LightEmission = 0.0099999997764826
  3002. ParticleEmitter122.Texture = "http://www.roblox.com/asset/?id=117472237"
  3003. ParticleEmitter122.Lifetime = NumberRange.new(1, 1)
  3004. ParticleEmitter122.Rate = 998
  3005. ParticleEmitter122.RotSpeed = NumberRange.new(200, 200)
  3006. ParticleEmitter122.Speed = NumberRange.new(7, 7)
  3007. ParticleEmitter122.VelocitySpread = 40
  3008. ParticleEmitter123.Name = "FlashFX[Flash]"
  3009. ParticleEmitter123.Parent = Part117
  3010. ParticleEmitter123.Transparency = NumberSequence.new(1,1)
  3011. ParticleEmitter123.Rotation = NumberRange.new(0, 90)
  3012. ParticleEmitter123.Size = NumberSequence.new(0.5,0)
  3013. ParticleEmitter123.Color = ColorSequence.new(Color3.new(1, 1, 0.498039),Color3.new(1, 1, 0.498039))
  3014. ParticleEmitter123.Enabled = false
  3015. ParticleEmitter123.LightEmission = 1
  3016. ParticleEmitter123.Texture = "http://www.roblox.com/asset/?id=257430870"
  3017. ParticleEmitter123.Lifetime = NumberRange.new(0.050000000745058, 0.075000002980232)
  3018. ParticleEmitter123.Rate = 1000
  3019. ParticleEmitter123.Speed = NumberRange.new(50, 50)
  3020. ParticleEmitter123.Color = ColorSequence.new(Color3.new(1, 1, 0.498039),Color3.new(1, 1, 0.498039))
  3021. Part124.Name = "Mag2"
  3022. Part124.Parent = Tool0
  3023. Part124.Material = Enum.Material.Metal
  3024. Part124.Rotation = Vector3.new(-168, 0, 90)
  3025. Part124.Anchored = true
  3026. Part124.FormFactor = Enum.FormFactor.Custom
  3027. Part124.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3028. Part124.CFrame = CFrame.new(70.3000031, 0.128011018, -22.0820007, 8.62358434e-08, -1, 5.84531143e-08, -0.978147507, -7.21982758e-08, 0.207912147, -0.207912147, -7.51052482e-08, -0.978147507)
  3029. Part124.BottomSurface = Enum.SurfaceType.Smooth
  3030. Part124.TopSurface = Enum.SurfaceType.Smooth
  3031. Part124.Position = Vector3.new(70.3000031, 0.128011018, -22.0820007)
  3032. Part124.Orientation = Vector3.new(-12, 180, -90)
  3033. BlockMesh125.Parent = Part124
  3034. BlockMesh125.Scale = Vector3.new(0.142857134, 0.857142866, 0.678571463)
  3035. BlockMesh125.Scale = Vector3.new(0.142857134, 0.857142866, 0.678571463)
  3036. Part126.Parent = Tool0
  3037. Part126.Material = Enum.Material.Metal
  3038. Part126.BrickColor = BrickColor.new("Really black")
  3039. Part126.Rotation = Vector3.new(-180, 0, 0)
  3040. Part126.Anchored = true
  3041. Part126.FormFactor = Enum.FormFactor.Custom
  3042. Part126.Size = Vector3.new(0.200000003, 0.300000012, 0.200000003)
  3043. Part126.CFrame = CFrame.new(70.3000031, 0.286009997, -22.1189995, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  3044. Part126.BottomSurface = Enum.SurfaceType.Smooth
  3045. Part126.TopSurface = Enum.SurfaceType.Smooth
  3046. Part126.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3047. Part126.Position = Vector3.new(70.3000031, 0.286009997, -22.1189995)
  3048. Part126.Orientation = Vector3.new(0, 180, 180)
  3049. Part126.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3050. BlockMesh127.Parent = Part126
  3051. BlockMesh127.Scale = Vector3.new(0.928571463, 1, 0.464285731)
  3052. BlockMesh127.Scale = Vector3.new(0.928571463, 1, 0.464285731)
  3053. Part128.Parent = Tool0
  3054. Part128.Material = Enum.Material.Metal
  3055. Part128.Rotation = Vector3.new(-180, 0, 0)
  3056. Part128.Anchored = true
  3057. Part128.FormFactor = Enum.FormFactor.Custom
  3058. Part128.Size = Vector3.new(0.200000003, 0.200000003, 0.235714287)
  3059. Part128.CFrame = CFrame.new(70.2959976, 1.083009, -21.3899994, 1, -1.50995803e-07, 4.37113883e-08, -1.50995803e-07, -1, 0, 4.37113883e-08, 0, -1)
  3060. Part128.BottomSurface = Enum.SurfaceType.Smooth
  3061. Part128.TopSurface = Enum.SurfaceType.Smooth
  3062. Part128.Position = Vector3.new(70.2959976, 1.083009, -21.3899994)
  3063. Part128.Orientation = Vector3.new(0, 180, -180)
  3064. BlockMesh129.Parent = Part128
  3065. BlockMesh129.Scale = Vector3.new(0.642857194, 0.607142866, 1)
  3066. BlockMesh129.Scale = Vector3.new(0.642857194, 0.607142866, 1)
  3067. Part130.Parent = Tool0
  3068. Part130.Material = Enum.Material.Metal
  3069. Part130.BrickColor = BrickColor.new("Really black")
  3070. Part130.Rotation = Vector3.new(-180, 0, 0)
  3071. Part130.Anchored = true
  3072. Part130.FormFactor = Enum.FormFactor.Custom
  3073. Part130.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3074. Part130.CFrame = CFrame.new(70.3000031, 0.822009981, -22.2649994, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  3075. Part130.BottomSurface = Enum.SurfaceType.Smooth
  3076. Part130.TopSurface = Enum.SurfaceType.Smooth
  3077. Part130.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3078. Part130.Position = Vector3.new(70.3000031, 0.822009981, -22.2649994)
  3079. Part130.Orientation = Vector3.new(0, 180, 180)
  3080. Part130.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3081. BlockMesh131.Parent = Part130
  3082. BlockMesh131.Scale = Vector3.new(0.928571463, 0.142857134, 0.142857134)
  3083. BlockMesh131.Scale = Vector3.new(0.928571463, 0.142857134, 0.142857134)
  3084. Part132.Parent = Tool0
  3085. Part132.Material = Enum.Material.Metal
  3086. Part132.BrickColor = BrickColor.new("Really black")
  3087. Part132.Rotation = Vector3.new(-15, 90, 0)
  3088. Part132.Anchored = true
  3089. Part132.FormFactor = Enum.FormFactor.Custom
  3090. Part132.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3091. Part132.CFrame = CFrame.new(70.3000031, 1.06100905, -22.2970009, -4.22219699e-08, -1.13133325e-08, 1, -0.258818686, 0.965925932, 0, -0.965925932, -0.258818686, -4.37113954e-08)
  3092. Part132.BottomSurface = Enum.SurfaceType.Smooth
  3093. Part132.TopSurface = Enum.SurfaceType.Smooth
  3094. Part132.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3095. Part132.Position = Vector3.new(70.3000031, 1.06100905, -22.2970009)
  3096. Part132.Orientation = Vector3.new(0, 90, -15)
  3097. Part132.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3098. BlockMesh133.Parent = Part132
  3099. BlockMesh133.Scale = Vector3.new(0.142857134, 0.178571433, 0.285714269)
  3100. BlockMesh133.Scale = Vector3.new(0.142857134, 0.178571433, 0.285714269)
  3101. Part134.Parent = Tool0
  3102. Part134.Material = Enum.Material.Metal
  3103. Part134.BrickColor = BrickColor.new("Really black")
  3104. Part134.Rotation = Vector3.new(-180, 0, 0)
  3105. Part134.Anchored = true
  3106. Part134.FormFactor = Enum.FormFactor.Custom
  3107. Part134.Size = Vector3.new(0.200000003, 0.200000003, 0.478571415)
  3108. Part134.CFrame = CFrame.new(70.3000031, 0.782010019, -21.9220009, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  3109. Part134.BottomSurface = Enum.SurfaceType.Smooth
  3110. Part134.TopSurface = Enum.SurfaceType.Smooth
  3111. Part134.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3112. Part134.Position = Vector3.new(70.3000031, 0.782010019, -21.9220009)
  3113. Part134.Orientation = Vector3.new(0, 180, 180)
  3114. Part134.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3115. BlockMesh135.Parent = Part134
  3116. BlockMesh135.Offset = Vector3.new(0, 0, -0.0399999991)
  3117. BlockMesh135.Scale = Vector3.new(0.928571463, 0.25, 1)
  3118. BlockMesh135.Scale = Vector3.new(0.928571463, 0.25, 1)
  3119. Part136.Parent = Tool0
  3120. Part136.Material = Enum.Material.Metal
  3121. Part136.BrickColor = BrickColor.new("Really black")
  3122. Part136.Rotation = Vector3.new(-165, 0, 180)
  3123. Part136.Anchored = true
  3124. Part136.FormFactor = Enum.FormFactor.Custom
  3125. Part136.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3126. Part136.CFrame = CFrame.new(70.3000031, 0.649010003, -21.6219997, -1, -9.31847453e-08, 5.5012439e-11, -8.99952823e-08, 0.965925872, 0.258818865, -2.41711113e-08, 0.258818865, -0.965925872)
  3127. Part136.BottomSurface = Enum.SurfaceType.Smooth
  3128. Part136.TopSurface = Enum.SurfaceType.Smooth
  3129. Part136.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3130. Part136.Position = Vector3.new(70.3000031, 0.649010003, -21.6219997)
  3131. Part136.Orientation = Vector3.new(-15, 180, 0)
  3132. Part136.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3133. SpecialMesh137.Parent = Part136
  3134. SpecialMesh137.Scale = Vector3.new(0.785714328, 0.285714269, 0.75)
  3135. SpecialMesh137.MeshType = Enum.MeshType.Wedge
  3136. SpecialMesh137.Scale = Vector3.new(0.785714328, 0.285714269, 0.75)
  3137. Part138.Parent = Tool0
  3138. Part138.Material = Enum.Material.Metal
  3139. Part138.BrickColor = BrickColor.new("Really black")
  3140. Part138.Rotation = Vector3.new(-165, 0, 0)
  3141. Part138.Anchored = true
  3142. Part138.FormFactor = Enum.FormFactor.Custom
  3143. Part138.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3144. Part138.CFrame = CFrame.new(70.3000031, 0.56200999, -21.6310005, 1, 1.24971237e-07, 5.51247936e-11, 1.20698672e-07, -0.965926111, 0.258818269, 3.23980842e-08, -0.258818269, -0.965926111)
  3145. Part138.BottomSurface = Enum.SurfaceType.Smooth
  3146. Part138.TopSurface = Enum.SurfaceType.Smooth
  3147. Part138.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3148. Part138.Position = Vector3.new(70.3000031, 0.56200999, -21.6310005)
  3149. Part138.Orientation = Vector3.new(-15, 180, 180)
  3150. Part138.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3151. SpecialMesh139.Parent = Part138
  3152. SpecialMesh139.Scale = Vector3.new(0.785714328, 0.285714269, 0.892857134)
  3153. SpecialMesh139.MeshType = Enum.MeshType.Wedge
  3154. SpecialMesh139.Scale = Vector3.new(0.785714328, 0.285714269, 0.892857134)
  3155. Part140.Parent = Tool0
  3156. Part140.Material = Enum.Material.Metal
  3157. Part140.BrickColor = BrickColor.new("Really black")
  3158. Part140.Anchored = true
  3159. Part140.FormFactor = Enum.FormFactor.Custom
  3160. Part140.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3161. Part140.CFrame = CFrame.new(70.3000031, 0.90000999, -22.2649994, 1, 3.17865059e-08, 6.44094333e-09, -3.17865094e-08, 1, 0, -6.44093934e-09, 0, 1)
  3162. Part140.BottomSurface = Enum.SurfaceType.Smooth
  3163. Part140.TopSurface = Enum.SurfaceType.Smooth
  3164. Part140.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3165. Part140.Position = Vector3.new(70.3000031, 0.90000999, -22.2649994)
  3166. Part140.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3167. SpecialMesh141.Parent = Part140
  3168. SpecialMesh141.Scale = Vector3.new(0.928571463, 0.642857194, 0.142857134)
  3169. SpecialMesh141.MeshType = Enum.MeshType.Wedge
  3170. SpecialMesh141.Scale = Vector3.new(0.928571463, 0.642857194, 0.142857134)
  3171. Part142.Parent = Tool0
  3172. Part142.Material = Enum.Material.Metal
  3173. Part142.BrickColor = BrickColor.new("Really black")
  3174. Part142.Rotation = Vector3.new(-180, 0, 0)
  3175. Part142.Anchored = true
  3176. Part142.FormFactor = Enum.FormFactor.Custom
  3177. Part142.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3178. Part142.CFrame = CFrame.new(70.3000031, 0.887009978, -21.0760002, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  3179. Part142.BottomSurface = Enum.SurfaceType.Smooth
  3180. Part142.TopSurface = Enum.SurfaceType.Smooth
  3181. Part142.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3182. Part142.Position = Vector3.new(70.3000031, 0.887009978, -21.0760002)
  3183. Part142.Orientation = Vector3.new(0, 180, 180)
  3184. Part142.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3185. SpecialMesh143.Parent = Part142
  3186. SpecialMesh143.Scale = Vector3.new(0.928571463, 0.785714328, 0.535714269)
  3187. SpecialMesh143.MeshType = Enum.MeshType.Wedge
  3188. SpecialMesh143.Scale = Vector3.new(0.928571463, 0.785714328, 0.535714269)
  3189. Part144.Parent = Tool0
  3190. Part144.Material = Enum.Material.Metal
  3191. Part144.BrickColor = BrickColor.new("Really black")
  3192. Part144.Rotation = Vector3.new(0, 0, -180)
  3193. Part144.Anchored = true
  3194. Part144.FormFactor = Enum.FormFactor.Custom
  3195. Part144.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3196. Part144.CFrame = CFrame.new(70.3000031, 0.732010007, -22.0970001, -1, 0, 0, -0, -1, 0, -0, 0, 1)
  3197. Part144.BottomSurface = Enum.SurfaceType.Smooth
  3198. Part144.TopSurface = Enum.SurfaceType.Smooth
  3199. Part144.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3200. Part144.Position = Vector3.new(70.3000031, 0.732010007, -22.0970001)
  3201. Part144.Orientation = Vector3.new(0, 0, -180)
  3202. Part144.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3203. SpecialMesh145.Parent = Part144
  3204. SpecialMesh145.Scale = Vector3.new(0.928571463, 0.25, 0.25)
  3205. SpecialMesh145.MeshType = Enum.MeshType.Wedge
  3206. SpecialMesh145.Scale = Vector3.new(0.928571463, 0.25, 0.25)
  3207. Part146.Parent = Tool0
  3208. Part146.Material = Enum.Material.Metal
  3209. Part146.BrickColor = BrickColor.new("Really black")
  3210. Part146.Rotation = Vector3.new(-180, 0, 0)
  3211. Part146.Anchored = true
  3212. Part146.FormFactor = Enum.FormFactor.Custom
  3213. Part146.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3214. Part146.CFrame = CFrame.new(70.3000031, 0.707009017, -21.1760006, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  3215. Part146.BottomSurface = Enum.SurfaceType.Smooth
  3216. Part146.TopSurface = Enum.SurfaceType.Smooth
  3217. Part146.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3218. Part146.Position = Vector3.new(70.3000031, 0.707009017, -21.1760006)
  3219. Part146.Orientation = Vector3.new(0, 180, 180)
  3220. Part146.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3221. BlockMesh147.Parent = Part146
  3222. BlockMesh147.Scale = Vector3.new(0.785714328, 1, 0.25)
  3223. BlockMesh147.Scale = Vector3.new(0.785714328, 1, 0.25)
  3224. Part148.Parent = Tool0
  3225. Part148.Material = Enum.Material.Metal
  3226. Part148.BrickColor = BrickColor.new("Really black")
  3227. Part148.Rotation = Vector3.new(168, 0, -180)
  3228. Part148.Anchored = true
  3229. Part148.FormFactor = Enum.FormFactor.Custom
  3230. Part148.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3231. Part148.CFrame = CFrame.new(70.3000031, 0.688009977, -21.1539993, -1, 1.55134501e-07, -4.33326131e-09, 1.52645541e-07, 0.978148758, -0.207906425, -2.801489e-08, -0.207906425, -0.978148758)
  3232. Part148.BottomSurface = Enum.SurfaceType.Smooth
  3233. Part148.TopSurface = Enum.SurfaceType.Smooth
  3234. Part148.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3235. Part148.Position = Vector3.new(70.3000031, 0.688009977, -21.1539993)
  3236. Part148.Orientation = Vector3.new(12, -180, 0)
  3237. Part148.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3238. SpecialMesh149.Parent = Part148
  3239. SpecialMesh149.Scale = Vector3.new(0.785714328, 0.607142866, 0.142857134)
  3240. SpecialMesh149.MeshType = Enum.MeshType.Wedge
  3241. SpecialMesh149.Scale = Vector3.new(0.785714328, 0.607142866, 0.142857134)
  3242. Part150.Parent = Tool0
  3243. Part150.Material = Enum.Material.Metal
  3244. Part150.BrickColor = BrickColor.new("Really black")
  3245. Part150.Rotation = Vector3.new(-90, 0, 0)
  3246. Part150.Anchored = true
  3247. Part150.FormFactor = Enum.FormFactor.Custom
  3248. Part150.Size = Vector3.new(0.200000003, 1.12142861, 0.200000003)
  3249. Part150.CFrame = CFrame.new(70.3000031, 1.07600796, -20.9610004, 1, 4.37113883e-08, 1.50995803e-07, -1.50995803e-07, 0, 1, 4.37113883e-08, -1, 0)
  3250. Part150.BottomSurface = Enum.SurfaceType.Smooth
  3251. Part150.TopSurface = Enum.SurfaceType.Smooth
  3252. Part150.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3253. Part150.Position = Vector3.new(70.3000031, 1.07600796, -20.9610004)
  3254. Part150.Orientation = Vector3.new(-90, 0, 0)
  3255. Part150.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3256. Decal151.Parent = Part150
  3257. Decal151.Texture = "http://www.roblox.com/asset/?id=47760372"
  3258. Decal151.Face = Enum.NormalId.Bottom
  3259. CylinderMesh152.Parent = Part150
  3260. CylinderMesh152.Scale = Vector3.new(0.535714269, 1, 0.535714269)
  3261. CylinderMesh152.Scale = Vector3.new(0.535714269, 1, 0.535714269)
  3262. Part153.Parent = Tool0
  3263. Part153.Material = Enum.Material.Metal
  3264. Part153.BrickColor = BrickColor.new("Really black")
  3265. Part153.Rotation = Vector3.new(-165, 90, 0)
  3266. Part153.Anchored = true
  3267. Part153.FormFactor = Enum.FormFactor.Custom
  3268. Part153.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3269. Part153.CFrame = CFrame.new(70.3000031, 0.601009011, -21.6089993, -4.22219593e-08, 1.1313344e-08, 1, -0.258819044, -0.965925813, -1.77635684e-15, 0.965925813, -0.258819044, 4.37113883e-08)
  3270. Part153.BottomSurface = Enum.SurfaceType.Smooth
  3271. Part153.TopSurface = Enum.SurfaceType.Smooth
  3272. Part153.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3273. Part153.Position = Vector3.new(70.3000031, 0.601009011, -21.6089993)
  3274. Part153.Orientation = Vector3.new(0, 90, -165)
  3275. Part153.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3276. BlockMesh154.Parent = Part153
  3277. BlockMesh154.Scale = Vector3.new(1, 0.142857134, 0.785714328)
  3278. BlockMesh154.Scale = Vector3.new(1, 0.142857134, 0.785714328)
  3279. Part155.Parent = Tool0
  3280. Part155.Material = Enum.Material.Metal
  3281. Part155.BrickColor = BrickColor.new("Really black")
  3282. Part155.Rotation = Vector3.new(180, 0, 0)
  3283. Part155.Anchored = true
  3284. Part155.FormFactor = Enum.FormFactor.Custom
  3285. Part155.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3286. Part155.CFrame = CFrame.new(70.3000031, 1.04001105, -22.2259998, 1, 6.21724894e-15, -1.33226763e-15, -6.21724894e-15, -1, -0, 1.33226763e-15, 0, -1)
  3287. Part155.BottomSurface = Enum.SurfaceType.Smooth
  3288. Part155.TopSurface = Enum.SurfaceType.Smooth
  3289. Part155.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3290. Part155.Position = Vector3.new(70.3000031, 1.04001105, -22.2259998)
  3291. Part155.Orientation = Vector3.new(0, -180, -180)
  3292. Part155.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3293. BlockMesh156.Parent = Part155
  3294. BlockMesh156.Scale = Vector3.new(0.357142866, 0.75, 0.178571433)
  3295. BlockMesh156.Scale = Vector3.new(0.357142866, 0.75, 0.178571433)
  3296. Part157.Parent = Tool0
  3297. Part157.Material = Enum.Material.Metal
  3298. Part157.BrickColor = BrickColor.new("Really black")
  3299. Part157.Rotation = Vector3.new(0, 0, -180)
  3300. Part157.Anchored = true
  3301. Part157.FormFactor = Enum.FormFactor.Custom
  3302. Part157.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3303. Part157.CFrame = CFrame.new(70.3000031, 0.782010019, -22.2010002, -1, 0, 0, -0, -1, 0, -0, 0, 1)
  3304. Part157.BottomSurface = Enum.SurfaceType.Smooth
  3305. Part157.TopSurface = Enum.SurfaceType.Smooth
  3306. Part157.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3307. Part157.Position = Vector3.new(70.3000031, 0.782010019, -22.2010002)
  3308. Part157.Orientation = Vector3.new(0, 0, -180)
  3309. Part157.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3310. SpecialMesh158.Parent = Part157
  3311. SpecialMesh158.Scale = Vector3.new(0.928571463, 0.25, 0.785714328)
  3312. SpecialMesh158.MeshType = Enum.MeshType.Wedge
  3313. SpecialMesh158.Scale = Vector3.new(0.928571463, 0.25, 0.785714328)
  3314. Part159.Parent = Tool0
  3315. Part159.Material = Enum.Material.Metal
  3316. Part159.BrickColor = BrickColor.new("Really black")
  3317. Part159.Rotation = Vector3.new(179.979996, 0, 0)
  3318. Part159.Anchored = true
  3319. Part159.FormFactor = Enum.FormFactor.Custom
  3320. Part159.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3321. Part159.CFrame = CFrame.new(70.2929993, 0.779009998, -21.5060005, 1, -1.50998588e-07, 4.36743264e-08, -1.50983524e-07, -1, -0.000345364213, 4.37264802e-08, 0.000345364213, -1)
  3322. Part159.BottomSurface = Enum.SurfaceType.Smooth
  3323. Part159.TopSurface = Enum.SurfaceType.Smooth
  3324. Part159.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3325. Part159.Position = Vector3.new(70.2929993, 0.779009998, -21.5060005)
  3326. Part159.Orientation = Vector3.new(0.0199999996, 180, -180)
  3327. Part159.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3328. SpecialMesh160.Parent = Part159
  3329. SpecialMesh160.Scale = Vector3.new(0.142857134, 0.285714269, 0.0357142836)
  3330. SpecialMesh160.MeshType = Enum.MeshType.Wedge
  3331. SpecialMesh160.Scale = Vector3.new(0.142857134, 0.285714269, 0.0357142836)
  3332. Part161.Parent = Tool0
  3333. Part161.Material = Enum.Material.Metal
  3334. Part161.BrickColor = BrickColor.new("Really black")
  3335. Part161.Rotation = Vector3.new(180, 0, 0)
  3336. Part161.Anchored = true
  3337. Part161.FormFactor = Enum.FormFactor.Custom
  3338. Part161.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3339. Part161.CFrame = CFrame.new(70.3000031, 0.107010998, -22.2259998, 1, 6.21724894e-15, -1.33226763e-15, -6.21724894e-15, -1, -0, 1.33226763e-15, 0, -1)
  3340. Part161.BottomSurface = Enum.SurfaceType.Smooth
  3341. Part161.TopSurface = Enum.SurfaceType.Smooth
  3342. Part161.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3343. Part161.Position = Vector3.new(70.3000031, 0.107010998, -22.2259998)
  3344. Part161.Orientation = Vector3.new(0, -180, -180)
  3345. Part161.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3346. BlockMesh162.Parent = Part161
  3347. BlockMesh162.Scale = Vector3.new(0.928571463, 0.285714269, 0.321428597)
  3348. BlockMesh162.Scale = Vector3.new(0.928571463, 0.285714269, 0.321428597)
  3349. Part163.Name = "Mag3"
  3350. Part163.Parent = Tool0
  3351. Part163.Material = Enum.Material.Metal
  3352. Part163.BrickColor = BrickColor.new("Really black")
  3353. Part163.Rotation = Vector3.new(-180, 0, 90)
  3354. Part163.Anchored = true
  3355. Part163.FormFactor = Enum.FormFactor.Custom
  3356. Part163.Size = Vector3.new(0.200000003, 0.200000003, 0.400000006)
  3357. Part163.CFrame = CFrame.new(70.302002, 0.100010999, -21.9829998, 1.19248869e-08, -1, 4.37113883e-08, -1, -1.1924878e-08, 1.49011612e-08, -1.49011612e-08, -4.37113883e-08, -1)
  3358. Part163.BottomSurface = Enum.SurfaceType.Smooth
  3359. Part163.TopSurface = Enum.SurfaceType.Smooth
  3360. Part163.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3361. Part163.Position = Vector3.new(70.302002, 0.100010999, -21.9829998)
  3362. Part163.Orientation = Vector3.new(0, 180, -90)
  3363. Part163.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3364. BlockMesh164.Parent = Part163
  3365. BlockMesh164.Scale = Vector3.new(0.321428597, 0.928571463, 1)
  3366. BlockMesh164.Scale = Vector3.new(0.321428597, 0.928571463, 1)
  3367. Part165.Parent = Tool0
  3368. Part165.Material = Enum.Material.Metal
  3369. Part165.BrickColor = BrickColor.new("Really black")
  3370. Part165.Rotation = Vector3.new(-93, 0, 90)
  3371. Part165.Anchored = true
  3372. Part165.FormFactor = Enum.FormFactor.Custom
  3373. Part165.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3374. Part165.CFrame = CFrame.new(70.3960037, 0.912010014, -21.3689995, 7.94603636e-08, -1, 1.53076542e-07, -0.0523359627, 1.48708111e-07, 0.998629451, -0.998629451, -8.73628778e-08, -0.0523359627)
  3375. Part165.BottomSurface = Enum.SurfaceType.Smooth
  3376. Part165.TopSurface = Enum.SurfaceType.Smooth
  3377. Part165.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3378. Part165.Position = Vector3.new(70.3960037, 0.912010014, -21.3689995)
  3379. Part165.Orientation = Vector3.new(-87, 180, -90)
  3380. Part165.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3381. CylinderMesh166.Parent = Part165
  3382. CylinderMesh166.Scale = Vector3.new(0.392857164, 0.0357142836, 0.392857164)
  3383. CylinderMesh166.Scale = Vector3.new(0.392857164, 0.0357142836, 0.392857164)
  3384. Part167.Parent = Tool0
  3385. Part167.Material = Enum.Material.Metal
  3386. Part167.BrickColor = BrickColor.new("Really black")
  3387. Part167.Anchored = true
  3388. Part167.FormFactor = Enum.FormFactor.Custom
  3389. Part167.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3390. Part167.CFrame = CFrame.new(70.3000031, 0.625010014, -21.2259998, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3391. Part167.BottomSurface = Enum.SurfaceType.Smooth
  3392. Part167.TopSurface = Enum.SurfaceType.Smooth
  3393. Part167.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3394. Part167.Position = Vector3.new(70.3000031, 0.625010014, -21.2259998)
  3395. Part167.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3396. SpecialMesh168.Parent = Part167
  3397. SpecialMesh168.Scale = Vector3.new(0.785714328, 0.25, 0.321428597)
  3398. SpecialMesh168.MeshType = Enum.MeshType.Wedge
  3399. SpecialMesh168.Scale = Vector3.new(0.785714328, 0.25, 0.321428597)
  3400. Part169.Parent = Tool0
  3401. Part169.Material = Enum.Material.Metal
  3402. Part169.BrickColor = BrickColor.new("Really black")
  3403. Part169.Rotation = Vector3.new(180, 0, 0)
  3404. Part169.Anchored = true
  3405. Part169.FormFactor = Enum.FormFactor.Custom
  3406. Part169.Size = Vector3.new(0.200000003, 0.200000003, 0.592857122)
  3407. Part169.CFrame = CFrame.new(70.3679962, 0.922010005, -20.7900009, 1, 6.21724894e-15, -1.33226763e-15, -6.21724894e-15, -1, -0, 1.33226763e-15, 0, -1)
  3408. Part169.BottomSurface = Enum.SurfaceType.Smooth
  3409. Part169.TopSurface = Enum.SurfaceType.Smooth
  3410. Part169.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3411. Part169.Position = Vector3.new(70.3679962, 0.922010005, -20.7900009)
  3412. Part169.Orientation = Vector3.new(0, -180, -180)
  3413. Part169.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3414. BlockMesh170.Parent = Part169
  3415. BlockMesh170.Scale = Vector3.new(0.178571433, 0.428571433, 1)
  3416. BlockMesh170.Scale = Vector3.new(0.178571433, 0.428571433, 1)
  3417. Part171.Parent = Tool0
  3418. Part171.Material = Enum.Material.Metal
  3419. Part171.BrickColor = BrickColor.new("Really black")
  3420. Part171.Rotation = Vector3.new(-15, 90, 0)
  3421. Part171.Anchored = true
  3422. Part171.FormFactor = Enum.FormFactor.Custom
  3423. Part171.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3424. Part171.CFrame = CFrame.new(70.3000031, 1.02501094, -22.2649994, -4.22219699e-08, -1.13133325e-08, 1, -0.258818686, 0.965925932, 0, -0.965925932, -0.258818686, -4.37113954e-08)
  3425. Part171.BottomSurface = Enum.SurfaceType.Smooth
  3426. Part171.TopSurface = Enum.SurfaceType.Smooth
  3427. Part171.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3428. Part171.Position = Vector3.new(70.3000031, 1.02501094, -22.2649994)
  3429. Part171.Orientation = Vector3.new(0, 90, -15)
  3430. Part171.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3431. BlockMesh172.Parent = Part171
  3432. BlockMesh172.Scale = Vector3.new(0.0714285672, 0.75, 0.285714269)
  3433. BlockMesh172.Scale = Vector3.new(0.0714285672, 0.75, 0.285714269)
  3434. Part173.Parent = Tool0
  3435. Part173.Material = Enum.Material.Metal
  3436. Part173.BrickColor = BrickColor.new("Really black")
  3437. Part173.Rotation = Vector3.new(90, 0, -180)
  3438. Part173.Anchored = true
  3439. Part173.FormFactor = Enum.FormFactor.Custom
  3440. Part173.Size = Vector3.new(0.200000003, 0.200000003, 0.300000012)
  3441. Part173.CFrame = CFrame.new(70.3000031, 0.286009997, -22.2110004, -1, 0, 0, -0, 0, -1, -0, -1, 0)
  3442. Part173.BottomSurface = Enum.SurfaceType.Smooth
  3443. Part173.TopSurface = Enum.SurfaceType.Smooth
  3444. Part173.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3445. Part173.Position = Vector3.new(70.3000031, 0.286009997, -22.2110004)
  3446. Part173.Orientation = Vector3.new(90, 180, 0)
  3447. Part173.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3448. SpecialMesh174.Parent = Part173
  3449. SpecialMesh174.Scale = Vector3.new(0.928571463, 0.464285731, 1)
  3450. SpecialMesh174.MeshType = Enum.MeshType.Wedge
  3451. SpecialMesh174.Scale = Vector3.new(0.928571463, 0.464285731, 1)
  3452. LocalScript175.Parent = Tool0
  3453. table.insert(cors,sandbox(LocalScript175,function()
  3454.  
  3455. wait(1)
  3456. --Warning if You removed this,You're head wont follow to the Camera, I made it seperately cuz to prevent lag(Hope so)
  3457. local Player = game.Players.LocalPlayer
  3458. local Character = Player.Character
  3459. local Humanoid = Character.Humanoid
  3460. local Mouse = Player:GetMouse()
  3461. local Tool = script.Parent
  3462. local Camera = game.Workspace.CurrentCamera
  3463.  
  3464. local Equipped = false
  3465.  
  3466. local RA = Character:WaitForChild("Right Arm")
  3467. local LA = Character:WaitForChild("Left Arm")
  3468. local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")
  3469.  
  3470. local Torso = Character:WaitForChild("Torso")
  3471. local Neck = Torso["Neck"]
  3472. local FRA
  3473. local FLA
  3474. local FRW
  3475. local FLW
  3476.  
  3477. function MakeArmModel()
  3478. arms = Instance.new("Model", Camera)
  3479. arms.Name = "Arms"
  3480. end
  3481.  
  3482. function RemoveArmModel()
  3483. arms:Destroy()
  3484. end
  3485.  
  3486.  
  3487. -- Making the FakeArms
  3488. function MakeFakeArms()
  3489. FRA = RA:clone()
  3490. FRA.Parent = arms
  3491. FRA.Name = "Right Arm"
  3492. FRA.FormFactor = "Custom"
  3493. FRA.Size = Vector3.new(0.6,1.9,0.6)
  3494. FRA.Transparency = 0
  3495. FRA.Anchored = false
  3496.  
  3497. FRW = Instance.new("Motor6D")
  3498. FRW.Part0 = FRA
  3499. FRW.Part1 = RA
  3500. FRW.Parent = FRA
  3501. FRW.C0 = CFrame.new(0.2,0,0.2)
  3502. FRW.C1 = CFrame.new()
  3503.  
  3504. FLA = LA:clone()
  3505. FLA.Parent = arms
  3506. FLA.Name = "Left Arm"
  3507. FLA.FormFactor = "Custom"
  3508. FLA.Size = Vector3.new(0.6,1.9,0.6)
  3509. FLA.Transparency = 0
  3510. FLA.Anchored = false
  3511.  
  3512. FLW = Instance.new("Motor6D")
  3513. FLW.Part0 = FLA
  3514. FLW.Part1 = LA
  3515. FLW.Parent = FLA
  3516. FLW.C0 = CFrame.new(-0.2,0,0.2)
  3517. FLW.C1 = CFrame.new()
  3518. end
  3519.  
  3520. function RemoveFakeArms()
  3521. FRA:Destroy()
  3522. FLA:Destroy()
  3523. end
  3524.  
  3525.  
  3526. -- Making Arm Model Stuff
  3527. function MakeArmStuff()
  3528. local Human = Instance.new("Humanoid")
  3529. Human.MaxHealth = 0
  3530. Human.Health = 0
  3531. Human.Name = ""
  3532. Human.Parent = arms
  3533.  
  3534. local newShirt = Character:WaitForChild("Shirt"):clone()
  3535. newShirt.Parent = arms
  3536. end
  3537.  
  3538. Tool.Equipped:connect(function()
  3539. Equipped = true
  3540. MakeArmModel()
  3541. MakeFakeArms()
  3542. MakeArmStuff()
  3543. game:GetService("RunService").RenderStepped:connect(function()
  3544. if Equipped then
  3545. local HRPCF = HumanoidRootPart.CFrame * CFrame.new(0, 1.5, 0)* CFrame.new(Humanoid.CameraOffset)
  3546. Neck.C0 = Torso.CFrame:toObjectSpace(HRPCF)
  3547. Neck.C1 = CFrame.Angles(-math.asin(Camera.CoordinateFrame.lookVector.y), 0, 0)
  3548. end
  3549. end)
  3550. end)
  3551.  
  3552. Tool.Unequipped:connect(function()
  3553. Equipped = false
  3554. RemoveArmModel()
  3555. RemoveFakeArms()
  3556. Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  3557. Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  3558. end)
  3559.  
  3560.  
  3561. end))
  3562. Model176.Name = "Shells"
  3563. Model176.Parent = Tool0
  3564. Part177.Name = "Shell"
  3565. Part177.Parent = Model176
  3566. Part177.BrickColor = BrickColor.new("Cool yellow")
  3567. Part177.Transparency = 1
  3568. Part177.Rotation = Vector3.new(-90, 0, -90)
  3569. Part177.Anchored = true
  3570. Part177.Size = Vector3.new(0.0520000011, 0.0520000011, 0.236000001)
  3571. Part177.CFrame = CFrame.new(70.2320023, 100.921997, -20.7900009, 0, 1, 0, 0, 0, 1, 1, 0, 0)
  3572. Part177.BottomSurface = Enum.SurfaceType.Smooth
  3573. Part177.TopSurface = Enum.SurfaceType.Smooth
  3574. Part177.Color = Color3.new(0.992157, 0.917647, 0.552941)
  3575. Part177.Position = Vector3.new(70.2320023, 100.921997, -20.7900009)
  3576. Part177.Orientation = Vector3.new(-90, -90, 0)
  3577. Part177.Color = Color3.new(0.992157, 0.917647, 0.552941)
  3578. SpecialMesh178.Parent = Part177
  3579. SpecialMesh178.MeshId = "http://www.roblox.com/Asset/?id=10207677"
  3580. SpecialMesh178.Scale = Vector3.new(0.0199999996, 0.0199999996, 0.0199999996)
  3581. SpecialMesh178.MeshType = Enum.MeshType.FileMesh
  3582. SpecialMesh178.Scale = Vector3.new(0.0199999996, 0.0199999996, 0.0199999996)
  3583. Part179.Name = "A5"
  3584. Part179.Parent = Tool0
  3585. Part179.Material = Enum.Material.Metal
  3586. Part179.BrickColor = BrickColor.new("Really black")
  3587. Part179.Rotation = Vector3.new(-180, 0, 42)
  3588. Part179.Anchored = true
  3589. Part179.FormFactor = Enum.FormFactor.Custom
  3590. Part179.Size = Vector3.new(0.200000003, 0.200000003, 0.742857158)
  3591. Part179.CFrame = CFrame.new(70.2399979, 1.13900995, -21.8789997, 0.743144691, -0.669130743, 1.12274972e-08, -0.669130683, -0.743144751, 1.49011612e-08, -2.98023224e-08, -2.98023224e-08, -1)
  3592. Part179.BottomSurface = Enum.SurfaceType.Smooth
  3593. Part179.TopSurface = Enum.SurfaceType.Smooth
  3594. Part179.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3595. Part179.Position = Vector3.new(70.2399979, 1.13900995, -21.8789997)
  3596. Part179.Orientation = Vector3.new(0, 180, -138)
  3597. Part179.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3598. BlockMesh180.Parent = Part179
  3599. BlockMesh180.Scale = Vector3.new(0.178571433, 0.289285719, 1)
  3600. BlockMesh180.Scale = Vector3.new(0.178571433, 0.289285719, 1)
  3601. Part181.Name = "AimPart"
  3602. Part181.Parent = Tool0
  3603. Part181.Material = Enum.Material.Metal
  3604. Part181.BrickColor = BrickColor.new("Really black")
  3605. Part181.Reflectance = 0.30000001192093
  3606. Part181.Transparency = 1
  3607. Part181.Rotation = Vector3.new(176, 0, 178)
  3608. Part181.CanCollide = false
  3609. Part181.FormFactor = Enum.FormFactor.Custom
  3610. Part181.Size = Vector3.new(0.219398826, 0.219398826, 0.219398826)
  3611. Part181.CFrame = CFrame.new(70.2939987, 1.32099998, -22.7689991, -0.999390841, -0.0348994881, 8.72098198e-08, -0.0348144844, 0.996956408, -0.0697564706, 0.00243437826, -0.06971398, -0.997564077)
  3612. Part181.BottomSurface = Enum.SurfaceType.Smooth
  3613. Part181.TopSurface = Enum.SurfaceType.Smooth
  3614. Part181.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3615. Part181.Position = Vector3.new(70.2939987, 1.32099998, -22.7689991)
  3616. Part181.Orientation = Vector3.new(4, 180, -2)
  3617. Part181.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3618. BlockMesh182.Parent = Part181
  3619. BlockMesh182.Scale = Vector3.new(0.902499974, 0.902499974, 0.902499974)
  3620. BlockMesh182.Scale = Vector3.new(0.902499974, 0.902499974, 0.902499974)
  3621. Part183.Name = "Chamber"
  3622. Part183.Parent = Tool0
  3623. Part183.Material = Enum.Material.Metal
  3624. Part183.BrickColor = BrickColor.new("Really red")
  3625. Part183.Reflectance = 0.30000001192093
  3626. Part183.Transparency = 1
  3627. Part183.Rotation = Vector3.new(91.2799988, 72.6800003, -89.1199951)
  3628. Part183.CanCollide = false
  3629. Part183.FormFactor = Enum.FormFactor.Custom
  3630. Part183.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3631. Part183.CFrame = CFrame.new(70.1959991, 100.083, -21.3799992, 0.00457400177, 0.297712058, 0.954644859, 0.0370680131, 0.953948259, -0.297672421, -0.999302328, 0.0367483385, -0.00667223288)
  3632. Part183.BottomSurface = Enum.SurfaceType.Smooth
  3633. Part183.TopSurface = Enum.SurfaceType.Smooth
  3634. Part183.Color = Color3.new(1, 0, 0)
  3635. Part183.Position = Vector3.new(70.1959991, 100.083, -21.3799992)
  3636. Part183.Orientation = Vector3.new(17.3199997, 90.4000015, 2.23000002)
  3637. Part183.Color = Color3.new(1, 0, 0)
  3638. Part184.Name = "Mag"
  3639. Part184.Parent = Tool0
  3640. Part184.Material = Enum.Material.Metal
  3641. Part184.Rotation = Vector3.new(-168, 0, 90)
  3642. Part184.Anchored = true
  3643. Part184.FormFactor = Enum.FormFactor.Custom
  3644. Part184.Size = Vector3.new(0.800000012, 0.200000003, 0.285714298)
  3645. Part184.CFrame = CFrame.new(70.3000031, 0.518010974, -21.9230003, 8.62358434e-08, -1, 5.84531143e-08, -0.978147507, -7.21982758e-08, 0.207912147, -0.207912147, -7.51052482e-08, -0.978147507)
  3646. Part184.BottomSurface = Enum.SurfaceType.Smooth
  3647. Part184.TopSurface = Enum.SurfaceType.Smooth
  3648. Part184.Position = Vector3.new(70.3000031, 0.518010974, -21.9230003)
  3649. Part184.Orientation = Vector3.new(-12, 180, -90)
  3650. BlockMesh185.Parent = Part184
  3651. BlockMesh185.Scale = Vector3.new(1, 0.857142866, 1)
  3652. BlockMesh185.Scale = Vector3.new(1, 0.857142866, 1)
  3653. Part186.Name = "eee"
  3654. Part186.Parent = Tool0
  3655. Part186.Material = Enum.Material.Metal
  3656. Part186.BrickColor = BrickColor.new("Really black")
  3657. Part186.Transparency = 1
  3658. Part186.Rotation = Vector3.new(179.979996, 0, -180)
  3659. Part186.Anchored = true
  3660. Part186.FormFactor = Enum.FormFactor.Custom
  3661. Part186.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3662. Part186.CFrame = CFrame.new(69.8929977, 0.75999999, -21.5240002, -1, 3.18015907e-08, 4.3674337e-08, 3.17865201e-08, 0.99999994, -0.000345334411, -4.36853149e-08, -0.000345334411, -0.99999994)
  3663. Part186.BottomSurface = Enum.SurfaceType.Smooth
  3664. Part186.TopSurface = Enum.SurfaceType.Smooth
  3665. Part186.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3666. Part186.Position = Vector3.new(69.8929977, 0.75999999, -21.5240002)
  3667. Part186.Orientation = Vector3.new(0.0199999996, 180, 0)
  3668. Part186.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3669. BlockMesh187.Parent = Part186
  3670. BlockMesh187.Scale = Vector3.new(0.142857134, 0.485714287, 0.142857134)
  3671. BlockMesh187.Scale = Vector3.new(0.142857134, 0.485714287, 0.142857134)
  3672. Sound188.Name = "Click"
  3673. Sound188.Parent = Part186
  3674. Sound188.SoundId = "rbxassetid://132464034"
  3675. Sound189.Name = "FireSound"
  3676. Sound189.Parent = Part186
  3677. Sound189.Pitch = 0.94999998807907
  3678. Sound189.SoundId = "rbxassetid://153230626"
  3679. Sound189.Volume = 1
  3680. Sound190.Name = "M203"
  3681. Sound190.Parent = Part186
  3682. Sound190.SoundId = "http://roblox.com/asset/?id=135039581"
  3683. Sound190.Volume = 1
  3684. Sound191.Name = "MagIn"
  3685. Sound191.Parent = Part186
  3686. Sound191.SoundId = "rbxassetid://269079412"
  3687. Sound191.Volume = 1
  3688. Sound192.Name = "MagOut"
  3689. Sound192.Parent = Part186
  3690. Sound192.Pitch = 0.89999997615814
  3691. Sound192.SoundId = "rbxassetid://268870109"
  3692. Sound192.Volume = 1
  3693. Sound193.Name = "ReloadSound"
  3694. Sound193.Parent = Part186
  3695. Sound193.SoundId = "rbxassetid://147323220"
  3696. Sound193.Volume = 0.80000001192093
  3697. Sound194.Name = "Running"
  3698. Sound194.Parent = Part186
  3699. Sound194.Pitch = 0.97500002384186
  3700. Sound194.SoundId = "http://www.roblox.com/asset/?id=246376673"
  3701. Sound194.Volume = 1
  3702. Sound194.Looped = true
  3703. Sound195.Name = "SafetyClick"
  3704. Sound195.Parent = Part186
  3705. Sound195.Pitch = 1.5
  3706. Sound195.SoundId = "rbxassetid://132464034"
  3707. Sound195.Volume = 0.30000001192093
  3708. Sound196.Name = "WindowBreak"
  3709. Sound196.Parent = Part186
  3710. Sound196.Pitch = 0.97500002384186
  3711. Sound196.SoundId = "http://www.roblox.com/asset/?id=142082167"
  3712. Sound196.Volume = 1
  3713. Weld197.Name = "Slide"
  3714. Weld197.Parent = Part186
  3715. Weld197.C0 = CFrame.new(0, 0, 0, -1, 2.01977812e-08, 1.26371216e-08, 1.76965127e-08, 0.984807849, -0.173648238, -1.59524411e-08, -0.173648223, -0.984807849)
  3716. Weld197.C1 = CFrame.new(-0.102050781, -0.454270244, -0.0144729614, 1, 6.58968489e-08, -2.78179293e-08, -6.58968489e-08, 1, 1.49014543e-08, 2.78179293e-08, -1.49014525e-08, 1)
  3717. Weld197.Part0 = Part106
  3718. Part198.Name = "Handle"
  3719. Part198.Parent = Tool0
  3720. Part198.Material = Enum.Material.Metal
  3721. Part198.BrickColor = BrickColor.new("Dark stone grey")
  3722. Part198.Transparency = 1
  3723. Part198.Rotation = Vector3.new(175.709991, 25.1800003, -178.039993)
  3724. Part198.FormFactor = Enum.FormFactor.Custom
  3725. Part198.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3726. Part198.CFrame = CFrame.new(69.7929993, 0.75999999, -21.3139992, -0.904461801, 0.0309061985, 0.425433576, 0.0022637255, 0.9977054, -0.0676670298, -0.42654869, -0.0602391809, -0.902456343)
  3727. Part198.BottomSurface = Enum.SurfaceType.Smooth
  3728. Part198.TopSurface = Enum.SurfaceType.Smooth
  3729. Part198.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3730. Part198.Position = Vector3.new(69.7929993, 0.75999999, -21.3139992)
  3731. Part198.Orientation = Vector3.new(3.87999988, 154.759995, 0.129999995)
  3732. Part198.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3733. Weld199.Name = "Slide"
  3734. Weld199.Parent = Part198
  3735. Weld199.C0 = CFrame.new(0, 0, 0, -1, 2.01977812e-08, 1.26371216e-08, 1.76965127e-08, 0.984807849, -0.173648238, -1.59524411e-08, -0.173648223, -0.984807849)
  3736. Weld199.C1 = CFrame.new(-0.102050781, -0.454270244, -0.0144729614, 1, 6.58968489e-08, -2.78179293e-08, -6.58968489e-08, 1, 1.49014543e-08, 2.78179293e-08, -1.49014525e-08, 1)
  3737. Weld199.Part0 = Part198
  3738. Sound200.Name = "Click"
  3739. Sound200.Parent = Part198
  3740. Sound200.SoundId = "rbxassetid://132464034"
  3741. Sound201.Name = "FireSound"
  3742. Sound201.Parent = Part198
  3743. Sound201.Pitch = 0.94999998807907
  3744. Sound201.SoundId = "rbxassetid://153230626"
  3745. Sound201.Volume = 1
  3746. Sound202.Name = "M203"
  3747. Sound202.Parent = Part198
  3748. Sound202.SoundId = "http://roblox.com/asset/?id=135039581"
  3749. Sound202.Volume = 1
  3750. Sound203.Name = "MagIn"
  3751. Sound203.Parent = Part198
  3752. Sound203.SoundId = "rbxassetid://269079412"
  3753. Sound203.Volume = 1
  3754. Sound204.Name = "MagOut"
  3755. Sound204.Parent = Part198
  3756. Sound204.Pitch = 0.89999997615814
  3757. Sound204.SoundId = "rbxassetid://268870109"
  3758. Sound204.Volume = 1
  3759. Sound205.Name = "ReloadSound"
  3760. Sound205.Parent = Part198
  3761. Sound205.SoundId = "rbxassetid://147323220"
  3762. Sound205.Volume = 0.80000001192093
  3763. Sound206.Name = "Running"
  3764. Sound206.Parent = Part198
  3765. Sound206.Pitch = 0.97500002384186
  3766. Sound206.SoundId = "http://www.roblox.com/asset/?id=246376673"
  3767. Sound206.Volume = 1
  3768. Sound206.Looped = true
  3769. Sound207.Name = "SafetyClick"
  3770. Sound207.Parent = Part198
  3771. Sound207.Pitch = 1.5
  3772. Sound207.SoundId = "rbxassetid://132464034"
  3773. Sound207.Volume = 0.30000001192093
  3774. Sound208.Name = "WindowBreak"
  3775. Sound208.Parent = Part198
  3776. Sound208.Pitch = 0.97500002384186
  3777. Sound208.SoundId = "http://www.roblox.com/asset/?id=142082167"
  3778. Sound208.Volume = 1
  3779. for i,v in pairs(mas:GetChildren()) do
  3780. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  3781. pcall(function() v:MakeJoints() end)
  3782. end
  3783. mas:Destroy()
  3784. for i,v in pairs(cors) do
  3785. spawn(function()
  3786. pcall(v)
  3787. end)
  3788. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement