Advertisement
JOJOJOJOJOJO1234

Untitled

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