Advertisement
Dark_EccentricYT

Untitled

Jun 16th, 2018
2,828
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 74.85 KB | None | 0 0
  1. function TakeDamage(hum, dmg)
  2. hum.Health = hum.Health - dmg
  3. end
  4. local player = game.Players.LocalPlayer
  5. local char = player.Character
  6. local tor = char.Torso
  7. local camera = game.Workspace.CurrentCamera
  8. local ra = char["Right Arm"]
  9. local la = char["Left Arm"]
  10. local ammo = 30
  11. local maxammo = 30
  12. local UserInputService = game:GetService("UserInputService")
  13. local firing = false
  14. local shellsenabled = false
  15. local gangstainsults = {
  16. "You want some of this?!",
  17. "I'll blast all of you fools!",
  18. "I ain't afraid!",
  19. "I've been doing this all my life!",
  20. "Go ahead, touch me!"
  21. }
  22. local gangstainsults2 = {
  23. "Haha!",
  24. "Next time it's gonna be harder!",
  25. "I'll kill you fool!",
  26. "I hope it hurt!",
  27. "Take that!"
  28. }
  29. local gangstaexecutions = {
  30. "Say good night.",
  31. "I'mma put you to sleep!",
  32. "See you on the other side.",
  33. "You messed with the wrong dude.",
  34. "Rest in peace."
  35. }
  36. local gangstaups = {
  37. "My grandmama hits harder!",
  38. "Now I'm angry!",
  39. "I pop right back up!",
  40. "No sweat.",
  41. "That all you got?"
  42. }
  43. local gangstareloads = {
  44. "One second..",
  45. "...",
  46. "Reloading!",
  47. "Come on..",
  48. "Man, I need more ammo!"
  49. }
  50. function weld(p0, p1, c0)
  51. local w = Instance.new("Weld", p0)
  52. w.Part0 = p0
  53. w.Part1 = p1
  54. w.C0 = c0
  55. return w
  56. end
  57. bin = Instance.new("HopperBin", player.Backpack)
  58. bin.Name = "Uzi"
  59. bin.Selected:connect(function(mouse)
  60. pcall(function()
  61. local reloading = false
  62. local canfire = true
  63. local canmovemouse = true
  64. local mouselook = 0
  65. local tool = Instance.new("Tool", char)
  66. local uzi = Instance.new("Model", tool)
  67. uzi.Name = "Uzi"
  68. barrel = Instance.new("Part", uzi)
  69. barrel.CanCollide = false
  70. barrel.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  71. barrel.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  72. barrel.Anchored = false
  73. barrel.Material = Enum.Material.Metal
  74. barrel.Size = Vector3.new(0.1, 0.1, 0.1)
  75. barrel.Name = "Barrel"
  76. barrel.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  77. barrel.CFrame = CFrame.new(134.173, 3.949, 82.956) * CFrame.Angles(-1.5704704523087, 4.8704544315115E-4, -8.6166553955991E-5)
  78. barrel.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  79. barrel.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  80. barrel.BrickColor = BrickColor.new("Really black")
  81. barrel.Friction = 0.3
  82. barrel.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  83. mesh = Instance.new("CylinderMesh", barrel)
  84. local muzzleflash = Instance.new("Part", uzi)
  85. muzzleflash.CanCollide = false
  86. muzzleflash.Transparency = 1
  87. muzzleflash.TopSurface = Enum.SurfaceType.Smooth
  88. muzzleflash.Anchored = false
  89. muzzleflash.Material = Enum.Material.Neon
  90. muzzleflash.Size = Vector3.new(1, 2, 2)
  91. muzzleflash.Name = "MuzzleFlash"
  92. muzzleflash.CFrame = CFrame.new(134.177, 3.963, 82.098) * CFrame.Angles(1.5708409547806, -1.5707963705063, 0)
  93. muzzleflash.BrickColor = BrickColor.new("New Yeller")
  94. muzzleflash.Friction = 0.3
  95. muzzleflash.BottomSurface = Enum.SurfaceType.Smooth
  96. mesh_2 = Instance.new("SpecialMesh", muzzleflash)
  97. mesh_2.Scale = Vector3.new(0.5, 1, 0.5)
  98. mesh_2.MeshType = Enum.MeshType.Sphere
  99. pointlight = Instance.new("PointLight", muzzleflash)
  100. pointlight.Enabled = false
  101. pointlight.Color = Color3.new(1, 1, 0)
  102. pointlight.Brightness = 5
  103. pointlight.Range = 5
  104. part = Instance.new("Part", uzi)
  105. part.FormFactor = Enum.FormFactor.Symmetric
  106. part.CanCollide = false
  107. part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  108. part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  109. part.Anchored = false
  110. part.Material = Enum.Material.Metal
  111. part.Size = Vector3.new(1, 1, 1)
  112. part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  113. part.CFrame = CFrame.new(134.173, 4.077, 85.373) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
  114. part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  115. part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  116. part.BrickColor = BrickColor.new("Black")
  117. part.Friction = 0.3
  118. part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  119. mesh_3 = Instance.new("CylinderMesh", part)
  120. mesh_3.Scale = Vector3.new(0.068, 0.182, 0.068)
  121. part_2 = Instance.new("Part", uzi)
  122. part_2.FormFactor = Enum.FormFactor.Symmetric
  123. part_2.CanCollide = false
  124. part_2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  125. part_2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  126. part_2.Anchored = false
  127. part_2.Material = Enum.Material.Metal
  128. part_2.Size = Vector3.new(1, 1, 1)
  129. part_2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  130. part_2.CFrame = CFrame.new(134.173, 3.727, 85.277) * CFrame.Angles(-1.5707963705063, 0, 0)
  131. part_2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  132. part_2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  133. part_2.BrickColor = BrickColor.new("Black")
  134. part_2.Friction = 0.3
  135. part_2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  136. mesh_4 = Instance.new("SpecialMesh", part_2)
  137. mesh_4.Scale = Vector3.new(0.182, 0.091, 0.091)
  138. mesh_4.MeshType = Enum.MeshType.Wedge
  139. part_3 = Instance.new("Part", uzi)
  140. part_3.CanCollide = false
  141. part_3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  142. part_3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  143. part_3.Anchored = false
  144. part_3.Material = Enum.Material.Metal
  145. part_3.Size = Vector3.new(1, 1.2, 1)
  146. part_3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  147. part_3.CFrame = CFrame.new(134.173, 3.782, 83.799) * CFrame.Angles(0, 0, -3.1415927410126)
  148. part_3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  149. part_3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  150. part_3.BrickColor = BrickColor.new("Black")
  151. part_3.Friction = 0.3
  152. part_3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  153. mesh_5 = Instance.new("SpecialMesh", part_3)
  154. mesh_5.Scale = Vector3.new(0.273, 0.045, 0.318)
  155. mesh_5.MeshType = Enum.MeshType.Torso
  156. part_4 = Instance.new("Part", uzi)
  157. part_4.FormFactor = Enum.FormFactor.Symmetric
  158. part_4.CanCollide = false
  159. part_4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  160. part_4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  161. part_4.Anchored = false
  162. part_4.Material = Enum.Material.Metal
  163. part_4.Size = Vector3.new(1, 1, 1)
  164. part_4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  165. part_4.CFrame = CFrame.new(134.173, 4.159, 84.072) * CFrame.Angles(0, -1.5707963705063, 0)
  166. part_4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  167. part_4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  168. part_4.BrickColor = BrickColor.new("Black")
  169. part_4.Friction = 0.3
  170. part_4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  171. mesh_6 = Instance.new("CylinderMesh", part_4)
  172. mesh_6.Scale = Vector3.new(0.136, 0.045, 0.091)
  173. part_5 = Instance.new("Part", uzi)
  174. part_5.CanCollide = false
  175. part_5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  176. part_5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  177. part_5.Anchored = false
  178. part_5.Material = Enum.Material.Metal
  179. part_5.Size = Vector3.new(1, 1.2, 1)
  180. part_5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  181. part_5.CFrame = CFrame.new(134.173, 3.864, 85.186) * CFrame.Angles(0, -1.5707963705063, 0)
  182. part_5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  183. part_5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  184. part_5.BrickColor = BrickColor.new("Black")
  185. part_5.Friction = 0.3
  186. part_5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  187. mesh_7 = Instance.new("BlockMesh", part_5)
  188. mesh_7.Scale = Vector3.new(0.364, 0.091, 0.182)
  189. part_6 = Instance.new("Part", uzi)
  190. part_6.CanCollide = false
  191. part_6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  192. part_6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  193. part_6.Anchored = false
  194. part_6.Material = Enum.Material.Metal
  195. part_6.Size = Vector3.new(1, 1.2, 1)
  196. part_6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  197. part_6.CFrame = CFrame.new(134.173, 4.027, 85.118) * CFrame.Angles(0, -1.5707963705063, 0)
  198. part_6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  199. part_6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  200. part_6.BrickColor = BrickColor.new("Black")
  201. part_6.Friction = 0.3
  202. part_6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  203. mesh_8 = Instance.new("BlockMesh", part_6)
  204. mesh_8.Scale = Vector3.new(0.5, 0.182, 0.182)
  205. part_7 = Instance.new("Part", uzi)
  206. part_7.FormFactor = Enum.FormFactor.Symmetric
  207. part_7.CanCollide = false
  208. part_7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  209. part_7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  210. part_7.Anchored = false
  211. part_7.Material = Enum.Material.Metal
  212. part_7.Size = Vector3.new(1, 1, 1)
  213. part_7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  214. part_7.CFrame = CFrame.new(134.177, 4.143, 83.738) * CFrame.Angles(-1.5707963705063, 0, -1.5707963705063)
  215. part_7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  216. part_7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  217. part_7.BrickColor = BrickColor.new("Black")
  218. part_7.Friction = 0.3
  219. part_7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  220. mesh_9 = Instance.new("CylinderMesh", part_7)
  221. mesh_9.Scale = Vector3.new(0.273, 0.182, 0.136)
  222. part_8 = Instance.new("Part", uzi)
  223. part_8.FormFactor = Enum.FormFactor.Plate
  224. part_8.CanCollide = false
  225. part_8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  226. part_8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  227. part_8.Anchored = false
  228. part_8.Material = Enum.Material.Metal
  229. part_8.Size = Vector3.new(1, 0.4, 1)
  230. part_8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  231. part_8.CFrame = CFrame.new(134.173, 3.664, 85.436) * CFrame.Angles(0, -1.5707963705063, 0)
  232. part_8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  233. part_8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  234. part_8.BrickColor = BrickColor.new("Black")
  235. part_8.Friction = 0.3
  236. part_8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  237. mesh_10 = Instance.new("BlockMesh", part_8)
  238. mesh_10.Scale = Vector3.new(0.045, 0.864, 0.182)
  239. part_9 = Instance.new("Part", uzi)
  240. part_9.FormFactor = Enum.FormFactor.Plate
  241. part_9.CanCollide = false
  242. part_9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  243. part_9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  244. part_9.Anchored = false
  245. part_9.Material = Enum.Material.Metal
  246. part_9.Size = Vector3.new(1, 0.8, 1)
  247. part_9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  248. part_9.CFrame = CFrame.new(134.173, 3.745, 85.39) * CFrame.Angles(0, -1.5707963705063, 0)
  249. part_9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  250. part_9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  251. part_9.BrickColor = BrickColor.new("Black")
  252. part_9.Friction = 0.3
  253. part_9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  254. mesh_11 = Instance.new("BlockMesh", part_9)
  255. mesh_11.Scale = Vector3.new(0.045, 0.773, 0.182)
  256. part_10 = Instance.new("Part", uzi)
  257. part_10.CanCollide = false
  258. part_10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  259. part_10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  260. part_10.Anchored = false
  261. part_10.Material = Enum.Material.Metal
  262. part_10.Size = Vector3.new(1, 1.2, 1)
  263. part_10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  264. part_10.CFrame = CFrame.new(134.173, 3.536, 84.686) * CFrame.Angles(0, -1.5707963705063, 0)
  265. part_10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  266. part_10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  267. part_10.BrickColor = BrickColor.new("Black")
  268. part_10.Friction = 0.3
  269. part_10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  270. mesh_12 = Instance.new("BlockMesh", part_10)
  271. mesh_12.Scale = Vector3.new(0.273, 0.455, 0.182)
  272. part_11 = Instance.new("Part", uzi)
  273. part_11.CanCollide = false
  274. part_11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  275. part_11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  276. part_11.Anchored = false
  277. part_11.Material = Enum.Material.Metal
  278. part_11.Size = Vector3.new(1, 1.2, 1)
  279. part_11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  280. part_11.CFrame = CFrame.new(134.173, 3.759, 84.829) * CFrame.Angles(-3.1415927410126, 0, 0)
  281. part_11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  282. part_11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  283. part_11.BrickColor = BrickColor.new("Black")
  284. part_11.Friction = 0.3
  285. part_11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  286. mesh_13 = Instance.new("SpecialMesh", part_11)
  287. mesh_13.Scale = Vector3.new(0.182, 0.091, 0.036)
  288. mesh_13.MeshType = Enum.MeshType.Wedge
  289. part_12 = Instance.new("Part", uzi)
  290. part_12.CanCollide = false
  291. part_12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  292. part_12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  293. part_12.Anchored = false
  294. part_12.Material = Enum.Material.Metal
  295. part_12.Size = Vector3.new(1, 1.2, 1)
  296. part_12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  297. part_12.CFrame = CFrame.new(134.173, 3.971, 84.572) * CFrame.Angles(0, -1.5707963705063, 0)
  298. part_12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  299. part_12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  300. part_12.BrickColor = BrickColor.new("Black")
  301. part_12.Friction = 0.3
  302. part_12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  303. mesh_14 = Instance.new("BlockMesh", part_12)
  304. mesh_14.Scale = Vector3.new(0.591, 0.273, 0.182)
  305. part_13 = Instance.new("Part", uzi)
  306. part_13.CanCollide = false
  307. part_13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  308. part_13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  309. part_13.Anchored = false
  310. part_13.Material = Enum.Material.Metal
  311. part_13.Size = Vector3.new(1, 1.2, 1)
  312. part_13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  313. part_13.CFrame = CFrame.new(134.173, 3.945, 83.586) * CFrame.Angles(-1.5707963705063, -1.5707963705063, 0)
  314. part_13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  315. part_13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  316. part_13.BrickColor = BrickColor.new("Black")
  317. part_13.Friction = 0.3
  318. part_13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  319. mesh_15 = Instance.new("CylinderMesh", part_13)
  320. mesh_15.Scale = Vector3.new(0.273, 0.091, 0.182)
  321. part_14 = Instance.new("Part", uzi)
  322. part_14.FormFactor = Enum.FormFactor.Symmetric
  323. part_14.CanCollide = false
  324. part_14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  325. part_14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  326. part_14.Anchored = false
  327. part_14.Material = Enum.Material.Metal
  328. part_14.Size = Vector3.new(1, 1, 1)
  329. part_14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  330. part_14.CFrame = CFrame.new(134.177, 4.148, 85.291) * CFrame.Angles(-1.5707963705063, 0, -1.5707963705063)
  331. part_14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  332. part_14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  333. part_14.BrickColor = BrickColor.new("Black")
  334. part_14.Friction = 0.3
  335. part_14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  336. mesh_16 = Instance.new("CylinderMesh", part_14)
  337. mesh_16.Scale = Vector3.new(0.491, 0.182, 0.164)
  338. part_15 = Instance.new("Part", uzi)
  339. part_15.FormFactor = Enum.FormFactor.Plate
  340. part_15.CanCollide = false
  341. part_15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  342. part_15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  343. part_15.Anchored = false
  344. part_15.Material = Enum.Material.Metal
  345. part_15.Size = Vector3.new(1, 0.4, 1)
  346. part_15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  347. part_15.CFrame = CFrame.new(134.171, 3.672, 84.54) * CFrame.Angles(-0.66089224815369, -1.5707963705063, 0)
  348. part_15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  349. part_15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  350. part_15.BrickColor = BrickColor.new("Black")
  351. part_15.Friction = 0.3
  352. part_15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  353. mesh_17 = Instance.new("BlockMesh", part_15)
  354. mesh_17.Scale = Vector3.new(0.136, 0.045, 0.091)
  355. part_16 = Instance.new("Part", uzi)
  356. part_16.FormFactor = Enum.FormFactor.Symmetric
  357. part_16.CanCollide = false
  358. part_16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  359. part_16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  360. part_16.Anchored = false
  361. part_16.Material = Enum.Material.Metal
  362. part_16.Size = Vector3.new(1, 1, 1)
  363. part_16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  364. part_16.CFrame = CFrame.new(134.173, 3.614, 85.345) * CFrame.Angles(-1.5707963705063, 0, 0)
  365. part_16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  366. part_16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  367. part_16.BrickColor = BrickColor.new("Black")
  368. part_16.Friction = 0.3
  369. part_16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  370. mesh_18 = Instance.new("SpecialMesh", part_16)
  371. mesh_18.Scale = Vector3.new(0.182, 0.045, 0.136)
  372. mesh_18.MeshType = Enum.MeshType.Wedge
  373. part_17 = Instance.new("Part", uzi)
  374. part_17.CanCollide = false
  375. part_17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  376. part_17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  377. part_17.Anchored = false
  378. part_17.Material = Enum.Material.Metal
  379. part_17.Size = Vector3.new(1, 1.2, 1)
  380. part_17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  381. part_17.CFrame = CFrame.new(134.173, 3.973, 83.958) * CFrame.Angles(0, -1.5707963705063, 0)
  382. part_17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  383. part_17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  384. part_17.BrickColor = BrickColor.new("Black")
  385. part_17.Friction = 0.3
  386. part_17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  387. mesh_19 = Instance.new("BlockMesh", part_17)
  388. mesh_19.Scale = Vector3.new(0.636, 0.273, 0.182)
  389. part_18 = Instance.new("Part", uzi)
  390. part_18.FormFactor = Enum.FormFactor.Plate
  391. part_18.CanCollide = false
  392. part_18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  393. part_18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  394. part_18.Anchored = false
  395. part_18.Material = Enum.Material.Metal
  396. part_18.Size = Vector3.new(1, 0.4, 1)
  397. part_18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  398. part_18.CFrame = CFrame.new(134.173, 3.791, 85.277) * CFrame.Angles(0, -1.5707963705063, 0)
  399. part_18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  400. part_18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  401. part_18.BrickColor = BrickColor.new("Black")
  402. part_18.Friction = 0.3
  403. part_18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  404. mesh_20 = Instance.new("BlockMesh", part_18)
  405. mesh_20.Scale = Vector3.new(0.091, 0.091, 0.182)
  406. part_19 = Instance.new("Part", uzi)
  407. part_19.FormFactor = Enum.FormFactor.Symmetric
  408. part_19.CanCollide = false
  409. part_19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  410. part_19.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  411. part_19.Anchored = false
  412. part_19.Material = Enum.Material.Metal
  413. part_19.Size = Vector3.new(1, 1, 1)
  414. part_19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  415. part_19.CFrame = CFrame.new(134.173, 3.468, 85.436) * CFrame.Angles(-1.5707963705063, 0, -3.1415927410126)
  416. part_19.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  417. part_19.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  418. part_19.BrickColor = BrickColor.new("Black")
  419. part_19.Friction = 0.3
  420. part_19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  421. mesh_21 = Instance.new("SpecialMesh", part_19)
  422. mesh_21.Scale = Vector3.new(0.182, 0.045, 0.045)
  423. mesh_21.MeshType = Enum.MeshType.Wedge
  424. part_20 = Instance.new("Part", uzi)
  425. part_20.FormFactor = Enum.FormFactor.Symmetric
  426. part_20.CanCollide = false
  427. part_20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  428. part_20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  429. part_20.Anchored = false
  430. part_20.Material = Enum.Material.Metal
  431. part_20.Size = Vector3.new(1, 1, 1)
  432. part_20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  433. part_20.CFrame = CFrame.new(134.173, 3.786, 85.095) * CFrame.Angles(-1.5707963705063, 0, 0)
  434. part_20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  435. part_20.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  436. part_20.BrickColor = BrickColor.new("Black")
  437. part_20.Friction = 0.3
  438. part_20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  439. mesh_22 = Instance.new("SpecialMesh", part_20)
  440. mesh_22.Scale = Vector3.new(0.182, 0.273, 0.045)
  441. mesh_22.MeshType = Enum.MeshType.Wedge
  442. part_21 = Instance.new("Part", uzi)
  443. part_21.FormFactor = Enum.FormFactor.Plate
  444. part_21.CanCollide = false
  445. part_21.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  446. part_21.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  447. part_21.Anchored = false
  448. part_21.Material = Enum.Material.Metal
  449. part_21.Size = Vector3.new(1, 0.4, 1)
  450. part_21.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  451. part_21.CFrame = CFrame.new(134.171, 3.63, 84.396) * CFrame.Angles(0, -1.5707963705063, 0)
  452. part_21.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  453. part_21.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  454. part_21.BrickColor = BrickColor.new("Black")
  455. part_21.Friction = 0.3
  456. part_21.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  457. mesh_23 = Instance.new("BlockMesh", part_21)
  458. mesh_23.Scale = Vector3.new(0.182, 0.045, 0.091)
  459. part_22 = Instance.new("Part", uzi)
  460. part_22.FormFactor = Enum.FormFactor.Plate
  461. part_22.CanCollide = false
  462. part_22.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  463. part_22.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  464. part_22.Anchored = false
  465. part_22.Material = Enum.Material.Metal
  466. part_22.Size = Vector3.new(1, 0.4, 1)
  467. part_22.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  468. part_22.CFrame = CFrame.new(134.173, 3.745, 85.345) * CFrame.Angles(0, -1.5707963705063, 0)
  469. part_22.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  470. part_22.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  471. part_22.BrickColor = BrickColor.new("Black")
  472. part_22.Friction = 0.3
  473. part_22.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  474. mesh_24 = Instance.new("BlockMesh", part_22)
  475. mesh_24.Scale = Vector3.new(0.045, 0.318, 0.182)
  476. part_23 = Instance.new("Part", uzi)
  477. part_23.CanCollide = false
  478. part_23.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  479. part_23.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  480. part_23.Anchored = false
  481. part_23.Material = Enum.Material.Metal
  482. part_23.Size = Vector3.new(1, 0.8, 1)
  483. part_23.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  484. part_23.CFrame = CFrame.new(134.173, 3.949, 83.228) * CFrame.Angles(1.5707963705063, 1.5707963705063, 0)
  485. part_23.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  486. part_23.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  487. part_23.BrickColor = BrickColor.new("Black")
  488. part_23.Friction = 0.3
  489. part_23.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  490. mesh_25 = Instance.new("CylinderMesh", part_23)
  491. mesh_25.Scale = Vector3.new(0.455, 0.773, 0.127)
  492. local mag = Instance.new("Part", uzi)
  493. mag.CanCollide = false
  494. mag.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  495. mag.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  496. mag.Anchored = false
  497. mag.Material = Enum.Material.Metal
  498. mag.Size = Vector3.new(1, 1.2, 1)
  499. mag.Name = "mag"
  500. mag.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  501. mag.CFrame = CFrame.new(134.173, 3.1, 84.686) * CFrame.Angles(0, -1.5707963705063, 0)
  502. mag.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  503. mag.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  504. mag.BrickColor = BrickColor.new("Black")
  505. mag.Friction = 0.3
  506. mag.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  507. mesh_26 = Instance.new("BlockMesh", mag)
  508. mesh_26.Scale = Vector3.new(0.218, 0.409, 0.136)
  509. part_24 = Instance.new("Part", uzi)
  510. part_24.FormFactor = Enum.FormFactor.Symmetric
  511. part_24.CanCollide = false
  512. part_24.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  513. part_24.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  514. part_24.Anchored = false
  515. part_24.Material = Enum.Material.Metal
  516. part_24.Size = Vector3.new(1, 1, 1)
  517. part_24.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  518. part_24.CFrame = CFrame.new(134.287, 3.945, 83.981) * CFrame.Angles(1.5707963705063, 0, -1.5707963705063)
  519. part_24.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  520. part_24.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  521. part_24.BrickColor = BrickColor.new("Black")
  522. part_24.Friction = 0.3
  523. part_24.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  524. mesh_27 = Instance.new("SpecialMesh", part_24)
  525. mesh_27.Scale = Vector3.new(0.682, 0.045, 0.273)
  526. mesh_27.MeshType = Enum.MeshType.Wedge
  527. part_25 = Instance.new("Part", uzi)
  528. part_25.FormFactor = Enum.FormFactor.Symmetric
  529. part_25.CanCollide = false
  530. part_25.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  531. part_25.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  532. part_25.Anchored = false
  533. part_25.Material = Enum.Material.Metal
  534. part_25.Size = Vector3.new(1, 1, 1)
  535. part_25.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  536. part_25.CFrame = CFrame.new(134.177, 3.871, 84.92) * CFrame.Angles(-1.5707963705063, 0, -1.5707963705063)
  537. part_25.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  538. part_25.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  539. part_25.BrickColor = BrickColor.new("Black")
  540. part_25.Friction = 0.3
  541. part_25.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  542. mesh_28 = Instance.new("CylinderMesh", part_25)
  543. mesh_28.Scale = Vector3.new(0.227, 0.182, 0.227)
  544. part_26 = Instance.new("Part", uzi)
  545. part_26.FormFactor = Enum.FormFactor.Plate
  546. part_26.CanCollide = false
  547. part_26.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  548. part_26.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  549. part_26.Anchored = false
  550. part_26.Material = Enum.Material.Metal
  551. part_26.Size = Vector3.new(1, 0.4, 1)
  552. part_26.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  553. part_26.CFrame = CFrame.new(134.193, 3.768, 84.457) * CFrame.Angles(1.9267512559891, 0, 3.1415927410126)
  554. part_26.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  555. part_26.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  556. part_26.BrickColor = BrickColor.new("Black")
  557. part_26.Friction = 0.3
  558. part_26.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  559. mesh_29 = Instance.new("BlockMesh", part_26)
  560. mesh_29.Scale = Vector3.new(0.045, 0.045, 0.136)
  561. part_27 = Instance.new("Part", uzi)
  562. part_27.FormFactor = Enum.FormFactor.Plate
  563. part_27.CanCollide = false
  564. part_27.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  565. part_27.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  566. part_27.Anchored = false
  567. part_27.Material = Enum.Material.Metal
  568. part_27.Size = Vector3.new(1, 0.4, 1)
  569. part_27.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  570. part_27.CFrame = CFrame.new(134.177, 3.769, 84.313) * CFrame.Angles(-1.5707963705063, 0, 0)
  571. part_27.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  572. part_27.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  573. part_27.BrickColor = BrickColor.new("Black")
  574. part_27.Friction = 0.3
  575. part_27.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  576. mesh_30 = Instance.new("BlockMesh", part_27)
  577. mesh_30.Scale = Vector3.new(0.091, 0.045, 0.273)
  578. part_28 = Instance.new("Part", uzi)
  579. part_28.FormFactor = Enum.FormFactor.Symmetric
  580. part_28.CanCollide = false
  581. part_28.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  582. part_28.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  583. part_28.Anchored = false
  584. part_28.Material = Enum.Material.Metal
  585. part_28.Size = Vector3.new(1, 1, 1)
  586. part_28.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  587. part_28.CFrame = CFrame.new(134.173, 3.904, 85.436) * CFrame.Angles(1.5707963705063, 0, 0)
  588. part_28.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  589. part_28.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  590. part_28.BrickColor = BrickColor.new("Black")
  591. part_28.Friction = 0.3
  592. part_28.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  593. mesh_31 = Instance.new("SpecialMesh", part_28)
  594. mesh_31.Scale = Vector3.new(0.182, 0.045, 0.136)
  595. mesh_31.MeshType = Enum.MeshType.Wedge
  596. part_29 = Instance.new("Part", uzi)
  597. part_29.FormFactor = Enum.FormFactor.Symmetric
  598. part_29.CanCollide = false
  599. part_29.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  600. part_29.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  601. part_29.Anchored = false
  602. part_29.Material = Enum.Material.Metal
  603. part_29.Size = Vector3.new(1, 1, 1)
  604. part_29.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  605. part_29.CFrame = CFrame.new(134.059, 3.945, 83.981) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
  606. part_29.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  607. part_29.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  608. part_29.BrickColor = BrickColor.new("Black")
  609. part_29.Friction = 0.3
  610. part_29.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  611. mesh_32 = Instance.new("SpecialMesh", part_29)
  612. mesh_32.Scale = Vector3.new(0.682, 0.045, 0.273)
  613. mesh_32.MeshType = Enum.MeshType.Wedge
  614. part_30 = Instance.new("Part", uzi)
  615. part_30.CanCollide = false
  616. part_30.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  617. part_30.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  618. part_30.Anchored = false
  619. part_30.Material = Enum.Material.Metal
  620. part_30.Size = Vector3.new(1, 1.2, 1)
  621. part_30.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  622. part_30.CFrame = CFrame.new(134.173, 3.782, 84.118) * CFrame.Angles(0, 0, -3.1415927410126)
  623. part_30.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  624. part_30.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  625. part_30.BrickColor = BrickColor.new("Black")
  626. part_30.Friction = 0.3
  627. part_30.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  628. mesh_33 = Instance.new("SpecialMesh", part_30)
  629. mesh_33.Scale = Vector3.new(0.273, 0.045, 0.318)
  630. mesh_33.MeshType = Enum.MeshType.Torso
  631. part_31 = Instance.new("Part", uzi)
  632. part_31.CanCollide = false
  633. part_31.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  634. part_31.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  635. part_31.Anchored = false
  636. part_31.Material = Enum.Material.Metal
  637. part_31.Size = Vector3.new(1, 1.2, 1)
  638. part_31.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  639. part_31.CFrame = CFrame.new(134.171, 3.452, 84.82) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  640. part_31.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  641. part_31.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  642. part_31.BrickColor = BrickColor.new("Black")
  643. part_31.Friction = 0.3
  644. part_31.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  645. mesh_34 = Instance.new("SpecialMesh", part_31)
  646. mesh_34.Scale = Vector3.new(0.364, 0.023, 0.182)
  647. mesh_34.MeshType = Enum.MeshType.Torso
  648. local newp = Instance.new("Part", uzi)
  649. newp.CanCollide = false
  650. newp.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  651. newp.Transparency = 1
  652. newp.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  653. newp.Anchored = false
  654. newp.Material = Enum.Material.Metal
  655. newp.Size = Vector3.new(0.2, 0.2, 0.2)
  656. newp.Name = "newp"
  657. newp.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  658. newp.CFrame = CFrame.new(134.167, 3.953, 82.858) * CFrame.Angles(-6.263365776249E-6, -9.9742726888508E-4, -5.0321586968494E-6)
  659. newp.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  660. newp.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  661. newp.BrickColor = BrickColor.new("Really black")
  662. newp.Friction = 0.3
  663. newp.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  664. local chamber = Instance.new("Part", uzi)
  665. chamber.CanCollide = false
  666. chamber.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  667. chamber.Transparency = 1
  668. chamber.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  669. chamber.Anchored = false
  670. chamber.Material = Enum.Material.Metal
  671. chamber.Size = Vector3.new(0.1, 0.1, 0.5)
  672. chamber.Name = "Chamber"
  673. chamber.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  674. chamber.CFrame = CFrame.new(134.203, 3.979, 84.596) * CFrame.Angles(3.2589113106951E-4, -8.6166561231948E-5, -4.8704547225498E-4)
  675. chamber.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  676. chamber.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  677. chamber.BrickColor = BrickColor.new("Really black")
  678. chamber.Friction = 0.3
  679. chamber.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  680. handle = Instance.new("Part", uzi)
  681. handle.FormFactor = Enum.FormFactor.Symmetric
  682. handle.CanCollide = false
  683. handle.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  684. handle.Transparency = 1
  685. handle.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  686. handle.Reflectance = 0.1
  687. handle.Anchored = false
  688. handle.Material = Enum.Material.Metal
  689. handle.Size = Vector3.new(0.856, 0.856, 0.856)
  690. handle.Name = "Handle"
  691. handle.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  692. handle.CFrame = CFrame.new(134.172, 3.874, 84.453) * CFrame.Angles(-1.5207579906473E-7, 1.80538290806E-6, -3.191729192622E-4)
  693. handle.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  694. handle.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  695. handle.BrickColor = BrickColor.new("Dark stone grey")
  696. handle.Friction = 0.3
  697. handle.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  698. local hitbox = Instance.new("Part", uzi)
  699. hitbox.FormFactor = Enum.FormFactor.Symmetric
  700. hitbox.CanCollide = false
  701. hitbox.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  702. hitbox.Transparency = 1
  703. hitbox.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  704. hitbox.Reflectance = 0.1
  705. hitbox.Anchored = false
  706. hitbox.Material = Enum.Material.Metal
  707. hitbox.Size = Vector3.new(0.856, 1, 2.294)
  708. hitbox.Name = "hitbox"
  709. hitbox.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  710. hitbox.CFrame = CFrame.new(134.172, 3.86, 84.058) * CFrame.Angles(-1.5207579906473E-7, 1.80538290806E-6, -3.191729192622E-4)
  711. hitbox.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  712. hitbox.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  713. hitbox.BrickColor = BrickColor.new("Dark stone grey")
  714. hitbox.Friction = 0.3
  715. hitbox.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  716. local gungui = Instance.new("GuiMain", player.PlayerGui)
  717. gungui.Name = "GunGUI"
  718. main = Instance.new("Frame", gungui)
  719. main.ZIndex = 2
  720. main.Size = UDim2.new(0, 120, 0, 75)
  721. main.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  722. main.Name = "Main"
  723. main.Position = UDim2.new(1, -250, 1, -100)
  724. main.BorderSizePixel = 0
  725. main.BackgroundTransparency = 1
  726. main.BackgroundColor3 = Color3.new(1, 1, 1)
  727. local amount = Instance.new("TextLabel", main)
  728. amount.TextStrokeTransparency = 0.8
  729. amount.BackgroundColor3 = Color3.new(1, 1, 1)
  730. amount.BackgroundTransparency = 1
  731. amount.Size = UDim2.new(0.5, 0, 0.5, 0)
  732. amount.TextColor3 = Color3.new(1, 1, 1)
  733. amount.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  734. amount.Text = "[" .. ammo .. "/" .. maxammo .. "]"
  735. amount.Position = UDim2.new(0.25, 0, 0, 20)
  736. amount.Font = Enum.Font.SourceSansBold
  737. amount.Name = "Amount"
  738. amount.FontSize = Enum.FontSize.Size36
  739. borders = Instance.new("Frame", main)
  740. borders.ZIndex = 2
  741. borders.Size = UDim2.new(1, 0, 1, 0)
  742. borders.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  743. borders.Name = "Borders"
  744. borders.BackgroundTransparency = 1
  745. borders.BackgroundColor3 = Color3.new(1, 1, 1)
  746. gname = Instance.new("TextLabel", main)
  747. gname.TextStrokeTransparency = 0.8
  748. gname.BackgroundColor3 = Color3.new(1, 1, 1)
  749. gname.BackgroundTransparency = 1
  750. gname.Size = UDim2.new(0.5, 0, 0.5, 0)
  751. gname.TextColor3 = Color3.new(1, 1, 1)
  752. gname.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  753. gname.Text = "Uzi"
  754. gname.Position = UDim2.new(0.25, 0, 0, -20)
  755. gname.Font = Enum.Font.SourceSansBold
  756. gname.Name = "gname"
  757. gname.FontSize = Enum.FontSize.Size36
  758. desc = Instance.new("TextLabel", main)
  759. desc.TextStrokeTransparency = 0.8
  760. desc.BackgroundColor3 = Color3.new(1, 1, 1)
  761. desc.BackgroundTransparency = 1
  762. desc.Size = UDim2.new(0.5, 0, 0.5, 0)
  763. desc.TextColor3 = Color3.new(1, 1, 1)
  764. desc.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  765. desc.Text = "9x19mm Parabellum"
  766. desc.Position = UDim2.new(0.25, 0, 0, 50)
  767. desc.Font = Enum.Font.SourceSansBold
  768. desc.Name = "desc"
  769. desc.FontSize = Enum.FontSize.Size18
  770. local hitm = Instance.new("ImageLabel", gungui)
  771. hitm.Visible = false
  772. hitm.BorderSizePixel = 0
  773. hitm.Image = "http://www.roblox.com/asset/?id=131358529"
  774. hitm.Name = "Hit"
  775. hitm.Position = UDim2.new(0, 938, 0, 198)
  776. hitm.BorderColor3 = Color3.new(0, 0, 0)
  777. hitm.BackgroundTransparency = 1
  778. hitm.Size = UDim2.new(0, 45, 0, 45)
  779. hitm.BackgroundColor3 = Color3.new(0, 0, 0)
  780. uzi.Parent = tool
  781. uzi:BreakJoints()
  782. uzi:MakeJoints()
  783. local prev
  784. local parts = uzi:GetChildren()
  785. for i = 1, #parts do
  786. if parts[i].className == "Part" or parts[i].className == "WedgePart" or parts[i].className == "Seat" or parts[i].className == "VehicleSeat" or parts[i].className == "CornerWedgePart" then
  787. if prev ~= nil then
  788. if parts[i]:FindFirstChild("Weld") then
  789. parts[i]:FindFirstChild("Weld"):Destroy()
  790. end
  791. local weld = Instance.new("Weld")
  792. weld.Part0 = prev
  793. weld.Part1 = parts[i]
  794. weld.C0 = prev.CFrame:inverse()
  795. weld.C1 = parts[i].CFrame:inverse()
  796. weld.Parent = prev
  797. parts[i].Anchored = false
  798. parts[i].CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0)
  799. end
  800. prev = parts[i]
  801. end
  802. end
  803. uzi:MakeJoints()
  804. tor["Right Shoulder"].Part1 = nil
  805. weld(tor, ra, CFrame.new(0.6, 0.6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)))
  806. weld(uzi.Handle, ra, CFrame.new(0, -0.5, 0.9) * CFrame.Angles(math.rad(90), 0, 0))
  807. local weld1 = tor.Weld
  808. local offset = CFrame.new(0, -0.1, -0.8) * CFrame.Angles(math.pi / 2, math.rad(80), 0)
  809. local barrel = uzi.newp
  810. local name = char.Name
  811. local model = Instance.new("Model", camera)
  812. model.Name = "Visible " .. name
  813. local humanoid = Instance.new("Humanoid", model)
  814. local rarma = Instance.new("Part", model)
  815. rarma.Name = "Right Arm"
  816. rarma.FormFactor = "Symmetric"
  817. rarma.Size = ra.Size
  818. rarma.BrickColor = char["Right Arm"].BrickColor
  819. rarma.CanCollide = false
  820. rarma.TopSurface = "Smooth"
  821. rarma.BottomSurface = "Smooth"
  822. rarma.Parent = model
  823. rarma:BreakJoints()
  824. if char:FindFirstChild("Shirt") then
  825. char.Shirt:Clone().Parent = model
  826. end
  827. local children = char:GetChildren()
  828. for i = 1, #children do
  829. if children[i].ClassName == "CharacterMesh" then
  830. children[i]:Clone().Parent = model
  831. end
  832. end
  833. weld(rarma, ra, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), 0, 0))
  834. mouse.TargetFilter = workspace
  835. mouse.Move:connect(function(key)
  836. if mouselook == 0 then
  837. hitm.Position = UDim2.new(0, mouse.X - 22.5, 0, mouse.Y - 22.5)
  838. if canmovemouse == true then
  839. local p0c0 = tor:GetRenderCFrame() * weld1.C0
  840. weld1.C1 = (CFrame.new(p0c0.p, mouse.Hit.p) * offset):inverse() * p0c0
  841. end
  842. end
  843. end)
  844. local particleemitter = Instance.new("ParticleEmitter")
  845. particleemitter.VelocitySpread = 360
  846. particleemitter.Lifetime = NumberRange.new(1, 2)
  847. particleemitter.Speed = NumberRange.new(10)
  848. particleemitter.Size = NumberSequence.new({
  849. NumberSequenceKeypoint.new(0, 0.1),
  850. NumberSequenceKeypoint.new(1, 0.1)
  851. })
  852. particleemitter.Acceleration = Vector3.new(0, -30, 0)
  853. particleemitter.RotSpeed = NumberRange.new(260)
  854. particleemitter.Texture = "http://www.roblox.com/asset/?id=274551257"
  855. local gf1 = Instance.new("Sound")
  856. gf1.SoundId = "rbxassetid://165946560"
  857. gf1.PlayOnRemove = false
  858. gf1.Volume = 0.7
  859. gf1.Looped = false
  860. gf1.Pitch = 1
  861. gf1.Parent = barrel
  862. local gf2 = Instance.new("Sound")
  863. gf2.SoundId = "rbxassetid://240785604"
  864. gf2.PlayOnRemove = false
  865. gf2.Volume = 0.7
  866. gf2.Looped = false
  867. gf2.Pitch = 1
  868. gf2.Parent = barrel
  869. local reloadsound = Instance.new("Sound")
  870. reloadsound.SoundId = "http://www.roblox.com/asset/?id=506273075"
  871. reloadsound.PlayOnRemove = false
  872. reloadsound.Volume = 0.7
  873. reloadsound.Looped = false
  874. reloadsound.Pitch = 1
  875. reloadsound.Parent = uzi.mag
  876. local click = Instance.new("Sound")
  877. click.SoundId = "http://www.roblox.com/asset/?id=537744814"
  878. click.PlayOnRemove = false
  879. click.Volume = 0.7
  880. click.Looped = false
  881. click.Pitch = 1
  882. click.Parent = uzi.mag
  883. local swing = Instance.new("Sound")
  884. swing.SoundId = "http://www.roblox.com/asset/?id=608537390"
  885. swing.PlayOnRemove = false
  886. swing.Volume = 0.7
  887. swing.Looped = false
  888. swing.Pitch = 1
  889. swing.Parent = uzi.mag
  890. local music = Instance.new("Sound")
  891. music.SoundId = "http://www.roblox.com/asset/?id=336226546"
  892. music.PlayOnRemove = false
  893. music.Volume = 0.5
  894. music.MaxDistance = 25
  895. music.Looped = true
  896. music.Pitch = 1
  897. music.Parent = char.Head
  898. music.Name = "GangstaTheme"
  899. local cooldown = false
  900. function shoteffectm()
  901. gf1:Play()
  902. coroutine.resume(coroutine.create(function()
  903. wait()
  904. uzi.MuzzleFlash.Transparency = 0.3
  905. uzi.MuzzleFlash.PointLight.Enabled = true
  906. wait()
  907. uzi.MuzzleFlash.Transparency = 1
  908. uzi.MuzzleFlash.PointLight.Enabled = false
  909. end))
  910. local missile = Instance.new("Part")
  911. missile.FormFactor = Enum.FormFactor.Custom
  912. missile.TopSurface = Enum.SurfaceType.Smooth
  913. missile.Anchored = false
  914. missile.Material = Enum.Material.Metal
  915. missile.Size = Vector3.new(1, 1.2, 0.8)
  916. missile.CFrame = newp.CFrame
  917. missile.BrickColor = BrickColor.new("Gold")
  918. missile.CanCollide = false
  919. missile.Parent = workspace
  920. missile.Name = "Bullet"
  921. local bulletmesh = Instance.new("SpecialMesh", missile)
  922. bulletmesh.Scale = Vector3.new(2, 2, 2)
  923. bulletmesh.MeshId = "http://www.roblox.com/asset/?id=94295100"
  924. bulletmesh.TextureId = "http://www.roblox.com/asset/?id=94287792"
  925. bulletmesh.Name = "BulletMesh"
  926. bulletmesh.MeshType = Enum.MeshType.FileMesh
  927. missile.Velocity = newp.CFrame.lookVector * 500
  928. game.Debris:AddItem(missile, 4.2)
  929. local bodyForce = Instance.new("BodyForce", missile)
  930. bodyForce.Name = "Antigravity"
  931. bodyForce.force = Vector3.new(0, missile:GetMass() * 196.2, 0)
  932. if math.random(1, 4) == 1 then
  933. local air = Instance.new("Sound")
  934. air.SoundId = "rbxassetid://341519743"
  935. air.PlayOnRemove = false
  936. air.Volume = 0.7
  937. air.Looped = false
  938. air.Pitch = 1
  939. air.Parent = missile
  940. air:Play()
  941. end
  942. firing = false
  943. missile.Touched:connect(function(h)
  944. if not h:isDescendantOf(uzi) and not h:isDescendantOf(char) then
  945. missile:Destroy()
  946. if h.Name:lower():find("base") or h.Anchored == false then
  947. end
  948. if h.Parent:FindFirstChild("Humanoid") then
  949. if h.Parent:FindFirstChild("Torso") then
  950. h.Parent.Torso.Velocity = h.CFrame.lookVector * -15
  951. end
  952. coroutine.resume(coroutine.create(function()
  953. hitm.Rotation = math.random(1, 360)
  954. hitm.Visible = true
  955. wait(0.1)
  956. hitm.Visible = false
  957. end))
  958. local pclone = particleemitter:Clone()
  959. pclone.Parent = h
  960. game.Debris:AddItem(pclone, 0.5)
  961. missile:destroy()
  962. local dmg = math.random(4, 5)
  963. TakeDamage(h.Parent.Humanoid, dmg)
  964. local hitms = Instance.new("Sound")
  965. hitms.SoundId = "rbxassetid://131864673"
  966. hitms.PlayOnRemove = false
  967. hitms.Volume = 0.7
  968. hitms.Looped = false
  969. hitms.Pitch = 1
  970. hitms.Parent = player.PlayerGui
  971. hitms:Play()
  972. game.Debris:AddItem(hitms, 1)
  973. if math.random(1, 5) == 1 then
  974. local hitsound = Instance.new("Sound")
  975. hitsound.SoundId = "rbxassetid://144884872"
  976. hitsound.PlayOnRemove = false
  977. hitsound.Volume = 0.7
  978. hitsound.Looped = false
  979. hitsound.Pitch = 1
  980. hitsound.Parent = h
  981. hitsound:Play()
  982. game.Debris:AddItem(hitsound, 1)
  983. end
  984. end
  985. end
  986. end)
  987. if shellsenabled == true then
  988. do
  989. local shell = Instance.new("Part")
  990. shell.CFrame = uzi.Chamber.CFrame * CFrame.fromEulerAnglesXYZ(1.5, 0, 0)
  991. shell.Size = Vector3.new(1, 1, 1)
  992. shell.BrickColor = BrickColor.new(24)
  993. shell.BottomSurface = 0
  994. shell.TopSurface = 0
  995. shell.Name = "Shell"
  996. shell.Velocity = uzi.Chamber.CFrame.lookVector * 20 + Vector3.new(math.random(-10, 10), 20, math.random(-10, 10))
  997. shell.RotVelocity = Vector3.new(0, 200, 0)
  998. shell.CanCollide = false
  999. shell.Parent = workspace
  1000. coroutine.resume(coroutine.create(function()
  1001. wait(0.1)
  1002. while shell do
  1003. wait()
  1004. shell.Transparency = shell.Transparency + 0.01
  1005. end
  1006. end))
  1007. game.Debris:AddItem(shell, 3)
  1008. local shellmesh = Instance.new("SpecialMesh")
  1009. shellmesh.Scale = Vector3.new(0.1, 0.25, 0.1)
  1010. shellmesh.Parent = shell
  1011. end
  1012. end
  1013. ammo = ammo - 1
  1014. amount.Text = "[" .. ammo .. "/" .. maxammo .. "]"
  1015. end
  1016. function shoteffect()
  1017. gf1:Play()
  1018. coroutine.resume(coroutine.create(function()
  1019. wait()
  1020. uzi.MuzzleFlash.Transparency = 0.3
  1021. uzi.MuzzleFlash.PointLight.Enabled = true
  1022. wait()
  1023. uzi.MuzzleFlash.Transparency = 1
  1024. uzi.MuzzleFlash.PointLight.Enabled = false
  1025. end))
  1026. local missile = Instance.new("Part")
  1027. missile.FormFactor = Enum.FormFactor.Custom
  1028. missile.TopSurface = Enum.SurfaceType.Smooth
  1029. missile.Anchored = false
  1030. missile.Material = Enum.Material.Metal
  1031. missile.Size = Vector3.new(1, 1.2, 0.8)
  1032. missile.CFrame = newp.CFrame
  1033. missile.BrickColor = BrickColor.new("Gold")
  1034. missile.CanCollide = false
  1035. missile.Parent = workspace
  1036. missile.Name = "Bullet"
  1037. local bulletmesh = Instance.new("SpecialMesh", missile)
  1038. bulletmesh.Scale = Vector3.new(2, 2, 2)
  1039. bulletmesh.MeshId = "http://www.roblox.com/asset/?id=94295100"
  1040. bulletmesh.TextureId = "http://www.roblox.com/asset/?id=94287792"
  1041. bulletmesh.Name = "BulletMesh"
  1042. bulletmesh.MeshType = Enum.MeshType.FileMesh
  1043. missile.Velocity = uzi.newp.CFrame.lookVector * 500
  1044. game.Debris:AddItem(missile, 4.2)
  1045. local bodyForce = Instance.new("BodyForce", missile)
  1046. bodyForce.Name = "Antigravity"
  1047. bodyForce.force = Vector3.new(0, missile:GetMass() * 196.2, 0)
  1048. if math.random(1, 4) == 1 then
  1049. local air = Instance.new("Sound")
  1050. air.SoundId = "rbxassetid://341519743"
  1051. air.PlayOnRemove = false
  1052. air.Volume = 0.7
  1053. air.Looped = false
  1054. air.Pitch = 1
  1055. air.Parent = missile
  1056. air:Play()
  1057. end
  1058. firing = false
  1059. missile.Touched:connect(function(h)
  1060. if not h:isDescendantOf(uzi) and not h:isDescendantOf(char) then
  1061. missile:Destroy()
  1062. if h.Name:lower():find("base") or h.Anchored == false then
  1063. end
  1064. if h.Parent:FindFirstChild("Humanoid") then
  1065. if h.Parent:FindFirstChild("Torso") then
  1066. h.Parent.Torso.Velocity = h.CFrame.lookVector * -15
  1067. end
  1068. coroutine.resume(coroutine.create(function()
  1069. hitm.Rotation = math.random(1, 360)
  1070. hitm.Visible = true
  1071. wait(0.1)
  1072. hitm.Visible = false
  1073. end))
  1074. local pclone = particleemitter:Clone()
  1075. pclone.Parent = h
  1076. game.Debris:AddItem(pclone, 0.5)
  1077. missile:destroy()
  1078. local dmg = math.random(4, 5)
  1079. TakeDamage(h.Parent.Humanoid, dmg)
  1080. local hitms = Instance.new("Sound")
  1081. hitms.SoundId = "rbxassetid://131864673"
  1082. hitms.PlayOnRemove = false
  1083. hitms.Volume = 0.7
  1084. hitms.Looped = false
  1085. hitms.Pitch = 1
  1086. hitms.Parent = player.PlayerGui
  1087. hitms:Play()
  1088. game.Debris:AddItem(hitms, 1)
  1089. if math.random(1, 5) == 1 then
  1090. local hitsound = Instance.new("Sound")
  1091. hitsound.SoundId = "rbxassetid://144884872"
  1092. hitsound.PlayOnRemove = false
  1093. hitsound.Volume = 0.7
  1094. hitsound.Looped = false
  1095. hitsound.Pitch = 1
  1096. hitsound.Parent = h
  1097. hitsound:Play()
  1098. game.Debris:AddItem(hitsound, 1)
  1099. end
  1100. end
  1101. end
  1102. end)
  1103. if shellsenabled == true then
  1104. do
  1105. local shell = Instance.new("Part")
  1106. shell.CFrame = uzi.Chamber.CFrame * CFrame.fromEulerAnglesXYZ(1.5, 0, 0)
  1107. shell.Size = Vector3.new(1, 1, 1)
  1108. shell.BrickColor = BrickColor.new(24)
  1109. shell.BottomSurface = 0
  1110. shell.TopSurface = 0
  1111. shell.Name = "Shell"
  1112. shell.Velocity = uzi.Chamber.CFrame.lookVector * 20 + Vector3.new(math.random(-10, 10), 20, math.random(-10, 10))
  1113. shell.RotVelocity = Vector3.new(0, 200, 0)
  1114. shell.CanCollide = false
  1115. shell.Parent = workspace
  1116. coroutine.resume(coroutine.create(function()
  1117. wait(0.1)
  1118. while shell do
  1119. wait()
  1120. shell.Transparency = shell.Transparency + 0.01
  1121. end
  1122. end))
  1123. game.Debris:AddItem(shell, 3)
  1124. local shellmesh = Instance.new("SpecialMesh")
  1125. shellmesh.Scale = Vector3.new(0.1, 0.25, 0.1)
  1126. shellmesh.Parent = shell
  1127. end
  1128. end
  1129. ammo = ammo - 1
  1130. amount.Text = "[" .. ammo .. "/" .. maxammo .. "]"
  1131. end
  1132. function shootability()
  1133. if ammo >= 6 then
  1134. music:Resume()
  1135. cooldown = true
  1136. canmovemouse = false
  1137. game:service("Chat"):Chat(char.Head, gangstainsults[math.random(1, 5)], 1, 0.1)
  1138. local p0c0 = tor:GetRenderCFrame() * weld1.C0
  1139. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1140. shoteffect()
  1141. wait()
  1142. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1143. wait()
  1144. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1145. wait()
  1146. weld1.C1 = CFrame.new(0.2, 0, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1147. wait()
  1148. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1149. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1150. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1151. shoteffect()
  1152. wait()
  1153. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1154. wait()
  1155. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1156. wait()
  1157. weld1.C1 = CFrame.new(0.2, 0, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1158. wait()
  1159. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1160. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1161. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1162. shoteffect()
  1163. wait()
  1164. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1165. wait()
  1166. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1167. wait()
  1168. weld1.C1 = CFrame.new(0.2, 0, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1169. wait()
  1170. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1171. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1172. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1173. wait(0.2)
  1174. shoteffect()
  1175. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1176. wait()
  1177. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1178. wait()
  1179. weld1.C1 = CFrame.new(0.2, 0, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1180. wait()
  1181. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1182. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1183. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1184. shoteffect()
  1185. wait()
  1186. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1187. wait()
  1188. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1189. wait()
  1190. weld1.C1 = CFrame.new(0.2, 0, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1191. wait()
  1192. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1193. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1194. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1195. shoteffect()
  1196. wait()
  1197. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1198. wait()
  1199. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1200. wait()
  1201. weld1.C1 = CFrame.new(0.2, 0, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1202. wait()
  1203. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1204. wait()
  1205. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1206. wait()
  1207. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1208. canmovemouse = true
  1209. cooldown = false
  1210. music:Pause()
  1211. end
  1212. end
  1213. function shootability2()
  1214. if ammo >= 5 then
  1215. music:Resume()
  1216. cooldown = true
  1217. canmovemouse = false
  1218. game:service("Chat"):Chat(char.Head, gangstainsults[math.random(1, 5)], 1, 0.1)
  1219. local p0c0 = tor:GetRenderCFrame() * weld1.C0
  1220. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-120), math.rad(0), math.rad(-80))
  1221. shoteffect()
  1222. wait()
  1223. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-110), math.rad(0), math.rad(-80))
  1224. wait()
  1225. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-110), math.rad(0), math.rad(-80))
  1226. wait()
  1227. weld1.C1 = CFrame.new(0.2, 0, 0) * CFrame.Angles(math.rad(-110), math.rad(0), math.rad(-80))
  1228. wait()
  1229. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-110), math.rad(0), math.rad(-80))
  1230. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-110), math.rad(0), math.rad(-80))
  1231. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-110), math.rad(0), math.rad(-80))
  1232. shoteffect()
  1233. wait()
  1234. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-100), math.rad(0), math.rad(-80))
  1235. wait()
  1236. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-100), math.rad(0), math.rad(-80))
  1237. wait()
  1238. weld1.C1 = CFrame.new(0.2, 0, 0) * CFrame.Angles(math.rad(-100), math.rad(0), math.rad(-80))
  1239. wait()
  1240. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-100), math.rad(0), math.rad(-80))
  1241. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-100), math.rad(0), math.rad(-80))
  1242. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-100), math.rad(0), math.rad(-80))
  1243. shoteffect()
  1244. wait()
  1245. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1246. wait()
  1247. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1248. wait()
  1249. weld1.C1 = CFrame.new(0.2, 0, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1250. wait()
  1251. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1252. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1253. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1254. shoteffect()
  1255. wait()
  1256. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(-80))
  1257. wait()
  1258. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(-80))
  1259. wait()
  1260. weld1.C1 = CFrame.new(0.2, 0, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(-80))
  1261. wait()
  1262. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(-80))
  1263. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(-80))
  1264. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(-80))
  1265. shoteffect()
  1266. wait()
  1267. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-70), math.rad(0), math.rad(-80))
  1268. wait()
  1269. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-70), math.rad(0), math.rad(-80))
  1270. wait()
  1271. weld1.C1 = CFrame.new(0.2, 0, 0) * CFrame.Angles(math.rad(-70), math.rad(0), math.rad(-80))
  1272. wait()
  1273. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-70), math.rad(0), math.rad(-80))
  1274. wait()
  1275. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-70), math.rad(0), math.rad(-80))
  1276. wait()
  1277. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-70), math.rad(0), math.rad(-80))
  1278. canmovemouse = true
  1279. cooldown = false
  1280. music:Pause()
  1281. end
  1282. end
  1283. function shootability2b()
  1284. if ammo >= 5 then
  1285. music:Resume()
  1286. cooldown = true
  1287. canmovemouse = false
  1288. game:service("Chat"):Chat(char.Head, gangstainsults[math.random(1, 5)], 1, 0.1)
  1289. local p0c0 = tor:GetRenderCFrame() * weld1.C0
  1290. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(-80))
  1291. shoteffect()
  1292. wait()
  1293. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-70), math.rad(0), math.rad(-80))
  1294. wait()
  1295. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-70), math.rad(0), math.rad(-80))
  1296. wait()
  1297. weld1.C1 = CFrame.new(0.2, 0, 0) * CFrame.Angles(math.rad(-70), math.rad(0), math.rad(-80))
  1298. wait()
  1299. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-70), math.rad(0), math.rad(-80))
  1300. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-70), math.rad(0), math.rad(-80))
  1301. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-70), math.rad(0), math.rad(-80))
  1302. shoteffect()
  1303. wait()
  1304. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(-80))
  1305. wait()
  1306. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(-80))
  1307. wait()
  1308. weld1.C1 = CFrame.new(0.2, 0, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(-80))
  1309. wait()
  1310. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(-80))
  1311. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(-80))
  1312. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(-80))
  1313. shoteffect()
  1314. wait()
  1315. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1316. wait()
  1317. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1318. wait()
  1319. weld1.C1 = CFrame.new(0.2, 0, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1320. wait()
  1321. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1322. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1323. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1324. shoteffect()
  1325. wait()
  1326. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-100), math.rad(0), math.rad(-80))
  1327. wait()
  1328. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-100), math.rad(0), math.rad(-80))
  1329. wait()
  1330. weld1.C1 = CFrame.new(0.2, 0, 0) * CFrame.Angles(math.rad(-100), math.rad(0), math.rad(-80))
  1331. wait()
  1332. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-100), math.rad(0), math.rad(-80))
  1333. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-100), math.rad(0), math.rad(-80))
  1334. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-100), math.rad(0), math.rad(-80))
  1335. shoteffect()
  1336. wait()
  1337. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-110), math.rad(0), math.rad(-80))
  1338. wait()
  1339. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-110), math.rad(0), math.rad(-80))
  1340. wait()
  1341. weld1.C1 = CFrame.new(0.2, 0, 0) * CFrame.Angles(math.rad(-110), math.rad(0), math.rad(-80))
  1342. wait()
  1343. weld1.C1 = CFrame.new(0.2, 0.2, 0) * CFrame.Angles(math.rad(-110), math.rad(0), math.rad(-80))
  1344. wait()
  1345. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-110), math.rad(0), math.rad(-80))
  1346. wait()
  1347. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-110), math.rad(0), math.rad(-80))
  1348. canmovemouse = true
  1349. cooldown = false
  1350. music:Pause()
  1351. end
  1352. end
  1353. local grabbing = false
  1354. local grabbed = false
  1355. function shootability3()
  1356. if ammo >= 1 then
  1357. cooldown = true
  1358. canmovemouse = false
  1359. grabbing = true
  1360. local p0c0 = tor:GetRenderCFrame() * weld1.C0
  1361. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1362. wait()
  1363. weld1.C1 = CFrame.new(0.2, 0.8, 0) * CFrame.Angles(math.rad(-90), math.rad(5), math.rad(-80))
  1364. wait()
  1365. weld1.C1 = CFrame.new(0.2, 1, 0) * CFrame.Angles(math.rad(-90), math.rad(10), math.rad(-80))
  1366. wait()
  1367. weld1.C1 = CFrame.new(0.2, 1.2, 0) * CFrame.Angles(math.rad(-90), math.rad(15), math.rad(-80))
  1368. coroutine.resume(coroutine.create(function()
  1369. wait(1)
  1370. if grabbed == false then
  1371. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1372. grabbing = false
  1373. canmovemouse = true
  1374. cooldown = false
  1375. end
  1376. end))
  1377. end
  1378. end
  1379. local headshot = Instance.new("ParticleEmitter")
  1380. headshot.VelocitySpread = 500
  1381. headshot.Lifetime = NumberRange.new(0.5)
  1382. headshot.Speed = NumberRange.new(10)
  1383. headshot.Size = NumberSequence.new({
  1384. NumberSequenceKeypoint.new(0, 0.2),
  1385. NumberSequenceKeypoint.new(1, 0.2)
  1386. })
  1387. headshot.Acceleration = Vector3.new(0, 30, 0)
  1388. headshot.Rate = 500
  1389. headshot.Transparency = NumberSequence.new({
  1390. NumberSequenceKeypoint.new(0, 0.7),
  1391. NumberSequenceKeypoint.new(1, 0.7)
  1392. })
  1393. headshot.Name = "Headshot"
  1394. headshot.Texture = "rbxassetid://274551033"
  1395. headshot.Color = ColorSequence.new(Color3.new(0.666667, 1, 1), Color3.new(0.505882, 0.760784, 0.760784))
  1396. ra.Touched:connect(function(hit)
  1397. if grabbing == true then
  1398. canmovemouse = false
  1399. local victim = hit.Parent
  1400. if victim.Torso:FindFirstChild("grabweld") then
  1401. end
  1402. if victim:FindFirstChild("Humanoid") and char.Torso:FindFirstChild("grabweld") == nil and hit.Parent:FindFirstChild("grabweld") == nil and victim.Humanoid.Health <= 30 and grabbed == false then
  1403. grabbed = true
  1404. local walkspeedorig = char.Humanoid.WalkSpeed
  1405. char.Humanoid.WalkSpeed = 0
  1406. victim.Humanoid.PlatformStand = true
  1407. victim.Humanoid.WalkSpeed = 0
  1408. if tor:FindFirstChild("Weld") then
  1409. tor.Weld.Name = "OriginalWeld"
  1410. end
  1411. weld(tor, victim.Torso, CFrame.new(0, 0, -4) * CFrame.Angles(math.rad(0), math.rad(180), 0))
  1412. tor.Weld.Name = "grabweld"
  1413. music:Resume()
  1414. game:service("Chat"):Chat(char.Head, gangstaexecutions[math.random(1, 5)], 1, 0.1)
  1415. wait(1.5)
  1416. canmovemouse = false
  1417. gf1:Play()
  1418. coroutine.resume(coroutine.create(function()
  1419. wait()
  1420. uzi.MuzzleFlash.Transparency = 0.3
  1421. uzi.MuzzleFlash.PointLight.Enabled = true
  1422. wait()
  1423. uzi.MuzzleFlash.Transparency = 1
  1424. uzi.MuzzleFlash.PointLight.Enabled = false
  1425. end))
  1426. if shellsenabled == true then
  1427. do
  1428. local shell = Instance.new("Part")
  1429. shell.CFrame = uzi.Chamber.CFrame * CFrame.fromEulerAnglesXYZ(1.5, 0, 0)
  1430. shell.Size = Vector3.new(1, 1, 1)
  1431. shell.BrickColor = BrickColor.new(24)
  1432. shell.BottomSurface = 0
  1433. shell.TopSurface = 0
  1434. shell.Name = "Shell"
  1435. shell.Velocity = uzi.Chamber.CFrame.lookVector * 20 + Vector3.new(math.random(-10, 10), 20, math.random(-10, 10))
  1436. shell.RotVelocity = Vector3.new(0, 200, 0)
  1437. shell.CanCollide = false
  1438. shell.Parent = workspace
  1439. coroutine.resume(coroutine.create(function()
  1440. wait(0.1)
  1441. shell.CanCollide = true
  1442. while shell do
  1443. wait()
  1444. shell.Transparency = shell.Transparency + 0.01
  1445. end
  1446. end))
  1447. game.Debris:AddItem(shell, 3)
  1448. local shellmesh = Instance.new("SpecialMesh")
  1449. shellmesh.Scale = Vector3.new(0.1, 0.25, 0.1)
  1450. shellmesh.Parent = shell
  1451. end
  1452. end
  1453. weld1.C1 = CFrame.new(0.2, 1, 0) * CFrame.Angles(math.rad(-90), math.rad(15), math.rad(-80))
  1454. wait()
  1455. weld1.C1 = CFrame.new(0.2, 0.8, 0) * CFrame.Angles(math.rad(-90), math.rad(15), math.rad(-80))
  1456. wait()
  1457. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-90), math.rad(15), math.rad(-80))
  1458. wait()
  1459. weld1.C1 = CFrame.new(0.2, 0.4, 0) * CFrame.Angles(math.rad(-90), math.rad(15), math.rad(-80))
  1460. ammo = ammo - 1
  1461. amount.Text = "[" .. ammo .. "/" .. maxammo .. "]"
  1462. if victim:FindFirstChild("Head") then
  1463. local hitsound = Instance.new("Sound")
  1464. hitsound.SoundId = "rbxassetid://144884872"
  1465. hitsound.PlayOnRemove = false
  1466. hitsound.Volume = 0.7
  1467. hitsound.Looped = false
  1468. hitsound.Pitch = 1
  1469. hitsound.Parent = uzi.Barrel
  1470. hitsound:Play()
  1471. game.Debris:AddItem(hitsound, 2)
  1472. victim:FindFirstChild("Head"):Destroy()
  1473. if victim:FindFirstChild("Torso") then
  1474. local pclone = headshot:Clone()
  1475. pclone.Parent = victim.Torso
  1476. pclone.EmissionDirection = "Top"
  1477. game.Debris:AddItem(pclone, 2)
  1478. tor.grabweld:Destroy()
  1479. wait(0.1)
  1480. char.Humanoid.WalkSpeed = walkspeedorig
  1481. local p0c0 = tor:GetRenderCFrame() * weld1.C0
  1482. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1483. canmovemouse = true
  1484. cooldown = false
  1485. grabbed = false
  1486. grabbing = false
  1487. music:Pause()
  1488. end
  1489. end
  1490. end
  1491. end
  1492. end)
  1493. mouse.KeyDown:connect(function(key)
  1494. if key == "f" and cooldown == false then
  1495. shootability()
  1496. end
  1497. end)
  1498. mouse.KeyDown:connect(function(key)
  1499. if key == "g" and cooldown == false then
  1500. shootability2()
  1501. end
  1502. end)
  1503. mouse.KeyDown:connect(function(key)
  1504. if key == "h" and cooldown == false then
  1505. shootability2b()
  1506. end
  1507. end)
  1508. mouse.KeyDown:connect(function(key)
  1509. if key == "k" and grabbed == false and cooldown == false then
  1510. shootability3()
  1511. end
  1512. end)
  1513. mouse.KeyDown:connect(function(key)
  1514. if key == "e" then
  1515. player.CameraMode = "LockFirstPerson"
  1516. end
  1517. end)
  1518. mouse.KeyUp:connect(function(key)
  1519. if key == "e" then
  1520. player.CameraMode = "Classic"
  1521. end
  1522. end)
  1523. local swinging = false
  1524. function melee()
  1525. cooldown = true
  1526. music:Resume()
  1527. canmovemouse = false
  1528. local p0c0 = tor:GetRenderCFrame() * weld1.C0
  1529. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1530. wait()
  1531. weld1.C1 = CFrame.new(0.2, 0.8, 0) * CFrame.Angles(math.rad(-85), math.rad(10), math.rad(-80))
  1532. wait()
  1533. weld1.C1 = CFrame.new(0.2, 1, 0) * CFrame.Angles(math.rad(-80), math.rad(20), math.rad(-80))
  1534. wait()
  1535. weld1.C1 = CFrame.new(0.2, 1.2, 0) * CFrame.Angles(math.rad(-75), math.rad(30), math.rad(-80))
  1536. wait()
  1537. weld1.C1 = CFrame.new(0.2, 1.4, 0) * CFrame.Angles(math.rad(-70), math.rad(40), math.rad(-80))
  1538. wait()
  1539. weld1.C1 = CFrame.new(0.2, 1.4, 0) * CFrame.Angles(math.rad(-65), math.rad(50), math.rad(-80))
  1540. wait(0.5)
  1541. swinging = true
  1542. weld1.C1 = CFrame.new(0.2, 1.4, 0) * CFrame.Angles(math.rad(-75), math.rad(30), math.rad(-80))
  1543. wait()
  1544. weld1.C1 = CFrame.new(0.2, 1.4, 0) * CFrame.Angles(math.rad(-85), math.rad(20), math.rad(-80))
  1545. wait()
  1546. weld1.C1 = CFrame.new(0.2, 1.4, 0) * CFrame.Angles(math.rad(-95), math.rad(0), math.rad(-80))
  1547. wait()
  1548. weld1.C1 = CFrame.new(0.2, 1.4, 0) * CFrame.Angles(math.rad(-105), math.rad(-20), math.rad(-80))
  1549. wait()
  1550. weld1.C1 = CFrame.new(0.2, 1.4, 0) * CFrame.Angles(math.rad(-95), math.rad(0), math.rad(-80))
  1551. swinging = false
  1552. wait()
  1553. weld1.C1 = CFrame.new(0.2, 1.4, 0) * CFrame.Angles(math.rad(-85), math.rad(20), math.rad(-80))
  1554. wait()
  1555. weld1.C1 = CFrame.new(0.2, 1.4, 0) * CFrame.Angles(math.rad(-75), math.rad(30), math.rad(-80))
  1556. wait()
  1557. weld1.C1 = CFrame.new(0.2, 1.4, 0) * CFrame.Angles(math.rad(-75), math.rad(40), math.rad(-80))
  1558. wait()
  1559. weld1.C1 = CFrame.new(0.2, 1.4, 0) * CFrame.Angles(math.rad(-65), math.rad(50), math.rad(-80))
  1560. wait()
  1561. weld1.C1 = CFrame.new(0.2, 1.4, 0) * CFrame.Angles(math.rad(-70), math.rad(40), math.rad(-80))
  1562. wait()
  1563. weld1.C1 = CFrame.new(0.2, 1.2, 0) * CFrame.Angles(math.rad(-75), math.rad(30), math.rad(-80))
  1564. wait()
  1565. weld1.C1 = CFrame.new(0.2, 1, 0) * CFrame.Angles(math.rad(-80), math.rad(20), math.rad(-80))
  1566. wait()
  1567. weld1.C1 = CFrame.new(0.2, 0.8, 0) * CFrame.Angles(math.rad(-85), math.rad(10), math.rad(-80))
  1568. wait()
  1569. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1570. wait()
  1571. cooldown = false
  1572. music:Pause()
  1573. canmovemouse = true
  1574. end
  1575. local debounce = false
  1576. hitbox.Touched:connect(function(h)
  1577. if swinging == true and h.Parent:FindFirstChild("Humanoid") then
  1578. if debounce == false then
  1579. debounce = true
  1580. game:service("Chat"):Chat(char.Head, gangstainsults2[math.random(1, 5)], 1, 0.1)
  1581. local pclone = particleemitter:Clone()
  1582. pclone.Parent = h
  1583. game.Debris:AddItem(pclone, 0.5)
  1584. local dmg = math.random(10, 15)
  1585. local textt = dmg
  1586. TakeDamage(h.Parent.Humanoid, dmg)
  1587. local hitsound = Instance.new("Sound")
  1588. hitsound.SoundId = "rbxassetid://545219984"
  1589. hitsound.PlayOnRemove = false
  1590. hitsound.Volume = 0.7
  1591. hitsound.Looped = false
  1592. hitsound.Pitch = 1
  1593. hitsound.Parent = h
  1594. hitsound:Play()
  1595. game.Debris:AddItem(hitsound, 1)
  1596. if h.Parent:FindFirstChild("Torso") then
  1597. h.Parent.Torso.Velocity = char.Head.CFrame.lookVector * 15
  1598. end
  1599. if not h.Parent:FindFirstChild("Humanoid") or math.random(1, 5) == 1 then
  1600. end
  1601. end
  1602. wait(0.5)
  1603. debounce = false
  1604. end
  1605. end)
  1606. mouse.KeyDown:connect(function(key)
  1607. if key == "x" and grabbed == false and cooldown == false then
  1608. melee()
  1609. end
  1610. end)
  1611. function reload()
  1612. music:Resume()
  1613. cooldown = true
  1614. canmovemouse = false
  1615. game:service("Chat"):Chat(char.Head, gangstareloads[math.random(1, 5)], 1, 0.1)
  1616. local p0c0 = tor:GetRenderCFrame() * weld1.C0
  1617. click:Play()
  1618. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1619. wait()
  1620. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-100), math.rad(0), math.rad(-80))
  1621. wait()
  1622. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-110), math.rad(0), math.rad(-80))
  1623. wait()
  1624. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-120), math.rad(0), math.rad(-80))
  1625. wait()
  1626. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-130), math.rad(0), math.rad(-80))
  1627. wait(0.5)
  1628. swing:Play()
  1629. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-120), math.rad(0), math.rad(-80))
  1630. wait()
  1631. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-110), math.rad(0), math.rad(-80))
  1632. wait()
  1633. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-100), math.rad(0), math.rad(-80))
  1634. wait()
  1635. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1636. wait()
  1637. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(-80))
  1638. wait()
  1639. local magclone = mag:Clone()
  1640. mag.Transparency = 1
  1641. magclone.CFrame = mag.CFrame
  1642. magclone.Parent = workspace
  1643. magclone.CanCollide = true
  1644. magclone.Weld:Destroy()
  1645. magclone.Velocity = mag.CFrame.lookVector * 20 + Vector3.new(math.random(-10, 10), 20, math.random(-10, 10))
  1646. game.Debris:AddItem(magclone, 3)
  1647. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-70), math.rad(0), math.rad(-80))
  1648. wait()
  1649. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(-80))
  1650. wait()
  1651. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(-80))
  1652. reloadsound:Play()
  1653. wait(1)
  1654. mag.Transparency = 0
  1655. wait()
  1656. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(-80))
  1657. wait()
  1658. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-70), math.rad(0), math.rad(-80))
  1659. wait()
  1660. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(-80))
  1661. wait()
  1662. weld1.C1 = CFrame.new(0.2, 0.6, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-80))
  1663. wait()
  1664. ammo = 30
  1665. amount.Text = "[" .. ammo .. "/" .. maxammo .. "]"
  1666. cooldown = false
  1667. canmovemouse = true
  1668. music:Pause()
  1669. end
  1670. mouse.KeyDown:connect(function(key)
  1671. if key == "r" and grabbed == false and cooldown == false then
  1672. reload()
  1673. end
  1674. end)
  1675. local sprinting = false
  1676. local sprintlimit = 4
  1677. mouse.KeyDown:connect(function(sprint)
  1678. if sprint:byte() == 48 and sprintlimit >= 1 then
  1679. sprinting = true
  1680. char.Humanoid.WalkSpeed = 30
  1681. while sprinting == true do
  1682. wait(1)
  1683. sprintlimit = sprintlimit - 1
  1684. if sprintlimit <= 0 then
  1685. char.Humanoid.WalkSpeed = 16
  1686. end
  1687. end
  1688. end
  1689. end)
  1690. local recharging = false
  1691. mouse.KeyUp:connect(function(sprint)
  1692. if sprint:byte() == 48 then
  1693. sprinting = false
  1694. char.Humanoid.WalkSpeed = 16
  1695. if sprintlimit <= 0 and recharging == false then
  1696. recharging = true
  1697. wait(1)
  1698. sprintlimit = sprintlimit + 1
  1699. wait(1)
  1700. sprintlimit = sprintlimit + 1
  1701. wait(1)
  1702. sprintlimit = sprintlimit + 1
  1703. wait(1)
  1704. sprintlimit = sprintlimit + 1
  1705. recharging = false
  1706. end
  1707. end
  1708. end)
  1709. function fireanim()
  1710. coroutine.resume(coroutine.create(function()
  1711. local p0c0 = tor:GetRenderCFrame() * weld1.C0
  1712. offset = CFrame.new(0, -0.1, -0.7) * CFrame.Angles(math.pi / 2, math.rad(80), 0)
  1713. weld1.C1 = (CFrame.new(p0c0.p, mouse.Hit.p) * offset):inverse() * p0c0
  1714. wait()
  1715. offset = CFrame.new(0, -0.1, -0.6) * CFrame.Angles(math.pi / 2, math.rad(80), 0)
  1716. weld1.C1 = (CFrame.new(p0c0.p, mouse.Hit.p) * offset):inverse() * p0c0
  1717. wait()
  1718. offset = CFrame.new(0, -0.1, -0.5) * CFrame.Angles(math.pi / 2, math.rad(80), 0)
  1719. weld1.C1 = (CFrame.new(p0c0.p, mouse.Hit.p) * offset):inverse() * p0c0
  1720. wait()
  1721. offset = CFrame.new(0, -0.1, -0.6) * CFrame.Angles(math.pi / 2, math.rad(80), 0)
  1722. weld1.C1 = (CFrame.new(p0c0.p, mouse.Hit.p) * offset):inverse() * p0c0
  1723. wait()
  1724. offset = CFrame.new(0, -0.1, -0.7) * CFrame.Angles(math.pi / 2, math.rad(80), 0)
  1725. weld1.C1 = (CFrame.new(p0c0.p, mouse.Hit.p) * offset):inverse() * p0c0
  1726. wait()
  1727. offset = CFrame.new(0, -0.1, -0.8) * CFrame.Angles(math.pi / 2, math.rad(80), 0)
  1728. weld1.C1 = (CFrame.new(p0c0.p, mouse.Hit.p) * offset):inverse() * p0c0
  1729. end))
  1730. end
  1731. function fire()
  1732. fireanim()
  1733. shoteffectm()
  1734. end
  1735. local mousedown = false
  1736. mouse.Button1Down:connect(function()
  1737. if ammo >= 1 and mousedown == false then
  1738. mousedown = true
  1739. music:Resume()
  1740. while mousedown == true do
  1741. wait(0.2)
  1742. if ammo >= 1 then
  1743. fire()
  1744. end
  1745. end
  1746. end
  1747. end)
  1748. mouse.Button1Up:connect(function()
  1749. mousedown = false
  1750. music:Pause()
  1751. end)
  1752. while wait() do
  1753. if char:FindFirstChild("Humanoid") and char.Humanoid.PlatformStand == true then
  1754. game:service("Chat"):Chat(char.Head, gangstaups[math.random(1, 5)], 1, 0.1)
  1755. wait(0.05)
  1756. char.Humanoid.PlatformStand = false
  1757. end
  1758. end
  1759. bin.Deselected:connect(function()
  1760. uzi:Destroy()
  1761. tool:Destroy()
  1762. rarma:Destroy()
  1763. local reloading = false
  1764. local canfire = false
  1765. local canmovemouse = false
  1766. gungui:Destroy()
  1767. if la:FindFirstChild("Weld") then
  1768. la.Weld:Destroy()
  1769. end
  1770. tor["Left Shoulder"].Part1 = la
  1771. if ra:FindFirstChild("Weld") then
  1772. ra.Weld:Destroy()
  1773. end
  1774. tor["Right Shoulder"].Part1 = ra
  1775. if char.Torso:FindFirstChild("Weld") then
  1776. char.Torso.Weld:Destroy()
  1777. end
  1778. end)
  1779. end)
  1780. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement