Advertisement
Daniel_TV

[ROBLOX] CJ Script

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