Advertisement
Dark_EccentricYT

Untitled

Mar 23rd, 2018 (edited)
1,234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 60.15 KB | None | 0 0
  1. -- made by 1ndrew
  2. function sandbox(var,func)
  3. local env = getfenv(func)
  4. local newenv = setmetatable({},{
  5. __index = function(self,k)
  6. if k=="script" then
  7. return var
  8. else
  9. return env[k]
  10. end
  11. end,
  12. })
  13. setfenv(func,newenv)
  14. return func
  15. end
  16. cors = {}
  17. mas = Instance.new("Model",game:GetService("Lighting"))
  18. Tool0 = Instance.new("Tool")
  19. Part1 = Instance.new("Part")
  20. SpecialMesh2 = Instance.new("SpecialMesh")
  21. Part3 = Instance.new("Part")
  22. Part4 = Instance.new("Part")
  23. SpecialMesh5 = Instance.new("SpecialMesh")
  24. Part6 = Instance.new("Part")
  25. SpecialMesh7 = Instance.new("SpecialMesh")
  26. Part8 = Instance.new("Part")
  27. SpecialMesh9 = Instance.new("SpecialMesh")
  28. ManualWeld10 = Instance.new("ManualWeld")
  29. Part11 = Instance.new("Part")
  30. SpecialMesh12 = Instance.new("SpecialMesh")
  31. Part13 = Instance.new("Part")
  32. SpecialMesh14 = Instance.new("SpecialMesh")
  33. Part15 = Instance.new("Part")
  34. SpecialMesh16 = Instance.new("SpecialMesh")
  35. Part17 = Instance.new("Part")
  36. SpecialMesh18 = Instance.new("SpecialMesh")
  37. Part19 = Instance.new("Part")
  38. SpecialMesh20 = Instance.new("SpecialMesh")
  39. Sound21 = Instance.new("Sound")
  40. Sound22 = Instance.new("Sound")
  41. Part23 = Instance.new("Part")
  42. Part24 = Instance.new("Part")
  43. PointLight25 = Instance.new("PointLight")
  44. BillboardGui26 = Instance.new("BillboardGui")
  45. ImageLabel27 = Instance.new("ImageLabel")
  46. Part28 = Instance.new("Part")
  47. Sound29 = Instance.new("Sound")
  48. Sound30 = Instance.new("Sound")
  49. Sound31 = Instance.new("Sound")
  50. Sound32 = Instance.new("Sound")
  51. Part33 = Instance.new("Part")
  52. CylinderMesh34 = Instance.new("CylinderMesh")
  53. Part35 = Instance.new("Part")
  54. LocalScript36 = Instance.new("LocalScript")
  55. NumberValue37 = Instance.new("NumberValue")
  56. NumberValue38 = Instance.new("NumberValue")
  57. Smoke39 = Instance.new("Smoke")
  58. Smoke40 = Instance.new("Smoke")
  59. Smoke41 = Instance.new("Smoke")
  60. ScreenGui42 = Instance.new("ScreenGui")
  61. Frame43 = Instance.new("Frame")
  62. TextLabel44 = Instance.new("TextLabel")
  63. TextLabel45 = Instance.new("TextLabel")
  64. TextLabel46 = Instance.new("TextLabel")
  65. TextLabel47 = Instance.new("TextLabel")
  66. TextLabel48 = Instance.new("TextLabel")
  67. TextLabel49 = Instance.new("TextLabel")
  68. TextLabel50 = Instance.new("TextLabel")
  69. TextLabel51 = Instance.new("TextLabel")
  70. TextLabel52 = Instance.new("TextLabel")
  71. TextLabel53 = Instance.new("TextLabel")
  72. TextLabel54 = Instance.new("TextLabel")
  73. Frame55 = Instance.new("Frame")
  74. TextLabel56 = Instance.new("TextLabel")
  75. Part57 = Instance.new("Part")
  76. CylinderMesh58 = Instance.new("CylinderMesh")
  77. Part59 = Instance.new("Part")
  78. SpecialMesh60 = Instance.new("SpecialMesh")
  79. Part61 = Instance.new("Part")
  80. BlockMesh62 = Instance.new("BlockMesh")
  81. Part63 = Instance.new("Part")
  82. Part64 = Instance.new("Part")
  83. Sound65 = Instance.new("Sound")
  84. Sound66 = Instance.new("Sound")
  85. Sound67 = Instance.new("Sound")
  86. Sound68 = Instance.new("Sound")
  87. Part69 = Instance.new("Part")
  88. SpecialMesh70 = Instance.new("SpecialMesh")
  89. Tool0.Name = "Galil"
  90. Tool0.Parent = mas
  91. Tool0.ToolTip = "Made in Germany"
  92. Part1.Name = "Stock"
  93. Part1.Parent = Tool0
  94. Part1.Material = Enum.Material.Concrete
  95. Part1.Rotation = Vector3.new(90, 0, 90)
  96. Part1.Anchored = true
  97. Part1.CanCollide = false
  98. Part1.Size = Vector3.new(1.37353814, 0.225373551, 0.677169979)
  99. Part1.CFrame = CFrame.new(-11.9016075, 0.827715993, -114.571457, 0, -1, 0, 0, 0, -1, 1, 0, 0)
  100. Part1.Position = Vector3.new(-11.9016075, 0.827715993, -114.571457)
  101. Part1.Orientation = Vector3.new(90, -90, 0)
  102. SpecialMesh2.Parent = Part1
  103. SpecialMesh2.MeshId = "rbxassetid://777168070"
  104. SpecialMesh2.Scale = Vector3.new(0.00456133951, 0.00456133857, 0.00456129387)
  105. SpecialMesh2.TextureId = "rbxassetid://777335465"
  106. SpecialMesh2.MeshType = Enum.MeshType.FileMesh
  107. SpecialMesh2.Scale = Vector3.new(0.00456133951, 0.00456133857, 0.00456129387)
  108. Part3.Name = "SightMark"
  109. Part3.Parent = Tool0
  110. Part3.Material = Enum.Material.SmoothPlastic
  111. Part3.BrickColor = BrickColor.new("New Yeller")
  112. Part3.Transparency = 1
  113. Part3.Anchored = true
  114. Part3.CanCollide = false
  115. Part3.FormFactor = Enum.FormFactor.Custom
  116. Part3.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  117. Part3.CFrame = CFrame.new(-11.8999996, 1.39999998, -117.650002, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  118. Part3.BottomSurface = Enum.SurfaceType.Smooth
  119. Part3.TopSurface = Enum.SurfaceType.Smooth
  120. Part3.Color = Color3.new(1, 1, 0)
  121. Part3.Position = Vector3.new(-11.8999996, 1.39999998, -117.650002)
  122. Part3.Color = Color3.new(1, 1, 0)
  123. Part4.Name = "PMag"
  124. Part4.Parent = Tool0
  125. Part4.Material = Enum.Material.Concrete
  126. Part4.Rotation = Vector3.new(90, 0, 90)
  127. Part4.Anchored = true
  128. Part4.CanCollide = false
  129. Part4.Size = Vector3.new(0.611639202, 0.225373551, 1.02088165)
  130. Part4.CFrame = CFrame.new(-11.9085007, 0.510469019, -116.243156, 0, -1, 0, 0, 0, -1, 1, 0, 0)
  131. Part4.Position = Vector3.new(-11.9085007, 0.510469019, -116.243156)
  132. Part4.Orientation = Vector3.new(90, -90, 0)
  133. SpecialMesh5.Parent = Part4
  134. SpecialMesh5.MeshId = "rbxassetid://777172237"
  135. SpecialMesh5.Scale = Vector3.new(0.00456133951, 0.00456133857, 0.00456129387)
  136. SpecialMesh5.TextureId = "rbxassetid://777384640"
  137. SpecialMesh5.MeshType = Enum.MeshType.FileMesh
  138. SpecialMesh5.Scale = Vector3.new(0.00456133951, 0.00456133857, 0.00456129387)
  139. Part6.Name = "Carry Handle and Bipod"
  140. Part6.Parent = Tool0
  141. Part6.Material = Enum.Material.Fabric
  142. Part6.Rotation = Vector3.new(90, 0, 90)
  143. Part6.Anchored = true
  144. Part6.CanCollide = false
  145. Part6.Size = Vector3.new(1.56262827, 0.330295652, 0.420204818)
  146. Part6.CFrame = CFrame.new(-11.9754944, 0.999993026, -117.226105, 0, -1, 0, 0, 0, -1, 1, 0, 0)
  147. Part6.Position = Vector3.new(-11.9754944, 0.999993026, -117.226105)
  148. Part6.Orientation = Vector3.new(90, -90, 0)
  149. SpecialMesh7.Parent = Part6
  150. SpecialMesh7.MeshId = "rbxassetid://777123880"
  151. SpecialMesh7.Scale = Vector3.new(0.00456133951, 0.00456133857, 0.00456129387)
  152. SpecialMesh7.TextureId = "rbxassetid://777364176"
  153. SpecialMesh7.MeshType = Enum.MeshType.FileMesh
  154. SpecialMesh7.Scale = Vector3.new(0.00456133951, 0.00456133857, 0.00456129387)
  155. Part8.Name = "Sights"
  156. Part8.Parent = Tool0
  157. Part8.Material = Enum.Material.Concrete
  158. Part8.Rotation = Vector3.new(90, 0, 90)
  159. Part8.Anchored = true
  160. Part8.CanCollide = false
  161. Part8.Size = Vector3.new(2.59750986, 0.225373551, 0.46276167)
  162. Part8.CFrame = CFrame.new(-11.9239273, 1.20390105, -116.700882, 0, -1, 0, 0, 0, -1, 1, 0, 0)
  163. Part8.Position = Vector3.new(-11.9239273, 1.20390105, -116.700882)
  164. Part8.Orientation = Vector3.new(90, -90, 0)
  165. SpecialMesh9.Parent = Part8
  166. SpecialMesh9.MeshId = "rbxassetid://777163506"
  167. SpecialMesh9.Scale = Vector3.new(0.00456133951, 0.00456133857, 0.00456129387)
  168. SpecialMesh9.TextureId = "rbxassetid://777369857"
  169. SpecialMesh9.MeshType = Enum.MeshType.FileMesh
  170. SpecialMesh9.Scale = Vector3.new(0.00456133951, 0.00456133857, 0.00456129387)
  171. ManualWeld10.Name = "Sights-to-Handle Strong Joint"
  172. ManualWeld10.Parent = Part8
  173. ManualWeld10.C0 = CFrame.new(-1.29875493, -0.112686776, 0.231380835, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  174. ManualWeld10.C1 = CFrame.new(0.150893211, 0.0998110771, -2.60734558, 1.29999999e-05, -1, 0, -0.00598000083, -7.77400047e-08, -0.999982119, 0.999982119, 1.29997679e-05, -0.0059800013)
  175. ManualWeld10.Part0 = Part8
  176. ManualWeld10.Part1 = Part64
  177. Part11.Name = "Lower receiver"
  178. Part11.Parent = Tool0
  179. Part11.Material = Enum.Material.Concrete
  180. Part11.Rotation = Vector3.new(90, 0, 90)
  181. Part11.Anchored = true
  182. Part11.CanCollide = false
  183. Part11.Size = Vector3.new(2.53263402, 0.225373551, 0.633969903)
  184. Part11.CFrame = CFrame.new(-11.8991966, 0.955765009, -116.50531, 0, -1, 0, 0, 0, -1, 1, 0, 0)
  185. Part11.Position = Vector3.new(-11.8991966, 0.955765009, -116.50531)
  186. Part11.Orientation = Vector3.new(90, -90, 0)
  187. SpecialMesh12.Parent = Part11
  188. SpecialMesh12.MeshId = "rbxassetid://777158802"
  189. SpecialMesh12.Scale = Vector3.new(0.00456133951, 0.00456133857, 0.00456129387)
  190. SpecialMesh12.TextureId = "rbxassetid://777342509"
  191. SpecialMesh12.MeshType = Enum.MeshType.FileMesh
  192. SpecialMesh12.Scale = Vector3.new(0.00456133951, 0.00456133857, 0.00456129387)
  193. Part13.Name = "Handguard"
  194. Part13.Parent = Tool0
  195. Part13.Material = Enum.Material.Concrete
  196. Part13.Rotation = Vector3.new(90, 0, 90)
  197. Part13.Anchored = true
  198. Part13.CanCollide = false
  199. Part13.Size = Vector3.new(0.91803354, 0.263795912, 0.339953363)
  200. Part13.CFrame = CFrame.new(-11.9229851, 1.040447, -117.015335, 0, -1, 0, 0, 0, -1, 1, 0, 0)
  201. Part13.Position = Vector3.new(-11.9229851, 1.040447, -117.015335)
  202. Part13.Orientation = Vector3.new(90, -90, 0)
  203. SpecialMesh14.Parent = Part13
  204. SpecialMesh14.MeshId = "rbxassetid://777126216"
  205. SpecialMesh14.Scale = Vector3.new(0.00456133951, 0.00456133857, 0.00456129387)
  206. SpecialMesh14.TextureId = "rbxassetid://777479988"
  207. SpecialMesh14.MeshType = Enum.MeshType.FileMesh
  208. SpecialMesh14.Scale = Vector3.new(0.00456133951, 0.00456133857, 0.00456129387)
  209. Part15.Name = "FakeGrip"
  210. Part15.Parent = Tool0
  211. Part15.Material = Enum.Material.Concrete
  212. Part15.Rotation = Vector3.new(90, 0, 90)
  213. Part15.Anchored = true
  214. Part15.CanCollide = false
  215. Part15.Size = Vector3.new(0.639974177, 0.225373551, 0.605908811)
  216. Part15.CFrame = CFrame.new(-11.9085007, 0.618148029, -115.535614, 0, -1, 0, 0, 0, -1, 1, 0, 0)
  217. Part15.Position = Vector3.new(-11.9085007, 0.618148029, -115.535614)
  218. Part15.Orientation = Vector3.new(90, -90, 0)
  219. SpecialMesh16.Parent = Part15
  220. SpecialMesh16.MeshId = "rbxassetid://777114867"
  221. SpecialMesh16.Scale = Vector3.new(0.00456133951, 0.00456133857, 0.00456129387)
  222. SpecialMesh16.TextureId = "rbxassetid://777375519"
  223. SpecialMesh16.MeshType = Enum.MeshType.FileMesh
  224. SpecialMesh16.Scale = Vector3.new(0.00456133951, 0.00456133857, 0.00456129387)
  225. Part17.Name = "Barrel"
  226. Part17.Parent = Tool0
  227. Part17.Material = Enum.Material.Concrete
  228. Part17.Rotation = Vector3.new(90, 0, 90)
  229. Part17.Anchored = true
  230. Part17.CanCollide = false
  231. Part17.Size = Vector3.new(2.24157023, 0.225373551, 0.225373551)
  232. Part17.CFrame = CFrame.new(-11.9085007, 1.06779695, -117.758286, 0, -1, 0, 0, 0, -1, 1, 0, 0)
  233. Part17.Position = Vector3.new(-11.9085007, 1.06779695, -117.758286)
  234. Part17.Orientation = Vector3.new(90, -90, 0)
  235. SpecialMesh18.Parent = Part17
  236. SpecialMesh18.MeshId = "rbxassetid://777120329"
  237. SpecialMesh18.Scale = Vector3.new(0.00456133951, 0.00456133857, 0.00456129387)
  238. SpecialMesh18.TextureId = "rbxassetid://777358188"
  239. SpecialMesh18.MeshType = Enum.MeshType.FileMesh
  240. SpecialMesh18.Scale = Vector3.new(0.00456133951, 0.00456133857, 0.00456129387)
  241. Part19.Name = "Barrier"
  242. Part19.Parent = Tool0
  243. Part19.Material = Enum.Material.Concrete
  244. Part19.Rotation = Vector3.new(90, 0, 90)
  245. Part19.Anchored = true
  246. Part19.CanCollide = false
  247. Part19.Size = Vector3.new(0.426093042, 0.225373551, 0.225373551)
  248. Part19.CFrame = CFrame.new(-11.8584976, 1.17568004, -116.267441, 0, -1, 0, 0, 0, -1, 1, 0, 0)
  249. Part19.Position = Vector3.new(-11.8584976, 1.17568004, -116.267441)
  250. Part19.Orientation = Vector3.new(90, -90, 0)
  251. SpecialMesh20.Parent = Part19
  252. SpecialMesh20.MeshId = "rbxassetid://777196460"
  253. SpecialMesh20.Scale = Vector3.new(0.00456133951, 0.00456133857, 0.00456129387)
  254. SpecialMesh20.TextureId = "rbxassetid://777328045"
  255. SpecialMesh20.MeshType = Enum.MeshType.FileMesh
  256. SpecialMesh20.Scale = Vector3.new(0.00456133951, 0.00456133857, 0.00456129387)
  257. Sound21.Name = "BoltForward"
  258. Sound21.Parent = Part19
  259. Sound21.SoundId = "rbxassetid://393678926"
  260. Sound21.Volume = 1
  261. Sound22.Name = "BoltBack"
  262. Sound22.Parent = Part19
  263. Sound22.SoundId = "rbxassetid://393678915"
  264. Sound22.Volume = 1
  265. Part23.Name = "AimPart"
  266. Part23.Parent = Tool0
  267. Part23.Material = Enum.Material.SmoothPlastic
  268. Part23.BrickColor = BrickColor.new("Electric blue")
  269. Part23.Transparency = 1
  270. Part23.Anchored = true
  271. Part23.CanCollide = false
  272. Part23.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007)
  273. Part23.CFrame = CFrame.new(-11.9064178, 1.38265896, -115.35582, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  274. Part23.BottomSurface = Enum.SurfaceType.Smooth
  275. Part23.TopSurface = Enum.SurfaceType.Smooth
  276. Part23.Color = Color3.new(0.0352941, 0.537255, 0.811765)
  277. Part23.Position = Vector3.new(-11.9064178, 1.38265896, -115.35582)
  278. Part23.Color = Color3.new(0.0352941, 0.537255, 0.811765)
  279. Part24.Name = "SmokePart"
  280. Part24.Parent = Tool0
  281. Part24.Material = Enum.Material.SmoothPlastic
  282. Part24.BrickColor = BrickColor.new("Really black")
  283. Part24.Reflectance = 0.30000001192093
  284. Part24.Transparency = 1
  285. Part24.Rotation = Vector3.new(-90.3399963, 90, 0)
  286. Part24.Anchored = true
  287. Part24.CanCollide = false
  288. Part24.FormFactor = Enum.FormFactor.Custom
  289. Part24.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  290. Part24.CFrame = CFrame.new(-11.9090004, 1.06799996, -118.844002, 0, -1.30000017e-05, 1, -0.999982119, -0.00597900152, -7.7727023e-08, 0.00597900106, -0.999982119, -1.29997698e-05)
  291. Part24.BottomSurface = Enum.SurfaceType.Smooth
  292. Part24.TopSurface = Enum.SurfaceType.Smooth
  293. Part24.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  294. Part24.Position = Vector3.new(-11.9090004, 1.06799996, -118.844002)
  295. Part24.Orientation = Vector3.new(0, 90, -90.3399963)
  296. Part24.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  297. PointLight25.Parent = Part24
  298. PointLight25.Color = Color3.new(1, 0.988235, 0.870588)
  299. PointLight25.Enabled = false
  300. PointLight25.Range = 30
  301. PointLight25.Shadows = true
  302. PointLight25.Color = Color3.new(1, 0.988235, 0.870588)
  303. BillboardGui26.Parent = Part24
  304. BillboardGui26.Size = UDim2.new(2, 0, 2, 0)
  305. BillboardGui26.Enabled = false
  306. ImageLabel27.Name = "Flash"
  307. ImageLabel27.Parent = BillboardGui26
  308. ImageLabel27.Transparency = 1
  309. ImageLabel27.Size = UDim2.new(1, 1, 1, 1)
  310. ImageLabel27.BackgroundTransparency = 1
  311. ImageLabel27.BorderSizePixel = 0
  312. ImageLabel27.ClipsDescendants = true
  313. ImageLabel27.Image = "http://www.roblox.com/asset/?id=131435802"
  314. Part28.Name = "Grip"
  315. Part28.Parent = Tool0
  316. Part28.Material = Enum.Material.SmoothPlastic
  317. Part28.BrickColor = BrickColor.new("Electric blue")
  318. Part28.Transparency = 1
  319. Part28.Anchored = true
  320. Part28.CanCollide = false
  321. Part28.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007)
  322. Part28.CFrame = CFrame.new(-11.8800049, 1.04155803, -115.814987, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  323. Part28.BottomSurface = Enum.SurfaceType.Smooth
  324. Part28.TopSurface = Enum.SurfaceType.Smooth
  325. Part28.Color = Color3.new(0.0352941, 0.537255, 0.811765)
  326. Part28.Position = Vector3.new(-11.8800049, 1.04155803, -115.814987)
  327. Part28.Color = Color3.new(0.0352941, 0.537255, 0.811765)
  328. Sound29.Name = "Click"
  329. Sound29.Parent = Part28
  330. Sound29.SoundId = "http://www.roblox.com/asset/?id=265275510"
  331. Sound29.Volume = 1
  332. Sound30.Name = "M3"
  333. Sound30.Parent = Part28
  334. Sound30.SoundId = "http://www.roblox.com/asset/?id=166238161"
  335. Sound31.Name = "MagIn"
  336. Sound31.Parent = Part28
  337. Sound31.SoundId = "http://roblox.com/asset/?id=166238223"
  338. Sound31.Volume = 0.20000000298023
  339. Sound32.Name = "MagOut"
  340. Sound32.Parent = Part28
  341. Sound32.SoundId = "http://roblox.com/asset/?id=166238177"
  342. Sound32.Volume = 0.20000000298023
  343. Part33.Name = "LaserLight"
  344. Part33.Parent = Tool0
  345. Part33.Material = Enum.Material.Neon
  346. Part33.BrickColor = BrickColor.new("Really red")
  347. Part33.Transparency = 1
  348. Part33.Rotation = Vector3.new(-90, -90, 0)
  349. Part33.CanCollide = false
  350. Part33.FormFactor = Enum.FormFactor.Custom
  351. Part33.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  352. Part33.CFrame = CFrame.new(-11.9198685, 0.979876995, -117.358482, 0, 0, -1, 1, 0, 0, 0, -1, 0)
  353. Part33.Color = Color3.new(1, 0, 0)
  354. Part33.Position = Vector3.new(-11.9198685, 0.979876995, -117.358482)
  355. Part33.Orientation = Vector3.new(0, -90, 90)
  356. Part33.Color = Color3.new(1, 0, 0)
  357. CylinderMesh34.Parent = Part33
  358. CylinderMesh34.Offset = Vector3.new(0, 100, 0)
  359. CylinderMesh34.Scale = Vector3.new(0.0500000007, 1000, 0.0500000007)
  360. CylinderMesh34.Scale = Vector3.new(0.0500000007, 1000, 0.0500000007)
  361. Part35.Name = "LaserThing"
  362. Part35.Parent = Tool0
  363. Part35.Material = Enum.Material.Neon
  364. Part35.BrickColor = BrickColor.new("Really black")
  365. Part35.Transparency = 0.5
  366. Part35.Anchored = true
  367. Part35.CanCollide = false
  368. Part35.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007)
  369. Part35.CFrame = CFrame.new(-11.9133339, 0.977980971, -117.348953, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  370. Part35.BottomSurface = Enum.SurfaceType.Smooth
  371. Part35.TopSurface = Enum.SurfaceType.Smooth
  372. Part35.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  373. Part35.Position = Vector3.new(-11.9133339, 0.977980971, -117.348953)
  374. Part35.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  375. LocalScript36.Name = "DDM4"
  376. LocalScript36.Parent = Tool0
  377. table.insert(cors,sandbox(LocalScript36,function()
  378. sp = script.Parent
  379. if not _G.MouseSensitivity then
  380. _G.MouseSensitivity = 1
  381. end
  382. CamCon = nil
  383. local tool = script.Parent
  384.  
  385. local flashListBig = { -- List of image IDs for Muzzleflash -- big
  386. "131435802",
  387. "131435817",
  388. "131435825",
  389. }
  390.  
  391. script:WaitForChild("StoredAmmo").Value = math.huge
  392.  
  393. Mesh = false -- If true will load BC 2.0 Arm meshes as well.
  394. Shirt = true -- If true will load the user's shirt to the arms as well
  395.  
  396. function onEquipped(mouse)
  397. local Player = game:GetService("Players").LocalPlayer
  398. local Cam = game.Workspace.CurrentCamera
  399.  
  400. local Arms = Instance.new("Model")
  401. Arms.Name = "Arms"
  402. Arms.Parent = Cam
  403.  
  404. if Shirt == true then
  405. local Humanoid = Instance.new("Humanoid")
  406. Humanoid.MaxHealth = 0
  407. Humanoid.Health = 0
  408. Humanoid.Name = ""
  409. Humanoid.Parent = Arms
  410. local newShirt = Player.Character:FindFirstChild("Shirt")
  411. if newShirt then
  412. newShirt = newShirt:clone()
  413. newShirt.Parent = Arms
  414. end
  415. else end
  416.  
  417. local RightArm = Player.Character:FindFirstChild("Right Arm"):clone()
  418. RightArm.Name = "Right Arm"
  419. RightArm.Transparency = 0
  420.  
  421. local w = Instance.new("Weld")
  422. w.Part0 = RightArm
  423. w.Part1 = Player.Character:FindFirstChild("Right Arm")
  424. w.C0 = CFrame.new()
  425. w.C1 = CFrame.new()
  426. w.Parent = RightArm
  427. RightArm.Parent = Arms
  428.  
  429. local LeftArm = Player.Character:FindFirstChild("Left Arm"):clone()
  430. LeftArm.Name = "Left Arm"
  431. LeftArm.Transparency = 0
  432.  
  433. local w = Instance.new("Weld")
  434. w.Part0 = LeftArm
  435. w.Part1 = Player.Character:FindFirstChild("Left Arm")
  436. w.C0 = CFrame.new()
  437. w.C1 = CFrame.new()
  438. w.Parent = LeftArm
  439. LeftArm.Parent = Arms
  440.  
  441. if Mesh ~= false then
  442. local LeftArmMesh = script:FindFirstChild("LeftArm")
  443. LeftArmMesh.Parent = LeftArm
  444. local RightArmMesh = script:FindFirstChild("RightArm")
  445. RightArmMesh.Parent = RightArm
  446. else end
  447.  
  448. end
  449.  
  450. function onUnequipped(mouse)
  451. local Player = game:GetService("Players").LocalPlayer
  452. local Cam = game.Workspace.CurrentCamera
  453. for _, Model in pairs(Cam:GetChildren()) do
  454. if Model.Name == "Arms" then
  455. Model:remove()
  456. else end
  457. end
  458. end
  459.  
  460. sp.Equipped:connect(onEquipped)
  461. sp.Unequipped:connect(onUnequipped)
  462.  
  463. wait(0.5)
  464. --Made by YouTubes--
  465. --Edit settings below--
  466. local Tool = script.Parent
  467. local Settings = {
  468. Range = 1000
  469. ,Spread = 8
  470. ,Damage = {25, 40}
  471. ,HeadShotDamage = {70, 75}
  472. ,Bullets = 1
  473. ,FireRate = 0.12
  474. ,Automatic = true
  475. ,AntiTK = true
  476. ,ImpactDuration = 1
  477. --Reload
  478. ,ReloadKey = "R"
  479. ,ReloadTime = 1.83
  480. ,Ammo = 30
  481. ,IncludeChamberedBullet = true
  482. --Gui
  483. ,GuiPos = Vector2.new(script.Gui.Frame.Position.X.Scale, script.Gui.Frame.Position.Y.Scale)
  484. --Arms
  485. ,OneHanded = false
  486. ,FakeArms = false
  487. ,FakeArmTransparency = 1
  488. -- (+Left to -Right, +Fward to -Bward, +Up to -Down) (+Up to -Down, +Left to -Right, +Counter to -Clock)
  489. ,RightPos = CFrame.new(-0.75, -0.25, 0.45) * CFrame.Angles(math.rad(-90), 0, 0)
  490. ,LeftPos = CFrame.new(0.8, 1.01, 0.38) * CFrame.Angles(math.rad(-90), math.rad(27), math.rad(0), 0)
  491. ,AimPart = Tool.AimPart
  492. ,AimPartOffset = CFrame.new()
  493. ,AimGripOffset = Vector3.new(0, 0, 0)
  494. ,LeftAimPos = CFrame.new(1, 1.01, 0.4) * CFrame.Angles(math.rad(-95), math.rad(20), math.rad(0), 00)
  495. ,AimAnim = {
  496. Enabled = false
  497. ,Frames = 50
  498. ,Time = 0.1
  499. }
  500. ,ChangeFOV = {true, 45}
  501. ,SpreadReduction = 7.5
  502. --Weld
  503. ,Weld = true
  504. --Mouse
  505. ,Icons = {
  506. Idle = "rbxasset://textures/Blank.png"
  507. ,Fire1 = "rbxasset://textures/Blank.png"
  508. ,Fire2 = "rbxasset://textures/Blank.png"
  509. ,Fire3 = "rbxasset://textures/Blank.png"
  510. ,Reload = "rbxasset://textures/Blank.png"
  511. ,Aim = "rbxasset://textures/Blank.png"
  512. }
  513. ,FireMouseAnimTime = 0.15
  514. --Recoil
  515. ,Recoil = math.rad(.8)
  516. --Smoke
  517. ,Smoke = true
  518. ,SmokePart = Tool.SmokePart
  519. ,Smokes = {{script.Smoke, 6, 0.01}, {script.Smoke1, 0.01}, {script.Smoke2, 0.01}}
  520. --Sprint
  521. ,Sprint = true
  522. ,SprintSpeed = 20
  523. ,SprintKey = "0"
  524. ,SprintSpreadIncrease = 40
  525. ,SprintArmOffset = CFrame.new(0.25, -0.1, -0.25) * CFrame.Angles(math.rad(-25), math.rad(20), 0)
  526. --Other
  527. ,DropHats = true
  528.  
  529. }
  530.  
  531. -- Change how you want the shell casing to look here.
  532. local Shell = Instance.new("Part")
  533. Shell.BrickColor = BrickColor.new(24)
  534. Shell.Name = "Shell"
  535. Shell.Locked = true
  536. Shell.formFactor = 3
  537. Shell.CanCollide = true
  538. Shell.Size = Vector3.new(.2,.2,.2)
  539. --Shell.Parent = game.Workspace
  540. local ShellMesh = Instance.new("CylinderMesh")
  541. ShellMesh.Scale = Vector3.new(0.30, 1, 0.30)
  542.  
  543. --Do not edit below this lign--
  544.  
  545. local Orig_Spread = Settings.Spread
  546. local Orig_Grip = Tool.GripPos
  547.  
  548. local Player = game.Players.LocalPlayer
  549. repeat wait() until Player.Character and Player.Character.Parent and Player.Character.Parent == game.Workspace
  550. local Character = Player.Character
  551.  
  552. local Camera = Workspace.CurrentCamera
  553.  
  554. local Ammo, StoredAmmo = script.Ammo, script.StoredAmmo
  555.  
  556. local Gui, CanUpdateGui = nil, true
  557.  
  558. local Sprinting, Equipped
  559.  
  560. function Update_Gui()
  561. if Gui and CanUpdateGui then
  562. Gui.Frame.AmmoDisplay.Text = Ammo.Value
  563. Gui.Frame.StoredAmmoDisplay.Text = StoredAmmo.Value
  564. Gui.Frame.GunName.Text = Tool.Name
  565. Gui.Frame.GunTip3.Visible = true
  566. end
  567. end
  568.  
  569. local Welded
  570. if Settings.Weld then
  571. Delay(0, function()
  572. local weldC0s = {}
  573. for i, v in pairs(Tool:GetChildren()) do
  574. if v:IsA("BasePart") and v ~= Tool.Handle then
  575. table.insert(weldC0s, {v, Tool.Handle.CFrame:toObjectSpace(v.CFrame)})
  576. v.Anchored = false
  577. end
  578. end
  579. Tool.Handle.Anchored = false
  580. local welds = {}
  581. Tool.Equipped:connect(function()
  582. for i, v in ipairs(welds) do
  583. v.Part1 = nil
  584. v:Destroy()
  585. end
  586. for i, v in ipairs(weldC0s) do
  587. if v[1] and v[2] then
  588. local w = Instance.new("Weld", Tool.Handle)
  589. w.Part0 = Tool.Handle
  590. w.Part1 = v[1]
  591. w.C0 = v[2]
  592. table.insert(welds, w)
  593. end
  594. end
  595. end)
  596. wait()
  597. Welded = true
  598. end)
  599. end
  600.  
  601. local Left_Weld, Right_Weld
  602.  
  603. Ammo.Changed:connect(Update_Gui)
  604. StoredAmmo.Changed:connect(Update_Gui)
  605.  
  606. Settings.Range = math.min(Settings.Range, 999)
  607.  
  608. local Ignore_Model = Workspace:FindFirstChild("Ray_Ignore") or Instance.new("Model", Workspace)
  609. Ignore_Model.Name = "Ray_Ignore"
  610.  
  611. local Ray_Ignore = {Character, Ignore_Model, Camera}
  612.  
  613. Character.Humanoid.Died:connect(function()
  614. Tool.Parent = Player.Backpack
  615. end)
  616.  
  617. function convertToCFrameDegrees(xa, ya, za)
  618. return CFrame.Angles(math.rad(xa), math.rad(ya), math.rad(za))
  619. end
  620.  
  621.  
  622. function createShellCasing() -- Hooray for a bullet casing! ~~XAXA
  623. local ShellClone = Shell:Clone()
  624. ShellClone.Parent = Workspace
  625. ShellClone.CFrame = tool.E.CFrame * convertToCFrameDegrees(90,0,0)
  626. ShellClone.Velocity = Vector3.new(0,math.random(10,40),0) + (tool.E.CFrame * convertToCFrameDegrees(0,math.random(-140,-90),0)).lookVector * (math.random(5,25))
  627. ShellClone.RotVelocity = Vector3.new(0,0,(math.random(200,400) / 10))
  628. local ShellMeshClone = ShellMesh:Clone()
  629. ShellMeshClone.Parent = ShellClone
  630. game.Debris:AddItem(ShellClone, 0.3) --Add it to the debris. No script can match this one's reliability.
  631. end
  632.  
  633.  
  634. --FlightTheory_WAS_HERE--
  635. function GetHitInstDataTableFor(Target)
  636. local Target = Target
  637. local DataTable = {
  638. 0, --LightEmission
  639. NumberSequence.new(.5, 1), --Size
  640. 31727915, --Texture *STANDARD SMOKE*
  641. NumberSequence.new(0,0), --Transparency
  642. 0, --ZOffset
  643. Vector3.new(), --Acceleration *WIND EFFECT IDEA???
  644. NumberRange.new(.1,.2), --Lifetime
  645. 500, --Rate
  646. NumberRange.new(0,0), --RotSpeed
  647. NumberRange.new(1,2), --Speed
  648. 360, --VelocitySpread
  649. }
  650. --OriginPos--
  651. DataTable[6] = Character.Head.Position
  652. -------------
  653. if not Target or not Target.Parent then return DataTable end
  654. if Target.Material == Enum.Material.Metal then
  655. DataTable[1] = .25
  656. DataTable[2] = NumberSequence.new(.25, .5)
  657. DataTable[3] = "237909462"
  658. DataTable[10] = NumberRange.new(5,10)
  659. end
  660. if Target.Material == Enum.Material.DiamondPlate then
  661. DataTable[1] = .25
  662. DataTable[2] = NumberSequence.new(.25, .5)
  663. DataTable[3] = "237909462"
  664. DataTable[10] = NumberRange.new(5,10)
  665. end
  666. if Target.Material == Enum.Material.CorrodedMetal then
  667. DataTable[1] = .25
  668. DataTable[2] = NumberSequence.new(.25, .5)
  669. DataTable[3] = "237909462"
  670. DataTable[10] = NumberRange.new(5,10)
  671. end
  672. if Target.Material == Enum.Material.Grass then
  673. DataTable[1] = .25
  674. DataTable[2] = NumberSequence.new(.25, .5)
  675. DataTable[3] = "242493047"
  676. DataTable[10] = NumberRange.new(5,10)
  677. end
  678. if Target.Parent:FindFirstChild("Humanoid") then
  679. DataTable[2] = NumberSequence.new(.2, .4)
  680. DataTable[3] = "25161378"
  681. DataTable[10] = NumberRange.new(0,0)
  682. end
  683. DataTable[3] = "http://www.roblox.com/asset/?id="..DataTable[3]
  684. return DataTable
  685. end
  686. function HitInst(HitPos, Data, Effect)
  687. local HitPos, Data, Effect = HitPos, Data, Effect
  688. if Effect == nil then
  689. Effect = Instance.new("Part", Workspace["Ray_Ignore"])
  690. game.Debris:AddItem(Effect, .2)
  691. Effect.Name = "Effect"
  692. Effect.FormFactor = "Custom"
  693. Effect.Size = Vector3.new()
  694. Effect.Transparency = 1
  695. Effect.CanCollide = false
  696. Effect.Anchored = true
  697. Effect.CFrame = CFrame.new(HitPos)
  698. end
  699. local Emitter = Instance.new("ParticleEmitter", Effect)
  700. Emitter.LightEmission = Data[1]
  701. Emitter.Size = Data[2]
  702. Emitter.Texture = Data[3]
  703. Emitter.Transparency = Data[4]
  704. Emitter.ZOffset = Data[5]
  705. Emitter.Acceleration = Data[6]
  706. Emitter.Lifetime = Data[7]
  707. Emitter.Rate = Data[8]
  708. Emitter.Rotation = NumberRange.new(1,360) --START AT RANDOM ROTATION
  709. Emitter.RotSpeed = Data[9]
  710. Emitter.Speed = Data[10]
  711. Emitter.VelocitySpread = Data[11]
  712. delay(.1, function()
  713. if Emitter and Emitter.Parent then -- "JUST IN CASE" `GTA V Refference
  714. Emitter.Enabled = false
  715. end
  716. end)
  717. end
  718. -------------------------
  719.  
  720. function Fire(Mouse)
  721. local Spread = CFrame.Angles(math.rad(math.random(-Settings.Spread, Settings.Spread)/10), math.rad(math.random(-Settings.Spread, Settings.Spread)/10), math.rad(math.random(-Settings.Spread, Settings.Spread)/10))
  722. local Ray = Ray.new(Character.Head.Position, (CFrame.new(Character.Head.Position, Mouse.Hit.p) * Spread).lookVector.unit * Settings.Range)
  723. local Hit, Pos = Workspace:FindPartOnRayWithIgnoreList(Ray, Ray_Ignore)
  724. tool.SmokePart.PointLight.Enabled = true
  725. tool.SmokePart.BillboardGui.Flash.Image = "http://www.roblox.com/asset/?id="..flashListBig[math.random(1,#flashListBig)]
  726. tool.SmokePart.BillboardGui.Enabled = true
  727. wait()
  728. tool.SmokePart.PointLight.Enabled = false
  729. tool.SmokePart.BillboardGui.Enabled = false
  730. local Hit_Part
  731. if Hit and Hit.Parent:FindFirstChild("Humanoid") then
  732. local Hit_Player = game.Players:GetPlayerFromCharacter(Hit.Parent)
  733. if Settings.AntiTK and not Hit_Player.Neutral and Hit_Player.TeamColor == Player.TeamColor then
  734. return
  735. end
  736. local Humanoid = Hit.Parent.Humanoid
  737. local c = Instance.new("ObjectValue")
  738. c.Name = "creator"
  739. c.Value = Player
  740. game.Debris:AddItem(c, 3)
  741. c.Parent = Humanoid
  742. if Hit.Name == "Head" then
  743. Humanoid.Health = Humanoid.Health - math.random(Settings.HeadShotDamage[1], Settings.HeadShotDamage[2])
  744. else
  745. Humanoid.Health = Humanoid.Health - math.random(Settings.Damage[1], Settings.Damage[2])
  746. end
  747. elseif Hit and Hit.Parent and Hit.Parent.Parent and Hit.Parent.Parent:FindFirstChild("Humanoid") then
  748. local Hit_Player = game.Players:GetPlayerFromCharacter(Hit.Parent.Parent)
  749. if Settings.AntiTK and not Hit_Player.Neutral and Hit_Player.TeamColor == Player.TeamColor then
  750. return
  751. end
  752. local Humanoid = Hit.Parent.Parent.Humanoid
  753. local c = Instance.new("ObjectValue")
  754. c.Name = "creator"
  755. c.Value = Player
  756. game.Debris:AddItem(c, 3)
  757. c.Parent = Humanoid
  758. if Hit.Name == "Head" then
  759. Humanoid.Health = Humanoid.Health - math.random(Settings.HeadShotDamage[1], Settings.HeadShotDamage[2])
  760. else
  761. Humanoid.Health = Humanoid.Health - math.random(Settings.Damage[1], Settings.Damage[2])
  762. end
  763. elseif Hit then
  764. Hit_Part = Instance.new("Part", Ignore_Model)
  765. Hit_Part.FormFactor = "Custom"
  766. Hit_Part.TopSurface = 0
  767. Hit_Part.BottomSurface = 0
  768. Hit_Part.Anchored = true
  769. Hit_Part.CanCollide = false
  770. Hit_Part.Size = Vector3.new()
  771. Hit_Part.CFrame = CFrame.new(Pos) * CFrame.Angles(math.random(0, 360), math.random(0, 360), math.random(0, 360))
  772. Hit_Part.BrickColor = BrickColor.new("Really black")
  773. Hit_Part.Material = "Metal"
  774. local Holyy = Instance.new("Sound")
  775. Holyy.Name = "Cracks"
  776. Holyy.SoundId = "rbxassetid://151284431"
  777. Holyy.Volume = 0.3
  778. Holyy.Pitch = 2
  779. Holyy.Parent = Hit_Part
  780.  
  781. Holyy:play()
  782.  
  783. local Cur = Instance.new("SpecialMesh",Hit_Part)
  784. Cur.MeshType = "Sphere"
  785. Cur.Scale = Vector3.new(0.5,0.5,0.5)
  786.  
  787. createShellCasing()
  788.  
  789. game.Debris:AddItem(Hit_Part, Settings.ImpactDuration)
  790. if not Hit.Anchored then
  791. local w = Instance.new("Weld", Hit_Part)
  792. w.Part0 = Hit
  793. w.Part1 = Hit_Part
  794. w.C0 = Hit.CFrame:toObjectSpace(Hit_Part.CFrame)
  795. Hit_Part.Anchored = false
  796. end
  797. if Hit.Parent:IsA("Hat") and Settings.DropHats then
  798. Hit.Parent.Parent = workspace
  799. game.Debris:AddItem(Hit, 3)
  800.  
  801. end
  802. end
  803. --
  804. HitInst(Pos, GetHitInstDataTableFor(Hit), Hit_Part)
  805. --
  806. end
  807.  
  808. local Can_Shoot = true
  809. local Reloading = false
  810.  
  811. local First_Person = false
  812.  
  813. local DB = false
  814. local Mouse_Held
  815.  
  816. Tool.Equipped:connect(function(Mouse)
  817. local Mouse = Mouse
  818. Player.CameraMode = "LockFirstPerson"
  819. Equipped = true
  820. if Settings.Weld and not Welded then
  821. wait()
  822. Tool.Parent = Player.Backpack
  823. end
  824. Character = Player.Character
  825. if Gui then
  826. return
  827. end
  828. Ray_Ignore = {Character, Ignore_Model, Camera}
  829. Mouse.Icon = Settings.Icons.Idle
  830. Gui = script.Gui:Clone()
  831. Gui.Parent = Player.PlayerGui
  832. Gui.Frame.Position = UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, 1.1, Gui.Frame.Position.Y.Offset)
  833. Gui.Frame:TweenPosition(UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, Settings.GuiPos.Y, Gui.Frame.Position.Y.Offset), "Out", "Bounce", 1)
  834. CanUpdateGui = true
  835. Update_Gui()
  836. Mouse.Button1Down:connect(function()
  837. if DB then return end
  838. DB = true
  839. if Can_Shoot and Ammo.Value > 0 and Character.Humanoid.Health > 0 and not Reloading then
  840. Mouse_Held = true
  841. while true do
  842. if Tool.Parent ~= Character then break end
  843. if Character.Humanoid.Health <= 0 or Reloading then break end
  844. Can_Shoot = false
  845. Delay(0, function()
  846. local t = math.min(Settings.FireMouseAnimTime/3, Settings.FireRate/3)
  847. if not Aiming then
  848. Mouse.Icon = Settings.Icons.Fire1
  849. end
  850. wait(t)
  851. if not Aiming then
  852. if Reloading then return end
  853. Mouse.Icon = Settings.Icons.Fire2
  854. end
  855. wait(t)
  856. if not Aiming then
  857. if Reloading then return end
  858. Mouse.Icon = Settings.Icons.Fire3
  859. end
  860. wait(t)
  861. if not Aiming then
  862. if Reloading then return end
  863. Mouse.Icon = Settings.Icons.Idle
  864. end
  865. end)
  866. for _ = 1, Settings.Bullets do
  867. Delay(0, function()
  868. Fire(Mouse, RANGE, SPEED, DROP)
  869. end)
  870. end
  871.  
  872. Delay(0, function()
  873. local r = math.abs(Settings.Recoil)
  874. local ran = math.random(-1, 1)
  875. Camera.CoordinateFrame = CFrame.new(Camera.Focus.p) * (Camera.CoordinateFrame - Camera.CoordinateFrame.p) * CFrame.Angles(r, r*ran, 0) * CFrame.new(0, 0, (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude)
  876. local c = -r/20
  877. local cx = -(r*ran)/20
  878. for i = 1, math.random(15, 25) do
  879. if EquipId == curId then
  880. Camera.CoordinateFrame = CFrame.new(Camera.Focus.p) * (Camera.CoordinateFrame - Camera.CoordinateFrame.p) * CFrame.Angles(c, cx, 0) * CFrame.new(0, 0, (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude)
  881. wait()
  882. else
  883. break
  884. end
  885. end
  886. end)
  887. if Tool.Handle:FindFirstChild("Shoot") then
  888. Tool.Handle.Shoot:Play()
  889. end
  890. Ammo.Value = Ammo.Value - 1
  891. Tool.Bolt.Mesh.Offset = Vector3.new(0, 0.35, 0)
  892. wait(Settings.FireRate)
  893. Tool.Bolt.Mesh.Offset = Vector3.new(0, 0, 0)
  894. if not Settings.Automatic or Ammo.Value <= 0 or Character.Humanoid.Health <= 0 or not Mouse_Held then
  895. break
  896. end
  897. end
  898. Can_Shoot = true
  899. elseif Can_Shoot and Character.Humanoid.Health > 0 and Tool.Handle:FindFirstChild("Click") then
  900. Tool.Handle.Click:Play()
  901. end
  902. DB = false
  903. end)
  904. Mouse.Button1Up:connect(function()
  905. Mouse_Held = false
  906. end)
  907. Mouse.KeyDown:connect(function(Key)
  908. if Key:upper() == Settings.ReloadKey:upper() and Can_Shoot and StoredAmmo.Value > 0 and not Aiming then
  909. if Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo + 1 or not Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo then
  910. return
  911. end
  912. if Reloading then
  913. return
  914. end
  915. Can_Shoot = false
  916. Reloading = true
  917. local TextLabel = Gui.Frame.AmmoDisplay
  918. Delay(0, function()
  919. CanUpdateGui = false
  920. TextLabel.Text = "000"
  921. wait(Settings.ReloadTime/3)
  922. if TextLabel then
  923. TextLabel.Text = "000"
  924. end
  925. wait(Settings.ReloadTime/3)
  926. if TextLabel then
  927. TextLabel.Text = "000"
  928. end
  929. end)
  930. Mouse.Icon = Settings.Icons.Reload
  931. -- (+Left to -Right, +Fward to -Bward, +Up to -Down) (+Up to -Down, +Left to -Right, +Counter to -Clock)
  932. Right_Weld.C1 = CFrame.new(-0.75, -0.2, 0.5) * CFrame.Angles(math.rad(-90), 0, 0.1)
  933. Left_Weld.C1 = CFrame.new(1.2, 0.6, 0.45) * CFrame.Angles(math.rad(-90), math.rad(45), math.rad(0), 0)
  934. wait(.02)
  935. Right_Weld.C1 = CFrame.new(-0.75, -0.15, 0.55) * CFrame.Angles(math.rad(-90), 0, 0.15)
  936. Left_Weld.C1 = CFrame.new(1.2, 0.5, 0.45) * CFrame.Angles(math.rad(-90), math.rad(50), math.rad(0), 0)
  937. wait(.02)
  938. Right_Weld.C1 = CFrame.new(-0.75, -0.1, 0.6) * CFrame.Angles(math.rad(-90), 0, 0.2)
  939. Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.45) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(0), 0)
  940. wait(0.02)
  941.  
  942. Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.40) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(0), 0)
  943. Tool.Handle.MagOut:play()
  944. Tool.PMag.Transparency = 1
  945. Tool.PMag1.Transparency = 1
  946. wait(0.03)
  947. Left_Weld.C1 = CFrame.new(1.2, 0.35, 0.35) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(5), 0)
  948. wait(0.03)
  949. Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.30) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(10), 0)
  950. wait(0.03)
  951. Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.25) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(15), 0)
  952. wait(0.03)
  953. Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.20) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(20), 0)
  954. wait(0.03)
  955. Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.15) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(25), 0)
  956. wait(0.03)
  957. Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.10) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(30), 0)
  958. wait(0.03)
  959. Left_Weld.C1 = CFrame.new(1.2, 0.25, 0.05) * CFrame.Angles(math.rad(-90), math.rad(60), math.rad(35), 0)
  960. wait(0.03)
  961. Left_Weld.C1 = CFrame.new(1.2, 0.2, 0) * CFrame.Angles(math.rad(-90), math.rad(65), math.rad(40), 0)
  962. wait(0.03)
  963. Left_Weld.C1 = CFrame.new(1.2, 0.15, 0) * CFrame.Angles(math.rad(-90), math.rad(70), math.rad(45), 0)
  964. wait(0.03)
  965. Left_Weld.C1 = CFrame.new(1.2, 0.1, 0) * CFrame.Angles(math.rad(-90), math.rad(75), math.rad(50), 0)
  966. wait(0.5)
  967.  
  968. Left_Weld.C1 = CFrame.new(1.2, 0.1, 0.0) * CFrame.Angles(math.rad(-90), math.rad(75), math.rad(40), 0)
  969. Tool.Handle.MagIn:play()
  970. Tool.PMag.Transparency = 0
  971. Tool.PMag1.Transparency = 0
  972. wait(0.03)
  973. Left_Weld.C1 = CFrame.new(1.2, 0.15, 0.05) * CFrame.Angles(math.rad(-90), math.rad(70), math.rad(35), 0)
  974. wait(0.03)
  975. Left_Weld.C1 = CFrame.new(1.2, 0.2, 0.10) * CFrame.Angles(math.rad(-90), math.rad(65), math.rad(30), 0)
  976. wait(0.03)
  977. Left_Weld.C1 = CFrame.new(1.2, 0.25, 0.15) * CFrame.Angles(math.rad(-90), math.rad(60), math.rad(25), 0)
  978. wait(0.03)
  979. Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.20) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(20), 0)
  980. wait(0.03)
  981. Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.25) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(15), 0)
  982. wait(0.03)
  983. Right_Weld.C1 = CFrame.new(-0.75, -0.1, 0.6) * CFrame.Angles(math.rad(-90), 0, 0.2)
  984. Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.30) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(10), 0)
  985. wait(0.03)
  986. Right_Weld.C1 = CFrame.new(-0.75, -0.15, 0.55) * CFrame.Angles(math.rad(-90), 0, 0.15)
  987. Left_Weld.C1 = CFrame.new(1.2, 0.35, 0.35) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(05), 0)
  988. wait(0.03)
  989. Right_Weld.C1 = CFrame.new(-0.75, -0.2, 0.5) * CFrame.Angles(math.rad(-90), 0, 0.1)
  990. Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.40) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(0), 0)
  991. wait(0.03)
  992.  
  993. Right_Weld.C1 = CFrame.new(-0.75, -0.25, 0.45) * CFrame.Angles(math.rad(-90), 0, 0)
  994. Left_Weld.C1 = CFrame.new(0.8, 1.01, 0.38) * CFrame.Angles(math.rad(-90), math.rad(27), math.rad(0), 0)
  995.  
  996. Mouse.Icon = Settings.Icons.Idle
  997. CanUpdateGui = true
  998. local m = Settings.Ammo
  999. if Ammo.Value > 0 and Settings.IncludeChamberedBullet then
  1000. m = m + 1
  1001. end
  1002. if (StoredAmmo.Value - (m - Ammo.Value)) <= 0 then
  1003. Ammo.Value = Ammo.Value + StoredAmmo.Value
  1004. StoredAmmo.Value = 0
  1005. else
  1006. StoredAmmo.Value = StoredAmmo.Value - (m - Ammo.Value)
  1007. Ammo.Value = m
  1008. end
  1009. Can_Shoot = true
  1010. Reloading = false
  1011. elseif Key:upper() == Settings.SprintKey:upper() and Settings.Sprint and not Aiming then
  1012. Sprinting = true
  1013. Character.Humanoid.WalkSpeed = Settings.SprintSpeed
  1014. Settings.Spread = Settings.Spread + Settings.SprintSpreadIncrease
  1015. end
  1016. end)
  1017. Mouse.KeyUp:connect(function(Key)
  1018. if Key:upper() == Settings.SprintKey:upper() and Sprinting then
  1019. Sprinting = false
  1020. Character.Humanoid.WalkSpeed = 16
  1021. Settings.Spread = Settings.Spread - Settings.SprintSpreadIncrease
  1022. Right_Weld.C0 = CFrame.new(0, -1.5, 0)
  1023. end
  1024. end)
  1025. Mouse.Button2Down:connect(function()
  1026. if not Reloading and not Sprinting and not Aiming and (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 then
  1027. Aiming = true
  1028. Player.CameraMode = "LockFirstPerson"
  1029. Mouse.WheelBackward:connect(function()
  1030. if _G.MouseSensitivity >= 0.1 then
  1031. _G.MouseSensitivity = _G.MouseSensitivity - 0.1
  1032. wait()
  1033. print(_G.MouseSensitivity)
  1034. end
  1035. end)
  1036. Mouse.WheelForward:connect(function()
  1037. if _G.MouseSensitivity < 2 then
  1038. _G.MouseSensitivity = _G.MouseSensitivity + 0.1
  1039. wait()
  1040. end
  1041. end)
  1042. Mouse.Icon = Settings.Icons.Aim
  1043. if Settings.AimAnim.Enabled then
  1044. Right_Weld.C1 = CFrame.new()
  1045. Right_Weld.C0 = CFrame.new()
  1046. Delay(0, function()
  1047. Tween_C0(Right_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Right_Weld.C0, Character.Head.CFrame:toObjectSpace(Settings.AimPart.CFrame))
  1048. end)
  1049. Delay(0, function()
  1050. Tween_C1(Left_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Left_Weld.C1, Settings.LeftAimPos)
  1051. end)
  1052. Delay(0, function()
  1053. if Settings.ChangeFOV[1] then
  1054. Camera.FieldOfView = 70
  1055. local Cam_Dif, T_F = 70 - Settings.ChangeFOV[2], Settings.AimAnim.Time * Settings.AimAnim.Frames
  1056. for i = 1, T_F do
  1057. local FOV = 70 - Cam_Dif/T_F * i
  1058. Camera.FieldOfView = FOV
  1059. wait(Settings.AimAnim.Time/Settings.AimAnim.Frames)
  1060. if not Aiming then
  1061. return
  1062. end
  1063. end
  1064. Camera.FieldOfView = Settings.ChangeFOV[2]
  1065. end
  1066. end)
  1067. else
  1068. Right_Weld.C1 = CFrame.new()
  1069. Right_Weld.C0 = CFrame.new()
  1070. Right_Weld.C1 = Character.Head.CFrame:toObjectSpace(Settings.AimPart.CFrame)
  1071. Left_Weld.C1 = Settings.LeftAimPos
  1072. if Settings.ChangeFOV[1] then
  1073. Camera.FieldOfView = Settings.ChangeFOV[2]
  1074. end
  1075. end
  1076. Tool.GripPos = Orig_Grip + Settings.AimGripOffset
  1077. Settings.Spread = Settings.Spread - Settings.SpreadReduction
  1078. end
  1079. end)
  1080. Mouse.Button2Up:connect(function()
  1081. if Aiming then
  1082. Player.CameraMode = "LockFirstPerson"
  1083. Mouse.Icon = Settings.Icons.Idle
  1084. Tool.GripPos = Orig_Grip
  1085. if Settings.AimAnim.Enabled then
  1086. Delay(0, function()
  1087. Tween_C0(Right_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Right_Weld.C0, CFrame.new(0, -1.5, 0))
  1088. end)
  1089. Delay(0, function()
  1090. Tween_C1(Left_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Left_Weld.C1, Settings.LeftPos)
  1091. end)
  1092. else
  1093. Right_Weld.C1 = Settings.RightPos
  1094. Right_Weld.C0 = CFrame.new(0, -1.5, 0)
  1095. Left_Weld.C1 = Settings.LeftPos
  1096. end
  1097. if Settings.ChangeFOV[1] then
  1098. Camera.FieldOfView = 70
  1099. end
  1100. Settings.Spread = Settings.Spread + Settings.SpreadReduction
  1101. Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1102. Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1103. wait(0.25)
  1104. Aiming = false
  1105. end
  1106. end)
  1107. wait()
  1108. CamCon = Camera.Changed:connect(function()
  1109. if Mouse and (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
  1110. Mouse.TargetFilter = workspace
  1111. Character.Torso.Neck.C1 = CFrame.new()
  1112. Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
  1113. end
  1114. end)
  1115. Mouse.Idle:connect(function()
  1116. if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
  1117. Mouse.TargetFilter = workspace
  1118. Character.Torso.Neck.C1 = CFrame.new()
  1119. Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
  1120. end
  1121. end)
  1122. while wait() and Equipped do
  1123. if Character.Humanoid.Health <= 0 then break end
  1124. if Sprinting then
  1125. Can_Shoot = false
  1126. Right_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
  1127. Left_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
  1128. elseif not Aiming and not Sprinting then
  1129. Can_Shoot = true
  1130. Left_Weld.C0 = CFrame.new(0, -1.5, 0)
  1131. end
  1132. if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude > 1 and Equipped then
  1133. Mouse.TargetFilter = nil
  1134. Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1135. Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1136. end
  1137. end
  1138. end)
  1139.  
  1140. local Arms_Made
  1141. local Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model
  1142.  
  1143. Tool.Equipped:connect(function(Mouse)
  1144. if Character and not Arms_Made then
  1145. Arms_Made = true
  1146. local Torso = Character.Torso
  1147. Torso["Right Shoulder"].Part1 = nil
  1148. Left_Weld = Instance.new("Weld", Torso)
  1149. Left_Weld.Name = "Left_Weld"
  1150. Left_Weld.Part0 = Character.Head
  1151. Left_Weld.C0 = CFrame.new(0, -1.5, 0)
  1152. if not Settings.OneHanded then
  1153. Torso["Left Shoulder"].Part1 = nil
  1154. Left_Weld.Part1 = Character["Left Arm"]
  1155. end
  1156. Right_Weld = Instance.new("Weld", Torso)
  1157. Right_Weld.Name = "Right_Weld"
  1158. Right_Weld.Part0 = Character.Head
  1159. Right_Weld.Part1 = Character["Right Arm"]
  1160. Right_Weld.C0 = CFrame.new(0, -1.5, 0)
  1161. Left_Weld.C1 = Settings.LeftPos
  1162. Right_Weld.C1 = Settings.RightPos
  1163. end
  1164. if Settings.FakeArms and not Fake_Arm_Right then
  1165. Fake_Arm_Right, Fake_Arm_Left = Character["Right Arm"]:Clone(), Character["Left Arm"]:Clone()
  1166. Fake_Arm_Right.FormFactor, Fake_Arm_Left.FormFactor = "Custom", "Custom"
  1167. Fake_Arm_Right.Size, Fake_Arm_Left.Size = Vector3.new(), Vector3.new()
  1168. local fakeArms = {Fake_Arm_Right, Fake_Arm_Left}
  1169. for i = 1, 2 do
  1170. local w = Instance.new("Weld", fakeArms[i])
  1171. w.Part0 = Character[fakeArms[i].Name]
  1172. w.Part1 = fakeArms[i]
  1173. fakeArms[i].Transparency = Settings.FakeArmTransparency
  1174. end
  1175. Fake_Arm_Model = Instance.new("Model", Camera)
  1176. Fake_Arm_Right.Parent = Fake_Arm_Model
  1177. if not Settings.OneHanded then
  1178. Fake_Arm_Left.Parent = Fake_Arm_Model
  1179. end
  1180. Fake_Arm_Model.Name = "FakeArms"
  1181. if Settings.CharacterMeshes then
  1182. for i, v in pairs(Character:GetChildren()) do
  1183. if v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.LeftArm or v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.RightArm then
  1184. v:Clone().Parent = Fake_Arm_Model
  1185. end
  1186. end
  1187. end
  1188. if Character:FindFirstChild("Shirt") then
  1189. Instance.new("Humanoid", Fake_Arm_Model)
  1190. Character.Shirt:Clone().Parent = Fake_Arm_Model
  1191. else
  1192. local Arm_Mesh = Instance.new("SpecialMesh", Fake_Arm_Right)
  1193. Arm_Mesh.MeshType, Arm_Mesh.Scale = "Brick", Vector3.new(1, 2, 1)
  1194. local Arm_Mesh2 = Instance.new("SpecialMesh", Fake_Arm_Left)
  1195. Arm_Mesh2.MeshType, Arm_Mesh2.Scale = "Brick", Vector3.new(1, 2, 1)
  1196. end
  1197. end
  1198. end)
  1199.  
  1200. Tool.Unequipped:connect(function()
  1201. if CamCon then
  1202. CamCon:disconnect()
  1203. end
  1204. if Settings.ChangeFOV[1] then
  1205. Camera.FieldOfView = 70
  1206. end
  1207. Player.CameraMode = "Classic"
  1208. if Character.Humanoid.Health <= 0 then
  1209. return
  1210. end
  1211. CamCon = nil
  1212. Equipped = false
  1213. Tool.GripPos = Orig_Grip
  1214. Aiming = false
  1215. Settings.Spread = Orig_Spread
  1216. if Gui then
  1217. Gui:Destroy()
  1218. Gui = nil
  1219. end
  1220. for i, v in pairs(Tool.Handle:GetChildren()) do
  1221. if v:IsA("Sound") then
  1222. v:Stop()
  1223. end
  1224. end
  1225. if Fake_Arm_Right and Fake_Arm_Left and Fake_Arm_Model then
  1226. Fake_Arm_Model:Destroy()
  1227. Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model = nil, nil, nil
  1228. end
  1229. if Character and Left_Weld and Right_Weld then
  1230. Arms_Made = false
  1231. local Torso = Character.Torso
  1232. Torso["Right Shoulder"].Part1, Torso["Left Shoulder"].Part1 = Character["Right Arm"], Character["Left Arm"]
  1233. Left_Weld:Destroy()
  1234. Right_Weld:Destroy()
  1235. end
  1236. Sprinting = false
  1237. Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1238. Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1239. Character.Humanoid.WalkSpeed = 16
  1240. end)
  1241.  
  1242. end))
  1243. NumberValue37.Name = "StoredAmmo"
  1244. NumberValue37.Parent = LocalScript36
  1245. NumberValue37.Value = 120
  1246. NumberValue38.Name = "Ammo"
  1247. NumberValue38.Parent = LocalScript36
  1248. NumberValue38.Value = 30
  1249. Smoke39.Parent = LocalScript36
  1250. Smoke39.Size = 0.25
  1251. Smoke39.Color = Color3.new(0.807843, 0.807843, 0.807843)
  1252. Smoke39.Enabled = false
  1253. Smoke39.Opacity = 0.10000000149012
  1254. Smoke39.RiseVelocity = 10
  1255. Smoke39.Color = Color3.new(0.807843, 0.807843, 0.807843)
  1256. Smoke40.Name = "Smoke1"
  1257. Smoke40.Parent = LocalScript36
  1258. Smoke40.Size = 0.25
  1259. Smoke40.Color = Color3.new(0.807843, 0.807843, 0.807843)
  1260. Smoke40.Enabled = false
  1261. Smoke40.Opacity = 0.10000000149012
  1262. Smoke40.RiseVelocity = 10
  1263. Smoke40.Color = Color3.new(0.807843, 0.807843, 0.807843)
  1264. Smoke41.Name = "Smoke2"
  1265. Smoke41.Parent = LocalScript36
  1266. Smoke41.Size = 0.25
  1267. Smoke41.Color = Color3.new(0.807843, 0.807843, 0.807843)
  1268. Smoke41.Enabled = false
  1269. Smoke41.Opacity = 0.10000000149012
  1270. Smoke41.RiseVelocity = 10
  1271. Smoke41.Color = Color3.new(0.807843, 0.807843, 0.807843)
  1272. ScreenGui42.Name = "Gui"
  1273. ScreenGui42.Parent = LocalScript36
  1274. Frame43.Parent = ScreenGui42
  1275. Frame43.Transparency = 0.30000001192093
  1276. Frame43.Size = UDim2.new(-0.100000001, 0, -0.0399999991, 0)
  1277. Frame43.Position = UDim2.new(0.150000006, -5, 1, -120)
  1278. Frame43.Active = true
  1279. Frame43.BackgroundColor3 = Color3.new(0, 0, 0)
  1280. Frame43.BackgroundTransparency = 0.30000001192093
  1281. Frame43.BorderColor3 = Color3.new(0.466667, 0.466667, 0.466667)
  1282. Frame43.BorderSizePixel = 0
  1283. Frame43.SizeConstraint = Enum.SizeConstraint.RelativeXX
  1284. TextLabel44.Name = "000"
  1285. TextLabel44.Parent = Frame43
  1286. TextLabel44.Transparency = 1
  1287. TextLabel44.Size = UDim2.new(0.550000012, 0, 0.75, 0)
  1288. TextLabel44.Text = "000"
  1289. TextLabel44.Position = UDim2.new(-0.0299999993, 0, 0.129999995, 0)
  1290. TextLabel44.BackgroundColor3 = Color3.new(0.501961, 0, 0)
  1291. TextLabel44.BackgroundTransparency = 1
  1292. TextLabel44.ZIndex = 2
  1293. TextLabel44.FontSize = Enum.FontSize.Size14
  1294. TextLabel44.TextColor3 = Color3.new(1, 1, 1)
  1295. TextLabel44.TextScaled = true
  1296. TextLabel44.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
  1297. TextLabel44.TextTransparency = 0.80000001192093
  1298. TextLabel44.TextWrapped = true
  1299. TextLabel45.Name = "AmmoDisplay"
  1300. TextLabel45.Parent = Frame43
  1301. TextLabel45.Transparency = 1
  1302. TextLabel45.Size = UDim2.new(0.550000012, 0, 0.75, 0)
  1303. TextLabel45.Text = ""
  1304. TextLabel45.Position = UDim2.new(-0.0900000036, 0, 0.129999995, 0)
  1305. TextLabel45.BackgroundColor3 = Color3.new(0.501961, 0, 0)
  1306. TextLabel45.BackgroundTransparency = 1
  1307. TextLabel45.ZIndex = 2
  1308. TextLabel45.FontSize = Enum.FontSize.Size14
  1309. TextLabel45.TextColor3 = Color3.new(1, 1, 1)
  1310. TextLabel45.TextScaled = true
  1311. TextLabel45.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
  1312. TextLabel45.TextWrapped = true
  1313. TextLabel45.TextXAlignment = Enum.TextXAlignment.Right
  1314. TextLabel46.Name = "000"
  1315. TextLabel46.Parent = Frame43
  1316. TextLabel46.Transparency = 1
  1317. TextLabel46.Size = UDim2.new(0.550000012, 0, 0.75, 0)
  1318. TextLabel46.Text = "000"
  1319. TextLabel46.Position = UDim2.new(0.479999989, 0, 0.129999995, 0)
  1320. TextLabel46.BackgroundColor3 = Color3.new(0.501961, 0, 0)
  1321. TextLabel46.BackgroundTransparency = 1
  1322. TextLabel46.ZIndex = 2
  1323. TextLabel46.FontSize = Enum.FontSize.Size14
  1324. TextLabel46.TextColor3 = Color3.new(1, 1, 1)
  1325. TextLabel46.TextScaled = true
  1326. TextLabel46.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
  1327. TextLabel46.TextTransparency = 0.80000001192093
  1328. TextLabel46.TextWrapped = true
  1329. TextLabel47.Name = "StoredAmmoDisplay"
  1330. TextLabel47.Parent = Frame43
  1331. TextLabel47.Transparency = 1
  1332. TextLabel47.Size = UDim2.new(0.550000012, 0, 0.75, 0)
  1333. TextLabel47.Text = ""
  1334. TextLabel47.Position = UDim2.new(0.419999987, 0, 0.129999995, 0)
  1335. TextLabel47.BackgroundColor3 = Color3.new(0.501961, 0, 0)
  1336. TextLabel47.BackgroundTransparency = 1
  1337. TextLabel47.ZIndex = 2
  1338. TextLabel47.FontSize = Enum.FontSize.Size14
  1339. TextLabel47.TextColor3 = Color3.new(1, 1, 1)
  1340. TextLabel47.TextScaled = true
  1341. TextLabel47.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
  1342. TextLabel47.TextWrapped = true
  1343. TextLabel47.TextXAlignment = Enum.TextXAlignment.Right
  1344. TextLabel48.Name = "Divider"
  1345. TextLabel48.Parent = Frame43
  1346. TextLabel48.Transparency = 1
  1347. TextLabel48.Size = UDim2.new(-0.800000012, 0, 0.5, 0)
  1348. TextLabel48.Text = "|"
  1349. TextLabel48.Position = UDim2.new(0.903999984, 0, 0.300000012, 0)
  1350. TextLabel48.BackgroundColor3 = Color3.new(0.501961, 0, 0)
  1351. TextLabel48.BackgroundTransparency = 1
  1352. TextLabel48.ZIndex = 2
  1353. TextLabel48.FontSize = Enum.FontSize.Size18
  1354. TextLabel48.TextColor3 = Color3.new(1, 1, 1)
  1355. TextLabel48.TextScaled = true
  1356. TextLabel48.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
  1357. TextLabel48.TextWrapped = true
  1358. TextLabel49.Name = "Divider"
  1359. TextLabel49.Parent = Frame43
  1360. TextLabel49.Transparency = 1
  1361. TextLabel49.Size = UDim2.new(-0.800000012, 0, 0.5, 0)
  1362. TextLabel49.Text = "|"
  1363. TextLabel49.Position = UDim2.new(0.903999984, 0, 0.100000001, 0)
  1364. TextLabel49.BackgroundColor3 = Color3.new(0.501961, 0, 0)
  1365. TextLabel49.BackgroundTransparency = 1
  1366. TextLabel49.ZIndex = 2
  1367. TextLabel49.FontSize = Enum.FontSize.Size18
  1368. TextLabel49.TextColor3 = Color3.new(1, 1, 1)
  1369. TextLabel49.TextScaled = true
  1370. TextLabel49.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
  1371. TextLabel49.TextWrapped = true
  1372. TextLabel50.Name = "Divider"
  1373. TextLabel50.Parent = Frame43
  1374. TextLabel50.Transparency = 1
  1375. TextLabel50.Size = UDim2.new(-0.800000012, 0, 0.5, 0)
  1376. TextLabel50.Text = "|"
  1377. TextLabel50.Position = UDim2.new(0.903999984, 0, 0.200000003, 0)
  1378. TextLabel50.BackgroundColor3 = Color3.new(0.501961, 0, 0)
  1379. TextLabel50.BackgroundTransparency = 1
  1380. TextLabel50.ZIndex = 2
  1381. TextLabel50.FontSize = Enum.FontSize.Size18
  1382. TextLabel50.TextColor3 = Color3.new(1, 1, 1)
  1383. TextLabel50.TextScaled = true
  1384. TextLabel50.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
  1385. TextLabel50.TextWrapped = true
  1386. TextLabel51.Name = "GunName"
  1387. TextLabel51.Parent = Frame43
  1388. TextLabel51.Transparency = 1
  1389. TextLabel51.Size = UDim2.new(-0.800000012, 0, 0.5, 0)
  1390. TextLabel51.Text = "Galil"
  1391. TextLabel51.Position = UDim2.new(1.85000002, 0, 0, 0)
  1392. TextLabel51.BackgroundColor3 = Color3.new(0.501961, 0, 0)
  1393. TextLabel51.BackgroundTransparency = 1
  1394. TextLabel51.ZIndex = 2
  1395. TextLabel51.FontSize = Enum.FontSize.Size14
  1396. TextLabel51.TextColor3 = Color3.new(1, 1, 1)
  1397. TextLabel51.TextScaled = true
  1398. TextLabel51.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
  1399. TextLabel51.TextWrapped = true
  1400. TextLabel51.TextXAlignment = Enum.TextXAlignment.Left
  1401. TextLabel52.Name = "GunTip"
  1402. TextLabel52.Parent = Frame43
  1403. TextLabel52.Transparency = 1
  1404. TextLabel52.Size = UDim2.new(-0.800000012, 0, 0.5, 0)
  1405. TextLabel52.Text = "5.56x45mm "
  1406. TextLabel52.Position = UDim2.new(1.85000002, 0, 0.449999988, 0)
  1407. TextLabel52.BackgroundColor3 = Color3.new(0.501961, 0, 0)
  1408. TextLabel52.BackgroundTransparency = 1
  1409. TextLabel52.ZIndex = 2
  1410. TextLabel52.FontSize = Enum.FontSize.Size14
  1411. TextLabel52.TextColor3 = Color3.new(1, 1, 1)
  1412. TextLabel52.TextScaled = true
  1413. TextLabel52.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
  1414. TextLabel52.TextWrapped = true
  1415. TextLabel52.TextXAlignment = Enum.TextXAlignment.Left
  1416. TextLabel53.Name = "GunTip3"
  1417. TextLabel53.Parent = Frame43
  1418. TextLabel53.Transparency = 1
  1419. TextLabel53.Size = UDim2.new(-0.800000012, 0, 0.5, 0)
  1420. TextLabel53.Text = "MADE BY 1ndrew"
  1421. TextLabel53.Position = UDim2.new(0.800000012, 0, 0.894999981, 0)
  1422. TextLabel53.BackgroundColor3 = Color3.new(0.501961, 0, 0)
  1423. TextLabel53.BackgroundTransparency = 1
  1424. TextLabel53.ZIndex = 2
  1425. TextLabel53.TextColor3 = Color3.new(1, 1, 1)
  1426. TextLabel53.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
  1427. TextLabel53.TextXAlignment = Enum.TextXAlignment.Left
  1428. TextLabel54.Name = "GunTip3"
  1429. TextLabel54.Parent = Frame43
  1430. TextLabel54.Transparency = 1
  1431. TextLabel54.Size = UDim2.new(-0.800000012, 0, 0.5, 0)
  1432. TextLabel54.Text = "V/B = Laser | G = Light"
  1433. TextLabel54.Position = UDim2.new(0.800000012, 0, 2, 0)
  1434. TextLabel54.BackgroundColor3 = Color3.new(0.501961, 0, 0)
  1435. TextLabel54.BackgroundTransparency = 1
  1436. TextLabel54.ZIndex = 2
  1437. TextLabel54.TextColor3 = Color3.new(1, 1, 1)
  1438. TextLabel54.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
  1439. TextLabel54.TextXAlignment = Enum.TextXAlignment.Left
  1440. Frame55.Parent = ScreenGui42
  1441. Frame55.Transparency = 0.5
  1442. Frame55.Size = UDim2.new(0, 126, 0, 10)
  1443. Frame55.Position = UDim2.new(1, -153, 1, -62)
  1444. Frame55.BackgroundColor3 = Color3.new(0.380392, 0.380392, 0.380392)
  1445. Frame55.BackgroundTransparency = 0.5
  1446. Frame55.BorderSizePixel = 3
  1447. TextLabel56.Name = "Caliber"
  1448. TextLabel56.Parent = Frame55
  1449. TextLabel56.Transparency = 1
  1450. TextLabel56.Size = UDim2.new(1, 0, 1, 0)
  1451. TextLabel56.Text = "Made by 1ndrew"
  1452. TextLabel56.BackgroundColor3 = Color3.new(0.380392, 0.380392, 0.380392)
  1453. TextLabel56.BackgroundTransparency = 1
  1454. TextLabel56.Font = Enum.Font.SourceSansBold
  1455. TextLabel56.FontSize = Enum.FontSize.Size12
  1456. TextLabel56.TextColor3 = Color3.new(0, 0, 0)
  1457. TextLabel56.TextStrokeColor3 = Color3.new(0.380392, 0.380392, 0.380392)
  1458. TextLabel56.TextStrokeTransparency = 0.5
  1459. TextLabel56.TextXAlignment = Enum.TextXAlignment.Right
  1460. Part57.Name = "Bolt"
  1461. Part57.Parent = Tool0
  1462. Part57.Material = Enum.Material.SmoothPlastic
  1463. Part57.BrickColor = BrickColor.new("Dark stone grey")
  1464. Part57.Rotation = Vector3.new(90, 0, 0)
  1465. Part57.Anchored = true
  1466. Part57.CanCollide = false
  1467. Part57.FormFactor = Enum.FormFactor.Custom
  1468. Part57.Size = Vector3.new(0.200000003, 0.402905315, 0.200000003)
  1469. Part57.CFrame = CFrame.new(-11.9099998, 1.176, -116.266998, 1, -5.89999981e-05, 0, 0, 0, -1, 5.89999981e-05, 1, 0)
  1470. Part57.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1471. Part57.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1472. Part57.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1473. Part57.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1474. Part57.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1475. Part57.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1476. Part57.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1477. Part57.Position = Vector3.new(-11.9099998, 1.176, -116.266998)
  1478. Part57.Orientation = Vector3.new(90, 0, 0)
  1479. Part57.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1480. CylinderMesh58.Parent = Part57
  1481. CylinderMesh58.Scale = Vector3.new(0.496383131, 1, 0.979876816)
  1482. CylinderMesh58.Scale = Vector3.new(0.496383131, 1, 0.979876816)
  1483. Part59.Name = "PMag1"
  1484. Part59.Parent = Tool0
  1485. Part59.Material = Enum.Material.Concrete
  1486. Part59.Rotation = Vector3.new(90, 0, 90)
  1487. Part59.Anchored = true
  1488. Part59.CanCollide = false
  1489. Part59.Size = Vector3.new(0.611639202, 0.225373551, 1.02088165)
  1490. Part59.CFrame = CFrame.new(-11.9085007, 0.510469019, -116.243156, 0, -1, 0, 0, 0, -1, 1, 0, 0)
  1491. Part59.Position = Vector3.new(-11.9085007, 0.510469019, -116.243156)
  1492. Part59.Orientation = Vector3.new(90, -90, 0)
  1493. SpecialMesh60.Parent = Part59
  1494. SpecialMesh60.MeshId = "rbxassetid://777172237"
  1495. SpecialMesh60.Scale = Vector3.new(0.00456133951, 0.00456133857, 0.00456129387)
  1496. SpecialMesh60.TextureId = "rbxassetid://777384640"
  1497. SpecialMesh60.MeshType = Enum.MeshType.FileMesh
  1498. SpecialMesh60.Scale = Vector3.new(0.00456133951, 0.00456133857, 0.00456129387)
  1499. Part61.Name = "E"
  1500. Part61.Parent = Tool0
  1501. Part61.Material = Enum.Material.SmoothPlastic
  1502. Part61.BrickColor = BrickColor.new("Cool yellow")
  1503. Part61.Reflectance = 0.30000001192093
  1504. Part61.Transparency = 1
  1505. Part61.Rotation = Vector3.new(-180, 0, 0)
  1506. Part61.Anchored = true
  1507. Part61.CanCollide = false
  1508. Part61.FormFactor = Enum.FormFactor.Custom
  1509. Part61.Size = Vector3.new(0.200000003, 0.200000003, 0.338)
  1510. Part61.CFrame = CFrame.new(-11.8579998, 1.176, -116.266998, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  1511. Part61.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1512. Part61.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1513. Part61.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1514. Part61.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1515. Part61.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1516. Part61.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1517. Part61.Color = Color3.new(0.992157, 0.917647, 0.552941)
  1518. Part61.Position = Vector3.new(-11.8579998, 1.176, -116.266998)
  1519. Part61.Orientation = Vector3.new(0, 180, 180)
  1520. Part61.Color = Color3.new(0.992157, 0.917647, 0.552941)
  1521. BlockMesh62.Parent = Part61
  1522. BlockMesh62.Scale = Vector3.new(0.0769230723, 0.538461506, 1)
  1523. BlockMesh62.Scale = Vector3.new(0.0769230723, 0.538461506, 1)
  1524. Part63.Name = "Trigger"
  1525. Part63.Parent = Tool0
  1526. Part63.Material = Enum.Material.SmoothPlastic
  1527. Part63.BrickColor = BrickColor.new("New Yeller")
  1528. Part63.Transparency = 1
  1529. Part63.Anchored = true
  1530. Part63.CanCollide = false
  1531. Part63.FormFactor = Enum.FormFactor.Custom
  1532. Part63.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1533. Part63.CFrame = CFrame.new(-11.8999996, 0.829999983, -115.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1534. Part63.BottomSurface = Enum.SurfaceType.Smooth
  1535. Part63.TopSurface = Enum.SurfaceType.Smooth
  1536. Part63.Color = Color3.new(1, 1, 0)
  1537. Part63.Position = Vector3.new(-11.8999996, 0.829999983, -115.75)
  1538. Part63.Color = Color3.new(1, 1, 0)
  1539. Part64.Name = "Handle"
  1540. Part64.Parent = Tool0
  1541. Part64.Material = Enum.Material.SmoothPlastic
  1542. Part64.BrickColor = BrickColor.new("New Yeller")
  1543. Part64.Reflectance = 0.30000001192093
  1544. Part64.Transparency = 1
  1545. Part64.Rotation = Vector3.new(-0.340000004, 0, 0)
  1546. Part64.Anchored = true
  1547. Part64.CanCollide = false
  1548. Part64.FormFactor = Enum.FormFactor.Custom
  1549. Part64.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1550. Part64.CFrame = CFrame.new(-11.5, 0.5, -115.449997, 1, 7.77400047e-08, -1.29997679e-05, 0, 0.999982119, 0.0059800013, 1.29999999e-05, -0.00598000083, 0.999982119)
  1551. Part64.BottomSurface = Enum.SurfaceType.Smooth
  1552. Part64.TopSurface = Enum.SurfaceType.Smooth
  1553. Part64.Color = Color3.new(1, 1, 0)
  1554. Part64.Position = Vector3.new(-11.5, 0.5, -115.449997)
  1555. Part64.Orientation = Vector3.new(-0.340000004, 0, 0)
  1556. Part64.Color = Color3.new(1, 1, 0)
  1557. Sound65.Name = "MagIn"
  1558. Sound65.Parent = Part64
  1559. Sound65.SoundId = "http://roblox.com/asset/?id=166238223"
  1560. Sound65.Volume = 0.20000000298023
  1561. Sound66.Name = "MagOut"
  1562. Sound66.Parent = Part64
  1563. Sound66.SoundId = "http://roblox.com/asset/?id=166238177"
  1564. Sound66.Volume = 0.20000000298023
  1565. Sound67.Name = "Click"
  1566. Sound67.Parent = Part64
  1567. Sound67.SoundId = "http://www.roblox.com/asset/?id=146501511"
  1568. Sound68.Name = "Shoot"
  1569. Sound68.Parent = Part64
  1570. Sound68.SoundId = "rbxassetid://169799921"
  1571. Sound68.Volume = 1
  1572. Part69.Name = "Upper receiver"
  1573. Part69.Parent = Tool0
  1574. Part69.Material = Enum.Material.Concrete
  1575. Part69.Rotation = Vector3.new(90, 0, 90)
  1576. Part69.Anchored = true
  1577. Part69.CanCollide = false
  1578. Part69.Size = Vector3.new(1.22473347, 0.225373551, 0.225373551)
  1579. Part69.CFrame = CFrame.new(-11.9085007, 1.18544996, -115.871094, 0, -1, 0, 0, 0, -1, 1, 0, 0)
  1580. Part69.Position = Vector3.new(-11.9085007, 1.18544996, -115.871094)
  1581. Part69.Orientation = Vector3.new(90, -90, 0)
  1582. SpecialMesh70.Parent = Part69
  1583. SpecialMesh70.MeshId = "rbxassetid://777155048"
  1584. SpecialMesh70.Scale = Vector3.new(0.00456133951, 0.00456133857, 0.00456129387)
  1585. SpecialMesh70.TextureId = "rbxassetid://777328045"
  1586. SpecialMesh70.MeshType = Enum.MeshType.FileMesh
  1587. SpecialMesh70.Scale = Vector3.new(0.00456133951, 0.00456133857, 0.00456129387)
  1588. for i,v in pairs(mas:GetChildren()) do
  1589. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  1590. pcall(function() v:MakeJoints() end)
  1591. end
  1592. mas:Destroy()
  1593. for i,v in pairs(cors) do
  1594. spawn(function()
  1595. pcall(v)
  1596. end)
  1597. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement