Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Instances:
- local PrivateScriptV3 = Instance.new("ScreenGui")
- local LoginFrame = Instance.new("Frame")
- local Title = Instance.new("TextLabel")
- local Username = Instance.new("TextBox")
- local Password = Instance.new("TextBox")
- local Login = Instance.new("TextButton")
- local Success = Instance.new("TextLabel")
- local Incorrect = Instance.new("TextLabel")
- local MainFrame = Instance.new("Frame")
- local Title_2 = Instance.new("TextLabel")
- local Minimize = Instance.new("TextButton")
- local Executor = Instance.new("TextButton")
- local Games = Instance.new("TextButton")
- local ExecutorFrame = Instance.new("Frame")
- local Title_3 = Instance.new("TextLabel")
- local ScrollingFrame = Instance.new("ScrollingFrame")
- local Input = Instance.new("TextBox")
- local Execute = Instance.new("TextButton")
- local Clear = Instance.new("TextButton")
- local CloseExecutor = Instance.new("TextButton")
- local GamesFrame = Instance.new("Frame")
- local Title_4 = Instance.new("TextLabel")
- local RoCitizens = Instance.new("TextButton")
- local TMGUI = Instance.new("TextButton")
- local CloseGames = Instance.new("TextButton")
- --Properties:
- PrivateScriptV3.Name = "PrivateScriptV3"
- PrivateScriptV3.Parent = game.CoreGui
- PrivateScriptV3.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- LoginFrame.Name = "LoginFrame"
- LoginFrame.Parent = PrivateScriptV3
- LoginFrame.Active = true
- LoginFrame.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- LoginFrame.Position = UDim2.new(0.00840336829, 0, 0.116182573, 0)
- LoginFrame.Size = UDim2.new(0, 315, 0, 451)
- LoginFrame.Draggable = true
- Title.Name = "Title"
- Title.Parent = LoginFrame
- Title.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
- Title.Size = UDim2.new(0, 315, 0, 50)
- Title.Font = Enum.Font.Cartoon
- Title.Text = "Private Script v3.5"
- Title.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863)
- Title.TextScaled = true
- Title.TextSize = 14
- Title.TextWrapped = true
- Username.Name = "Username"
- Username.Parent = LoginFrame
- Username.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
- Username.Position = UDim2.new(0.0476190485, 0, 0.215077609, 0)
- Username.Size = UDim2.new(0, 291, 0, 50)
- Username.Font = Enum.Font.SourceSans
- Username.PlaceholderText = "Username"
- Username.Text = ""
- Username.TextColor3 = Color3.new(0.819608, 0.819608, 0.819608)
- Username.TextScaled = true
- Username.TextSize = 14
- Username.TextWrapped = true
- Username.TextXAlignment = Enum.TextXAlignment.Left
- Password.Name = "Password"
- Password.Parent = LoginFrame
- Password.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
- Password.Position = UDim2.new(0.0476190485, 0, 0.399113089, 0)
- Password.Size = UDim2.new(0, 291, 0, 50)
- Password.Font = Enum.Font.SourceSans
- Password.PlaceholderText = "Password"
- Password.Text = ""
- Password.TextColor3 = Color3.new(0.819608, 0.819608, 0.819608)
- Password.TextScaled = true
- Password.TextSize = 14
- Password.TextWrapped = true
- Password.TextXAlignment = Enum.TextXAlignment.Left
- Login.Name = "Login"
- Login.Parent = LoginFrame
- Login.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
- Login.Position = UDim2.new(0.190476194, 0, 0.600886881, 0)
- Login.Size = UDim2.new(0, 214, 0, 57)
- Login.Font = Enum.Font.Cartoon
- Login.Text = "Log in"
- Login.TextColor3 = Color3.new(0.756863, 0.756863, 0.756863)
- Login.TextScaled = true
- Login.TextSize = 14
- Login.TextWrapped = true
- Login.MouseButton1Click:connect(function()
- if Username.Text == "Commander" and Password.Text == "Yum" or Username.Text == "ModzTypicl" and Password.Text == "TypicalModders" then
- Success.Visible = true
- wait(1)
- LoginFrame.Visible = false
- wait(1)
- MainFrame.Visible = true
- else
- wait(.2)
- Incorrect.Visible = true
- end
- end)
- Success.Name = "Success"
- Success.Parent = LoginFrame
- Success.BackgroundColor3 = Color3.new(1, 1, 1)
- Success.BackgroundTransparency = 1
- Success.Position = UDim2.new(0.0285714287, 0, 0.758314908, 0)
- Success.Size = UDim2.new(0, 297, 0, 31)
- Success.Visible = false
- Success.Font = Enum.Font.SourceSans
- Success.Text = "You are whitelisted, thank you for using my script!"
- Success.TextColor3 = Color3.new(0.427451, 1, 0.117647)
- Success.TextSize = 14
- Incorrect.Name = "Incorrect"
- Incorrect.Parent = LoginFrame
- Incorrect.BackgroundColor3 = Color3.new(1, 1, 1)
- Incorrect.BackgroundTransparency = 1
- Incorrect.Position = UDim2.new(0.0285714287, 0, 0.827051044, 0)
- Incorrect.Size = UDim2.new(0, 297, 0, 31)
- Incorrect.Visible = false
- Incorrect.Font = Enum.Font.SourceSans
- Incorrect.Text = "You are not whitelisted, please try again."
- Incorrect.TextColor3 = Color3.new(1, 0, 0)
- Incorrect.TextSize = 14
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = PrivateScriptV3
- MainFrame.Active = true
- MainFrame.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- MainFrame.Position = UDim2.new(0.256684482, 0, -3.7252903e-09, 0)
- MainFrame.Size = UDim2.new(0, 694, 0, 488)
- MainFrame.Visible = false
- MainFrame.Draggable = true
- Title_2.Name = "Title"
- Title_2.Parent = MainFrame
- Title_2.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
- Title_2.Size = UDim2.new(0, 694, 0, 50)
- Title_2.Font = Enum.Font.Cartoon
- Title_2.Text = "Private Script v3.5"
- Title_2.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863)
- Title_2.TextScaled = true
- Title_2.TextSize = 14
- Title_2.TextWrapped = true
- Minimize.Name = "Minimize"
- Minimize.Parent = MainFrame
- Minimize.BackgroundColor3 = Color3.new(1, 1, 1)
- Minimize.BackgroundTransparency = 1
- Minimize.Position = UDim2.new(0.927953899, 0, 0.102459013, 0)
- Minimize.Size = UDim2.new(0, 50, 0, 50)
- Minimize.Font = Enum.Font.SourceSans
- Minimize.Text = "Close"
- Minimize.TextColor3 = Color3.new(0.921569, 0.921569, 0.921569)
- Minimize.TextSize = 14
- Minimize.MouseButton1Click:connect(function()
- MainFrame.Visible = false
- end)
- Executor.Name = "Executor"
- Executor.Parent = MainFrame
- Executor.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
- Executor.Position = UDim2.new(0.0161246024, 0, 0.441050828, 0)
- Executor.Size = UDim2.new(0, 214, 0, 57)
- Executor.Font = Enum.Font.Cartoon
- Executor.Text = "Executor"
- Executor.TextColor3 = Color3.new(0.756863, 0.756863, 0.756863)
- Executor.TextScaled = true
- Executor.TextSize = 14
- Executor.TextWrapped = true
- Executor.MouseButton1Click:connect(function()
- ExecutorFrame.Visible = true
- end)
- Games.Name = "Games"
- Games.Parent = MainFrame
- Games.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
- Games.Position = UDim2.new(0.677507877, 0, 0.441050828, 0)
- Games.Size = UDim2.new(0, 214, 0, 57)
- Games.Font = Enum.Font.Cartoon
- Games.Text = "Games"
- Games.TextColor3 = Color3.new(0.756863, 0.756863, 0.756863)
- Games.TextScaled = true
- Games.TextSize = 14
- Games.TextWrapped = true
- Games.MouseButton1Click:connect(function()
- GamesFrame.Visible = true
- end)
- ExecutorFrame.Name = "ExecutorFrame"
- ExecutorFrame.Parent = PrivateScriptV3
- ExecutorFrame.Active = true
- ExecutorFrame.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- ExecutorFrame.Position = UDim2.new(0.282658517, 0, 0.421853423, 0)
- ExecutorFrame.Size = UDim2.new(0, 315, 0, 374)
- ExecutorFrame.Visible = false
- ExecutorFrame.Draggable = true
- Title_3.Name = "Title"
- Title_3.Parent = ExecutorFrame
- Title_3.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
- Title_3.Position = UDim2.new(0, 0, -0.00267379684, 0)
- Title_3.Size = UDim2.new(0, 315, 0, 50)
- Title_3.Font = Enum.Font.Cartoon
- Title_3.Text = "Private Script v3.5"
- Title_3.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863)
- Title_3.TextScaled = true
- Title_3.TextSize = 14
- Title_3.TextWrapped = true
- ScrollingFrame.Parent = ExecutorFrame
- ScrollingFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- ScrollingFrame.Position = UDim2.new(0.0285714287, 0, 0.131016046, 0)
- ScrollingFrame.Size = UDim2.new(0, 243, 0, 280)
- Input.Name = "Input"
- Input.Parent = ScrollingFrame
- Input.BackgroundColor3 = Color3.new(0.552941, 0.552941, 0.552941)
- Input.Position = UDim2.new(-0.0018064715, 0, 4.02331352e-07, 0)
- Input.Size = UDim2.new(0, 230, 0, 9999)
- Input.Font = Enum.Font.SourceSans
- Input.MultiLine = true
- Input.PlaceholderText = "print(\"Hello world!\")"
- Input.Text = ""
- Input.TextColor3 = Color3.new(0, 0, 0)
- Input.TextSize = 14
- Input.TextXAlignment = Enum.TextXAlignment.Left
- Input.TextYAlignment = Enum.TextYAlignment.Top
- Execute.Name = "Execute"
- Execute.Parent = ExecutorFrame
- Execute.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
- Execute.Position = UDim2.new(0.81904763, 0, 0.14973262, 0)
- Execute.Size = UDim2.new(0, 51, 0, 126)
- Execute.Font = Enum.Font.Cartoon
- Execute.Text = "Execute"
- Execute.TextColor3 = Color3.new(0.870588, 0.870588, 0.870588)
- Execute.TextScaled = true
- Execute.TextSize = 14
- Execute.TextWrapped = true
- Execute.MouseButton1Click:connect(function()
- loadstring(Input.Text)()
- end)
- Clear.Name = "Clear"
- Clear.Parent = ExecutorFrame
- Clear.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
- Clear.Position = UDim2.new(0.81904763, 0, 0.489304811, 0)
- Clear.Size = UDim2.new(0, 51, 0, 126)
- Clear.Font = Enum.Font.Cartoon
- Clear.Text = "Clear"
- Clear.TextColor3 = Color3.new(0.952941, 0.952941, 0.952941)
- Clear.TextSize = 14
- Clear.MouseButton1Click:connect(function()
- Input.Text = ""
- end)
- CloseExecutor.Name = "CloseExecutor"
- CloseExecutor.Parent = ExecutorFrame
- CloseExecutor.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
- CloseExecutor.Position = UDim2.new(0.81904763, 0, 0.850267291, 0)
- CloseExecutor.Size = UDim2.new(0, 51, 0, 28)
- CloseExecutor.Font = Enum.Font.Cartoon
- CloseExecutor.Text = "Close"
- CloseExecutor.TextColor3 = Color3.new(0.952941, 0.952941, 0.952941)
- CloseExecutor.TextSize = 14
- CloseExecutor.MouseButton1Click:connect(function()
- ExecutorFrame.Visible = false
- end)
- GamesFrame.Name = "GamesFrame"
- GamesFrame.Parent = PrivateScriptV3
- GamesFrame.Active = true
- GamesFrame.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- GamesFrame.Position = UDim2.new(0.729564548, 0, 0.420470268, 0)
- GamesFrame.Size = UDim2.new(0, 283, 0, 401)
- GamesFrame.Visible = false
- GamesFrame.Draggable = true
- Title_4.Name = "Title"
- Title_4.Parent = GamesFrame
- Title_4.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
- Title_4.Position = UDim2.new(0, 0, -0.00267382688, 0)
- Title_4.Size = UDim2.new(0, 283, 0, 50)
- Title_4.Font = Enum.Font.Cartoon
- Title_4.Text = "Private Script v3.5"
- Title_4.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863)
- Title_4.TextScaled = true
- Title_4.TextSize = 14
- Title_4.TextWrapped = true
- RoCitizens.Name = "RoCitizens"
- RoCitizens.Parent = GamesFrame
- RoCitizens.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
- RoCitizens.Position = UDim2.new(0.119203985, 0, 0.141798943, 0)
- RoCitizens.Size = UDim2.new(0, 214, 0, 57)
- RoCitizens.Font = Enum.Font.Cartoon
- RoCitizens.Text = "RoCitizens Money"
- RoCitizens.TextColor3 = Color3.new(0.756863, 0.756863, 0.756863)
- RoCitizens.TextScaled = true
- RoCitizens.TextSize = 14
- RoCitizens.TextWrapped = true
- RoCitizens.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.ChangeMoney:Fire(500000000000)
- end)
- TMGUI.Name = "TMGUI"
- TMGUI.Parent = GamesFrame
- TMGUI.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
- TMGUI.Position = UDim2.new(0.119203985, 0, 0.298906177, 0)
- TMGUI.Size = UDim2.new(0, 214, 0, 57)
- TMGUI.Font = Enum.Font.Cartoon
- TMGUI.Text = "Twisted Murderer GUI leaked by me!"
- TMGUI.TextColor3 = Color3.new(0.756863, 0.756863, 0.756863)
- TMGUI.TextScaled = true
- TMGUI.TextSize = 14
- TMGUI.TextWrapped = true
- TMGUI.MouseButton1Click:connect(function()
- -- Objects
- local TwistedMurdererGUI = Instance.new("ScreenGui")
- local Opening = Instance.new("Frame")
- local OpenGui = Instance.new("TextButton")
- local TMGui = Instance.new("Frame")
- local TMGUICRED = Instance.new("TextLabel")
- local CLOSE = Instance.new("TextButton")
- local PlayersTab = Instance.new("Frame")
- local INFO = Instance.new("TextLabel")
- local UnCloak = Instance.new("TextButton")
- local UnCloakAll = Instance.new("TextButton")
- local RRadios = Instance.new("TextButton")
- local CrashS = Instance.new("TextButton")
- local God = Instance.new("TextButton")
- local RemoveAnti = Instance.new("TextButton")
- local STOPALL = Instance.new("TextButton")
- local STOP = Instance.new("TextButton")
- local DetectRoles = Instance.new("TextButton")
- local PlayerName = Instance.new("TextBox")
- local PLAYALL = Instance.new("TextButton")
- local PLAY = Instance.new("TextButton")
- local MUSICid = Instance.new("TextBox")
- local KillOthers = Instance.new("TextButton")
- local KillAll = Instance.new("TextButton")
- local Kill = Instance.new("TextButton")
- local LoopKill = Instance.new("TextButton")
- local ForceKevlar = Instance.new("TextButton")
- local CloakAll = Instance.new("TextButton")
- local Cloak = Instance.new("TextButton")
- local ToolName = Instance.new("TextBox")
- local SaveTool = Instance.new("TextButton")
- local StayL = Instance.new("TextButton")
- local Knife = Instance.new("TextButton")
- local CoreGui = --[[game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui")]] game:GetService("CoreGui")
- -- Properties
- wait(1)
- TwistedMurdererGUI.Name = "TwistedMurdererGUI"
- TwistedMurdererGUI.Parent = CoreGui
- Opening.Name = "Opening"
- Opening.Parent = TwistedMurdererGUI
- Opening.Active = true
- Opening.BackgroundColor3 = Color3.new(1, 1, 1)
- Opening.Size = UDim2.new(0, 89, 0, 27)
- OpenGui.Name = "OpenGui"
- OpenGui.Parent = Opening
- OpenGui.BackgroundColor3 = Color3.new(0, 0, 0)
- OpenGui.BackgroundTransparency = 1
- OpenGui.BorderColor3 = Color3.new(0, 0, 0)
- OpenGui.Size = UDim2.new(0, 71, 0, 27)
- OpenGui.Font = Enum.Font.SourceSans
- OpenGui.FontSize = Enum.FontSize.Size18
- OpenGui.Text = "Open"
- OpenGui.TextColor3 = Color3.new(0, 0, 0)
- OpenGui.TextSize = 18
- TMGui.Name = "TMGui"
- TMGui.Parent = TwistedMurdererGUI
- TMGui.Active = true
- TMGui.BackgroundColor3 = Color3.new(0, 0, 0)
- TMGui.Draggable = true
- TMGui.Position = UDim2.new(0, 18, 0, 35)
- TMGui.Size = UDim2.new(0, 270, 0, 239)
- TMGui.Visible = false
- TMGUICRED.Name = "TMGUI CRED"
- TMGUICRED.Parent = TMGui
- TMGUICRED.BackgroundColor3 = Color3.new(1, 1, 1)
- TMGUICRED.BackgroundTransparency = 1
- TMGUICRED.BorderColor3 = Color3.new(0, 0, 0)
- TMGUICRED.TextColor3 = Color3.new(1,1,1)
- TMGUICRED.Size = UDim2.new(0, 240, 0, 18)
- TMGUICRED.Font = Enum.Font.SourceSans
- TMGUICRED.FontSize = Enum.FontSize.Size18
- TMGUICRED.Text = "Twisted Murderer Gui - LEAKED BY ModzTypicl"
- --TMGUICRED.TextColor3 = Color3.new(0, 0, 0)
- TMGUICRED.TextSize = 15
- CLOSE.Name = "CLOSE"
- CLOSE.Parent = TMGui
- CLOSE.BackgroundColor3 = Color3.new(0, 0, 0)
- CLOSE.BackgroundTransparency = 0.89999997615814
- CLOSE.Position = UDim2.new(0, 243, 0, 0)
- CLOSE.Size = UDim2.new(0, 21, 0, 17)
- CLOSE.Font = Enum.Font.SourceSans
- CLOSE.FontSize = Enum.FontSize.Size24
- CLOSE.Text = "X"
- CLOSE.TextColor3 = Color3.new(1, 0, 0)
- CLOSE.TextSize = 20
- PlayersTab.Name = "PlayersTab"
- PlayersTab.Parent = TMGui
- PlayersTab.Active = true
- PlayersTab.BackgroundColor3 = Color3.fromRGB(204, 20, 189) -- Change Color Here
- PlayersTab.Position = UDim2.new(0, 0, 0, 22)
- PlayersTab.Size = UDim2.new(0, 270, 0, 217)
- INFO.Name = "INFO"
- INFO.Parent = PlayersTab
- INFO.BackgroundColor3 = Color3.new(1, 1, 1)
- INFO.BorderColor3 = Color3.new(1, 1, 1)
- INFO.Position = UDim2.new(0, 87, 0, 196)
- INFO.Size = UDim2.new(0, 146, 0, 13)
- INFO.Font = Enum.Font.SourceSans
- INFO.FontSize = Enum.FontSize.Size14
- INFO.Text = "<-- Spam this heaps to crash."
- INFO.TextSize = 14
- INFO.Visible = false -- Hidden
- UnCloak.Name = "UnCloak"
- UnCloak.Parent = PlayersTab
- UnCloak.BackgroundColor3 = Color3.new(0,0,0)
- UnCloak.TextColor3 = Color3.new(1,1,1)
- UnCloak.Position = UDim2.new(0, 72, 0, 106)
- UnCloak.Size = UDim2.new(0, 60, 0, 21)
- UnCloak.Font = Enum.Font.SourceSans
- UnCloak.FontSize = Enum.FontSize.Size14
- UnCloak.Text = "UnCloak"
- UnCloak.TextSize = 14
- UnCloakAll.Name = "UnCloakAll"
- UnCloakAll.Parent = PlayersTab
- UnCloakAll.BackgroundColor3 = Color3.new(0,0,0)
- UnCloakAll.TextColor3 = Color3.new(1,1,1)
- UnCloakAll.Position = UDim2.new(0, 204, 0, 106)
- UnCloakAll.Size = UDim2.new(0, 60, 0, 21)
- UnCloakAll.Font = Enum.Font.SourceSans
- UnCloakAll.FontSize = Enum.FontSize.Size14
- UnCloakAll.Text = "UnCloakAll"
- UnCloakAll.TextSize = 14
- RRadios.Name = "RRadios"
- RRadios.Parent = PlayersTab
- RRadios.BackgroundColor3 = Color3.new(0, 0, 0)
- RRadios.TextColor3 = Color3.new(1,1,1)
- RRadios.Position = UDim2.new(0, 6, 0, 191)
- RRadios.Size = UDim2.new(1,-12, 0, 20)
- RRadios.Font = Enum.Font.SourceSans
- RRadios.FontSize = Enum.FontSize.Size14
- RRadios.Text = "Remove Everyones Radio Permanently"
- RRadios.TextSize = 14
- CrashS.Name = "CrashS"
- CrashS.Parent = PlayersTab
- CrashS.BackgroundColor3 = Color3.new(1, 1, 1)
- CrashS.Position = UDim2.new(0, 6, 0, 193)
- CrashS.Size = UDim2.new(0, 74, 0, 20)
- CrashS.Font = Enum.Font.SourceSans
- CrashS.FontSize = Enum.FontSize.Size14
- CrashS.Text = "Crash Server"
- CrashS.TextSize = 14
- CrashS.Visible = false -- Hidden
- God.Name = "God"
- God.Parent = PlayersTab
- God.BackgroundColor3 = Color3.new(1, 1, 1)
- God.Position = UDim2.new(0, 6, 0, 167)
- God.Size = UDim2.new(0, 45, 0, 21)
- God.Font = Enum.Font.SourceSans
- God.FontSize = Enum.FontSize.Size14
- God.Text = "God"
- God.TextSize = 14
- God.Visible = false -- Hidden
- RemoveAnti.Name = "RemoveAnti"
- RemoveAnti.Parent = PlayersTab
- RemoveAnti.BackgroundColor3 = Color3.new(1, 1, 1)
- RemoveAnti.Position = UDim2.new(0, 154, 0, 6)
- RemoveAnti.Size = UDim2.new(0, 104, 0, 19)
- RemoveAnti.Font = Enum.Font.SourceSans
- RemoveAnti.FontSize = Enum.FontSize.Size14
- RemoveAnti.Text = "Remove Anti-Cheat"
- RemoveAnti.TextSize = 14
- RemoveAnti.Visible = false -- Hidden
- STOPALL.Name = "STOPALL"
- STOPALL.Parent = PlayersTab
- STOPALL.BackgroundColor3 = Color3.new(3/4, 0, 0)
- STOPALL.TextColor3 = Color3.new(1,1,1)
- STOPALL.Position = UDim2.new(0, 58, 0, 77)
- STOPALL.Size = UDim2.new(0, 46, 0, 17)
- STOPALL.Font = Enum.Font.SourceSans
- STOPALL.FontSize = Enum.FontSize.Size14
- STOPALL.Text = "STOP ALL"
- STOPALL.TextSize = 14
- STOP.Name = "STOP"
- STOP.Parent = PlayersTab
- STOP.BackgroundColor3 = Color3.new(3/4, 0, 0)
- STOP.TextColor3 = Color3.new(1,1,1)
- STOP.Position = UDim2.new(0, 67, 0, 54)
- STOP.Size = UDim2.new(0, 37, 0, 17)
- STOP.Font = Enum.Font.SourceSans
- STOP.FontSize = Enum.FontSize.Size14
- STOP.Text = "STOP"
- STOP.TextSize = 14
- DetectRoles.Name = "DetectRoles"
- DetectRoles.Parent = PlayersTab
- DetectRoles.BackgroundColor3 = Color3.new(0, 0, 0)
- DetectRoles.TextColor3 = Color3.new(1,1,1)
- DetectRoles.Position = UDim2.new(1,-135, 0, 6)
- DetectRoles.Size = UDim2.new(0, 129, 0, 20)
- DetectRoles.Font = Enum.Font.SourceSans
- DetectRoles.FontSize = Enum.FontSize.Size14
- DetectRoles.Text = "Detect Roles"
- DetectRoles.TextSize = 14
- PlayerName.Name = "PlayerName"
- PlayerName.Parent = PlayersTab
- PlayerName.BackgroundColor3 = Color3.new(0, 0, 0)
- PlayerName.TextColor3 = Color3.new(1,1,1)
- PlayerName.Position = UDim2.new(0, 6, 0, 30)
- PlayerName.Size = UDim2.new(0, 98, 0, 18)
- PlayerName.Font = Enum.Font.SourceSans
- PlayerName.FontSize = Enum.FontSize.Size14
- PlayerName.Text = "PLAYER NAME"
- PlayerName.TextSize = 14
- PLAYALL.Name = "PLAYALL"
- PLAYALL.Parent = PlayersTab
- PLAYALL.BackgroundColor3 = Color3.new(0, 1/2, 0)
- PLAYALL.TextColor3 = Color3.new(1,1,1)
- PLAYALL.Position = UDim2.new(0, 6, 0, 77)
- PLAYALL.Size = UDim2.new(0, 46, 0, 17)
- PLAYALL.Font = Enum.Font.SourceSans
- PLAYALL.FontSize = Enum.FontSize.Size14
- PLAYALL.Text = "PLAY ALL"
- PLAYALL.TextSize = 14
- PLAY.Name = "PLAY"
- PLAY.Parent = PlayersTab
- PLAY.BackgroundColor3 = Color3.new(0, 1/2, 0)
- PLAY.TextColor3 = Color3.new(1,1,1)
- PLAY.Position = UDim2.new(0, 7, 0, 54)
- PLAY.Size = UDim2.new(0, 37, 0, 17)
- PLAY.Font = Enum.Font.SourceSans
- PLAY.FontSize = Enum.FontSize.Size14
- PLAY.Text = "PLAY"
- PLAY.TextSize = 14
- MUSICid.Name = "MUSICid"
- MUSICid.Parent = PlayersTab
- MUSICid.BackgroundColor3 = Color3.new(0, 0, 0)
- MUSICid.TextColor3 = Color3.new(1,1,1)
- MUSICid.Position = UDim2.new(0, 6, 0, 6)
- MUSICid.Size = UDim2.new(0, 98, 0, 18)
- MUSICid.Font = Enum.Font.SourceSans
- MUSICid.FontSize = Enum.FontSize.Size14
- MUSICid.Text = "MUSIC ID"
- MUSICid.TextSize = 14
- KillOthers.Name = "KillOthers"
- KillOthers.Parent = PlayersTab
- KillOthers.BackgroundColor3 = Color3.new(1, 1, 1)
- KillOthers.Position = UDim2.new(0, 125, 0, 142)
- KillOthers.Size = UDim2.new(0, 54, 0, 20)
- KillOthers.Font = Enum.Font.SourceSans
- KillOthers.FontSize = Enum.FontSize.Size14
- KillOthers.Text = "Kill Others"
- KillOthers.TextSize = 14
- KillOthers.Visible = false -- Hidden
- KillAll.Name = "KillAll"
- KillAll.Parent = PlayersTab
- KillAll.BackgroundColor3 = Color3.new(0,0,0)
- KillAll.TextColor3 = Color3.new(1,1,1)
- KillAll.Position = UDim2.new(0, 72, 0, 133)
- KillAll.Size = UDim2.new(0, 60, 0, 20)
- KillAll.Font = Enum.Font.SourceSans
- KillAll.FontSize = Enum.FontSize.Size14
- KillAll.Text = "Kill All"
- KillAll.TextSize = 14
- Kill.Name = "Kill"
- Kill.Parent = PlayersTab
- Kill.BackgroundColor3 = Color3.new(0,0,0)
- Kill.TextColor3 = Color3.new(1,1,1)
- Kill.Position = UDim2.new(0, 6, 0, 133)
- Kill.Size = UDim2.new(0, 60, 0, 20)
- Kill.Font = Enum.Font.SourceSans
- Kill.FontSize = Enum.FontSize.Size14
- Kill.Text = "Kill"
- Kill.TextSize = 14
- LoopKill.Name = "LoopKill"
- LoopKill.Parent = PlayersTab
- LoopKill.BackgroundColor3 = Color3.new(0,0,0)
- LoopKill.TextColor3 = Color3.new(1,1,1)
- LoopKill.Position = UDim2.new(0, 138 --[[184]], 0, 133)
- LoopKill.Size = UDim2.new(0, 126, 0, 20)
- LoopKill.Font = Enum.Font.SourceSans
- LoopKill.FontSize = Enum.FontSize.Size14
- LoopKill.Text = "LoopKill"
- LoopKill.TextSize = 14
- ForceKevlar.Name = "ForceKevlar"
- ForceKevlar.Parent = PlayersTab
- ForceKevlar.BackgroundColor3 = Color3.new(1, 1, 1)
- ForceKevlar.Position = UDim2.new(0, 6, 0, 121)
- ForceKevlar.Size = UDim2.new(0, 126, 0, 16)
- ForceKevlar.Font = Enum.Font.SourceSans
- ForceKevlar.FontSize = Enum.FontSize.Size14
- ForceKevlar.Text = "Force Kevlar"
- ForceKevlar.TextSize = 14
- ForceKevlar.Visible = false -- Hidden
- CloakAll.Name = "CloakAll"
- CloakAll.Parent = PlayersTab
- CloakAll.BackgroundColor3 = Color3.new(0,0,0)
- CloakAll.TextColor3 = Color3.new(1,1,1)
- CloakAll.Position = UDim2.new(0, 138, 0, 106)
- CloakAll.Size = UDim2.new(0, 60, 0, 21)
- CloakAll.Font = Enum.Font.SourceSans
- CloakAll.FontSize = Enum.FontSize.Size14
- CloakAll.Text = "CloakAll"
- CloakAll.TextSize = 14
- Cloak.Name = "Cloak"
- Cloak.Parent = PlayersTab
- Cloak.BackgroundColor3 = Color3.new(0,0,0)
- Cloak.TextColor3 = Color3.new(1,1,1)
- Cloak.Position = UDim2.new(0, 6, 0, 106)
- Cloak.Size = UDim2.new(0, 60, 0, 21)
- Cloak.Font = Enum.Font.SourceSans
- Cloak.FontSize = Enum.FontSize.Size14
- Cloak.Text = "Cloak"
- Cloak.TextSize = 14
- ToolName.Name = "ToolName"
- ToolName.Parent = PlayersTab
- ToolName.BackgroundColor3 = Color3.new(0,0,0)
- ToolName.TextColor3 = Color3.new(1,1,1)
- ToolName.Position = UDim2.new(1, -135, 0, 32)
- ToolName.Size = UDim2.new(0, 69, 0, 19)
- ToolName.Font = Enum.Font.SourceSans
- ToolName.FontSize = Enum.FontSize.Size14
- ToolName.Text = "Tool Name"
- ToolName.TextSize = 14
- SaveTool.Name = "SaveTool"
- SaveTool.Parent = PlayersTab
- SaveTool.BackgroundColor3 = Color3.new(0,0,0)
- SaveTool.TextColor3 = Color3.new(1,1,1)
- SaveTool.Position = UDim2.new(1,-60, 0, 32)
- SaveTool.Size = UDim2.new(0, 54, 0, 19)
- SaveTool.Font = Enum.Font.SourceSans
- SaveTool.FontSize = Enum.FontSize.Size14
- SaveTool.Text = "Save Tool"
- SaveTool.TextSize = 14
- StayL.Name = "StayL"
- StayL.Parent = PlayersTab
- StayL.BackgroundColor3 = Color3.new(0,0,0)
- StayL.TextColor3 = Color3.new(1,1,1)
- StayL.Position = UDim2.new(1, -145, 0, 165) --{1, -145},{0, 165}
- StayL.Size = UDim2.new(0, 139, 0, 20)
- StayL.Font = Enum.Font.SourceSans
- StayL.FontSize = Enum.FontSize.Size14
- StayL.Text = "Stay In Lobby Next Round"
- StayL.TextSize = 14
- Knife.Name = "Knife"
- Knife.Parent = PlayersTab
- Knife.BackgroundColor3 = Color3.new(0,0,0)
- Knife.TextColor3 = Color3.new(1,1,1)
- Knife.Position = UDim2.new(0, 6, 0, 165)
- Knife.Size = UDim2.new(0, 113, 0, 20)
- Knife.Font = Enum.Font.SourceSans
- Knife.FontSize = Enum.FontSize.Size14
- Knife.Text = "Knife"
- Knife.TextSize = 14
- OpenGui.MouseButton1Down:connect(function()
- CoreGui.TwistedMurdererGUI.Opening.Visible = false
- CoreGui.TwistedMurdererGUI.TMGui.Visible = true
- end)
- CLOSE.MouseButton1Down:connect(function()
- CoreGui.TwistedMurdererGUI.Opening.Visible = true
- CoreGui.TwistedMurdererGUI.TMGui.Visible = false
- end)
- PLAY.MouseButton1Down:connect(function()
- game.ReplicatedStorage.Event:FireServer("PlayRadio", game.Players[PlayerName.Text], MUSICid.Text)
- end)
- STOP.MouseButton1Down:connect(function()
- game.ReplicatedStorage.Event:FireServer("StopRadio", game.Players[PlayerName.Text])
- end)
- Cloak.MouseButton1Down:connect(function()
- game.ReplicatedStorage.Event:FireServer("Cloak", game.Workspace.Ignore.Players[PlayerName.Text])
- end)
- UnCloak.MouseButton1Down:connect(function()
- game.ReplicatedStorage.Event:FireServer("UnCloak", game.Workspace.Ignore.Players[PlayerName.Text])
- end)
- CloakAll.MouseButton1Down:connect(function()
- for i,v in pairs(game.Players:GetChildren()) do
- game.ReplicatedStorage.Event:FireServer("Cloak", game.Workspace.Ignore.Players[v.Name])
- end
- end)
- ForceKevlar.MouseButton1Down:connect(function()
- game.ReplicatedStorage.Event:FireServer("TPD", -100, game.Workspace.Ignore.Players[PlayerName.Text].Humanoid)
- end)
- PLAYALL.MouseButton1Down:connect(function()
- for i,v in pairs(game.Players:GetChildren()) do
- game.ReplicatedStorage.Event:FireServer("PlayRadio", v, MUSICid.Text)
- end
- end)
- STOPALL.MouseButton1Down:connect(function()
- for i,v in pairs(game.Players:GetChildren()) do
- game.ReplicatedStorage.Event:FireServer("StopRadio", v)
- end
- end)
- Kill.MouseButton1Down:connect(function()
- game.ReplicatedStorage.Event:FireServer("TPD", 20000, game.Workspace.Ignore.Players[PlayerName.Text].Humanoid)
- end)
- KillAll.MouseButton1Down:connect(function()
- for i,v in pairs(game.Players:GetChildren()) do
- game.ReplicatedStorage.Event:FireServer("TPD", 20000, game.Workspace.Ignore.Players[v.Name].Humanoid)
- end
- end)
- KillOthers.MouseButton1Down:connect(function()
- for i,v in pairs(game.Players:GetChildren()) do
- game.ReplicatedStorage.Event:FireServer("TPD", -20000, game.Workspace.Ignore.Players[PlayerName.Text].Humanoid)
- game.ReplicatedStorage.Event:FireServer("TPD", 20000, game.Workspace.Ignore.Players[v.Name].Humanoid)
- end
- end)
- SaveTool.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Backpack[ToolName.Text].Parent = game.Players.LocalPlayer.StarterGear
- end)
- UnCloakAll.MouseButton1Down:connect(function()
- for i,v in pairs(game.Players:GetChildren()) do
- game.ReplicatedStorage.Event:FireServer("UnCloak", game.Workspace.Ignore.Players[v.Name])
- end
- end)
- LoopKill.MouseButton1Down:connect(function()
- while true do
- wait(1.5)
- game.ReplicatedStorage.Event:FireServer("TPD", 20000, game.Workspace.Ignore.Players[PlayerName.Text].Humanoid)
- end
- end)
- DetectRoles.MouseButton1Down:connect(function()
- while wait(1) do
- for i,v in pairs(game.Players:GetChildren()) do
- if game.Players[v.Name].Character:FindFirstChild("Role") then
- local role = game.Players[v.Name].Character:FindFirstChild("Role")
- if role.Value == "Murderer" then
- game.CoreGui.RobloxGui.PlayerListContainer.ScrollList[v.Name].BGFrame.PlayerName.TextColor3 = Color3.new(1, 0, 0)
- elseif role.Value == "Sheriff" then
- game.CoreGui.RobloxGui.PlayerListContainer.ScrollList[v.Name].BGFrame.PlayerName.TextColor3 = Color3.new(1, 170/255, 0)
- elseif role.Value == "Innocent" then
- game.CoreGui.RobloxGui.PlayerListContainer.ScrollList[v.Name].BGFrame.PlayerName.TextColor3 = Color3.new(0, 1, 0)
- else
- game.CoreGui.RobloxGui.PlayerListContainer.ScrollList[v.Name].BGFrame.PlayerName.TextColor3 = Color3.new(1, 1, 1)
- end
- end
- end
- end
- end)
- RemoveAnti.MouseButton1Down:connect(function()
- antiKek={'AntiSpeedHack','AntiDataTheft','UI','NO FF','NO FF'}
- while wait() do
- local Player = game.Players.LocalPlayer
- local Gui = Player.PlayerGui
- for i,v in pairs(antiKek) do
- if Gui:FindFirstChild(v) then
- Gui:FindFirstChild(v):Remove()
- end
- end
- end
- end)
- CrashS.MouseButton1Down:connect(function()
- while true do
- wait()
- for i,v in pairs(game.Players:GetChildren()) do
- game.ReplicatedStorage.Event:FireServer("PlayRadio", v, 491150071)
- end
- end
- end)
- RRadios.MouseButton1Down:connect(function()
- while true do
- wait(1.5)
- for i,v in pairs(game.Players:GetChildren()) do
- game.ReplicatedStorage.Event:FireServer("StopRadio", v)
- end
- end
- end)
- God.MouseButton1Down:connect(function()
- game.ReplicatedStorage.Event:FireServer("TPD", -888888888899999, game.Workspace.Ignore.Players[PlayerName.Text].Humanoid)
- end)
- StayL.MouseButton1Down:connect(function()
- game.ReplicatedStorage.Event:FireServer("Equip", "None", "Perks")
- game.ReplicatedStorage.Event:FireServer("TPD", 99.9, game.Workspace.Ignore.Players[PlayerName.Text].Humanoid)
- end)
- Knife.MouseButton1Down:connect(function()
- do
- -- Hopefully this works as it should.
- local PERKY = "Quick Hands" -- CHANGE THIS NIGGA TO ANY PERK
- local ABIL = "Quickscoper" -- THIS TOO (TO ANY ABILITY)
- --EQUIP/UNEQUIP KNIFE/GUN A FEW TIMES FOR IT TO WORK
- --iF U GOT ANY PROBLEMS DM ME FAGGOT
- local Player = game.Players.LocalPlayer
- Player.Backpack:FindFirstChild("Client").Disabled = true
- local IS = game:GetService("UserInputService")
- local Camera = workspace.CurrentCamera
- local KT = Instance.new("Tool", Player.Backpack)
- KT.Name = "Knife"
- KT.RequiresHandle = false
- KT.CanBeDropped = false
- local GT = Instance.new("Tool", Player.Backpack)
- GT.Name = "Gun"
- GT.RequiresHandle = false
- GT.CanBeDropped = false
- local Spec = 0
- local WeaponType
- local Spectatable = {}
- local SpectatingPlayer
- local FPS = false
- local PlayerIgnore = workspace:WaitForChild("Ignore"):WaitForChild("Players")
- local runService = game:GetService("RunService")
- local RS = game:GetService("RunService").RenderStepped
- local Char = Player.Character
- local Rig = Instance.new("Model", Char)
- local Humanoid = Char:WaitForChild("Humanoid")
- local Primed = false
- if 0 >= Humanoid.Health then
- return
- end
- local Mouse = Player:GetMouse()
- Mouse.TargetFilter = workspace.CurrentCamera
- local Disabled = false
- if Camera:findFirstChild("FpsModel") then
- Camera:findFirstChild("FpsModel"):Destroy()
- end
- local LA, RA, Head, T = Char:WaitForChild("Left Arm"), Char:WaitForChild("Right Arm"), Char:WaitForChild("Head"), Char:WaitForChild("Torso")
- local FpsModel = Instance.new("Model", Camera)
- FpsModel.Name = "FpsModel"
- local FpsWeapon = Instance.new("Part")
- FpsWeapon.Parent = FpsModel
- FpsWeapon.CanCollide = false
- FpsWeapon.Transparency = 1
- FpsWeapon.Size = Vector3.new(1, 1, 1)
- FpsWeapon.Name = "WeaponFPS"
- local FpsLArm = Char:WaitForChild("Left Arm"):clone()
- FpsLArm.Parent = FpsModel
- FpsLArm.CanCollide = false
- FpsLArm.Transparency = 1
- local m = Instance.new("BlockMesh", FpsLArm)
- m.Scale = Vector3.new(1, 1, 1)
- local FpsRArm = Char:WaitForChild("Right Arm"):clone()
- FpsRArm.Parent = FpsModel
- FpsRArm.CanCollide = false
- FpsRArm.Transparency = 1
- local m = Instance.new("BlockMesh", FpsRArm)
- m.Scale = Vector3.new(1, 1.1, 1)
- spawn(function()
- wait(0.5)
- if Char:FindFirstChild("Body Colors") then
- FpsLArm.BrickColor = Char:FindFirstChild("Body Colors").LeftArmColor
- FpsRArm.BrickColor = Char:FindFirstChild("Body Colors").RightArmColor
- end
- end)
- local Modules = game.ReplicatedStorage:WaitForChild("Modules")
- local M = require(Modules:WaitForChild("AnimationCore"))
- local WC = require(Modules:WaitForChild("WeaponCore"))
- local AniDB = false
- local Selected = false
- function AniEquipKnife()
- if WeaponType == "Gun" or not Selected then
- return
- end
- 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)
- 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)
- wait(0.1)
- if WeaponType == "Gun" or not Selected then
- return
- end
- 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)
- 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)
- 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)
- end
- function AniChargeKnife()
- if WeaponType == "Gun" or not Selected then
- return
- end
- 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)
- 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)
- M.Animate(Char:findFirstChild("MotorWeapon", true), CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 1, true)
- end
- function AniChargeKnife2()
- if WeaponType == "Gun" or not Selected then
- return
- end
- 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)
- 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)
- 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)
- end
- function AniThrowKnife()
- if WeaponType == "Gun" or not Selected then
- return
- end
- 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)
- 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)
- 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)
- wait(0.1)
- 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)
- 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)
- 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)
- end
- function AniSlashKnife1()
- if WeaponType == "Gun" or not Selected then
- return
- end
- 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)
- 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)
- 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)
- wait(0.15)
- if WeaponType == "Gun" or not Selected then
- return
- end
- 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)
- 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)
- 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)
- wait(0.05)
- if WeaponType == "Gun" or not Selected then
- return
- end
- 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)
- 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)
- 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)
- end
- function AniSlashKnife2()
- if WeaponType == "Gun" or not Selected then
- return
- end
- 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)
- 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)
- 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)
- wait(0.25)
- if WeaponType == "Gun" or not Selected then
- return
- end
- 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)
- 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)
- 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)
- wait(0.05)
- if WeaponType == "Gun" or not Selected then
- return
- end
- 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)
- 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)
- 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)
- wait(0.25)
- if WeaponType == "Gun" or not Selected then
- return
- end
- 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)
- 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)
- end
- function AniSlashKnife3()
- if WeaponType == "Gun" or not Selected then
- return
- end
- 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)
- 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)
- 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)
- wait(0.2)
- if WeaponType == "Gun" or not Selected then
- return
- end
- 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)
- 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)
- 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)
- wait(0.05)
- if WeaponType == "Gun" or not Selected then
- return
- end
- 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)
- 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)
- 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)
- wait(0.25)
- if WeaponType == "Gun" or not Selected then
- return
- end
- 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)
- 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)
- end
- function AniSlashKnife4()
- if WeaponType == "Gun" or not Selected then
- return
- end
- 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)
- 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)
- 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)
- wait(0.15)
- if WeaponType == "Gun" or not Selected then
- return
- end
- 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)
- 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)
- 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)
- wait(0.05)
- if WeaponType == "Gun" or not Selected then
- return
- end
- 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)
- 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)
- 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)
- end
- function AniEquipGun()
- if WeaponType == "Knife" or not Selected then
- return
- end
- 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)
- wait(0.1)
- if WeaponType == "Knife" or not Selected then
- return
- end
- 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)
- 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)
- 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)
- end
- function AniShootGun()
- if WeaponType == "Knife" or not Selected then
- return
- end
- 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)
- 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)
- 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)
- wait(0.06)
- if WeaponType == "Knife" or not Selected then
- return
- end
- 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)
- 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)
- 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)
- wait(0.15)
- if WeaponType == "Knife" or not Selected then
- return
- end
- end
- function AniReloadGun()
- if WeaponType == "Knife" or not Selected then
- return
- end
- 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)
- wait(0.55)
- if WeaponType == "Knife" or not Selected then
- return
- end
- 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)
- 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)
- 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)
- wait(0.4)
- if WeaponType == "Knife" or not Selected then
- return
- end
- 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)
- 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)
- 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)
- wait(0.35)
- if WeaponType == "Knife" or not Selected then
- return
- end
- 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)
- 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)
- 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)
- wait(0.25)
- if WeaponType == "Knife" then
- return
- end
- 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)
- 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)
- 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)
- end
- local FpsPart = Instance.new("Part")
- FpsPart.Transparency = 1
- FpsPart.Anchored = true
- FpsPart.Parent = FpsModel
- FpsPart.CanCollide = false
- FpsPart.FormFactor = "Custom"
- FpsPart.Size = Vector3.new(0.2, 0.2, 0.2)
- local FpsWeaponWeld = Instance.new("Motor")
- FpsWeaponWeld.Parent = FpsPart
- FpsWeaponWeld.Part1 = FpsWeapon
- FpsWeaponWeld.Part0 = FpsRArm
- FpsWeaponWeld.C1 = CFrame.new(0, 2, 1)
- FpsWeaponWeld.C0 = CFrame.new()
- local FpsLArmWeld = Instance.new("Motor")
- FpsLArmWeld.Parent = FpsLArm
- FpsLArmWeld.Part1 = FpsLArm
- FpsLArmWeld.Part0 = FpsPart
- FpsLArmWeld.C1 = CFrame.new(0.5, 0, 0)
- FpsLArmWeld.C0 = CFrame.new(-1, 0.75, 0)
- local FpsRArmWeld = Instance.new("Motor")
- FpsRArmWeld.Parent = FpsRArm
- FpsRArmWeld.Part1 = FpsRArm
- FpsRArmWeld.Part0 = FpsPart
- FpsRArmWeld.C1 = CFrame.new(-0.5, 0, 0)
- FpsRArmWeld.C0 = CFrame.new(1, 0.75, 0)
- local energy = 100
- local maxEnergy = 100
- local move_anim_speed = 5
- local last_p = Vector3.new()
- local move_amm = 0
- local walking = false
- local running = false
- local walkingStop = true
- local aniRun = false
- local aniLegs = false
- local idle = true
- local WalkSpeed = Humanoid.WalkSpeed
- Humanoid.WalkSpeed = WalkSpeed
- local DB = false
- local Charging = false
- local Speed = 0.35
- local shake_freq = 5
- local CanMelee = true
- local CanReload = true
- local Shooting = false
- local Aimed = false
- local Zoomed = false
- local RunSpeed = 20
- Camera.CameraType = "Custom"
- Camera.CameraSubject = Humanoid
- coroutine.resume(coroutine.create(function()
- while FpsModel ~= nil do
- local delta = wait()
- local cur_p = T.Position
- if (cur_p - last_p).magnitude >= 0.1 then
- move_amm = math.min(1, move_amm + delta * move_anim_speed)
- walking = true
- if running then
- if energy <= 0 then
- aniRun = false
- running = false
- shake_freq = 5
- Humanoid.WalkSpeed = WalkSpeed
- end
- elseif energy < maxEnergy then
- energy = energy + 0.2
- end
- else
- move_amm = math.max(0, move_amm - delta * move_anim_speed)
- walking = false
- if energy < maxEnergy then
- energy = energy + 0.2
- end
- end
- last_p = cur_p
- end
- end))
- local RightArmWeld, LeftArmWeld, WeaponWeld
- local Cloaked = false
- local UserInputService = game:GetService("UserInputService")
- local Mobile = UserInputService.TouchEnabled
- if UserInputService.KeyboardEnabled then
- Mobile = false
- end
- runService.RenderStepped:connect(function()
- local last_time = tick()
- local delta = tick() - last_time
- last_time = tick()
- local breathe_amp = 1.5
- local breathe_freq = 1
- local breathe = math.sin(math.rad(tick() * 90 * breathe_freq)) * breathe_amp
- local shake_amp = {0.075, 0.075}
- 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)
- if (Head.Position - Camera.CoordinateFrame.p).magnitude < 2.5 and Selected then
- if Cloaked then
- FpsLArm.Transparency = 0.5
- FpsRArm.Transparency = 0.5
- FpsWeapon.Transparency = 0.5
- else
- FpsLArm.Transparency = 0
- FpsRArm.Transparency = 0
- FpsWeapon.Transparency = 0
- end
- FPS = true
- else
- FpsLArm.Transparency = 1
- FpsRArm.Transparency = 1
- FpsWeapon.Transparency = 1
- FPS = false
- end
- if FpsModel ~= nil and Char ~= nil and 0 < Humanoid.Health then
- if WeaponType == "Gun" then
- 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
- elseif WeaponType == "Knife" then
- 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
- end
- if RightArmWeld ~= nil and LeftArmWeld ~= nil and WeaponWeld ~= nil then
- if WeaponType == "Gun" then
- FpsLArmWeld.C1 = LeftArmWeld.C1 * CFrame.new(0.15, 0.09, -0.43) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5))
- FpsRArmWeld.C1 = RightArmWeld.C1
- FpsWeaponWeld.C1 = WeaponWeld.C1 * CFrame.new(0.1, -0.2, 0.25)
- elseif WeaponType == "Knife" then
- FpsLArmWeld.C1 = LeftArmWeld.C1 * CFrame.new(0.15, 0.09, -0.43)
- FpsRArmWeld.C1 = RightArmWeld.C1 * CFrame.Angles(math.rad(0), math.rad(25), math.rad(0))
- FpsWeaponWeld.C1 = WeaponWeld.C1 * CFrame.new(0, 0.15, 0.25)
- end
- end
- end
- end)
- local debouncetime = 1
- local lastjump = time()
- local WeaponMesh
- local used = false
- local Perk = PERKY
- Humanoid.Changed:connect(function(prop)
- if Perk == "Kevlar" and (Humanoid.Health == 98 or Humanoid.Health == 1398) and not used then
- Player.PlayerGui.Sounds.KevlarHurt:Play()
- used = true
- end
- end)
- local GunSkin = "http://www.roblox.com/asset/?id=79401500"
- local KnifeSkin = "http://www.roblox.com/asset/?id=130252453"
- local Charged = false
- local MouseDown = false
- local DB2 = false
- local Ability = ABIL
- local Gamemode
- local CanCloak = true
- local Knife = false
- local Gun = false
- local ThrowGui = Player.PlayerGui.GUI.ThrowKnife
- local CloakGui = Player.PlayerGui.GUI.CloakGui
- local Crosshair = Player.PlayerGui.GUI.MobileCrosshair
- local Gui = Player.PlayerGui.GUI
- game.Players.LocalPlayer.Backpack.ChildAdded:connect(function(c)
- if c.Name == "Gun" and not Gun then
- spawn(function()
- Gamemode = game.ReplicatedStorage.RemoteFunction:InvokeServer("Gamemode")
- Perk = game.ReplicatedStorage.RemoteFunction:InvokeServer("Perk")
- end)
- local Skin = game.ReplicatedStorage.RemoteFunction:InvokeServer("Skin", "Gun")
- if Skin ~= nil then
- GunSkin = Skin
- end
- if game.Players.LocalPlayer.Backpack:findFirstChild("Gun") ~= nil then
- Gun = true
- if Mobile then
- else
- GT.Activated:connect(function()
- if Gamemode == "One In The Chamber" and Char.Bullet.Value == false then
- return
- end
- if not DB then
- DB = true
- WC.ShootGun(Char, Char, Mouse.Hit.p, FPS, FpsWeapon)
- AniShootGun()
- wait(0.21)
- AniReloadGun()
- if not Selected then
- wait(1.55)
- end
- wait(0.5)
- DB = false
- end
- end)
- end
- GT.Equipped:connect(function()
- Selected = true
- WeaponType = "Gun"
- Mouse.Icon = "http://www.roblox.com/asset/?id=117431027"
- WC.EquipGun(Char, Char, GunSkin)
- RightArmWeld = Char:WaitForChild("MotorRight Arm")
- LeftArmWeld = Char:WaitForChild("MotorLeft Arm")
- WeaponWeld = Char:WaitForChild("MotorWeapon")
- WeaponMesh = Char:WaitForChild("Weapon"):findFirstChild("Mesh"):clone()
- WeaponMesh.Parent = FpsWeapon
- AniEquipGun()
- end)
- GT.Unequipped:connect(function()
- Selected = false
- Mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
- if WeaponMesh ~= nil then
- WeaponMesh:Destroy()
- end
- WeaponType = nil
- WC.Unequip(Char, Char)
- end)
- end
- elseif c.Name == "Knife" and not Knife then
- spawn(function()
- Ability = ABIL
- Perk = PERKY
- if Ability == nil then
- Ability = ABIL
- end
- Gamemode = game.ReplicatedStorage.RemoteFunction:InvokeServer("Gamemode")
- end)
- local Skin = game.ReplicatedStorage.RemoteFunction:InvokeServer("Skin", "Knife")
- if Skin ~= nil then
- KnifeSkin = Skin
- end
- if game.Players.LocalPlayer.Backpack:findFirstChild("Knife") ~= nil then
- Knife = true
- KT.Activated:connect(function()
- MouseDown = true
- spawn(function()
- if Cloaked then
- WC.UnCloak(Char, Char)
- Cloaked = false
- end
- end)
- if Gamemode == "Infected" or Gamemode == "One In The Chamber" then
- return
- end
- if not DB2 and not DB then
- DB2 = true
- spawn(function()
- wait(0.35)
- if MouseDown and not DB then
- DB2 = true
- if Perk ~= "Quick Hands" then
- AniChargeKnife()
- wait(1)
- else
- AniChargeKnife2()
- wait(0.7)
- end
- if MouseDown and not DB then
- Charged = true
- end
- wait(0.5)
- DB2 = false
- else
- DB2 = false
- end
- end)
- end
- end)
- KT.Deactivated:connect(function()
- MouseDown = false
- if Charged then
- DB = true
- DB2 = true
- Charged = false
- spawn(function()
- WC.ThrowKnife(Char, Char, Mouse.Hit.p, Ability)
- end)
- AniThrowKnife()
- wait(0.3)
- AniEquipKnife()
- DB = false
- DB2 = false
- elseif not DB then
- DB = true
- do
- local Ran = math.random(1, 3)
- spawn(function()
- WC.StabKnife(Char, Char, Ran, Ability)
- end)
- if Ran == 1 then
- AniSlashKnife1()
- elseif Ran == 2 then
- AniSlashKnife2()
- elseif Ran == 3 then
- AniSlashKnife3()
- elseif Ran == 4 then
- AniSlashKnife4()
- end
- wait(0.25)
- DB = false
- end
- end
- end)
- KT.Equipped:connect(function()
- Selected = true
- WeaponType = "Knife"
- Mouse.Icon = "http://www.roblox.com/asset/?id=117431027"
- WC.EquipKnife(Char, Char, KnifeSkin)
- RightArmWeld = Char:WaitForChild("MotorRight Arm")
- LeftArmWeld = Char:WaitForChild("MotorLeft Arm")
- WeaponWeld = Char:WaitForChild("MotorWeapon")
- WeaponMesh = Char:WaitForChild("Weapon"):findFirstChild("Mesh"):clone()
- WeaponMesh.Parent = FpsWeapon
- AniEquipKnife()
- if Char then
- if workspace.GameInProgress.Mode.Value ~= "Infected" then
- Char.Humanoid.WalkSpeed = 20
- if workspace.GameInProgress.Mode.Value == "Cold Killer" then
- Char.Humanoid.WalkSpeed = 20
- elseif Perk == "Speedy Gonzales" then
- Char.Humanoid.WalkSpeed = 25
- else
- Char.Humanoid.WalkSpeed = 20
- end
- else
- Char.Humanoid.WalkSpeed = 13
- end
- end
- end)
- KT.Unequipped:connect(function()
- if Mobile then
- ThrowGui.Visible = false
- if Perk == "Shadow Cloak" then
- CloakGui.Visible = false
- end
- end
- Charged = false
- MouseDown = false
- Selected = false
- Mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
- if WeaponMesh ~= nil then
- WeaponMesh:Destroy()
- end
- WeaponType = nil
- WC.Unequip(Char, Char)
- if workspace.GameInProgress.Mode.Value ~= "Infected" then
- Char.Humanoid.WalkSpeed = 16
- else
- Char.Humanoid.WalkSpeed = 13
- end
- if Cloaked then
- WC.UnCloak(Char, Char)
- Cloaked = false
- end
- end)
- end
- end
- end)
- local DB3 = false
- IS.InputBegan:connect(function(input, chatting)
- 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
- if Gamemode == "Infected" or Gamemode == "One In The Chamber" then
- return
- end
- CanCloak = false
- WC.Cloak(Char, Char)
- Cloaked = true
- wait(10)
- if Cloaked then
- WC.UnCloak(Char, Char)
- Cloaked = false
- end
- wait(15)
- CanCloak = true
- end
- if input.UserInputType == Enum.UserInputType.Keyboard and input.UserInputState == Enum.UserInputState.Begin and not chatting and Selected then
- if input.KeyCode == Enum.KeyCode.E and WeaponType == "Knife" and not DB3 then
- if Gamemode == "Infected" or Gamemode == "One In The Chamber" then
- return
- end
- DB3 = true
- spawn(function()
- if Cloaked then
- WC.UnCloak(Char, Char)
- Cloaked = false
- end
- end)
- if not DB2 and not DB then
- DB2 = true
- if not DB then
- DB2 = true
- DB = true
- if Perk ~= "Quick Hands" then
- AniChargeKnife()
- wait(1)
- else
- AniChargeKnife2()
- wait(0.7)
- end
- if not Selected or WeaponType ~= "Knife" then
- DB2 = false
- DB = false
- return
- end
- spawn(function()
- WC.ThrowKnife(Char, Char, Mouse.Hit.p, Ability)
- end)
- AniThrowKnife()
- wait(0.3)
- AniEquipKnife()
- DB = false
- DB2 = false
- else
- DB2 = false
- end
- end
- wait(0.25)
- DB3 = false
- elseif input.KeyCode == Enum.KeyCode.Q and WeaponType == "Knife" and CanCloak and Perk == "Shadow Cloak" then
- if Gamemode == "Infected" or Gamemode == "One In The Chamber" then
- return
- end
- CanCloak = false
- WC.Cloak(Char, Char)
- Cloaked = true
- wait(10)
- if Cloaked then
- WC.UnCloak(Char, Char)
- Cloaked = false
- end
- wait(15)
- CanCloak = true
- end
- end
- end)
- game.Players.ChildAdded:connect(function(c)
- wait(3)
- repeat
- wait()
- until not DB and not DB2 and not MouseDown
- if WeaponType == "Gun" then
- WC.EquipGun(Char, Char, GunSkin)
- AniEquipGun()
- elseif WeaponType == "Knife" then
- WC.EquipKnife(Char, Char, KnifeSkin)
- AniEquipKnife()
- end
- end)
- local Modules = game.ReplicatedStorage:WaitForChild("Modules")
- local M = require(Modules:WaitForChild("AnimationCore"))
- local WC = require(Modules:WaitForChild("WeaponCore"))
- local Mouse = game.Players.LocalPlayer:GetMouse()
- local Char = game.Players.LocalPlayer.Character
- Mouse.Button1Down:Connect(function()
- WC.ThrowKnife(Char, Char, Mouse.Hit.p, "Quickscoper")
- end)
- end
- end)
- end)
- CloseGames.Name = "CloseGames"
- CloseGames.Parent = GamesFrame
- CloseGames.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
- CloseGames.Position = UDim2.new(0.119203985, 0, 0.722846329, 0)
- CloseGames.Size = UDim2.new(0, 214, 0, 57)
- CloseGames.Font = Enum.Font.Cartoon
- CloseGames.Text = "Close"
- CloseGames.TextColor3 = Color3.new(0.756863, 0.756863, 0.756863)
- CloseGames.TextScaled = true
- CloseGames.TextSize = 14
- CloseGames.TextWrapped = true
- CloseGames.MouseButton1Click:connect(function()
- GamesFrame.Visible = false
- end)
- -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement