Advertisement
ViggoCS

Realistic Galil

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