zachhy

Untitled

Jun 20th, 2020
607
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 41.98 KB | None | 0 0
  1. local SpamKnifeGui = Instance.new("ScreenGui")
  2. local KnifeMain = Instance.new("Frame")
  3. local GetKnifeB = Instance.new("TextButton")
  4. local QuickscoperB = Instance.new("TextButton")
  5. local TeslaB = Instance.new("TextButton")
  6. local IlluminatiB = Instance.new("TextButton")
  7. local HotB = Instance.new("TextButton")
  8. local YoutubePowerB = Instance.new("TextButton")
  9. local GhostB = Instance.new("TextButton")
  10. local wew = Instance.new("Frame")
  11. local TextLabel = Instance.new("TextLabel")
  12. local MinimiseB = Instance.new("TextButton")
  13. local Gradient = Instance.new("Frame")
  14. local KnifeRe = Instance.new("Frame")
  15. local OpenB = Instance.new("TextButton")
  16.  
  17. SpamKnifeGui.Name = "SpamKnifeGui"
  18. SpamKnifeGui.Parent = game.CoreGui
  19. SpamKnifeGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  20.  
  21. KnifeMain.Name = "KnifeMain"
  22. KnifeMain.Parent = SpamKnifeGui
  23. KnifeMain.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  24. KnifeMain.BorderColor3 = Color3.new(0.505882, 0.803922, 1)
  25. KnifeMain.Position = UDim2.new(0.141249999, 0, 0.135093167, 0)
  26. KnifeMain.Size = UDim2.new(0, 363, 0, 184)
  27.  
  28. GetKnifeB.Name = "GetKnifeB"
  29. GetKnifeB.Parent = KnifeMain
  30. GetKnifeB.BackgroundColor3 = Color3.new(0.133333, 0.133333, 0.133333)
  31. GetKnifeB.BorderColor3 = Color3.new(0, 0, 0)
  32. GetKnifeB.Position = UDim2.new(0.0413223132, 0, 0.195652187, 0)
  33. GetKnifeB.Size = UDim2.new(0, 333, 0, 28)
  34. GetKnifeB.Font = Enum.Font.SourceSans
  35. GetKnifeB.Text = "Get Knife (press 2x)"
  36. GetKnifeB.TextColor3 = Color3.new(1, 1, 1)
  37. GetKnifeB.TextSize = 14
  38.  
  39. QuickscoperB.Name = "QuickscoperB"
  40. QuickscoperB.Parent = KnifeMain
  41. QuickscoperB.BackgroundColor3 = Color3.new(0.133333, 0.133333, 0.133333)
  42. QuickscoperB.BorderColor3 = Color3.new(0, 0, 0)
  43. QuickscoperB.Position = UDim2.new(0.0413223132, 0, 0.423913032, 0)
  44. QuickscoperB.Size = UDim2.new(0, 155, 0, 28)
  45. QuickscoperB.Font = Enum.Font.SourceSans
  46. QuickscoperB.Text = "Quickscoper Knife"
  47. QuickscoperB.TextColor3 = Color3.new(1, 1, 1)
  48. QuickscoperB.TextSize = 14
  49.  
  50. TeslaB.Name = "TeslaB"
  51. TeslaB.Parent = KnifeMain
  52. TeslaB.BackgroundColor3 = Color3.new(0.133333, 0.133333, 0.133333)
  53. TeslaB.BorderColor3 = Color3.new(0, 0, 0)
  54. TeslaB.Position = UDim2.new(0.0413223132, 0, 0.608695626, 0)
  55. TeslaB.Size = UDim2.new(0, 155, 0, 28)
  56. TeslaB.Font = Enum.Font.SourceSans
  57. TeslaB.Text = "Tesla Knife"
  58. TeslaB.TextColor3 = Color3.new(1, 1, 1)
  59. TeslaB.TextSize = 14
  60.  
  61. IlluminatiB.Name = "IlluminatiB"
  62. IlluminatiB.Parent = KnifeMain
  63. IlluminatiB.BackgroundColor3 = Color3.new(0.133333, 0.133333, 0.133333)
  64. IlluminatiB.BorderColor3 = Color3.new(0, 0, 0)
  65. IlluminatiB.Position = UDim2.new(0.0413223132, 0, 0.793478251, 0)
  66. IlluminatiB.Size = UDim2.new(0, 155, 0, 28)
  67. IlluminatiB.Font = Enum.Font.SourceSans
  68. IlluminatiB.Text = "Illuminati Knife"
  69. IlluminatiB.TextColor3 = Color3.new(1, 1, 1)
  70. IlluminatiB.TextSize = 14
  71.  
  72. HotB.Name = "HotB"
  73. HotB.Parent = KnifeMain
  74. HotB.BackgroundColor3 = Color3.new(0.133333, 0.133333, 0.133333)
  75. HotB.BorderColor3 = Color3.new(0, 0, 0)
  76. HotB.Position = UDim2.new(0.531680405, 0, 0.423913032, 0)
  77. HotB.Size = UDim2.new(0, 155, 0, 28)
  78. HotB.Font = Enum.Font.SourceSans
  79. HotB.Text = "Hot Knife"
  80. HotB.TextColor3 = Color3.new(1, 1, 1)
  81. HotB.TextSize = 14
  82.  
  83. YoutubePowerB.Name = "YoutubePowerB"
  84. YoutubePowerB.Parent = KnifeMain
  85. YoutubePowerB.BackgroundColor3 = Color3.new(0.133333, 0.133333, 0.133333)
  86. YoutubePowerB.BorderColor3 = Color3.new(0, 0, 0)
  87. YoutubePowerB.Position = UDim2.new(0.531680405, 0, 0.608695626, 0)
  88. YoutubePowerB.Size = UDim2.new(0, 155, 0, 28)
  89. YoutubePowerB.Font = Enum.Font.SourceSans
  90. YoutubePowerB.Text = "Youtube Knife"
  91. YoutubePowerB.TextColor3 = Color3.new(1, 1, 1)
  92. YoutubePowerB.TextSize = 14
  93.  
  94. GhostB.Name = "GhostB"
  95. GhostB.Parent = KnifeMain
  96. GhostB.BackgroundColor3 = Color3.new(0.133333, 0.133333, 0.133333)
  97. GhostB.BorderColor3 = Color3.new(0, 0, 0)
  98. GhostB.Position = UDim2.new(0.531680405, 0, 0.793478251, 0)
  99. GhostB.Size = UDim2.new(0, 155, 0, 28)
  100. GhostB.Font = Enum.Font.SourceSans
  101. GhostB.Text = "Ghost Knife"
  102. GhostB.TextColor3 = Color3.new(1, 1, 1)
  103. GhostB.TextSize = 14
  104.  
  105. wew.Name = "wew"
  106. wew.Parent = KnifeMain
  107. wew.BackgroundColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
  108. wew.BorderSizePixel = 0
  109. wew.Position = UDim2.new(0, 0, -0.000776373839, 0)
  110. wew.Size = UDim2.new(0, 362, 0, 29)
  111.  
  112. TextLabel.Parent = wew
  113. TextLabel.BackgroundColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
  114. TextLabel.BorderSizePixel = 0
  115. TextLabel.Size = UDim2.new(0, 362, 0, 29)
  116. TextLabel.Font = Enum.Font.SourceSans
  117. TextLabel.Text = "$incity Knife Gui"
  118. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  119. TextLabel.TextSize = 20
  120.  
  121. MinimiseB.Name = "MinimiseB"
  122. MinimiseB.Parent = wew
  123. MinimiseB.BackgroundColor3 = Color3.new(1, 1, 1)
  124. MinimiseB.BackgroundTransparency = 1
  125. MinimiseB.Position = UDim2.new(0.878787875, 0, 0.0271737985, 0)
  126. MinimiseB.Size = UDim2.new(0, 43, 0, 26)
  127. MinimiseB.Font = Enum.Font.SourceSans
  128. MinimiseB.Text = "<"
  129. MinimiseB.TextColor3 = Color3.new(0.54902, 0.729412, 1)
  130. MinimiseB.TextSize = 25
  131.  
  132. Gradient.Name = "Gradient"
  133. Gradient.Parent = KnifeMain
  134. Gradient.BackgroundColor3 = Color3.new(1, 1, 1)
  135. Gradient.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  136. Gradient.BorderSizePixel = 0
  137. Gradient.Position = UDim2.new(-0.00201764703, 0, 0.152950317, 0)
  138. Gradient.Size = UDim2.new(0, 363, 0, 2)
  139.  
  140. KnifeRe.Name = "KnifeRe"
  141. KnifeRe.Parent = SpamKnifeGui
  142. KnifeRe.BackgroundColor3 = Color3.new(1, 1, 1)
  143. KnifeRe.BackgroundTransparency = 1
  144. KnifeRe.Position = UDim2.new(0, 0, 0.728260875, 0)
  145. KnifeRe.Size = UDim2.new(0, 98, 0, 28)
  146. KnifeRe.Visible = false
  147.  
  148. OpenB.Name = "OpenB"
  149. OpenB.Parent = KnifeRe
  150. OpenB.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  151. OpenB.BackgroundTransparency = -0.0099999997764826
  152. OpenB.BorderColor3 = Color3.new(0.509804, 0.796079, 1)
  153. OpenB.Size = UDim2.new(0, 98, 0, 28)
  154. OpenB.Font = Enum.Font.SourceSans
  155. OpenB.Text = "Open"
  156. OpenB.TextColor3 = Color3.new(1, 1, 1)
  157. OpenB.TextSize = 20
  158.  
  159. -- Scripts:
  160. function SCRIPT_VHTQ90_FAKESCRIPT() -- GetKnifeB.GetKnifeB1
  161. getfenv().script = Instance.new('Script', GetKnifeB)
  162.  
  163. script.Parent.MouseButton1Click:connect(function()
  164. -- Synapse Decompiler
  165. -- Purchase Here: https://brack4712.xyz/synapse/purchase/
  166. -- synapse is amazing.
  167.  
  168. local PERKY = "Quick Hands" -- CHANGE THIS NIGGA TO ANY PERK
  169. local ABIL = "Quickscoper" -- THIS TOO (TO ANY ABILITY)
  170.  
  171. --EQUIP/UNEQUIP KNIFE/GUN A FEW TIMES FOR IT TO WORK
  172. --iF U GOT ANY PROBLEMS DM ME FAGGOT
  173.  
  174. local Player = game.Players.LocalPlayer
  175. Player.Backpack:FindFirstChild("Client").Disabled = false
  176. local IS = game:GetService("UserInputService")
  177. local Camera = workspace.CurrentCamera
  178. local KT = Instance.new("Tool", Player.Backpack)
  179. KT.Name = "Knife"
  180. KT.RequiresHandle = false
  181. KT.CanBeDropped = false
  182. local GT = Instance.new("Tool", Player.Backpack)
  183. GT.Name = "Gun"
  184. GT.RequiresHandle = false
  185. GT.CanBeDropped = false
  186. local Spec = 0
  187. local WeaponType
  188. local Spectatable = {}
  189. local SpectatingPlayer
  190. local FPS = false
  191. local PlayerIgnore = workspace:WaitForChild("Ignore"):WaitForChild("Players")
  192. local runService = game:GetService("RunService")
  193. local RS = game:GetService("RunService").RenderStepped
  194. local Char = Player.Character
  195. local Rig = Instance.new("Model", Char)
  196. local Humanoid = Char:WaitForChild("Humanoid")
  197. local Primed = false
  198. if 0 >= Humanoid.Health then
  199. return
  200. end
  201. local Mouse = Player:GetMouse()
  202. Mouse.TargetFilter = workspace.CurrentCamera
  203. local Disabled = false
  204. if Camera:findFirstChild("FpsModel") then
  205. Camera:findFirstChild("FpsModel"):Destroy()
  206. end
  207. local LA, RA, Head, T = Char:WaitForChild("Left Arm"), Char:WaitForChild("Right Arm"), Char:WaitForChild("Head"), Char:WaitForChild("Torso")
  208. local FpsModel = Instance.new("Model", Camera)
  209. FpsModel.Name = "FpsModel"
  210. local FpsWeapon = Instance.new("Part")
  211. FpsWeapon.Parent = FpsModel
  212. FpsWeapon.CanCollide = false
  213. FpsWeapon.Transparency = 1
  214. FpsWeapon.Size = Vector3.new(1, 1, 1)
  215. FpsWeapon.Name = "WeaponFPS"
  216. local FpsLArm = Char:WaitForChild("Left Arm"):clone()
  217. FpsLArm.Parent = FpsModel
  218. FpsLArm.CanCollide = false
  219. FpsLArm.Transparency = 1
  220. local m = Instance.new("BlockMesh", FpsLArm)
  221. m.Scale = Vector3.new(1, 1, 1)
  222. local FpsRArm = Char:WaitForChild("Right Arm"):clone()
  223. FpsRArm.Parent = FpsModel
  224. FpsRArm.CanCollide = false
  225. FpsRArm.Transparency = 1
  226. local m = Instance.new("BlockMesh", FpsRArm)
  227. m.Scale = Vector3.new(1, 1.1, 1)
  228. spawn(function()
  229. wait(0.5)
  230. if Char:FindFirstChild("Body Colors") then
  231. FpsLArm.BrickColor = Char:FindFirstChild("Body Colors").LeftArmColor
  232. FpsRArm.BrickColor = Char:FindFirstChild("Body Colors").RightArmColor
  233. end
  234. end)
  235. local Modules = game.ReplicatedStorage:WaitForChild("Modules")
  236. local M = require(Modules:WaitForChild("AnimationCore"))
  237. local WC = require(Modules:WaitForChild("WeaponCore"))
  238. local AniDB = false
  239. local Selected = false
  240. function AniEquipKnife()
  241. if WeaponType == "Gun" or not Selected then
  242. return
  243. end
  244. M.Animate(Char:findFirstChild("MotorRight Arm", true), CFrame.new(-0.45, 0.5, -0.25) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(25)), 0.1, true)
  245. M.Animate(Char:findFirstChild("MotorWeapon", true), CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(-180), math.rad(0), math.rad(0)), 0.25, true)
  246. wait(0.1)
  247. if WeaponType == "Gun" or not Selected then
  248. return
  249. end
  250. M.Animate(Char:findFirstChild("MotorRight Arm", true), CFrame.new(-0.5, 0.5, -0.25) * CFrame.Angles(math.rad(-75), math.rad(-25), math.rad(0)), 0.25, true)
  251. M.Animate(Char:findFirstChild("MotorLeft Arm", true), CFrame.new(0.5, 0.5, -0.25) * CFrame.Angles(math.rad(-55), math.rad(25), math.rad(0)), 0.25, true)
  252. M.Animate(Char:findFirstChild("MotorWeapon", true), CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.25, true)
  253. end
  254. function AniChargeKnife()
  255. if WeaponType == "Gun" or not Selected then
  256. return
  257. end
  258. M.Animate(Char:findFirstChild("MotorRight Arm", true), CFrame.new(-0.5, 0.5, -0.25) * CFrame.Angles(math.rad(-180), math.rad(0), math.rad(0)), 1, true)
  259. M.Animate(Char:findFirstChild("MotorLeft Arm", true), CFrame.new(0.5, 0.5, -0.25) * CFrame.Angles(math.rad(-90), math.rad(25), math.rad(0)), 1, true)
  260. M.Animate(Char:findFirstChild("MotorWeapon", true), CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 1, true)
  261. end
  262. function AniChargeKnife2()
  263. if WeaponType == "Gun" or not Selected then
  264. return
  265. end
  266. M.Animate(Char:findFirstChild("MotorRight Arm", true), CFrame.new(-0.5, 0.5, -0.25) * CFrame.Angles(math.rad(-180), math.rad(0), math.rad(0)), 0.7, true)
  267. M.Animate(Char:findFirstChild("MotorLeft Arm", true), CFrame.new(0.5, 0.5, -0.25) * CFrame.Angles(math.rad(-90), math.rad(25), math.rad(0)), 0.7, true)
  268. M.Animate(Char:findFirstChild("MotorWeapon", true), CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.7, true)
  269. end
  270. function AniThrowKnife()
  271. if WeaponType == "Gun" or not Selected then
  272. return
  273. end
  274. M.Animate(Char:findFirstChild("MotorRight Arm", true), CFrame.new(-0.5, 0.5, -0.25) * CFrame.Angles(math.rad(-10), math.rad(-25), math.rad(0)), 0.1, true)
  275. M.Animate(Char:findFirstChild("MotorLeft Arm", true), CFrame.new(0.5, 0.5, -0.25) * CFrame.Angles(math.rad(-35), math.rad(25), math.rad(0)), 0.1, true)
  276. M.Animate(Char:findFirstChild("MotorWeapon", true), CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.1, true)
  277. wait(0.1)
  278. M.Animate(Char:findFirstChild("MotorRight Arm", true), CFrame.new(-0.5, 0.5, -0.25) * CFrame.Angles(math.rad(25), math.rad(-25), math.rad(0)), 0.2, true)
  279. M.Animate(Char:findFirstChild("MotorLeft Arm", true), CFrame.new(0.5, 0.5, -0.25) * CFrame.Angles(math.rad(-35), math.rad(25), math.rad(0)), 0.2, true)
  280. M.Animate(Char:findFirstChild("MotorWeapon", true), CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.2, true)
  281. end
  282. function AniSlashKnife1()
  283. if WeaponType == "Gun" or not Selected then
  284. return
  285. end
  286. M.Animate(Char:findFirstChild("MotorRight Arm", true), CFrame.new(-0.5, 0.5, -0.25) * CFrame.Angles(math.rad(-125), math.rad(-30), math.rad(0)), 0.15, true)
  287. M.Animate(Char:findFirstChild("MotorLeft Arm", true), CFrame.new(0.5, 0.5, -0.25) * CFrame.Angles(math.rad(-65), math.rad(30), math.rad(0)), 0.15, true)
  288. M.Animate(Char:findFirstChild("MotorWeapon", true), CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.15, true)
  289. wait(0.15)
  290. if WeaponType == "Gun" or not Selected then
  291. return
  292. end
  293. M.Animate(Char:findFirstChild("MotorRight Arm", true), CFrame.new(-0.5, 1, -0.25) * CFrame.Angles(math.rad(-15), math.rad(-35), math.rad(0)), 0.05, true)
  294. M.Animate(Char:findFirstChild("MotorLeft Arm", true), CFrame.new(0.5, 0.5, -0.25) * CFrame.Angles(math.rad(-35), math.rad(35), math.rad(0)), 0.05, true)
  295. M.Animate(Char:findFirstChild("MotorWeapon", true), CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.05, true)
  296. wait(0.05)
  297. if WeaponType == "Gun" or not Selected then
  298. return
  299. end
  300. M.Animate(Char:findFirstChild("MotorRight Arm", true), CFrame.new(-0.5, 0.5, -0.25) * CFrame.Angles(math.rad(-75), math.rad(-25), math.rad(0)), 0.25, true)
  301. M.Animate(Char:findFirstChild("MotorLeft Arm", true), CFrame.new(0.5, 0.5, -0.25) * CFrame.Angles(math.rad(-55), math.rad(25), math.rad(0)), 0.25, true)
  302. M.Animate(Char:findFirstChild("MotorWeapon", true), CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.25, true)
  303. end
  304. function AniSlashKnife2()
  305. if WeaponType == "Gun" or not Selected then
  306. return
  307. end
  308. M.Animate(Char:findFirstChild("MotorRight Arm", true), CFrame.new(-0.5, 0.5, -0.25) * CFrame.Angles(math.rad(-175), math.rad(-10), math.rad(0)), 0.25, true)
  309. M.Animate(Char:findFirstChild("MotorLeft Arm", true), CFrame.new(0.5, 0.5, -0.25) * CFrame.Angles(math.rad(-65), math.rad(10), math.rad(0)), 0.25, true)
  310. M.Animate(Char:findFirstChild("MotorWeapon", true), CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(110), math.rad(180), math.rad(0)), 0.25, true)
  311. wait(0.25)
  312. if WeaponType == "Gun" or not Selected then
  313. return
  314. end
  315. M.Animate(Char:findFirstChild("MotorRight Arm", true), CFrame.new(-0.5, 1, -0.25) * CFrame.Angles(math.rad(-35), math.rad(-35), math.rad(0)), 0.05, true)
  316. M.Animate(Char:findFirstChild("MotorLeft Arm", true), CFrame.new(0.5, 1, -0.25) * CFrame.Angles(math.rad(-35), math.rad(15), math.rad(0)), 0.05, true)
  317. M.Animate(Char:findFirstChild("MotorWeapon", true), CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(110), math.rad(180), math.rad(0)), 0.05, true)
  318. wait(0.05)
  319. if WeaponType == "Gun" or not Selected then
  320. return
  321. end
  322. M.Animate(Char:findFirstChild("MotorRight Arm", true), CFrame.new(-0.5, 1, -0.25) * CFrame.Angles(math.rad(-55), math.rad(-35), math.rad(0)), 0.25, true)
  323. M.Animate(Char:findFirstChild("MotorLeft Arm", true), CFrame.new(0.5, 0.5, -0.25) * CFrame.Angles(math.rad(-55), math.rad(25), math.rad(0)), 0.25, true)
  324. M.Animate(Char:findFirstChild("MotorWeapon", true), CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(110), math.rad(180), math.rad(0)), 0.25, true)
  325. wait(0.25)
  326. if WeaponType == "Gun" or not Selected then
  327. return
  328. end
  329. M.Animate(Char:findFirstChild("MotorRight Arm", true), CFrame.new(-0.5, 0.5, -0.25) * CFrame.Angles(math.rad(-75), math.rad(-25), math.rad(0)), 0.25, true)
  330. M.Animate(Char:findFirstChild("MotorWeapon", true), CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.25, true)
  331. end
  332. function AniSlashKnife3()
  333. if WeaponType == "Gun" or not Selected then
  334. return
  335. end
  336. M.Animate(Char:findFirstChild("MotorRight Arm", true), CFrame.new(-0.5, 0.5, -0.7) * CFrame.Angles(math.rad(45), math.rad(-30), math.rad(0)), 0.2, true)
  337. M.Animate(Char:findFirstChild("MotorLeft Arm", true), CFrame.new(0.5, 0.5, -0.25) * CFrame.Angles(math.rad(-35), math.rad(10), math.rad(0)), 0.2, true)
  338. M.Animate(Char:findFirstChild("MotorWeapon", true), CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.2, true)
  339. wait(0.2)
  340. if WeaponType == "Gun" or not Selected then
  341. return
  342. end
  343. M.Animate(Char:findFirstChild("MotorRight Arm", true), CFrame.new(-0.5, 1, -0.25) * CFrame.Angles(math.rad(-60), math.rad(-35), math.rad(0)), 0.05, true)
  344. M.Animate(Char:findFirstChild("MotorLeft Arm", true), CFrame.new(0.5, 0.5, -0.25) * CFrame.Angles(math.rad(-45), math.rad(35), math.rad(0)), 0.05, true)
  345. M.Animate(Char:findFirstChild("MotorWeapon", true), CFrame.new(0, -1.5, 1) * CFrame.Angles(math.rad(130), math.rad(0), math.rad(0)), 0.05, true)
  346. wait(0.05)
  347. if WeaponType == "Gun" or not Selected then
  348. return
  349. end
  350. M.Animate(Char:findFirstChild("MotorRight Arm", true), CFrame.new(-0.5, 1, -0.25) * CFrame.Angles(math.rad(-65), math.rad(-35), math.rad(0)), 0.25, true)
  351. M.Animate(Char:findFirstChild("MotorLeft Arm", true), CFrame.new(0.5, 0.5, -0.25) * CFrame.Angles(math.rad(-55), math.rad(25), math.rad(0)), 0.25, true)
  352. M.Animate(Char:findFirstChild("MotorWeapon", true), CFrame.new(0, -1.5, 1) * CFrame.Angles(math.rad(130), math.rad(0), math.rad(0)), 0.25, true)
  353. wait(0.25)
  354. if WeaponType == "Gun" or not Selected then
  355. return
  356. end
  357. M.Animate(Char:findFirstChild("MotorRight Arm", true), CFrame.new(-0.5, 0.5, -0.25) * CFrame.Angles(math.rad(-75), math.rad(-25), math.rad(0)), 0.25, true)
  358. M.Animate(Char:findFirstChild("MotorWeapon", true), CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.25, true)
  359. end
  360. function AniSlashKnife4()
  361. if WeaponType == "Gun" or not Selected then
  362. return
  363. end
  364. M.Animate(Char:findFirstChild("MotorRight Arm", true), CFrame.new(-0.5, 0.5, -0.25) * CFrame.Angles(math.rad(-125), math.rad(0), math.rad(0)), 0.15, true)
  365. M.Animate(Char:findFirstChild("MotorLeft Arm", true), CFrame.new(0.5, 0.5, -0.25) * CFrame.Angles(math.rad(-65), math.rad(0), math.rad(0)), 0.15, true)
  366. M.Animate(Char:findFirstChild("MotorWeapon", true), CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.15, true)
  367. wait(0.15)
  368. if WeaponType == "Gun" or not Selected then
  369. return
  370. end
  371. M.Animate(Char:findFirstChild("MotorRight Arm", true), CFrame.new(-0.5, 1, -0.25) * CFrame.Angles(math.rad(-15), math.rad(-45), math.rad(0)), 0.05, true)
  372. M.Animate(Char:findFirstChild("MotorLeft Arm", true), CFrame.new(0.5, 0.5, -0.25) * CFrame.Angles(math.rad(-35), math.rad(45), math.rad(0)), 0.05, true)
  373. M.Animate(Char:findFirstChild("MotorWeapon", true), CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.05, true)
  374. wait(0.05)
  375. if WeaponType == "Gun" or not Selected then
  376. return
  377. end
  378. M.Animate(Char:findFirstChild("MotorRight Arm", true), CFrame.new(-0.5, 0.5, -0.25) * CFrame.Angles(math.rad(-75), math.rad(-25), math.rad(0)), 0.25, true)
  379. M.Animate(Char:findFirstChild("MotorLeft Arm", true), CFrame.new(0.5, 0.5, -0.25) * CFrame.Angles(math.rad(-55), math.rad(25), math.rad(0)), 0.25, true)
  380. M.Animate(Char:findFirstChild("MotorWeapon", true), CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.25, true)
  381. end
  382. function AniEquipGun()
  383. if WeaponType == "Knife" or not Selected then
  384. return
  385. end
  386. M.Animate(Char:findFirstChild("MotorRight Arm", true), CFrame.new(-0.45, 0.5, -0.25) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(25)), 0.1, true)
  387. wait(0.1)
  388. if WeaponType == "Knife" or not Selected then
  389. return
  390. end
  391. M.Animate(Char:findFirstChild("MotorRight Arm", true), CFrame.new(-0.45, 0.5, -0.25) * CFrame.Angles(math.rad(-90), math.rad(-25), math.rad(0)), 0.25, true)
  392. M.Animate(Char:findFirstChild("MotorLeft Arm", true), CFrame.new(0.9, 1, -0.25) * CFrame.Angles(math.rad(-90), math.rad(75), math.rad(0)), 0.25, true)
  393. M.Animate(Char:findFirstChild("MotorWeapon", true), CFrame.new(0.5, -1.75, -0.35) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(-25)), 0.25, true)
  394. end
  395. function AniShootGun()
  396. if WeaponType == "Knife" or not Selected then
  397. return
  398. end
  399. M.Animate(Char:findFirstChild("MotorRight Arm", true), CFrame.new(-0.45, 0.5, -0.25) * CFrame.Angles(math.rad(-120), math.rad(-25), math.rad(-8)), 0.06, true)
  400. M.Animate(Char:findFirstChild("MotorLeft Arm", true), CFrame.new(0.9, 1, -0.25) * CFrame.Angles(math.rad(-110), math.rad(78), math.rad(5)), 0.06, true)
  401. M.Animate(Char:findFirstChild("MotorWeapon", true), CFrame.new(0.5, -1.75, -0.35) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(-25)), 0.06, true)
  402. wait(0.06)
  403. if WeaponType == "Knife" or not Selected then
  404. return
  405. end
  406. M.Animate(Char:findFirstChild("MotorRight Arm", true), CFrame.new(-0.45, 0.5, -0.25) * CFrame.Angles(math.rad(-90), math.rad(-25), math.rad(0)), 0.15, true)
  407. M.Animate(Char:findFirstChild("MotorLeft Arm", true), CFrame.new(0.9, 1, -0.25) * CFrame.Angles(math.rad(-90), math.rad(75), math.rad(0)), 0.15, true)
  408. M.Animate(Char:findFirstChild("MotorWeapon", true), CFrame.new(0.5, -1.75, -0.35) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(-25)), 0.15, true)
  409. wait(0.15)
  410. if WeaponType == "Knife" or not Selected then
  411. return
  412. end
  413. end
  414. function AniReloadGun()
  415. if WeaponType == "Knife" or not Selected then
  416. return
  417. end
  418. M.Animate(Char:findFirstChild("MotorLeft Arm", true), CFrame.new(0.5, 0.5, -0.25) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-25)), 0.55, true)
  419. wait(0.55)
  420. if WeaponType == "Knife" or not Selected then
  421. return
  422. end
  423. M.Animate(Char:findFirstChild("MotorRight Arm", true), CFrame.new(-0.45, 0.5, -0.25) * CFrame.Angles(math.rad(-90), math.rad(-25), math.rad(-15)), 0.4, true)
  424. M.Animate(Char:findFirstChild("MotorLeft Arm", true), CFrame.new(0.7, 1.5, -0.5) * CFrame.Angles(math.rad(-100), math.rad(55), math.rad(-25)), 0.4, true)
  425. M.Animate(Char:findFirstChild("MotorWeapon", true), CFrame.new(0.5, -1.75, -0.35) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(-25)), 0.4, true)
  426. wait(0.4)
  427. if WeaponType == "Knife" or not Selected then
  428. return
  429. end
  430. M.Animate(Char:findFirstChild("MotorRight Arm", true), CFrame.new(-0.45, 0.5, -0.25) * CFrame.Angles(math.rad(-95), math.rad(-30), math.rad(20)), 0.35, true)
  431. M.Animate(Char:findFirstChild("MotorLeft Arm", true), CFrame.new(0.7, 1.5, -0.5) * CFrame.Angles(math.rad(-100), math.rad(60), math.rad(-25)), 0.35, true)
  432. M.Animate(Char:findFirstChild("MotorWeapon", true), CFrame.new(0.5, -1.75, -0.35) * CFrame.Angles(math.rad(180), math.rad(25), math.rad(-25)), 0.35, true)
  433. wait(0.35)
  434. if WeaponType == "Knife" or not Selected then
  435. return
  436. end
  437. M.Animate(Char:findFirstChild("MotorRight Arm", true), CFrame.new(-0.45, 0.5, -0.25) * CFrame.Angles(math.rad(-90), math.rad(-25), math.rad(0)), 0.25, true)
  438. M.Animate(Char:findFirstChild("MotorLeft Arm", true), CFrame.new(0.9, 1, -0.25) * CFrame.Angles(math.rad(-80), math.rad(75), math.rad(0)), 0.25, true)
  439. M.Animate(Char:findFirstChild("MotorWeapon", true), CFrame.new(0.5, -1.75, -0.35) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(-25)), 0.25, true)
  440. wait(0.25)
  441. if WeaponType == "Knife" then
  442. return
  443. end
  444. M.Animate(Char:findFirstChild("MotorRight Arm", true), CFrame.new(-0.45, 0.5, -0.25) * CFrame.Angles(math.rad(-90), math.rad(-25), math.rad(0)), 0.5, true)
  445. M.Animate(Char:findFirstChild("MotorLeft Arm", true), CFrame.new(0.9, 1, -0.25) * CFrame.Angles(math.rad(-90), math.rad(75), math.rad(0)), 0.5, true)
  446. M.Animate(Char:findFirstChild("MotorWeapon", true), CFrame.new(0.5, -1.75, -0.35) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(-25)), 0.5, true)
  447. end
  448. local FpsPart = Instance.new("Part")
  449. FpsPart.Transparency = 1
  450. FpsPart.Anchored = true
  451. FpsPart.Parent = FpsModel
  452. FpsPart.CanCollide = false
  453. FpsPart.FormFactor = "Custom"
  454. FpsPart.Size = Vector3.new(0.2, 0.2, 0.2)
  455. local FpsWeaponWeld = Instance.new("Motor")
  456. FpsWeaponWeld.Parent = FpsPart
  457. FpsWeaponWeld.Part1 = FpsWeapon
  458. FpsWeaponWeld.Part0 = FpsRArm
  459. FpsWeaponWeld.C1 = CFrame.new(0, 2, 1)
  460. FpsWeaponWeld.C0 = CFrame.new()
  461. local FpsLArmWeld = Instance.new("Motor")
  462. FpsLArmWeld.Parent = FpsLArm
  463. FpsLArmWeld.Part1 = FpsLArm
  464. FpsLArmWeld.Part0 = FpsPart
  465. FpsLArmWeld.C1 = CFrame.new(0.5, 0, 0)
  466. FpsLArmWeld.C0 = CFrame.new(-1, 0.75, 0)
  467. local FpsRArmWeld = Instance.new("Motor")
  468. FpsRArmWeld.Parent = FpsRArm
  469. FpsRArmWeld.Part1 = FpsRArm
  470. FpsRArmWeld.Part0 = FpsPart
  471. FpsRArmWeld.C1 = CFrame.new(-0.5, 0, 0)
  472. FpsRArmWeld.C0 = CFrame.new(1, 0.75, 0)
  473. local energy = 100
  474. local maxEnergy = 100
  475. local move_anim_speed = 5
  476. local last_p = Vector3.new()
  477. local move_amm = 0
  478. local walking = false
  479. local running = false
  480. local walkingStop = true
  481. local aniRun = false
  482. local aniLegs = false
  483. local idle = true
  484. local WalkSpeed = Humanoid.WalkSpeed
  485. Humanoid.WalkSpeed = WalkSpeed
  486. local DB = false
  487. local Charging = false
  488. local Speed = 0.35
  489. local shake_freq = 5
  490. local CanMelee = true
  491. local CanReload = true
  492. local Shooting = false
  493. local Aimed = false
  494. local Zoomed = false
  495. local RunSpeed = 20
  496. Camera.CameraType = "Custom"
  497. Camera.CameraSubject = Humanoid
  498. coroutine.resume(coroutine.create(function()
  499. while FpsModel ~= nil do
  500. local delta = wait()
  501. local cur_p = T.Position
  502. if (cur_p - last_p).magnitude >= 0.1 then
  503. move_amm = math.min(1, move_amm + delta * move_anim_speed)
  504. walking = true
  505. if running then
  506. if energy <= 0 then
  507. aniRun = false
  508. running = false
  509. shake_freq = 5
  510. Humanoid.WalkSpeed = WalkSpeed
  511. end
  512. elseif energy < maxEnergy then
  513. energy = energy + 0.2
  514. end
  515. else
  516. move_amm = math.max(0, move_amm - delta * move_anim_speed)
  517. walking = false
  518. if energy < maxEnergy then
  519. energy = energy + 0.2
  520. end
  521. end
  522. last_p = cur_p
  523. end
  524. end))
  525. local RightArmWeld, LeftArmWeld, WeaponWeld
  526. local Cloaked = false
  527. local UserInputService = game:GetService("UserInputService")
  528. local Mobile = UserInputService.TouchEnabled
  529. if UserInputService.KeyboardEnabled then
  530. Mobile = false
  531. end
  532. runService.RenderStepped:connect(function()
  533. local last_time = tick()
  534. local delta = tick() - last_time
  535. last_time = tick()
  536. local breathe_amp = 1.5
  537. local breathe_freq = 1
  538. local breathe = math.sin(math.rad(tick() * 90 * breathe_freq)) * breathe_amp
  539. local shake_amp = {0.075, 0.075}
  540. local arm_shake = CFrame.new(math.cos(math.rad(tick() * 90 * shake_freq)) * move_amm * shake_amp[1], math.abs(math.cos(math.rad(tick() * 90 * shake_freq)) * move_amm * shake_amp[2]), 0)
  541. if (Head.Position - Camera.CoordinateFrame.p).magnitude < 2.5 and Selected then
  542. if Cloaked then
  543. FpsLArm.Transparency = 0.5
  544. FpsRArm.Transparency = 0.5
  545. FpsWeapon.Transparency = 0.5
  546. else
  547. FpsLArm.Transparency = 0
  548. FpsRArm.Transparency = 0
  549. FpsWeapon.Transparency = 0
  550. end
  551. FPS = true
  552. else
  553. FpsLArm.Transparency = 1
  554. FpsRArm.Transparency = 1
  555. FpsWeapon.Transparency = 1
  556. FPS = false
  557. end
  558. if FpsModel ~= nil and Char ~= nil and 0 < Humanoid.Health then
  559. if WeaponType == "Gun" then
  560. FpsPart.CFrame = Camera.CoordinateFrame * CFrame.new(0.7, -2, -0.4) * CFrame.Angles(math.rad(0 + breathe / 2), math.rad(0), math.rad(0)) * arm_shake
  561. elseif WeaponType == "Knife" then
  562. FpsPart.CFrame = Camera.CoordinateFrame * CFrame.new(0, -1.6, -0.4) * CFrame.Angles(math.rad(0 + breathe / 2), math.rad(0), math.rad(0)) * arm_shake
  563. end
  564. if RightArmWeld ~= nil and LeftArmWeld ~= nil and WeaponWeld ~= nil then
  565. if WeaponType == "Gun" then
  566. FpsLArmWeld.C1 = LeftArmWeld.C1 * CFrame.new(0.15, 0.09, -0.43) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5))
  567. FpsRArmWeld.C1 = RightArmWeld.C1
  568. FpsWeaponWeld.C1 = WeaponWeld.C1 * CFrame.new(0.1, -0.2, 0.25)
  569. elseif WeaponType == "Knife" then
  570. FpsLArmWeld.C1 = LeftArmWeld.C1 * CFrame.new(0.15, 0.09, -0.43)
  571. FpsRArmWeld.C1 = RightArmWeld.C1 * CFrame.Angles(math.rad(0), math.rad(25), math.rad(0))
  572. FpsWeaponWeld.C1 = WeaponWeld.C1 * CFrame.new(0, 0.15, 0.25)
  573. end
  574. end
  575. end
  576. end)
  577. local debouncetime = 1
  578. local lastjump = time()
  579. local WeaponMesh
  580. local used = false
  581. local Perk = PERKY
  582. Humanoid.Changed:connect(function(prop)
  583. if Perk == "Kevlar" and (Humanoid.Health == 98 or Humanoid.Health == 1398) and not used then
  584. Player.PlayerGui.Sounds.KevlarHurt:Play()
  585. used = true
  586. end
  587. end)
  588. local GunSkin = "http://www.roblox.com/asset/?id=79401500"
  589. local KnifeSkin = "http://www.roblox.com/asset/?id=130252453"
  590. local Charged = false
  591. local MouseDown = false
  592. local DB2 = false
  593. local Ability = ABIL
  594. local Gamemode
  595. local CanCloak = true
  596. local Knife = false
  597. local Gun = false
  598. local ThrowGui = Player.PlayerGui.GUI.ThrowKnife
  599. local CloakGui = Player.PlayerGui.GUI.CloakGui
  600. local Crosshair = Player.PlayerGui.GUI.MobileCrosshair
  601. local Gui = Player.PlayerGui.GUI
  602. game.Players.LocalPlayer.Backpack.ChildAdded:connect(function(c)
  603. if c.Name == "Gun" and not Gun then
  604. spawn(function()
  605. Gamemode = game.ReplicatedStorage.RemoteFunction:InvokeServer("Gamemode")
  606. Perk = game.ReplicatedStorage.RemoteFunction:InvokeServer("Perk")
  607. end)
  608. local Skin = game.ReplicatedStorage.RemoteFunction:InvokeServer("Skin", "Gun")
  609. if Skin ~= nil then
  610. GunSkin = Skin
  611. end
  612. if game.Players.LocalPlayer.Backpack:findFirstChild("Gun") ~= nil then
  613. Gun = true
  614. if Mobile then
  615. else
  616. GT.Activated:connect(function()
  617. if Gamemode == "One In The Chamber" and Char.Bullet.Value == false then
  618. return
  619. end
  620. if not DB then
  621. DB = true
  622. WC.ShootGun(Char, Char, Mouse.Hit.p, FPS, FpsWeapon)
  623. AniShootGun()
  624. wait(0.21)
  625. AniReloadGun()
  626. if not Selected then
  627. wait(1.55)
  628. end
  629. wait(0.5)
  630. DB = false
  631. end
  632. end)
  633. end
  634. GT.Equipped:connect(function()
  635. Selected = true
  636. WeaponType = "Gun"
  637. Mouse.Icon = "http://www.roblox.com/asset/?id=117431027"
  638. WC.EquipGun(Char, Char, GunSkin)
  639. RightArmWeld = Char:WaitForChild("MotorRight Arm")
  640. LeftArmWeld = Char:WaitForChild("MotorLeft Arm")
  641. WeaponWeld = Char:WaitForChild("MotorWeapon")
  642. WeaponMesh = Char:WaitForChild("Weapon"):findFirstChild("Mesh"):clone()
  643. WeaponMesh.Parent = FpsWeapon
  644. AniEquipGun()
  645. end)
  646. GT.Unequipped:connect(function()
  647. Selected = false
  648. Mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
  649. if WeaponMesh ~= nil then
  650. WeaponMesh:Destroy()
  651. end
  652. WeaponType = nil
  653. WC.Unequip(Char, Char)
  654. end)
  655. end
  656. elseif c.Name == "Knife" and not Knife then
  657. spawn(function()
  658. Ability = ABIL
  659. Perk = PERKY
  660. if Ability == nil then
  661. Ability = ABIL
  662. end
  663. Gamemode = game.ReplicatedStorage.RemoteFunction:InvokeServer("Gamemode")
  664. end)
  665. local Skin = game.ReplicatedStorage.RemoteFunction:InvokeServer("Skin", "Knife")
  666. if Skin ~= nil then
  667. KnifeSkin = Skin
  668. end
  669. if game.Players.LocalPlayer.Backpack:findFirstChild("Knife") ~= nil then
  670. Knife = true
  671. KT.Activated:connect(function()
  672. MouseDown = true
  673. spawn(function()
  674. if Cloaked then
  675. WC.UnCloak(Char, Char)
  676. Cloaked = false
  677. end
  678. end)
  679. if Gamemode == "Infected" or Gamemode == "One In The Chamber" then
  680. return
  681. end
  682. if not DB2 and not DB then
  683. DB2 = true
  684. spawn(function()
  685. wait(0.35)
  686. if MouseDown and not DB then
  687. DB2 = true
  688. if Perk ~= "Quick Hands" then
  689. AniChargeKnife()
  690. wait(1)
  691. else
  692. AniChargeKnife2()
  693. wait(0.7)
  694. end
  695. if MouseDown and not DB then
  696. Charged = true
  697. end
  698. wait(0.5)
  699. DB2 = false
  700. else
  701. DB2 = false
  702. end
  703. end)
  704. end
  705. end)
  706. KT.Deactivated:connect(function()
  707. MouseDown = false
  708. if Charged then
  709. DB = true
  710. DB2 = true
  711. Charged = false
  712. spawn(function()
  713. WC.ThrowKnife(Char, Char, Mouse.Hit.p, Ability)
  714. end)
  715. AniThrowKnife()
  716. wait(0.3)
  717. AniEquipKnife()
  718. DB = false
  719. DB2 = false
  720. elseif not DB then
  721. DB = true
  722. do
  723. local Ran = math.random(1, 3)
  724. spawn(function()
  725. WC.StabKnife(Char, Char, Ran, Ability)
  726. end)
  727. if Ran == 1 then
  728. AniSlashKnife1()
  729. elseif Ran == 2 then
  730. AniSlashKnife2()
  731. elseif Ran == 3 then
  732. AniSlashKnife3()
  733. elseif Ran == 4 then
  734. AniSlashKnife4()
  735. end
  736. wait(0.25)
  737. DB = false
  738. end
  739. end
  740. end)
  741. KT.Equipped:connect(function()
  742. Selected = true
  743. WeaponType = "Knife"
  744. Mouse.Icon = "http://www.roblox.com/asset/?id=117431027"
  745. WC.EquipKnife(Char, Char, KnifeSkin)
  746. RightArmWeld = Char:WaitForChild("MotorRight Arm")
  747. LeftArmWeld = Char:WaitForChild("MotorLeft Arm")
  748. WeaponWeld = Char:WaitForChild("MotorWeapon")
  749. WeaponMesh = Char:WaitForChild("Weapon"):findFirstChild("Mesh"):clone()
  750. WeaponMesh.Parent = FpsWeapon
  751. AniEquipKnife()
  752. if Char then
  753. if workspace.GameInProgress.Mode.Value ~= "Infected" then
  754. Char.Humanoid.WalkSpeed = 20
  755. if workspace.GameInProgress.Mode.Value == "Cold Killer" then
  756. Char.Humanoid.WalkSpeed = 20
  757. elseif Perk == "Speedy Gonzales" then
  758. Char.Humanoid.WalkSpeed = 25
  759. else
  760. Char.Humanoid.WalkSpeed = 20
  761. end
  762. else
  763. Char.Humanoid.WalkSpeed = 13
  764. end
  765. end
  766. end)
  767. KT.Unequipped:connect(function()
  768. if Mobile then
  769. ThrowGui.Visible = false
  770. if Perk == "Shadow Cloak" then
  771. CloakGui.Visible = false
  772. end
  773. end
  774. Charged = false
  775. MouseDown = false
  776. Selected = false
  777. Mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
  778. if WeaponMesh ~= nil then
  779. WeaponMesh:Destroy()
  780. end
  781. WeaponType = nil
  782. WC.Unequip(Char, Char)
  783. if workspace.GameInProgress.Mode.Value ~= "Infected" then
  784. Char.Humanoid.WalkSpeed = 16
  785. else
  786. Char.Humanoid.WalkSpeed = 13
  787. end
  788. if Cloaked then
  789. WC.UnCloak(Char, Char)
  790. Cloaked = false
  791. end
  792. end)
  793. end
  794. end
  795. end)
  796. local DB3 = false
  797. IS.InputBegan:connect(function(input, chatting)
  798. if input.UserInputType == Enum.UserInputType.Gamepad1 and input.UserInputState == Enum.UserInputState.Begin and not chatting and Selected and input.KeyCode == Enum.KeyCode.ButtonX and WeaponType == "Knife" and CanCloak and Perk == "Shadow Cloak" then
  799. if Gamemode == "Infected" or Gamemode == "One In The Chamber" then
  800. return
  801. end
  802. CanCloak = false
  803. WC.Cloak(Char, Char)
  804. Cloaked = true
  805. wait(10)
  806. if Cloaked then
  807. WC.UnCloak(Char, Char)
  808. Cloaked = false
  809. end
  810. wait(15)
  811. CanCloak = true
  812. end
  813. if input.UserInputType == Enum.UserInputType.Keyboard and input.UserInputState == Enum.UserInputState.Begin and not chatting and Selected then
  814. if input.KeyCode == Enum.KeyCode.E and WeaponType == "Knife" and not DB3 then
  815. if Gamemode == "Infected" or Gamemode == "One In The Chamber" then
  816. return
  817. end
  818. DB3 = true
  819. spawn(function()
  820. if Cloaked then
  821. WC.UnCloak(Char, Char)
  822. Cloaked = false
  823. end
  824. end)
  825. if not DB2 and not DB then
  826. DB2 = true
  827. if not DB then
  828. DB2 = true
  829. DB = true
  830. if Perk ~= "Quick Hands" then
  831. AniChargeKnife()
  832. wait(1)
  833. else
  834. AniChargeKnife2()
  835. wait(0.7)
  836. end
  837. if not Selected or WeaponType ~= "Knife" then
  838. DB2 = false
  839. DB = false
  840. return
  841. end
  842. spawn(function()
  843. WC.ThrowKnife(Char, Char, Mouse.Hit.p, Ability)
  844. end)
  845. AniThrowKnife()
  846. wait(0.3)
  847. AniEquipKnife()
  848. DB = false
  849. DB2 = false
  850. else
  851. DB2 = false
  852. end
  853. end
  854. wait(0.25)
  855. DB3 = false
  856. elseif input.KeyCode == Enum.KeyCode.Q and WeaponType == "Knife" and CanCloak and Perk == "Shadow Cloak" then
  857. if Gamemode == "Infected" or Gamemode == "One In The Chamber" then
  858. return
  859. end
  860. CanCloak = false
  861. WC.Cloak(Char, Char)
  862. Cloaked = true
  863. wait(10)
  864. if Cloaked then
  865. WC.UnCloak(Char, Char)
  866. Cloaked = false
  867. end
  868. wait(15)
  869. CanCloak = true
  870. end
  871. end
  872. end)
  873. game.Players.ChildAdded:connect(function(c)
  874. wait(3)
  875. repeat
  876. wait()
  877. until not DB and not DB2 and not MouseDown
  878. if WeaponType == "Gun" then
  879. WC.EquipGun(Char, Char, GunSkin)
  880. AniEquipGun()
  881. elseif WeaponType == "Knife" then
  882. WC.EquipKnife(Char, Char, KnifeSkin)
  883. AniEquipKnife()
  884. end
  885. end)
  886. end)
  887.  
  888.  
  889. end
  890. coroutine.resume(coroutine.create(SCRIPT_VHTQ90_FAKESCRIPT))
  891. function SCRIPT_BPCG81_FAKESCRIPT() -- QuickscoperB.QuickscoperB1
  892. getfenv().script = Instance.new('Script', QuickscoperB)
  893.  
  894. script.Parent.MouseButton1Click:Connect(function()
  895. local Modules = game.ReplicatedStorage:WaitForChild("Modules")
  896. local M = require(Modules:WaitForChild("AnimationCore"))
  897. local WC = require(Modules:WaitForChild("WeaponCore"))
  898. local Mouse = game.Players.LocalPlayer:GetMouse()
  899. local Char = game.Players.LocalPlayer.Character
  900. Mouse.Button1Down:Connect(function()
  901. WC.ThrowKnife(Char, Char, Mouse.Hit.p, "Quickscoper")
  902. end)
  903. end)
  904.  
  905. end
  906. coroutine.resume(coroutine.create(SCRIPT_BPCG81_FAKESCRIPT))
  907. function SCRIPT_UZGY90_FAKESCRIPT() -- TeslaB.TeslaB1
  908. getfenv().script = Instance.new('Script', TeslaB)
  909.  
  910. script.Parent.MouseButton1Click:Connect(function()
  911. local Modules = game.ReplicatedStorage:WaitForChild("Modules")
  912. local M = require(Modules:WaitForChild("AnimationCore"))
  913. local WC = require(Modules:WaitForChild("WeaponCore"))
  914. local Mouse = game.Players.LocalPlayer:GetMouse()
  915. local Char = game.Players.LocalPlayer.Character
  916. Mouse.Button1Down:Connect(function()
  917. WC.ThrowKnife(Char, Char, Mouse.Hit.p, "Tesla Knife")
  918. end)
  919. end)
  920.  
  921. end
  922. coroutine.resume(coroutine.create(SCRIPT_UZGY90_FAKESCRIPT))
  923. function SCRIPT_ISOE77_FAKESCRIPT() -- IlluminatiB.IlluminatiB1
  924. getfenv().script = Instance.new('Script', IlluminatiB)
  925.  
  926. script.Parent.MouseButton1Click:Connect(function()
  927. local Modules = game.ReplicatedStorage:WaitForChild("Modules")
  928. local M = require(Modules:WaitForChild("AnimationCore"))
  929. local WC = require(Modules:WaitForChild("WeaponCore"))
  930. local Mouse = game.Players.LocalPlayer:GetMouse()
  931. local Char = game.Players.LocalPlayer.Character
  932. Mouse.Button1Down:Connect(function()
  933. WC.ThrowKnife(Char, Char, Mouse.Hit.p, "Illuminati Knife")
  934. end)
  935. end)
  936.  
  937. end
  938. coroutine.resume(coroutine.create(SCRIPT_ISOE77_FAKESCRIPT))
  939. function SCRIPT_KAJE83_FAKESCRIPT() -- HotB.HotB1
  940. getfenv().script = Instance.new('Script', HotB)
  941.  
  942. script.Parent.MouseButton1Click:Connect(function()
  943. local Modules = game.ReplicatedStorage:WaitForChild("Modules")
  944. local M = require(Modules:WaitForChild("AnimationCore"))
  945. local WC = require(Modules:WaitForChild("WeaponCore"))
  946. local Mouse = game.Players.LocalPlayer:GetMouse()
  947. local Char = game.Players.LocalPlayer.Character
  948. Mouse.Button1Down:Connect(function()
  949. WC.ThrowKnife(Char, Char, Mouse.Hit.p, "HOT! Knife")
  950. end)
  951. end)
  952.  
  953. end
  954. coroutine.resume(coroutine.create(SCRIPT_KAJE83_FAKESCRIPT))
  955. function SCRIPT_MAGH72_FAKESCRIPT() -- YoutubePowerB.YoutubePowerB1
  956. getfenv().script = Instance.new('Script', YoutubePowerB)
  957.  
  958. script.Parent.MouseButton1Click:Connect(function()
  959. local Modules = game.ReplicatedStorage:WaitForChild("Modules")
  960. local M = require(Modules:WaitForChild("AnimationCore"))
  961. local WC = require(Modules:WaitForChild("WeaponCore"))
  962. local Mouse = game.Players.LocalPlayer:GetMouse()
  963. local Char = game.Players.LocalPlayer.Character
  964. Mouse.Button1Down:Connect(function()
  965. WC.ThrowKnife(Char, Char, Mouse.Hit.p, "YouTube Power")
  966. end)
  967. end)
  968.  
  969. end
  970. coroutine.resume(coroutine.create(SCRIPT_MAGH72_FAKESCRIPT))
  971. function SCRIPT_DEAC86_FAKESCRIPT() -- GhostB.GhostB1
  972. getfenv().script = Instance.new('Script', GhostB)
  973.  
  974. script.Parent.MouseButton1Click:Connect(function()
  975. local Modules = game.ReplicatedStorage:WaitForChild("Modules")
  976. local M = require(Modules:WaitForChild("AnimationCore"))
  977. local WC = require(Modules:WaitForChild("WeaponCore"))
  978. local Mouse = game.Players.LocalPlayer:GetMouse()
  979. local Char = game.Players.LocalPlayer.Character
  980. Mouse.Button1Down:Connect(function()
  981. WC.ThrowKnife(Char, Char, Mouse.Hit.p, "Ghost Knife")
  982. end)
  983. end)
  984.  
  985. end
  986. coroutine.resume(coroutine.create(SCRIPT_DEAC86_FAKESCRIPT))
  987. function SCRIPT_OKDT85_FAKESCRIPT() -- MinimiseB.MinimiseB1
  988. getfenv().script = Instance.new('Script', MinimiseB)
  989.  
  990. script.Parent.MouseButton1Click:Connect(function()
  991. KnifeMain.Visible = false
  992. KnifeRe.Visible = true
  993. end)
  994.  
  995. end
  996. coroutine.resume(coroutine.create(SCRIPT_OKDT85_FAKESCRIPT))
  997. function SCRIPT_XPWH90_FAKESCRIPT() -- MidasB.MidasB1
  998. getfenv().script = Instance.new('Script', MidasB)
  999.  
  1000. script.Parent.MouseButton1Click:Connect(function()
  1001. local Modules = game.ReplicatedStorage:WaitForChild("Modules")
  1002. local M = require(Modules:WaitForChild("AnimationCore"))
  1003. local WC = require(Modules:WaitForChild("WeaponCore"))
  1004. local Mouse = game.Players.LocalPlayer:GetMouse()
  1005. local Char = game.Players.LocalPlayer.Character
  1006. Mouse.Button1Down:Connect(function()
  1007. WC.ThrowKnife(Char, Char, Mouse.Hit.p, "Midas Touch")
  1008. end)
  1009. end)
  1010.  
  1011. end
  1012. coroutine.resume(coroutine.create(SCRIPT_XPWH90_FAKESCRIPT))
  1013. function SCRIPT_OXWW74_FAKESCRIPT() -- OpenB.OpenB1
  1014. getfenv().script = Instance.new('Script', OpenB)
  1015.  
  1016. script.Parent.MouseButton1Click:connect(function()
  1017. KnifeRe.Visible = false
  1018. KnifeMain.Visible = true
  1019. end)
  1020.  
  1021. end
  1022. coroutine.resume(coroutine.create(SCRIPT_OXWW74_FAKESCRIPT))
  1023.  
  1024. KnifeMain.Draggable = true
Add Comment
Please, Sign In to add comment