Last active
October 8, 2021 17:16
-
-
Save hapen-music/351bc246da16ed136b52ff2b9a13cba8 to your computer and use it in GitHub Desktop.
prison life commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local CmdGui = Instance.new("ScreenGui") | |
local Background = Instance.new("Frame") | |
local CmdName = Instance.new("TextLabel") | |
local FindCmd = Instance.new("TextBox") | |
local CmdHandler = Instance.new("ScrollingFrame") | |
local CmdText = Instance.new("TextButton") | |
local UIListLayout = Instance.new("UIListLayout") | |
local Background2 = Instance.new("Frame") | |
local Label = Instance.new("TextLabel") | |
local Execute = Instance.new("TextBox") | |
local Minimum = Instance.new("TextButton") | |
local Close = Instance.new("TextButton") | |
local Background3 = Instance.new("Frame") | |
local Topbar = Instance.new("TextLabel") | |
local CmdTitle = Instance.new("TextLabel") | |
local Background4 = Instance.new("Frame") | |
local Notify6 = Instance.new("TextLabel") | |
local Notify5 = Instance.new("TextLabel") | |
local Notify4 = Instance.new("TextLabel") | |
local Notify3 = Instance.new("TextLabel") | |
local Notify2 = Instance.new("TextLabel") | |
local Notify1 = Instance.new("TextLabel") | |
local CloseBar = Instance.new("TextButton") | |
local TransparencyBar = Instance.new("TextButton") | |
local Prefix = "!" | |
CmdGui.Name = "CmdGui" | |
CmdGui.Parent = game:GetService("CoreGui") | |
CmdGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling | |
Background.Name = "Background" | |
Background.Parent = CmdGui | |
Background.BackgroundColor3 = Color3.fromRGB(25, 25, 25) | |
Background.BorderSizePixel = 0 | |
Background.Position = UDim2.new(0.368556708, 0, 0.11490047, 0) | |
Background.Size = UDim2.new(0, 350, 0, 350) | |
Background.Active = true | |
Background.Draggable = true | |
CmdName.Name = "CmdName" | |
CmdName.Parent = Background | |
CmdName.BackgroundColor3 = Color3.fromRGB(255, 0, 0) | |
CmdName.BorderSizePixel = 0 | |
CmdName.Size = UDim2.new(0, 350, 0, 25) | |
CmdName.Font = Enum.Font.GothamBlack | |
CmdName.Text = "Commands" | |
CmdName.TextColor3 = Color3.fromRGB(255, 255, 255) | |
CmdName.TextScaled = true | |
CmdName.TextSize = 14.000 | |
CmdName.TextWrapped = true | |
FindCmd.Name = "FindCmd" | |
FindCmd.Parent = Background | |
FindCmd.BackgroundColor3 = Color3.fromRGB(50, 50, 50) | |
FindCmd.BorderColor3 = Color3.fromRGB(0, 255, 0) | |
FindCmd.BorderSizePixel = 0 | |
FindCmd.Position = UDim2.new(0.0714285746, 0, 0.0702347234, 0) | |
FindCmd.Size = UDim2.new(0, 300, 0, 20) | |
FindCmd.Font = Enum.Font.SourceSans | |
FindCmd.PlaceholderColor3 = Color3.fromRGB(255, 255, 255) | |
FindCmd.PlaceholderText = "Search For Command" | |
FindCmd.Text = "" | |
FindCmd.TextColor3 = Color3.fromRGB(255, 255, 255) | |
FindCmd.TextSize = 14.000 | |
FindCmd.TextWrapped = true | |
CmdHandler.Name = "CmdHandler" | |
CmdHandler.Parent = Background | |
CmdHandler.Active = true | |
CmdHandler.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
CmdHandler.BackgroundTransparency = 1.000 | |
CmdHandler.BorderSizePixel = 0 | |
CmdHandler.AutomaticCanvasSize = "Y" | |
CmdHandler.Position = UDim2.new(0.0714285746, 0, 0.142857149, 0) | |
CmdHandler.Size = UDim2.new(0, 300, 0, 290) | |
CmdHandler.ScrollBarThickness = 2 | |
CmdText.Name = "CmdText" | |
CmdText.Parent = nil | |
CmdText.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
CmdText.BackgroundTransparency = 1.000 | |
CmdText.BorderSizePixel = 0 | |
CmdText.Size = UDim2.new(0, 300, 0, 25) | |
CmdText.Font = Enum.Font.SourceSans | |
CmdText.Text = "Text" | |
CmdText.TextColor3 = Color3.fromRGB(255, 255, 255) | |
CmdText.TextScaled = true | |
CmdText.TextSize = 14.000 | |
CmdText.TextWrapped = true | |
UIListLayout.Parent = CmdHandler | |
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder | |
Minimum.Name = "Minimum" | |
Minimum.Parent = Background | |
Minimum.BackgroundColor3 = Color3.fromRGB(0, 155, 155) | |
Minimum.BorderSizePixel = 0 | |
Minimum.Position = UDim2.new(0.842857122, 0, 0.00571428565, 0) | |
Minimum.Size = UDim2.new(0, 20, 0, 20) | |
Minimum.Font = Enum.Font.SourceSans | |
Minimum.Text = "" | |
Minimum.TextColor3 = Color3.fromRGB(255, 255, 255) | |
Minimum.TextSize = 14.000 | |
Minimum.MouseButton1Click:Connect(function() | |
if Background.BackgroundTransparency == 0 then | |
Background.BackgroundTransparency = 1 | |
Background.Size = UDim2.new(0, 350, 0, 25) | |
FindCmd.Visible = false | |
CmdHandler.Visible = false | |
elseif Background.BackgroundTransparency == 1 then | |
Background.BackgroundTransparency = 0 | |
Background.Size = UDim2.new(0, 350, 0, 350) | |
FindCmd.Visible = true | |
CmdHandler.Visible = true | |
end | |
end) | |
Close.Name = "Close" | |
Close.Parent = Background | |
Close.BackgroundColor3 = Color3.fromRGB(155, 0, 0) | |
Close.BorderSizePixel = 0 | |
Close.Position = UDim2.new(0.928571403, 0, 0.00571428565, 0) | |
Close.Size = UDim2.new(0, 20, 0, 20) | |
Close.Font = Enum.Font.SourceSans | |
Close.Text = "" | |
Close.TextColor3 = Color3.fromRGB(255, 255, 255) | |
Close.TextSize = 14.000 | |
Close.MouseButton1Click:Connect(function() | |
Background.Visible = false | |
end) | |
Background2.Name = "Background" | |
Background2.Parent = CmdGui | |
Background2.BackgroundColor3 = Color3.fromRGB(25, 25, 25) | |
Background2.BorderSizePixel = 0 | |
Background2.Position = UDim2.new(0.012, 0, 0.807, 0) | |
Background2.Size = UDim2.new(0, 250, 0, 80) | |
Background2.Active = true | |
Background2.Draggable = true | |
Label.Name = "Label" | |
Label.Parent = Background2 | |
Label.BackgroundColor3 = Color3.fromRGB(255, 0, 0) | |
Label.BorderSizePixel = 0 | |
Label.Position = UDim2.new(0, 0, 0, 0) | |
Label.Size = UDim2.new(0, 250, 0, 25) | |
Label.Font = Enum.Font.GothamBlack | |
Label.Text = "Execute Bar" | |
Label.TextColor3 = Color3.fromRGB(255, 255, 255) | |
Label.TextScaled = true | |
Label.TextSize = 14.000 | |
Label.TextWrapped = true | |
Execute.Name = "Execute" | |
Execute.Parent = Background2 | |
Execute.BackgroundColor3 = Color3.fromRGB(50, 50, 50) | |
Execute.BorderColor3 = Color3.fromRGB(0, 255, 0) | |
Execute.Position = UDim2.new(0.097, 0, 0.436, 0) | |
Execute.Size = UDim2.new(0, 200, 0, 30) | |
Execute.Font = Enum.Font.SourceSans | |
Execute.PlaceholderColor3 = Color3.fromRGB(255, 255, 255) | |
Execute.PlaceholderText = "Press "..Prefix.." To Enter" | |
Execute.Text = "" | |
Execute.TextColor3 = Color3.fromRGB(255, 255, 255) | |
Execute.TextSize = 16.000 | |
Execute.TextWrapped = true | |
Background3.Name = "Background3" | |
Background3.Parent = CmdGui | |
Background3.BackgroundColor3 = Color3.fromRGB(50, 50, 50) | |
Background3.BorderSizePixel = 0 | |
Background3.Position = UDim2.new(0.306701034, 0, 0.288421065, 0) | |
Background3.Size = UDim2.new(0, 200, 0, 100) | |
Background3.Active = true | |
Background3.Visible = false | |
Topbar.Name = "Topbar" | |
Topbar.Parent = Background3 | |
Topbar.BackgroundColor3 = Color3.fromRGB(25, 25, 25) | |
Topbar.BorderSizePixel = 0 | |
Topbar.Size = UDim2.new(0, 200, 0, 25) | |
Topbar.Font = Enum.Font.GothamBlack | |
Topbar.Text = "" | |
Topbar.TextColor3 = Color3.fromRGB(255, 255, 255) | |
Topbar.TextScaled = true | |
Topbar.TextSize = 14.000 | |
Topbar.TextWrapped = true | |
CmdTitle.Name = "CmdTitle" | |
CmdTitle.Parent = Background3 | |
CmdTitle.BackgroundColor3 = Color3.fromRGB(25, 25, 25) | |
CmdTitle.BackgroundTransparency = 1.000 | |
CmdTitle.BorderSizePixel = 0 | |
CmdTitle.Position = UDim2.new(0.0500000007, 0, 0.379999995, 0) | |
CmdTitle.Size = UDim2.new(0, 180, 0, 40) | |
CmdTitle.Font = Enum.Font.GothamBlack | |
CmdTitle.Text = "" | |
CmdTitle.TextColor3 = Color3.fromRGB(255, 255, 255) | |
CmdTitle.TextSize = 14.000 | |
CmdTitle.TextWrapped = true | |
Background4.Name = "Background4" | |
Background4.Parent = CmdGui | |
Background4.BackgroundColor3 = Color3.fromRGB(25, 25, 25) | |
Background4.BorderSizePixel = 0 | |
Background4.Position = UDim2.new(0.0154639352, 0, 0.519107938, 0) | |
Background4.Size = UDim2.new(0, 250, 0, 119) | |
Background4.Active = true | |
Background4.Draggable = true | |
Notify6.Name = "Notify6" | |
Notify6.Parent = Background4 | |
Notify6.BackgroundColor3 = Color3.fromRGB(255, 0, 0) | |
Notify6.BackgroundTransparency = 1.000 | |
Notify6.BorderSizePixel = 0 | |
Notify6.Position = UDim2.new(0, 0, -0.00512820482, 0) | |
Notify6.Size = UDim2.new(0, 250, 0, 20) | |
Notify6.Font = Enum.Font.GothamBlack | |
Notify6.Text = "" | |
Notify6.TextColor3 = Color3.fromRGB(255, 255, 255) | |
Notify6.TextScaled = true | |
Notify6.TextSize = 14.000 | |
Notify6.TextWrapped = true | |
Notify5.Name = "Notify5" | |
Notify5.Parent = Background4 | |
Notify5.BackgroundColor3 = Color3.fromRGB(255, 0, 0) | |
Notify5.BackgroundTransparency = 1.000 | |
Notify5.BorderSizePixel = 0 | |
Notify5.Position = UDim2.new(0, 0, 0.162939027, 0) | |
Notify5.Size = UDim2.new(0, 250, 0, 20) | |
Notify5.Font = Enum.Font.GothamBlack | |
Notify5.Text = "" | |
Notify5.TextColor3 = Color3.fromRGB(255, 255, 255) | |
Notify5.TextScaled = true | |
Notify5.TextSize = 14.000 | |
Notify5.TextWrapped = true | |
Notify4.Name = "Notify4" | |
Notify4.Parent = Background4 | |
Notify4.BackgroundColor3 = Color3.fromRGB(255, 0, 0) | |
Notify4.BackgroundTransparency = 1.000 | |
Notify4.BorderSizePixel = 0 | |
Notify4.Position = UDim2.new(0, 0, 0.331006259, 0) | |
Notify4.Size = UDim2.new(0, 250, 0, 20) | |
Notify4.Font = Enum.Font.GothamBlack | |
Notify4.Text = "" | |
Notify4.TextColor3 = Color3.fromRGB(255, 255, 255) | |
Notify4.TextScaled = true | |
Notify4.TextSize = 14.000 | |
Notify4.TextWrapped = true | |
Notify3.Name = "Notify3" | |
Notify3.Parent = Background4 | |
Notify3.BackgroundColor3 = Color3.fromRGB(255, 0, 0) | |
Notify3.BackgroundTransparency = 1.000 | |
Notify3.BorderSizePixel = 0 | |
Notify3.Position = UDim2.new(0, 0, 0.499073505, 0) | |
Notify3.Size = UDim2.new(0, 250, 0, 20) | |
Notify3.Font = Enum.Font.GothamBlack | |
Notify3.Text = "" | |
Notify3.TextColor3 = Color3.fromRGB(255, 255, 255) | |
Notify3.TextScaled = true | |
Notify3.TextSize = 14.000 | |
Notify3.TextWrapped = true | |
Notify2.Name = "Notify2" | |
Notify2.Parent = Background4 | |
Notify2.BackgroundColor3 = Color3.fromRGB(255, 0, 0) | |
Notify2.BackgroundTransparency = 1.000 | |
Notify2.BorderSizePixel = 0 | |
Notify2.Position = UDim2.new(0, 0, 0.667140722, 0) | |
Notify2.Size = UDim2.new(0, 250, 0, 20) | |
Notify2.Font = Enum.Font.GothamBlack | |
Notify2.Text = "" | |
Notify2.TextColor3 = Color3.fromRGB(255, 255, 255) | |
Notify2.TextScaled = true | |
Notify2.TextSize = 14.000 | |
Notify2.TextWrapped = true | |
Notify1.Name = "Notify1" | |
Notify1.Parent = Background4 | |
Notify1.BackgroundColor3 = Color3.fromRGB(255, 0, 0) | |
Notify1.BackgroundTransparency = 1.000 | |
Notify1.BorderSizePixel = 0 | |
Notify1.Position = UDim2.new(0, 0, 0.835207999, 0) | |
Notify1.Size = UDim2.new(0, 250, 0, 20) | |
Notify1.Font = Enum.Font.GothamBlack | |
Notify1.Text = "" | |
Notify1.TextColor3 = Color3.fromRGB(255, 255, 255) | |
Notify1.TextScaled = true | |
Notify1.TextSize = 14.000 | |
Notify1.TextWrapped = true | |
CloseBar.Name = "CloseBar" | |
CloseBar.Parent = Background4 | |
CloseBar.BackgroundColor3 = Color3.fromRGB(255, 0, 0) | |
CloseBar.BorderSizePixel = 0 | |
CloseBar.Position = UDim2.new(0.899999976, 0, -0.210084036, 0) | |
CloseBar.Size = UDim2.new(0, 25, 0, 25) | |
CloseBar.Font = Enum.Font.GothamBlack | |
CloseBar.Text = "X" | |
CloseBar.TextColor3 = Color3.fromRGB(255, 255, 255) | |
CloseBar.TextScaled = true | |
CloseBar.TextSize = 14.000 | |
CloseBar.TextWrapped = true | |
CloseBar.MouseButton1Click:Connect(function() | |
Background4.Visible = false | |
end) | |
TransparencyBar.Name = "TransparencyBar" | |
TransparencyBar.Parent = Background4 | |
TransparencyBar.BackgroundColor3 = Color3.fromRGB(0, 255, 255) | |
TransparencyBar.BorderSizePixel = 0 | |
TransparencyBar.Position = UDim2.new(0.799999952, 0, -0.210084036, 0) | |
TransparencyBar.Size = UDim2.new(0, 25, 0, 25) | |
TransparencyBar.Font = Enum.Font.GothamBlack | |
TransparencyBar.Text = "=" | |
TransparencyBar.TextColor3 = Color3.fromRGB(255, 255, 255) | |
TransparencyBar.TextScaled = true | |
TransparencyBar.TextSize = 14.000 | |
TransparencyBar.TextWrapped = true | |
TransparencyBar.MouseButton1Click:Connect(function() | |
if TransparencyBar.Text == "=" then | |
Background4.BackgroundTransparency = 0.750 | |
CloseBar.BackgroundTransparency = 0.750 | |
TransparencyBar.BackgroundTransparency = 0.750 | |
TransparencyBar.Text = "+" | |
else | |
Background4.BackgroundTransparency = 0.000 | |
CloseBar.BackgroundTransparency = 0.000 | |
TransparencyBar.BackgroundTransparency = 0.000 | |
TransparencyBar.Text = "=" | |
end | |
end) | |
local UseCommand = false | |
local Versions = "5.5" | |
local Cmd = {} | |
Cmd[#Cmd + 1] = {Text = "versions "..Versions,Title = "Script versions"} | |
Cmd[#Cmd + 1] = {Text = "script by LocalPlayer#7434",Title = "Script owner / My Discord"} | |
Cmd[#Cmd + 1] = {Text = "CXZ NAME_R",Title = "Script owner / My Youtube"} | |
Cmd[#Cmd + 1] = {Text = "Click?",Title = "Click on cmd to use quick cmd"} | |
Cmd[#Cmd + 1] = {Text = "*Note*",Title = "New updates: Reduce lag & faster bring and more commands"} | |
Cmd[#Cmd + 1] = {Text = "cmd / cmds",Title = "Show commands bar"} | |
Cmd[#Cmd + 1] = {Text = "rejoin / rj",Title = "Rejoin the game"} | |
Cmd[#Cmd + 1] = {Text = "cuffs [plr]",Title = "Gives player hand cuffs"} | |
Cmd[#Cmd + 1] = {Text = "keycard [plr]",Title = "Gives player key card"} | |
Cmd[#Cmd + 1] = {Text = "shield [plr]",Title = "Gives player shield"} | |
Cmd[#Cmd + 1] = {Text = "leave / leaveserver / quit",Title = "Leave the server"} | |
Cmd[#Cmd + 1] = {Text = "antitp / antibring",Title = "You are cannot be bring by another exploiter"} | |
Cmd[#Cmd + 1] = {Text = "unantitp / unantibring",Title = "You are can be bring by another exploiter"} | |
Cmd[#Cmd + 1] = {Text = "killsaura [plr]",Title = "Gives player a kill aura"} | |
Cmd[#Cmd + 1] = {Text = "nokillsaura [plr]",Title = "Remove a kill aura from player"} | |
Cmd[#Cmd + 1] = {Text = "addvirus / virus [plr]",Title = "Virus player"} | |
Cmd[#Cmd + 1] = {Text = "removevirus / revirus [plr]",Title = "Remove a virus from a player"} | |
Cmd[#Cmd + 1] = {Text = "How to use virus?",Title = "Whoever get virus if they get touched by any player the player that touch the virus playe will die"} | |
Cmd[#Cmd + 1] = {Text = "clearesp",Title = "Clears esp"} | |
Cmd[#Cmd + 1] = {Text = "esp [plr]",Title = "Esp player"} | |
Cmd[#Cmd + 1] = {Text = "unesp [plr]",Title = "Unesp player"} | |
Cmd[#Cmd + 1] = {Text = "espall",Title = "Esp all players"} | |
Cmd[#Cmd + 1] = {Text = "espinmate / espinmates",Title = "Esp all inmates"} | |
Cmd[#Cmd + 1] = {Text = "espguard / espguards",Title = "Esp all guards"} | |
Cmd[#Cmd + 1] = {Text = "espcrim / espcriminal / espcriminals",Title = "Esp all criminals"} | |
Cmd[#Cmd + 1] = {Text = "espneutral",Title = "Esp all neutral"} | |
Cmd[#Cmd + 1] = {Text = "unespall",Title = "Unesp all players"} | |
Cmd[#Cmd + 1] = {Text = "unespinmate / unespinmates",Title = "Unesp all inmates"} | |
Cmd[#Cmd + 1] = {Text = "unespguard / unespguards",Title = "Unesp all guards"} | |
Cmd[#Cmd + 1] = {Text = "unespcrim / unespcriminal / unespcriminals",Title = "Unesp all criminals"} | |
Cmd[#Cmd + 1] = {Text = "unespneutral",Title = "Unesp all neutral"} | |
Cmd[#Cmd + 1] = {Text = "admin / giveadmin [plr]",Title = "Give a commands to player"} | |
Cmd[#Cmd + 1] = {Text = "unadmin / removeadmin [plr]",Title = "Remove a commands from player"} | |
Cmd[#Cmd + 1] = {Text = "kill [plr]",Title = "Kill the player"} | |
Cmd[#Cmd + 1] = {Text = "killall",Title = "Kill all players"} | |
Cmd[#Cmd + 1] = {Text = "killguard / killsguard",Title = "Kill all guards"} | |
Cmd[#Cmd + 1] = {Text = "killinmate / killsinmate",Title = "Kill all inmates"} | |
Cmd[#Cmd + 1] = {Text = "killcriminal / killscriminal",Title = "Kill all criminals"} | |
Cmd[#Cmd + 1] = {Text = "tase [plr]",Title = "Tase the player"} | |
Cmd[#Cmd + 1] = {Text = "taseall",Title = "Tase all everyone"} | |
Cmd[#Cmd + 1] = {Text = "loopkill / loopkills [plr]",Title = "Loop kills player"} | |
Cmd[#Cmd + 1] = {Text = "unloopkill / unloopkills [plr]",Title = "Unloop kills player"} | |
Cmd[#Cmd + 1] = {Text = "loopkillall / loopkillsall",Title = "Loop kills all players"} | |
Cmd[#Cmd + 1] = {Text = "loopkillguard / loopkillsguard",Title = "Loop kills all guards"} | |
Cmd[#Cmd + 1] = {Text = "loopkillinmate / loopkillinmates",Title = "Loop kills all inmates"} | |
Cmd[#Cmd + 1] = {Text = "loopkillcriminal / loopkillcriminals",Title = "Loop kills all criminals"} | |
Cmd[#Cmd + 1] = {Text = "unloopkillall / unloopkillsall",Title = "Unloop kills all players"} | |
Cmd[#Cmd + 1] = {Text = "unloopkillguard / unloopkillsguard",Title = "Unloop kills all guards"} | |
Cmd[#Cmd + 1] = {Text = "unloopkillinmate / unloopkillinmates",Title = "Unloop kills all inmates"} | |
Cmd[#Cmd + 1] = {Text = "unloopkillcriminal / unloopkillcriminals",Title = "Unloop kills all criminals"} | |
Cmd[#Cmd + 1] = {Text = "inmate / inmates / prisoner / prisoners",Title = "Become inmate team"} | |
Cmd[#Cmd + 1] = {Text = "guard / guards / cop / polices",Title = "Become guard team"} | |
Cmd[#Cmd + 1] = {Text = "crim / criminals / criminal",Title = "Become criminal team"} | |
Cmd[#Cmd + 1] = {Text = "neutral / neutrals",Title = "Become neutral team"} | |
Cmd[#Cmd + 1] = {Text = "re / refresh",Title = "Respawn on old position"} | |
Cmd[#Cmd + 1] = {Text = "res / respawn",Title = "Respawn on respawn pads"} | |
Cmd[#Cmd + 1] = {Text = "goto / to [plr]",Title = "Teleports to the player"} | |
Cmd[#Cmd + 1] = {Text = "bring [plr]",Title = "Teleports player to you"} | |
Cmd[#Cmd + 1] = {Text = "fly [speed]",Title = "Activate fly"} | |
Cmd[#Cmd + 1] = {Text = "unfly",Title = "Unactivate fly"} | |
Cmd[#Cmd + 1] = {Text = "tp / teleport [plr] [plr2]",Title = "Teleports player to another player"} | |
Cmd[#Cmd + 1] = {Text = "arrest [plr] [time]",Title = "Arrest player that is a criminal"} | |
Cmd[#Cmd + 1] = {Text = "arrestall / arrestothers",Title = "Arrest all criminals"} | |
Cmd[#Cmd + 1] = {Text = "spamarrest / looparrest [plr]",Title = "Spam arrest player & lag player and server"} | |
Cmd[#Cmd + 1] = {Text = "unspamarrest / unlooparrest [plr]",Title = "Stop spam arrest player"} | |
Cmd[#Cmd + 1] = {Text = "clearloopkill / clearloopkills",Title = "clear all loop kills table"} | |
Cmd[#Cmd + 1] = {Text = "auto / autore / autorefresh",Title = "Auto respawn on old position when died"} | |
Cmd[#Cmd + 1] = {Text = "unauto / unautore / unautorefresh",Title = "Stop auto respawn on old position when died"} | |
Cmd[#Cmd + 1] = {Text = "killaura",Title = "Activate kill aura"} | |
Cmd[#Cmd + 1] = {Text = "nokillaura / unkillaura",Title = "Unactivate kill aura"} | |
Cmd[#Cmd + 1] = {Text = "antifling",Title = "Activate anti fling"} | |
Cmd[#Cmd + 1] = {Text = "unantifling",Title = "Unactivate anti fling"} | |
Cmd[#Cmd + 1] = {Text = "god",Title = "Become a god mode"} | |
Cmd[#Cmd + 1] = {Text = "ungod",Title = "Unbecome a god mode"} | |
Cmd[#Cmd + 1] = {Text = "view / spectate / watch [plr]",Title = "Spectates the player"} | |
Cmd[#Cmd + 1] = {Text = "unview / unspectate / stopwatch",Title = "Unspectates the player"} | |
Cmd[#Cmd + 1] = {Text = "fastpunch / speedpunchh",Title = "Activate fast punch"} | |
Cmd[#Cmd + 1] = {Text = "slowpunch / nofastpunch / normalspeedpunch",Title = "unactivate fast punch"} | |
Cmd[#Cmd + 1] = {Text = "superpunch / onepunch",Title = "Activate super punch"} | |
Cmd[#Cmd + 1] = {Text = "nosuperpunch / normalpunch",Title = "Unactivate super punch"} | |
Cmd[#Cmd + 1] = {Text = "prefix / newprefix / changeprefix [prefix text]",Title = "Changes prefix"} | |
Cmd[#Cmd + 1] = {Text = "red",Title = "Changes name tag color to red color"} | |
Cmd[#Cmd + 1] = {Text = "antilag / boostfps",Title = "Boost a little fps"} | |
Cmd[#Cmd + 1] = {Text = "unantilag",Title = "Stop boost the fps"} | |
Cmd[#Cmd + 1] = {Text = "noclip / noclips",Title = "Activate no clips"} | |
Cmd[#Cmd + 1] = {Text = "clip / clips",Title = "Unactivate no clips"} | |
Cmd[#Cmd + 1] = {Text = "orange",Title = "Changes name tag color to orange color"} | |
Cmd[#Cmd + 1] = {Text = "blue",Title = "Changes name tag color to blue color"} | |
Cmd[#Cmd + 1] = {Text = "black",Title = "Changes name tag color to black color"} | |
Cmd[#Cmd + 1] = {Text = "purple",Title = "Changes name tag color to purple color"} | |
Cmd[#Cmd + 1] = {Text = "brown",Title = "Changes name tag color to brown color"} | |
Cmd[#Cmd + 1] = {Text = "white",Title = "Changes name tag color to white color"} | |
Cmd[#Cmd + 1] = {Text = "pink",Title = "Changes name tag color to pink color"} | |
Cmd[#Cmd + 1] = {Text = "grey",Title = "Changes name tag color to grey color"} | |
Cmd[#Cmd + 1] = {Text = "green",Title = "Changes name tag color to green color"} | |
Cmd[#Cmd + 1] = {Text = "yellow",Title = "Changes name tag color to yellow color"} | |
Cmd[#Cmd + 1] = {Text = "getpos",Title = "Prints positions"} | |
Cmd[#Cmd + 1] = {Text = "unload / destroygui",Title = "Unload the scripts"} | |
Cmd[#Cmd + 1] = {Text = "reload / update",Title = "Reload the script to new version"} | |
Cmd[#Cmd + 1] = {Text = "How to open console?",Title = "To open console chat /console or press F9 or Fn + F9"} | |
Cmd[#Cmd + 1] = {Text = "lagserver / disconnect",Title = "Lag server and disconnect after 5 minutes of lagging"} | |
Cmd[#Cmd + 1] = {Text = "unlagserver / undisconnect",Title = "Stop lag server"} | |
Cmd[#Cmd + 1] = {Text = "speed / setspeed / walkspeed [count]",Title = "Changes walk speeds"} | |
Cmd[#Cmd + 1] = {Text = "jumppower / setjumppower [count]",Title = "Changes jump powers"} | |
Cmd[#Cmd + 1] = {Text = "hipheight / sethipheight [count]",Title = "Changes hip heights"} | |
Cmd[#Cmd + 1] = {Text = "gravity / setgravity [count]",Title = "Changes gravity"} | |
Cmd[#Cmd + 1] = {Text = "resetspeed / resetwalkspeed",Title = "Reset walk speeds"} | |
Cmd[#Cmd + 1] = {Text = "resetjumppower / rejumppower",Title = "Reset jump powers"} | |
Cmd[#Cmd + 1] = {Text = "resethipheight / rehipheight",Title = "Reset hip heights"} | |
Cmd[#Cmd + 1] = {Text = "resetgravity / regravity",Title = "Reset gravity"} | |
Cmd[#Cmd + 1] = {Text = "makecrim [plr]",Title = "Make the player become a criminal"} | |
Cmd[#Cmd + 1] = {Text = "makecrimall",Title = "Make all players become a criminals"} | |
Cmd[#Cmd + 1] = {Text = "loopbring [plr]",Title = "Loop bring player"} | |
Cmd[#Cmd + 1] = {Text = "unloopbring ",Title = "Unloop bring player"} | |
Cmd[#Cmd + 1] = {Text = "baseballbat / bat",Title = "Gets bat"} | |
Cmd[#Cmd + 1] = {Text = "superknife",Title = "Gets super knife"} | |
Cmd[#Cmd + 1] = {Text = "firespeed / setfirespeed [count]",Title = "Changes fire speed for the gun"} | |
Cmd[#Cmd + 1] = {Text = "autofire",Title = "Changes gun ststes to auto fire"} | |
Cmd[#Cmd + 1] = {Text = "semifire",Title = "Changes gun ststes to semi fire"} | |
Cmd[#Cmd + 1] = {Text = "burst / burstbullets / bullets [count]",Title = "Changes a bullets for the gun will come out when shot"} | |
Cmd[#Cmd + 1] = {Text = "reloadtime / reloadtimes [count]",Title = "Changes reload times for the gun"} | |
Cmd[#Cmd + 1] = {Text = "gun / guns / allguns",Title = "Obtains all guns"} | |
Cmd[#Cmd + 1] = {Text = "autogun / autoguns / autoallguns",Title = "Activate auto gun when respawned"} | |
Cmd[#Cmd + 1] = {Text = "unautogun / unautoguns / unautoallguns",Title = "Unactivate auto gun when respawned"} | |
Cmd[#Cmd + 1] = {Text = "taserbypass / antitaser / lock",Title = "Bypass taser when got tased"} | |
Cmd[#Cmd + 1] = {Text = "untaserbypass / notaserbypass / unlock",Title = "Unbypass taser when got tased"} | |
Cmd[#Cmd + 1] = {Text = "nodoors / deletedoors",Title = "Deletes all doors"} | |
Cmd[#Cmd + 1] = {Text = "restoredoors / doors",Title = "Restores all doors"} | |
Cmd[#Cmd + 1] = {Text = "nowalls / deletewalls - delete walls",Title = "Deletes all walls"} | |
Cmd[#Cmd + 1] = {Text = "walls / restorewalls - restore walls",Title = "Restore all walls"} | |
Cmd[#Cmd + 1] = {Text = "anticrash / antivest",Title = "Anti crash when someone spamming armor"} | |
Cmd[#Cmd + 1] = {Text = "unanticrash / unantivest",Title = "Unanti crash when someone spamming armor"} | |
Cmd[#Cmd + 1] = {Text = "antishield / noshield",Title = "Anti shield users"} | |
Cmd[#Cmd + 1] = {Text = "unantishield",Title = "Unanti shield users"} | |
Cmd[#Cmd + 1] = {Text = "gatetower",Title = "Teleports to the gate tower"} | |
Cmd[#Cmd + 1] = {Text = "tower",Title = "Teleports to the yard tower"} | |
Cmd[#Cmd + 1] = {Text = "sewer",Title = "Teleports to the sewer"} | |
Cmd[#Cmd + 1] = {Text = "yard",Title = "Teleports to yard"} | |
Cmd[#Cmd + 1] = {Text = "backnexus",Title = "Teleports to the back nexus"} | |
Cmd[#Cmd + 1] = {Text = "nexus",Title = "Teleports to the nexus"} | |
Cmd[#Cmd + 1] = {Text = "gate",Title = "Teleports to the gate"} | |
Cmd[#Cmd + 1] = {Text = "findowner / checkscriptowner",Title = "Find a script owner in the server"} | |
Cmd[#Cmd + 1] = {Text = "getplayer / getplayers",Title = "Get a players counts in the server"} | |
Cmd[#Cmd + 1] = {Text = "rapidfire",Title = "Activate rapid fire"} | |
Cmd[#Cmd + 1] = {Text = "autorapidfire",Title = "Auto activate rapid fire"} | |
Cmd[#Cmd + 1] = {Text = "unautorapidfire",Title = "Unauto activate rapid fire"} | |
Cmd[#Cmd + 1] = {Text = "armory",Title = "Teleports to the armory"} | |
Cmd[#Cmd + 1] = {Text = "cafe - teleport to cafe",Title = "Teleports to the cafeteria"} | |
Cmd[#Cmd + 1] = {Text = "crimbase / criminalbase",Title = "Teleports to the criminals base"} | |
Cmd[#Cmd + 1] = {Text = "lunchroom",Title = "Teleports to the cafeteria room"} | |
Cmd[#Cmd + 1] = {Text = "spamchat [delay]",Title = "Spam the chat"} | |
Cmd[#Cmd + 1] = {Text = "unspamchat",Title = "Unspam the chat"} | |
Cmd[#Cmd + 1] = {Text = "savepos / saveposition",Title = "Saves positions"} | |
Cmd[#Cmd + 1] = {Text = "loadpos / loadposition",Title = "Loads positions"} | |
Cmd[#Cmd + 1] = {Text = "notify",Title = "Send a message when player leave / join"} | |
Cmd[#Cmd + 1] = {Text = "nonotify",Title = "Stop send a message when player leave / join"} | |
Cmd[#Cmd + 1] = {Text = "copychat",Title = "Copies all players chats"} | |
Cmd[#Cmd + 1] = {Text = "uncopychat",Title = "uncopies all players chats"} | |
Cmd[#Cmd + 1] = {Text = "chatnotify",Title = "Chats when player leave / join"} | |
Cmd[#Cmd + 1] = {Text = "unchatnotify / nochatnotify",Title = "Stop chat when player leave / join"} | |
Cmd[#Cmd + 1] = {Text = "opengate",Title = "Open the gate"} | |
Cmd[#Cmd + 1] = {Text = "antifell / antivoid",Title = "Activate anti fell to the void when respawn as custom team"} | |
Cmd[#Cmd + 1] = {Text = "unantifell / unantivoid",Title = "Unactivate anti fell to the void when respawn as custom team"} | |
Cmd[#Cmd + 1] = {Text = "beam [plr]",Title = "Shoot a beam to player"} | |
Cmd[#Cmd + 1] = {Text = "lagbeam / beam2 [plr]",Title = "Shoot a beam to player but lag"} | |
Cmd[#Cmd + 1] = {Text = "crash / beam3 [plr]",Title = "Shoot a beam to player but even more lag"} | |
Cmd[#Cmd + 1] = {Text = "antispamarrest",Title = "Activate anti spam arrest"} | |
Cmd[#Cmd + 1] = {Text = "unantispamarrest",Title = "Unactivate anti spam arrest"} | |
Cmd[#Cmd + 1] = {Text = "crashserver",Title = "Crash a server if your pc crash wait until it stopped crash and another player will be crashed"} | |
Cmd[#Cmd + 1] = {Text = "!getprefix",Title = "If you for get prefix you can type this in chat"} | |
local Material = {} | |
local Mouse = game.Players.LocalPlayer:GetMouse() | |
for i = 1,#Cmd do | |
local clone = CmdText:Clone() | |
clone.Text = Cmd[i].Text | |
clone.Name = "COMMANDS" | |
local Ins = Instance.new("StringValue", clone) | |
Ins.Name = "Title" | |
Ins.Value = Cmd[i].Title | |
local Ins2 = Instance.new("StringValue", clone) | |
Ins2.Name = "TopbarName" | |
Ins2.Value = Cmd[i].Text:split(" ")[1] | |
clone.Parent = CmdHandler | |
clone.MouseButton1Click:Connect(function() | |
Execute:CaptureFocus() | |
Execute.Text = clone.Text:split(" ")[1] | |
Execute.CursorPosition = #Execute.Text + 1 | |
end) | |
end | |
Mouse.Move:Connect(function() | |
local Guis = game:GetService("CoreGui"):GetGuiObjectsAtPosition(Mouse.X, Mouse.Y) | |
local Gui | |
for i,v in pairs(Guis) do | |
if v.Parent == CmdHandler then | |
Gui = v | |
end | |
end | |
if Gui ~= nil then | |
local PositionX | |
local PositionY | |
local X = Mouse.X | |
local Y = Mouse.Y | |
if Mouse.X > 200 then | |
PositionX = Mouse.X - 201 | |
else | |
PositionX = Mouse.X + 21 | |
end | |
if Mouse.Y > (Mouse.ViewSizeY-96) then | |
PositionY = Mouse.Y - 97 | |
else | |
PositionY = Mouse.Y | |
end | |
Background3.Visible = true | |
Background3.Position = UDim2.new(0, PositionX, 0, PositionY) | |
Topbar.Text = Gui.TopbarName.Value | |
CmdTitle.Text = Gui.Title.Value | |
else | |
Background3.Visible = false | |
end | |
end) | |
if DisableScript then | |
DisableScript() | |
end | |
local connections = getconnections(game.ReplicatedStorage.ReplicateEvent.OnClientEvent) | |
local tazePlayer = getconnections(workspace.Remote.tazePlayer.OnClientEvent) | |
local StringsLowerMessage = false -- If this true: if commands is 'Kill' but when you say k or i or l it will match to 'Kill' and you can turns this off or on when you are ingame with cmd 'slm' and 'uslm' | |
local ScriptDisabled = false | |
local LoopBeam = {} | |
local LoopKill = {} | |
local Virus = {} | |
local KillAura = {} | |
local LoopTase = {} | |
local Admin = {} | |
local Watching = nil | |
local States = {} | |
local BuyGamepass = game:GetService("MarketplaceService"):UserOwnsGamePassAsync(tonumber((game:GetService("Players").LocalPlayer.CharacterAppearance):split('=')[#((game:GetService("Players").LocalPlayer.CharacterAppearance):split('='))]), 96651) | |
local function GetPlayer(String) | |
if not String then return end | |
local Yes = {} | |
for _, Player in ipairs(game.Players:GetPlayers()) do | |
if string.lower(Player.Name):match(string.lower(String)) or string.lower(Player.DisplayName):match(string.lower(String)) then | |
table.insert(Yes, Player) | |
end | |
end | |
if #Yes > 0 then | |
return Yes[1] | |
elseif #Yes < 1 then | |
return nil | |
end | |
end | |
local function GetOrientation() | |
local PosX, PosY, PosZ = game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame:ToOrientation() | |
return CFrame.new(game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame.X, game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame.Y, game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame.Z) * CFrame.fromOrientation(0, PosY, 0) | |
end | |
local function GetPos() | |
return game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame | |
end | |
local function GetCamPos() | |
return workspace.CurrentCamera.CFrame | |
end | |
local function GetTeam() | |
return game.Players.LocalPlayer.TeamColor.Name | |
end | |
function Goto(Player, Distance) | |
local Distance = Distance or CFrame.new(0, 0, 0) | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Player.Character.HumanoidRootPart.CFrame * Distance | |
end | |
function Split(Arguaments, Split) | |
if not Arguaments or not Split then return end | |
return Arguaments:split(Split) | |
end | |
function ChatNotify(Message, Colors, Size) | |
game.StarterGui:SetCore("ChatMakeSystemMessage", { | |
Text = Message, | |
Color = Colors or Color3.fromRGB(255, 255, 255), | |
Font = Enum.Font.SourceSans, | |
FontSize = Size or Enum.FontSize.Size48 | |
}) | |
end | |
function Chat(Message, Whisper) | |
game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(Message, Whisper or "ALl") | |
end | |
function WaitForChild(Time, Parent, Child) | |
if not Parent or not Child then return end | |
if Parent == "LocalPlayer" then Parent = game.Players.LocalPlayer end | |
if Parent == "Character" then Parent = game.Players.LocalPlayer.Character end | |
if Parent == "Backpack" then Parent = game.Players.LocalPlayer.Character.Backpack end | |
local Times = Time * 10 or 1 | |
repeat wait(.1) | |
Time = Time - 1 | |
until Parent:FindFirstChild(Child) or Time <= 0 | |
if Parent and Parent:FindFirstChild(Child) then | |
return Parent:FindFirstChild(Child) | |
else | |
return nil | |
end | |
end | |
function Kill(Player) | |
local events = {} | |
local gun = nil | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP) | |
for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do | |
if v.Name ~= "Taser" and v:FindFirstChild("GunStates") then | |
gun = v | |
end | |
end | |
if gun == nil then | |
for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
if v.Name ~= "Taser" and v:FindFirstChild("GunStates") then | |
gun = v | |
end | |
end | |
end | |
coroutine.wrap(function() | |
for i = 1,30 do | |
game.ReplicatedStorage.ReloadEvent:FireServer(gun) | |
wait(.5) | |
end | |
end)() | |
for i = 1,5 do | |
events[#events + 1] = { | |
Hit = Player.Character:FindFirstChild("Head") or Player.Character:FindFirstChildOfClass("Part"), | |
Cframe = CFrame.new(), | |
RayObject = Ray.new(Vector3.new(), Vector3.new()), | |
Distance = 0 | |
} | |
end | |
game.ReplicatedStorage.ShootEvent:FireServer(events, gun) | |
end | |
function KillTeam(Team) | |
local events = {} | |
local gun = nil | |
for i,v in pairs(game.Players:GetPlayers()) do | |
if v ~= game.Players.LocalPlayer and v.TeamColor.Name == Team then | |
if v.TeamColor.Name == game.Players.LocalPlayer.TeamColor.Name then | |
local savedcf = GetOrientation() | |
local camcf = workspace.CurrentCamera.CFrame | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.random().Name) | |
workspace.CurrentCamera.CFrame = camcf | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
end | |
for i = 1,10 do | |
events[#events + 1] = { | |
Hit = v.Character:FindFirstChild("Head") or v.Character:FindFirstChildOfClass("Part"), | |
Cframe = CFrame.new(), | |
RayObject = Ray.new(Vector3.new(), Vector3.new()), | |
Distance = 0 | |
} | |
end | |
end | |
end | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP) | |
for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do | |
if v.Name ~= "Taser" and v:FindFirstChild("GunStates") then | |
gun = v | |
end | |
end | |
if gun == nil then | |
for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
if v.Name ~= "Taser" and v:FindFirstChild("GunStates") then | |
gun = v | |
end | |
end | |
end | |
coroutine.wrap(function() | |
for i = 1,30 do | |
game.ReplicatedStorage.ReloadEvent:FireServer(gun) | |
wait(.5) | |
end | |
end)() | |
game.ReplicatedStorage.ShootEvent:FireServer(events, gun) | |
end | |
function KillAll() | |
local events = {} | |
local gun = nil | |
for i,v in pairs(game.Players:GetPlayers()) do | |
if v ~= game.Players.LocalPlayer then | |
if v.TeamColor.Name == game.Players.LocalPlayer.TeamColor.Name then | |
local savedcf = GetOrientation() | |
local camcf = workspace.CurrentCamera.CFrame | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.random().Name) | |
workspace.CurrentCamera.CFrame = camcf | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
end | |
for i = 1,10 do | |
events[#events + 1] = { | |
Hit = v.Character:FindFirstChild("Head") or v.Character:FindFirstChildOfClass("Part"), | |
Cframe = CFrame.new(), | |
RayObject = Ray.new(Vector3.new(), Vector3.new()), | |
Distance = 0 | |
} | |
end | |
end | |
end | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP) | |
for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do | |
if v.Name ~= "Taser" and v:FindFirstChild("GunStates") then | |
gun = v | |
end | |
end | |
if gun == nil then | |
for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
if v.Name ~= "Taser" and v:FindFirstChild("GunStates") then | |
gun = v | |
end | |
end | |
end | |
coroutine.wrap(function() | |
for i = 1,30 do | |
game.ReplicatedStorage.ReloadEvent:FireServer(gun) | |
wait(.5) | |
end | |
end)() | |
game.ReplicatedStorage.ShootEvent:FireServer(events, gun) | |
end | |
function Tase(Player) | |
local events = {} | |
local gun = nil | |
local savedteam = game.Players.LocalPlayer.TeamColor.Name | |
if not game.Players.LocalPlayer.Character:FindFirstChild("Taser") and not game.Players.LocalPlayer.Backpack:FindFirstChild("Taser") then | |
savedteam = game.Players.LocalPlayer.TeamColor.Name | |
local savedcf = GetOrientation() | |
local camcf = workspace.CurrentCamera.CFrame | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright blue").Name) | |
workspace.CurrentCamera.CFrame = camcf | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
end | |
for i = 1,1 do | |
events[#events + 1] = { | |
Hit = Player.Character:FindFirstChildOfClass("Part"), | |
Cframe = CFrame.new(), | |
RayObject = Ray.new(Vector3.new(), Vector3.new()), | |
Distance = 0 | |
} | |
end | |
game.ReplicatedStorage.ShootEvent:FireServer(events, gun) | |
local savedcf = GetOrientation() | |
local camcf = workspace.CurrentCamera.CFrame | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new(savedteam).Name) | |
workspace.CurrentCamera.CFrame = camcf | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
end | |
function TaseTeam(Team) | |
local events = {} | |
local gun = nil | |
local savedteam = game.Players.LocalPlayer.TeamColor.Name | |
for i,v in pairs(game.Players:GetPlayers()) do | |
if v ~= game.Players.LocalPlayer and v.TeamColor.Name == Team then | |
events[#events + 1] = { | |
Hit = v.Character:FindFirstChildOfClass("Part"), | |
Cframe = CFrame.new(), | |
RayObject = Ray.new(Vector3.new(), Vector3.new()), | |
Distance = 0 | |
} | |
end | |
end | |
if not game.Players.LocalPlayer.Character:FindFirstChild("Taser") and not game.Players.LocalPlayer:FindFirstChild("Backpack"):FindFirstChild("Taser") then | |
savedteam = game.Players.LocalPlayer.TeamColor.Name | |
local savedcf = GetOrientation() | |
local camcf = workspace.CurrentCamera.CFrame | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright blue").Name) | |
workspace.CurrentCamera.CFrame = camcf | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
end | |
gun = game.Players.LocalPlayer.Character:FindFirstChild("Taser") or game.Players.LocalPlayer.Backpack:FindFirstChild("Taser") | |
game.ReplicatedStorage.ShootEvent:FireServer(events, gun) | |
local savedcf = GetOrientation() | |
local camcf = workspace.CurrentCamera.CFrame | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new(savedteam).Name) | |
workspace.CurrentCamera.CFrame = camcf | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
end | |
function TaserAll() | |
local events = {} | |
local gun = nil | |
local savedteam = game.Players.LocalPlayer.TeamColor.Name | |
for i,v in pairs(game.Players:GetPlayers()) do | |
if v ~= game.Players.LocalPlayer then | |
events[#events + 1] = { | |
Hit = v.Character:FindFirstChildOfClass("Part"), | |
Cframe = CFrame.new(), | |
RayObject = Ray.new(Vector3.new(), Vector3.new()), | |
Distance = 0 | |
} | |
end | |
end | |
if not game.Players.LocalPlayer.Character:FindFirstChild("Taser") and not game.Players.LocalPlayer:FindFirstChild("Backpack"):FindFirstChild("Taser") then | |
savedteam = game.Players.LocalPlayer.TeamColor.Name | |
local savedcf = GetOrientation() | |
local camcf = workspace.CurrentCamera.CFrame | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright blue").Name) | |
workspace.CurrentCamera.CFrame = camcf | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
end | |
gun = game.Players.LocalPlayer.Character:FindFirstChild("Taser") or game.Players.LocalPlayer.Backpack:FindFirstChild("Taser") | |
game.ReplicatedStorage.ShootEvent:FireServer(events, gun) | |
local savedcf = GetOrientation() | |
local camcf = workspace.CurrentCamera.CFrame | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new(savedteam).Name) | |
workspace.CurrentCamera.CFrame = camcf | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
end | |
local NOW = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame | |
game:GetService("RunService").Stepped:Connect(function() | |
if States.LoopBring then | |
game.Players.LocalPlayer.Character.Humanoid:ChangeState(11) | |
UseCommand = true | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = NOW | |
end | |
end) | |
function DoLoop() | |
local pos = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame | |
repeat wait() until not States.LoopBring | |
workspace.Remote.loadchar:InvokeServer() | |
UseCommand = true | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = pos | |
end | |
function LoopBring(Player) | |
workspace.Remote.loadchar:InvokeServer() | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.single.Hammer.ITEMPICKUP) | |
if not game.Players.LocalPlayer:FindFirstChild("Backpack"):FindFirstChild("Hammer") then | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver.M9.ITEMPICKUP) | |
end | |
local CHAR = game.Players.LocalPlayer.Character | |
CHAR.Humanoid.Name = "1" | |
local c = CHAR["1"]:Clone() | |
c.Name = "Humanoid" | |
c.Parent = CHAR | |
CHAR["1"]:Destroy() | |
game.Workspace.CurrentCamera.CameraSubject = CHAR | |
CHAR.Animate.Disabled = true | |
wait() | |
CHAR.Animate.Disabled = false | |
CHAR.Humanoid.DisplayDistanceType = "None" | |
local Tool = game.Players.LocalPlayer.Backpack:FindFirstChild("Hammer") or game.Players.LocalPlayer.Backpack:FindFirstChild("M9") | |
if not game.Players.LocalPlayer.Character:FindFirstChild("Hammer") and not game.Players.LocalPlayer.Character:FindFirstChild("M9") then | |
Tool.Parent = game.Players.LocalPlayer.Character | |
end | |
local stop = 0 | |
repeat wait(.1) | |
stop = stop + 1 | |
Player.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, -0.75) | |
until (not game.Players.LocalPlayer.Character:FindFirstChild("Hammer") and not game.Players.LocalPlayer.Character:FindFirstChild("M9") or not game.Players.LocalPlayer.Character or not game.Players.LocalPlayer.Character.HumanoidRootPart or not game.Players[Player.Name] or stop > 500) | |
end | |
function Teleport(Player, Position) | |
if Player == nil or Position == nil then return end | |
local savedcf = GetPos() | |
workspace.Remote.loadchar:InvokeServer() | |
UseCommand = true | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Position | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.single.Hammer.ITEMPICKUP) | |
if not game.Players.LocalPlayer:FindFirstChild("Backpack"):FindFirstChild("Hammer") then | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver.M9.ITEMPICKUP) | |
end | |
local CHAR = game.Players.LocalPlayer.Character | |
CHAR.Humanoid.Name = "1" | |
local c = CHAR["1"]:Clone() | |
c.Name = "Humanoid" | |
c.Parent = CHAR | |
CHAR["1"]:Destroy() | |
game.Workspace.CurrentCamera.CameraSubject = CHAR | |
CHAR.Animate.Disabled = true | |
wait() | |
CHAR.Animate.Disabled = false | |
CHAR.Humanoid.DisplayDistanceType = "None" | |
local tool = game.Players.LocalPlayer:FindFirstChild("Backpack"):FindFirstChild("Hammer") or game.Players.LocalPlayer:FindFirstChild("Backpack"):FindFirstChild("M9") | |
tool.Parent = CHAR | |
local STOP = 0 | |
repeat wait(.1) | |
STOP = STOP + 1 | |
Player.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, -0.75) | |
until (not game.Players.LocalPlayer.Character:FindFirstChild("M9") and not game.Players.LocalPlayer.Character:FindFirstChild("Hammer") or not game.Players.LocalPlayer.Character.HumanoidRootPart or not Player.Character.HumanoidRootPart or not game.Players.LocalPlayer.Character.HumanoidRootPart.Parent or not Player.Character.HumanoidRootPart.Parent or STOP > 500) and STOP > 3 | |
wait(.2) | |
workspace.Remote.loadchar:InvokeServer() | |
UseCommand = true | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
end | |
function Void(Player) | |
if Player == nil then return end | |
local savedcf = GetOrientation() | |
workspace.Remote.loadchar:InvokeServer() | |
UseCommand = true | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.single.Hammer.ITEMPICKUP) | |
if not game.Players.LocalPlayer:FindFirstChild("Backpack"):FindFirstChild("Hammer") then | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver.M9.ITEMPICKUP) | |
end | |
local CHAR = game.Players.LocalPlayer.Character | |
CHAR.Humanoid.Name = "1" | |
local c = CHAR["1"]:Clone() | |
c.Name = "Humanoid" | |
c.Parent = CHAR | |
CHAR["1"]:Destroy() | |
game.Workspace.CurrentCamera.CameraSubject = CHAR | |
CHAR.Animate.Disabled = true | |
wait() | |
CHAR.Animate.Disabled = false | |
CHAR.Humanoid.DisplayDistanceType = "None" | |
local tool = game.Players.LocalPlayer:FindFirstChild("Backpack"):FindFirstChild("Hammer") or game.Players.LocalPlayer:FindFirstChild("Backpack"):FindFirstChild("M9") | |
tool.Parent = CHAR | |
local STOP = 0 | |
repeat wait(.1) | |
STOP = STOP + 1 | |
Player.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, -0.75) | |
until (not game.Players.LocalPlayer.Character:FindFirstChild("M9") and not game.Players.LocalPlayer.Character:FindFirstChild("Hammer") or not game.Players.LocalPlayer.Character.HumanoidRootPart or not Player.Character.HumanoidRootPart or not game.Players.LocalPlayer.Character.HumanoidRootPart.Parent or not Player.Character.HumanoidRootPart.Parent or STOP > 500) and STOP > 3 | |
for i = 1,10 do | |
wait() | |
UseCommand = true | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(99999999999999, 99999999999999, 99999999999999) | |
end | |
workspace.Remote.loadchar:InvokeServer() | |
UseCommand = true | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
end | |
function TeleportV(Player, Player2) | |
if Player == nil or Player2 == nil then return end | |
local savedcf = GetPos() | |
workspace.Remote.loadchar:InvokeServer() | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.single.Hammer.ITEMPICKUP) | |
if not game.Players.LocalPlayer:FindFirstChild("Backpack"):FindFirstChild("Hammer") then | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver.M9.ITEMPICKUP) | |
end | |
local CHAR = game.Players.LocalPlayer.Character | |
CHAR.Humanoid.Name = "1" | |
local c = CHAR["1"]:Clone() | |
c.Name = "Humanoid" | |
c.Parent = CHAR | |
CHAR["1"]:Destroy() | |
game.Workspace.CurrentCamera.CameraSubject = CHAR | |
CHAR.Animate.Disabled = true | |
wait() | |
CHAR.Animate.Disabled = false | |
CHAR.Humanoid.DisplayDistanceType = "None" | |
local tool = game.Players.LocalPlayer:FindFirstChild("Backpack"):FindFirstChild("Hammer") or game.Players.LocalPlayer:FindFirstChild("Backpack"):FindFirstChild("M9") | |
tool.Parent = CHAR | |
local STOP = 0 | |
repeat wait(.1) | |
STOP = STOP + 1 | |
Player.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, -0.75) | |
until (not game.Players.LocalPlayer.Character:FindFirstChild("M9") and not game.Players.LocalPlayer.Character:FindFirstChild("Hammer") or not game.Players.LocalPlayer.Character.HumanoidRootPart or not Player.Character.HumanoidRootPart or not game.Players.LocalPlayer.Character.HumanoidRootPart.Parent or not Player.Character.HumanoidRootPart.Parent or STOP > 500) and STOP > 3 | |
for i = 1,10 do | |
wait() | |
UseCommand = true | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Player2.Character.HumanoidRootPart.CFrame | |
end | |
workspace.Remote.loadchar:InvokeServer() | |
UseCommand = true | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
end | |
function ArrestEvent(Player, Time) | |
for i = 1,Time do | |
workspace.Remote.arrest:InvokeServer(Player.Character.Head) | |
end | |
end | |
function Arrest(Player, Time) | |
local Time = tonumber(Time) or 1 | |
local savedcf = GetPos() | |
local savedcamcf = GetCamPos() | |
local savedteam = GetTeam() | |
if Player then | |
repeat wait() | |
UseCommand = true | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Player.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 1) | |
for i = 1,Time do | |
coroutine.wrap(function() | |
workspace.Remote.arrest:InvokeServer(Player.Character.Head) | |
end)() | |
end | |
until (Player.Character:FindFirstChild("Head"):FindFirstChild("handcuffedGui") or not game.Players:FindFirstChild(Player.Name)) | |
wait() | |
end | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new(savedteam).Name) | |
game.Players.LocalPlayer.Character.Humanoid.Sit = false | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
workspace.CurrentCamera.CFrame = savedcamcf | |
end | |
function CreateBeam(Player, Distance, Position) | |
if Player then | |
pcall(function() | |
local Backpack = game.Players.LocalPlayer.Backpack | |
local Character = game.Players.LocalPlayer.Character | |
local Gun = Backpack:FindFirstChild("Remington 870") or Character:FindFirstChild("Remington 870") | |
if not Gun then | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP) | |
end | |
Gun = Backpack:FindFirstChild("Remington 870") or Character:FindFirstChild("Remington 870") | |
local Head = Player.Character.Head | |
if Head and Player and Character and Backpack and Gun and Distance and Position then | |
local events = {} | |
for i = 1,100 do | |
events[i] = { | |
RayObject = Ray.new(Vector3.new(), Vector3.new()), | |
Distance = Distance, | |
Cframe = Position, | |
Hit = Head | |
} | |
end | |
game.ReplicatedStorage.ShootEvent:FireServer(events, Gun) | |
end | |
Gun.Parent = game.Players.LocalPlayer.Character | |
game.Players.LocalPlayer.Character:FindFirstChild("Remington 870"):Destroy() | |
end) | |
end | |
end | |
function CreateBeam2(Player, Distance, Position) | |
if Player then | |
pcall(function() | |
local Backpack = game.Players.LocalPlayer.Backpack | |
local Character = game.Players.LocalPlayer.Character | |
local Gun = Backpack:FindFirstChild("AK-47") or Character:FindFirstChild("AK-47") | |
if not Gun then | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["AK-47"].ITEMPICKUP) | |
end | |
Gun = Backpack:FindFirstChild("AK-47") or Character:FindFirstChild("AK-47") | |
local Head = Player.Character.Head | |
if Head and Player and Character and Backpack and Gun and Distance and Position then | |
game.ReplicatedStorage.ShootEvent:FireServer({ | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
}, Gun) | |
end | |
Gun.Parent = game.Players.LocalPlayer.Character | |
game.Players.LocalPlayer.Character:FindFirstChild("AK-47"):Destroy() | |
end) | |
end | |
end | |
function CreateBeam3(Player, Distance, Position) | |
if Player then | |
pcall(function() | |
local Backpack = game.Players.LocalPlayer.Backpack | |
local Character = game.Players.LocalPlayer.Character | |
local Gun = Backpack:FindFirstChild("M9") or Character:FindFirstChild("M9") | |
if not Gun then | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M9"].ITEMPICKUP) | |
end | |
Gun = Backpack:FindFirstChild("M9") or Character:FindFirstChild("M9") | |
local Head = Player.Character.Head | |
if Head and Player and Character and Backpack and Gun and Distance and Position then | |
game.ReplicatedStorage.ShootEvent:FireServer({ | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}, | |
{["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head} | |
}, Gun) | |
end | |
Gun.Parent = game.Players.LocalPlayer.Character | |
game.Players.LocalPlayer.Character:FindFirstChild("M9"):Destroy() | |
end) | |
end | |
end | |
function Esp(player) | |
pcall(function() | |
local Billboard = Instance.new("BillboardGui", game.Players.LocalPlayer.PlayerGui) | |
local Frame = Instance.new("Frame", Billboard) | |
local Label_Billboard = Instance.new("TextLabel", Billboard) | |
Billboard.Name = "ESP" | |
Billboard.Adornee = workspace:FindFirstChild(player.Name).Head | |
Billboard.AlwaysOnTop = true | |
Billboard.ExtentsOffset = Vector3.new(0, 1.25, 0) | |
Billboard.Size = UDim2.new(0, 6, 0, 6) | |
Frame.Name = "ESP_2" | |
Frame.BackgroundColor = BrickColor.new(player.TeamColor.Name) | |
Frame.BorderSizePixel = 0 | |
Frame.BackgroundTransparency = 0.250 | |
Frame.Position = UDim2.new(-0.5, 0, -0.5, 0) | |
Frame.Visible = true | |
Frame.Size = UDim2.new(2, 0, 2, 0) | |
Frame.ZIndex = 1 | |
Label_Billboard.Name = "ESP_3" | |
Label_Billboard.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
Label_Billboard.BackgroundTransparency = 1.000 | |
Label_Billboard.Text = player.DisplayName | |
Label_Billboard.Font = Enum.Font.GothamBlack | |
Label_Billboard.FontSize = Enum.FontSize.Size18 | |
Label_Billboard.BorderSizePixel = 0 | |
Label_Billboard.Visible = true | |
Label_Billboard.Position = UDim2.new(0, 0, 0, -40) | |
Label_Billboard.TextColor3 = Color3.fromRGB(0, 0, 0) | |
Label_Billboard.ZIndex = 2 | |
Label_Billboard.Size = UDim2.new(2, 0, 10, 0) | |
end) | |
end | |
function Unesp(player) | |
for i,v in pairs(game.Players.LocalPlayer.PlayerGui:GetChildren()) do | |
if v:FindFirstChild("ESP_3") then | |
if v.ESP_3.Text == player.DisplayName then | |
v:Destroy() | |
end | |
end | |
end | |
end | |
function ClearEsp() | |
for i,v in pairs(game.Players.LocalPlayer.PlayerGui:GetChildren()) do | |
if v.Name == "ESP" then | |
v:Destroy() | |
end | |
end | |
end | |
function Beam(Player, Distance, Time) | |
if Player and Distance then | |
local RunService = game:GetService("RunService") | |
RunService:BindToRenderStep(Player.Name, math.huge, function() | |
coroutine.wrap(function() | |
CreateBeam(Player, Distance, Player.Character.HumanoidRootPart.CFrame) | |
end)() | |
end) | |
delay(Time, function() | |
pcall(function() | |
RunService:UnbindFromRenderStep(Player.Name) | |
end) | |
end) | |
end | |
end | |
function LagBeam(Player, Distance, Time) | |
if Player and Distance then | |
local RunService = game:GetService("RunService") | |
RunService:BindToRenderStep(Player.Name, math.huge, function() | |
coroutine.wrap(function() | |
CreateBeam(Player, Distance, Player.Character.HumanoidRootPart.CFrame) | |
end)() | |
coroutine.wrap(function() | |
CreateBeam2(Player, Distance, Player.Character.HumanoidRootPart.CFrame) | |
end)() | |
coroutine.wrap(function() | |
CreateBeam3(Player, Distance, Player.Character.HumanoidRootPart.CFrame) | |
end)() | |
end) | |
delay(Time, function() | |
pcall(function() | |
RunService:UnbindFromRenderStep(Player.Name) | |
end) | |
end) | |
end | |
end | |
function DetectMove(Player) | |
local oldpos = Player.Character.HumanoidRootPart.CFrame | |
local Move | |
local Time = 0 | |
repeat wait(.1) | |
Time = Time + 1 | |
if oldpos ~= Player.Character.HumanoidRootPart.CFrame then | |
Move = true | |
else | |
Move = false | |
end | |
until (Time >= 500 and Move == false) or Move == true | |
return Move | |
end | |
function FeGodMode() | |
game.Players.LocalPlayer.Character.Humanoid.Name = 1 | |
local l = game.Players.LocalPlayer.Character["1"]:Clone() | |
l.Parent = game.Players.LocalPlayer.Character | |
l.Name = "Humanoid" | |
game.Players.LocalPlayer.Character.Animate.Disabled = true | |
wait() | |
game.Players.LocalPlayer.Character.Animate.Disabled = false | |
game.Players.LocalPlayer.Character["1"]:Destroy() | |
game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character | |
end | |
local function GetPlayerPart(Player) | |
if not Player then return end | |
if Player:FindFirstChild("HumanoidRootPart") then | |
return Player.HumanoidRootPart | |
elseif Player:FindFirstChild("Torso") then | |
return Player.Torso | |
end | |
end | |
local Mouse = game.Players.LocalPlayer:GetMouse() | |
function CopyChat(Player) | |
Player.Chatted:Connect(function(Message) | |
if States.CopyChat then | |
Chat("["..Player.DisplayName.."]: "..Message) | |
end | |
end) | |
end | |
function Died(Player) | |
pcall(function() | |
if Player.Character.Humanoid.Health < 1 then | |
if States.ChatNotify then | |
Chat(Player.DisplayName.." Died") | |
end | |
if States.Notify then | |
game.StarterGui:SetCore("SendNotification", { | |
Title = "Game", | |
Text = Player.DisplayName.." Died", | |
Icon = game.Players:GetUserThumbnailAsync(Player.UserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size352x352) | |
}) | |
end | |
end | |
end) | |
end | |
function PlayerPickUp(Player) | |
Player.Backpack.ChildAdded:Connect(function(Item) | |
if States.ChatNotify then | |
Chat(Player.DisplayName.." Pick Up "..Item.Name) | |
end | |
if States.Notify then | |
game.StarterGui:SetCore("SendNotification", { | |
Title = "Game", | |
Text = Player.DisplayName.." Pick Up "..Item.Name, | |
Icon = game.Players:GetUserThumbnailAsync(Player.UserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size352x352) | |
}) | |
end | |
end) | |
end | |
local function Notify(Message, Color, Text) | |
Notify6.Text = Notify5.Text | |
Notify6.TextColor3 = Notify5.TextColor3 | |
Notify5.Text = Notify4.Text | |
Notify5.TextColor3 = Notify4.TextColor3 | |
Notify4.Text = Notify3.Text | |
Notify4.TextColor3 = Notify3.TextColor3 | |
Notify3.Text = Notify2.Text | |
Notify3.TextColor3 = Notify2.TextColor3 | |
Notify2.Text = Notify1.Text | |
Notify2.TextColor3 = Notify1.TextColor3 | |
Notify1.Text = "["..Text.."] "..Message | |
Notify1.TextColor3 = Color or Color3.fromRGB(255, 255, 255) | |
end | |
local function Loadstring(Https) | |
if not Https then return end | |
loadstring(game:HttpGet((Https), true))() | |
end | |
local function Command(Cmd) | |
if StringsLowerMessage then | |
return Arg1 == Prefix..(string.lower(Cmd)) | |
else | |
return Arg1 == Prefix..Cmd | |
end | |
end | |
local function PrefixCommand(Cmd) | |
if StringsLowerMessage then | |
return Arg1 == "!"..string.lower(Cmd) | |
else | |
return Arg1 == "!"..Cmd | |
end | |
end | |
local Walls = { | |
game.Workspace.Prison_Halls.walls, | |
game.Workspace.Prison_Halls.roof, | |
game.Workspace.Prison_Halls.outlines, | |
game.Workspace.Prison_Halls.lights, | |
game.Workspace.Prison_Halls.accent, | |
game.Workspace.Prison_Halls.glass, | |
game.Workspace.Prison_Cellblock.b_front, | |
game.Workspace.Prison_Cellblock.doors, | |
game.Workspace.Prison_Cellblock.c_tables, | |
game.Workspace.Prison_Cellblock.a_front, | |
game.Workspace.Prison_Cellblock.b_outerwall, | |
game.Workspace.Prison_Cellblock.c_wall, | |
game.Workspace.Prison_Cellblock.b_wall, | |
game.Workspace.Prison_Cellblock.c_hallwall, | |
game.Workspace.Prison_Cellblock.a_outerwall, | |
game.Workspace.Prison_Cellblock.b_ramp, | |
game.Workspace.Prison_Cellblock.a_ramp, | |
game.Workspace.Prison_Cellblock.a_walls, | |
game.Workspace.Prison_Cellblock.Cells_B, | |
game.Workspace.Prison_Cellblock.Cells_A, | |
game.Workspace.Prison_Cellblock.c_corner, | |
game.Workspace.Prison_Cellblock.Wedge, | |
game.Workspace.Prison_Cellblock.a_ceiling, | |
game.Workspace.Prison_Cellblock.b_ceiling, | |
game.Workspace.City_buildings, | |
game.Workspace.Prison_OuterWall, | |
game.Workspace.Prison_Fences, | |
game.Workspace.Prison_Guard_Outpost, | |
game.Workspace.Prison_Cafeteria.building, | |
game.Workspace.Prison_Cafeteria.glass, | |
game.Workspace.Prison_Cafeteria.oven, | |
game.Workspace.Prison_Cafeteria.shelves, | |
game.Workspace.Prison_Cafeteria.vents, | |
game.Workspace.Prison_Cafeteria.accents, | |
game.Workspace.Prison_Cafeteria["vending machine"], | |
game.Workspace.Prison_Cafeteria.Prison_table1, | |
game.Workspace.Prison_Cafeteria.counter, | |
game.Workspace.Prison_Cafeteria.boxes, | |
game.Workspace.Prison_Cafeteria["trash bins"] | |
} | |
Notify("Loaded admin commands", Color3.fromRGB(0, 255, 0), "Loads") | |
local Gyro = nil | |
local Velocity = nil | |
local SuperKnife = {} | |
function PlayerChatted(Message) | |
if ScriptDisabled then return end | |
Split = Message:split(" ") | |
Arg1 = Split[1] | |
Arg2 = Split[2] | |
Arg3 = Split[3] | |
Arg4 = Split[4] | |
UseCommand = true | |
if Command("killsaura") then | |
local plr = GetPlayer(Arg2) | |
if plr ~= nil and not KillAura[plr.UserId] then | |
KillAura[plr.UserId] = {Player = plr} | |
Notify("Added kill aura to "..plr.DisplayName, Color3.fromRGB(0, 255, 0), "Success") | |
elseif not KillAura[plr.UserId] then | |
Notify(plr.DisplayName.." already have kill aura", Color3.fromRGB(255, 255, 0), "Warn") | |
elseif plr == nil then | |
Notify("No player found", Color3.fromRGB(255, 0, 0), "Error") | |
else | |
Notify("No arguaments found", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("nokillsaura") then | |
local plr = GetPlayer(Arg2) | |
if plr ~= nil and KillAura[plr.UserId] then | |
KillAura[plr.UserId] = nil | |
Notify("Removed kill aura from "..plr.DisplayName, Color3.fromRGB(0, 255, 0), "Success") | |
elseif KillAura[plr.UserId] then | |
Notify(plr.DisplayName.." don't have kill aura", Color3.fromRGB(255, 255, 0), "Warn") | |
elseif plr == nil then | |
Notify("No player found", Color3.fromRGB(255, 0, 0), "Error") | |
else | |
Notify("No arguaments found", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("shield") then | |
local plr = GetPlayer(Arg2) | |
if BuyGamepass then | |
if plr ~= nil then | |
local savedteam = game.Players.LocalPlayer.TeamColor.Name | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Riot Shield"].ITEMPICKUP) | |
local Item = game.Players.LocalPlayer:FindFirstChild("Backpack"):FindFirstChild("Riot Shied") or game.Players.LocalPlayer.Character:FindFirstChild("Riot Shield") | |
local savedcf = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame | |
UseCommand = true | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = plr.Character.HumanoidRootPart.CFrame | |
local CHAR = game.Players.LocalPlayer.Character | |
CHAR.Humanoid.Name = "1" | |
local c = CHAR["1"]:Clone() | |
c.Name = "Humanoid" | |
c.Parent = CHAR | |
CHAR["1"]:Destroy() | |
game.Workspace.CurrentCamera.CameraSubject = CHAR | |
CHAR.Animate.Disabled = true | |
wait() | |
CHAR.Animate.Disabled = false | |
CHAR.Humanoid.DisplayDistanceType = "None" | |
if not game.Players.LocalPlayer.Character:FindFirstChild(Item.Name) then | |
Item.Parent = game.Players.LocalPlayer.Character | |
end | |
local STOP = 0 | |
repeat wait(.1) | |
STOP = STOP + 1 | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = plr.Character.Torso.CFrame * CFrame.new(0, 0, 0.75) | |
until (not game.Players.LocalPlayer.Character:FindFirstChild(Item.Name) or not game.Players.LocalPlayer.Character or not game.Players.LocalPlayer.Character.HumanoidRootPart or STOP > 500) | |
wait(.2) | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new(savedteam).Name) | |
UseCommand = true | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
Notify("Gave shiled to "..plr.DisplayName) | |
else | |
Notify("No player found", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
else | |
Notify("You don't have gamepass for swat", Color3.fromRGB(255, 255, 0), "Warn") | |
end | |
end | |
if Command("keycard") then | |
local plr = GetPlayer(Arg2) | |
if plr ~= nil then | |
local savedteam = game.Players.LocalPlayer.TeamColor.Name | |
repeat wait(.2) | |
game.Players.LocalPlayer.Character.Humanoid.Health = 0 | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright blue").Name) | |
until workspace.Prison_ITEMS.single:FindFirstChild("Key card") | |
wait() | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.single["Key card"].ITEMPICKUP) | |
local Item = game.Players.LocalPlayer:FindFirstChild("Backpack"):FindFirstChild("Key card") or game.Players.LocalPlayer.Character:FindFirstChild("Key card") | |
local savedcf = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame | |
UseCommand = true | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = plr.Character.HumanoidRootPart.CFrame | |
local CHAR = game.Players.LocalPlayer.Character | |
CHAR.Humanoid.Name = "1" | |
local c = CHAR["1"]:Clone() | |
c.Name = "Humanoid" | |
c.Parent = CHAR | |
CHAR["1"]:Destroy() | |
game.Workspace.CurrentCamera.CameraSubject = CHAR | |
CHAR.Animate.Disabled = true | |
wait() | |
CHAR.Animate.Disabled = false | |
CHAR.Humanoid.DisplayDistanceType = "None" | |
if not game.Players.LocalPlayer.Character:FindFirstChild(Item.Name) then | |
Item.Parent = game.Players.LocalPlayer.Character | |
end | |
local STOP = 0 | |
repeat wait(.1) | |
STOP = STOP + 1 | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = plr.Character.Torso.CFrame * CFrame.new(0, 0, 0.75) | |
until (not game.Players.LocalPlayer.Character:FindFirstChild(Item.Name) or not game.Players.LocalPlayer.Character or not game.Players.LocalPlayer.Character.HumanoidRootPart or STOP > 500) | |
wait(.2) | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new(savedteam).Name) | |
UseCommand = true | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
Notify("Gave key card to "..plr.DisplayName) | |
else | |
Notify("No player found",Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("cuffs") then | |
local plr = GetPlayer(Arg2) | |
if plr ~= nil then | |
local savedteam = game.Players.LocalPlayer.TeamColor.Name | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright blue").Name) | |
local Item = game.Players.LocalPlayer:FindFirstChild("Backpack"):FindFirstChild("Handcuffs") or game.Players.LocalPlayer.Character:FindFirstChild("Handcuffs") | |
local savedcf = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame | |
UseCommand = true | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = plr.Character.HumanoidRootPart.CFrame | |
local CHAR = game.Players.LocalPlayer.Character | |
CHAR.Humanoid.Name = "1" | |
local c = CHAR["1"]:Clone() | |
c.Name = "Humanoid" | |
c.Parent = CHAR | |
CHAR["1"]:Destroy() | |
game.Workspace.CurrentCamera.CameraSubject = CHAR | |
CHAR.Animate.Disabled = true | |
wait() | |
CHAR.Animate.Disabled = false | |
CHAR.Humanoid.DisplayDistanceType = "None" | |
if not game.Players.LocalPlayer.Character:FindFirstChild(Item.Name) then | |
Item.Parent = game.Players.LocalPlayer.Character | |
end | |
local STOP = 0 | |
repeat wait(.1) | |
STOP = STOP + 1 | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = plr.Character.Torso.CFrame * CFrame.new(0, 0, 0.75) | |
until (not game.Players.LocalPlayer.Character:FindFirstChild(Item.Name) or not game.Players.LocalPlayer.Character or not game.Players.LocalPlayer.Character.HumanoidRootPart or STOP > 500) | |
wait(.2) | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new(savedteam).Name) | |
UseCommand = true | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
Notify("Gave handcuffs to "..plr.DisplayName) | |
else | |
Notify("No player found",Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("antitp") or Command("antibring") then | |
States.Anti_Bring = true | |
Notify("Anti teleports on", Color3.fromRGB(0, 255 ,0), "Success") | |
end | |
if Command("unantitp") or Command("unantibring") then | |
States.Anti_Bring = false | |
Notify("Anti teleports off", Color3.fromRGB(0, 255 ,0), "Success") | |
end | |
if Command("fly") then | |
States.Fly = true | |
States.FlySpeed = tonumber(Arg2) or tonumber(States.FlySpeed) or 1 | |
pcall(function() | |
Gyro.P = 0 | |
Gyro.MaxTorque = Vector3.new(0, 0, 0) | |
Gyro.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame | |
Velocity.MaxForce = Vector3.new(0, 0, 0) | |
Velocity.Velocity = Vector3.new(0, 0, 0) | |
Gyro:Destroy() | |
Velocity:Destroy() | |
Gyro = nil | |
Velocity = nil | |
end) | |
pcall(function() | |
Gyro = Instance.new("BodyGyro", game.Players.LocalPlayer.Character.HumanoidRootPart) | |
Velocity = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.HumanoidRootPart) | |
Gyro.MaxTorque = Vector3.new(9e4, 9e4, 9e4) | |
Gyro.P = 9e4 | |
Gyro.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame | |
Velocity.MaxForce = Vector3.new(9e4, 9e4, 9e4) | |
Velocity.Velocity = Vector3.new(0, 0, 0) | |
end) | |
local controls = {"w","a","s","d","e","q"} | |
local controlsValues = {1, -1, -1, 1, -1, 1} | |
local controlsStats = {w = 0, a = 0, s = 0, d = 0, e = 0, q = 0} | |
game:GetService("RunService").Stepped:Connect(function() | |
if States.Fly then | |
Gyro.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position, workspace.CurrentCamera.CFrame.p) * CFrame.Angles(0, math.rad(180), 0) | |
Velocity.Velocity = ((Gyro.CFrame.lookVector + Vector3.new(0, 0.25, 0)) * (controlsStats["w"] + controlsStats["s"])) + ((Gyro.CFrame * CFrame.new(controlsStats["a"] + controlsStats["d"], controlsStats["e"] + controlsStats["q"], 0).p) - (Gyro.CFrame.p)) | |
game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true | |
end | |
end) | |
game.Players.LocalPlayer:GetMouse().KeyDown:Connect(function(key) | |
for i,v in pairs(controls) do | |
if key == v then | |
controlsStats[key] = controlsValues[i] * 25 * States.FlySpeed | |
end | |
end | |
end) | |
game.Players.LocalPlayer:GetMouse().KeyUp:Connect(function(key) | |
for i,v in pairs(controls) do | |
if key == v then | |
controlsStats[key] = controlsValues[i] * 0 | |
end | |
end | |
end) | |
game.Players.LocalPlayer.CharacterAdded:Connect(function() | |
if States.Fly then | |
States.Fly = false | |
pcall(function() | |
Gyro.P = 0 | |
Gyro.MaxTorque = Vector3.new(0, 0, 0) | |
Gyro.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame | |
Velocity.MaxForce = Vector3.new(0, 0, 0) | |
Velocity.Velocity = Vector3.new(0, 0, 0) | |
Gyro:Destroy() | |
Velocity:Destroy() | |
Gyro = nil | |
Velocity = nil | |
game.Players.LocalPlayer.Character.Humanoid.PlatformStand = false | |
end) | |
game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart") | |
pcall(function() | |
Gyro = Instance.new("BodyGyro", game.Players.LocalPlayer.Character.HumanoidRootPart) | |
Velocity = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.HumanoidRootPart) | |
Gyro.MaxTorque = Vector3.new(9e4, 9e4, 9e4) | |
Gyro.P = 9e4 | |
Gyro.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame | |
Velocity.MaxForce = Vector3.new(9e4, 9e4, 9e4) | |
Velocity.Velocity = Vector3.new(0, 0, 0) | |
end) | |
States.Fly = true | |
end | |
end) | |
Notify("Fly", Color3.fromRGB(0, 255 ,0), "Success") | |
end | |
if Command("unfly") then | |
States.Fly = false | |
pcall(function() | |
Gyro.P = 0 | |
Gyro.MaxTorque = Vector3.new(0, 0, 0) | |
Gyro.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame | |
Velocity.MaxForce = Vector3.new(0, 0, 0) | |
Velocity.Velocity = Vector3.new(0, 0, 0) | |
Gyro:Destroy() | |
Velocity:Destroy() | |
Gyro = nil | |
Velocity = nil | |
game.Players.LocalPlayer.Character.Humanoid.PlatformStand = false | |
end) | |
Notify("Unfly", Color3.fromRGB(0, 255 ,0), "Success") | |
end | |
if Command("uslm") then | |
StringsLowerMessage = false | |
Notify("Turn String lower message to false", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("slm") then | |
StringsLowerMessage = true | |
Notify("Turn String lower message to true", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("unesp") then | |
local Player = GetPlayer(Arg2) | |
if Player ~= nil then | |
Unesp(Player) | |
end | |
end | |
if Command("esp") then | |
local Player = GetPlayer(Arg2) | |
if Player ~= nil then | |
Esp(Player) | |
Player.CharacterAdded:Connect(function() | |
for i,v in pairs(game.Players.LocalPlayer.PlayerGui:GetChildren()) do | |
if v:FindFirstChild("ESP_3") then | |
if v.ESP_3.Text == Player.Name then | |
Unesp(Player) | |
Esp(Player) | |
end | |
end | |
end | |
end) | |
end | |
end | |
if Command("espall") then | |
States.Esp_All = true | |
States.Esp_Inmates = true | |
States.Esp_Guards = true | |
States.Esp_Criminals = true | |
States.Esp_Neutral = true | |
for i,v in pairs(game.Teams.Inmates:GetPlayers()) do | |
if States.Esp_Inmates then | |
if v ~= game.Players.LocalPlayer then | |
Esp(v) | |
end | |
end | |
end | |
for i,v in pairs(game.Teams.Guards:GetPlayers()) do | |
if States.Esp_Guards then | |
if v ~= game.Players.LocalPlayer then | |
Esp(v) | |
end | |
end | |
end | |
for i,v in pairs(game.Teams.Criminals:GetPlayers()) do | |
if States.Esp_Criminals then | |
if v ~= game.Players.LocalPlayer then | |
Esp(v) | |
end | |
end | |
end | |
for i,v in pairs(game.Teams.Neutral:GetPlayers()) do | |
if States.Esp_Neutral then | |
if v ~= game.Players.LocalPlayer then | |
Esp(v) | |
end | |
end | |
end | |
for i,v in pairs(game.Players:GetPlayers()) do | |
if States.Esp_All then | |
if v.TeamColor.Name ~= "Bright blue" and v.TeamColor.Name ~= "Bright orange" and v.TeamColor.Name ~= "Medium stone grey" and v.TeamColor.Name ~= "Really red" then | |
Esp(v) | |
end | |
end | |
end | |
end | |
if Command("unespall") then | |
States.Esp_All = false | |
States.Esp_Inmates = false | |
States.Esp_Guards = false | |
States.Esp_Criminals = false | |
States.Esp_Neutral = false | |
ClearEsp() | |
end | |
if Command("espinmate") or Command("espinmates") then | |
States.Esp_Inmates = true | |
for i,v in pairs(game.Teams.Inmates:GetPlayers()) do | |
if States.Esp_Inmates then | |
if v ~= game.Players.LocalPlayer then | |
Esp(v) | |
end | |
end | |
end | |
end | |
if Command("unespinmate") or Command("unespinmates") then | |
States.Esp_Inmates = false | |
for i,v in pairs(game.Teams.Inmates:GetPlayers()) do | |
if v ~= game.Players.LocalPlayer then | |
Unesp(v) | |
end | |
end | |
end | |
if Command("espguard") or Command("espguards") then | |
States.Esp_Guards = true | |
for i,v in pairs(game.Teams.Guards:GetPlayers()) do | |
if States.Esp_Guards then | |
if v ~= game.Players.LocalPlayer then | |
Esp(v) | |
end | |
end | |
end | |
end | |
if Command("unespguard") or Command("unespguards") then | |
States.Esp_Guards = false | |
for i,v in pairs(game.Teams.Guards:GetPlayers()) do | |
if v ~= game.Players.LocalPlayer then | |
Unesp(v) | |
end | |
end | |
end | |
if Command("espcrim") or Command("espcriminal") or Command("espcriminals") then | |
States.Esp_Criminals = true | |
for i,v in pairs(game.Teams.Criminals:GetPlayers()) do | |
if States.Esp_Criminals then | |
if v ~= game.Players.LocalPlayer then | |
Esp(v) | |
end | |
end | |
end | |
end | |
if Command("unespcrim") or Command("unespcriminal") or Command("unespcriminals") then | |
States.Esp_Criminals = false | |
for i,v in pairs(game.Teams.Criminals:GetPlayers()) do | |
if v ~= game.Players.LocalPlayer then | |
Unesp(v) | |
end | |
end | |
end | |
if Command("espneutral") then | |
States.Esp_Neutral = true | |
for i,v in pairs(game.Teams.Neutral:GetPlayers()) do | |
if States.Esp_Neutral then | |
if v ~= game.Players.LocalPlayer then | |
Esp(v) | |
end | |
end | |
end | |
end | |
if Command("unespneutral") then | |
States.Esp_Neutral = false | |
for i,v in pairs(game.Teams.Neutral:GetPlayers()) do | |
if v ~= game.Players.LocalPlayer then | |
Unesp(v) | |
end | |
end | |
end | |
if Command("virus") or Command("addvirus") then | |
local Player = GetPlayer(Arg2) | |
if Player and not Virus[Player.UserId] then | |
Virus[Player.UserId] = {Player = Player} | |
Notify("Added virus to "..Player.DisplayName, Color3.fromRGB(0, 255, 0), "Success") | |
elseif Player and Virus[Player.UserId] then | |
Notify(Player.DisplayName.." already have viruses", Color3.fromRGB(255, 255, 0), "Warn") | |
elseif Player == nil then | |
Notify("No player found", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("revirus") or Command("removevirus") then | |
local Player = GetPlayer(Arg2) | |
if Player and Virus[Player.UserId] then | |
Virus[Player.UserId] = nil | |
Notify("Removed viruses from "..Player.DisplayName, Color3.fromRGB(0, 255, 0), "Success") | |
elseif Player and not Virus[Player.UserId] then | |
Notify(Player.DisplayName.." don't have virus", Color3.fromRGB(255, 255, 0), "Warn") | |
elseif Player == nil then | |
Notify("No player found", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("unload") or Command("destroygui") then | |
Notify("Unloading...", Color3.fromRGB(0, 255, 255), "Unloads") | |
wait(.1) | |
pcall(function() | |
CmdGui:Destroy() | |
States = {} | |
LoopKill = {} | |
LoopTase = {} | |
Admin = {} | |
ScriptDisabled = true | |
for i,v in pairs(game.Lighting:GetChildren()) do | |
v.Parent = workspace | |
end | |
end) | |
end | |
if Command("reload") or Command("update") then | |
Notify("Updating versions...", Color3.fromRGB(0, 255, 255), "Updates") | |
pcall(function() | |
CmdGui:Destroy() | |
States = {} | |
LoopKill = {} | |
LoopTase = {} | |
Admin = {} | |
ScriptDisabled = true | |
for i,v in pairs(game.Lighting:GetChildren()) do | |
v.Parent = workspace | |
end | |
end) | |
Loadstring("https://pastebin.com/raw/9ab2s523") | |
end | |
if Command("beam") then | |
local Player = GetPlayer(Arg2) | |
if Player then | |
Beam(Player, math.huge, 7) | |
Notify("Beamed "..Player.Name, Color3.fromRGB(0, 255, 0), "Success") | |
else | |
Notify("No player found", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("lagbeam") or Command("beam2") then | |
local Player = GetPlayer(Arg2) | |
if Player then | |
LagBeam(Player, math.huge, 7) | |
Notify("Lag beamed "..Player.Name, Color3.fromRGB(255, 0, 0), "Success") | |
else | |
Notify("No player found", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("crash") or Command("beam3") then | |
local Player = GetPlayer(Arg2) | |
if Player then | |
LagBeam(Player, math.huge, 9000) | |
Notify("Crashed "..Player.Name, Color3.fromRGB(0, 255, 0), "Success") | |
else | |
Notify("No player found", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("antispamarrest") then | |
States.Anti_Spam_Arrest = true | |
Notify("Turn anti spam arrest on", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("crashserver") then | |
local m = Instance.new("Message") | |
m.Text = "If your game crashed wait until it stopped crashed to crash another player, Your game will crash like 20 seconds" | |
m.Parent = game.Players.LocalPlayer.PlayerGui | |
wait(.2) | |
local FireEvent = { | |
RayObject = Ray.new(Vector3.new(), Vector3.new()), | |
Distance = math.huge, | |
Cframe = game.Players.LocalPlayer.Character.Head.CFrame, | |
Hit = game.Players.LocalPlayer.Character.Head | |
} | |
local TotalEvent = {} | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP) | |
local Gun = game.Players.LocalPlayer.Character:FindFirstChild("Remington 870") or game.Players.LocalPlayer.Backpack:FindFirstChild("Remington 870") | |
for i = 1,100000 do | |
TotalEvent[i] = FireEvent | |
end | |
for i = 1,10 do | |
game.ReplicatedStorage.ShootEvent:FireServer(TotalEvent, Gun) | |
end | |
m:Destroy() | |
end | |
if Command("unantispamarrest") then | |
States.Anti_Spam_Arrest = false | |
Notify("Turn anti spam arrest off", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("inmate") or Command("inmates") or Command("prisoner") or Command("prisoners") then | |
workspace.Remote.TeamEvent:FireServer("Bright orange") | |
Notify("Become inmate", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("guard") or Command("guards") or Command("cop") or Command("polices") or Command("cops") then | |
workspace.Remote.TeamEvent:FireServer("Bright blue") | |
if game.Players.LocalPlayer.TeamColor.Name == "Bright blue" then | |
Notify("Become guard", Color3.fromRGB(0, 255, 0), "Success") | |
else | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright blue").Name) | |
Notify("Force become guard", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
end | |
if Command("gun") or Command("guns") or Command("allguns") then | |
if BuyGamepass then | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP) | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M4A1"].ITEMPICKUP) | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["AK-47"].ITEMPICKUP) | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M9"].ITEMPICKUP) | |
else | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP) | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["AK-47"].ITEMPICKUP) | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M9"].ITEMPICKUP) | |
end | |
Notify("Get all guns", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("autogun") or Command("autoguns") or Command("autoallguns") then | |
States.Auto_Guns = true | |
Notify("Turn auto guns on", Color3.fromRGB(0, 255, 0), "Success") | |
if BuyGamepass then | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP) | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M4A1"].ITEMPICKUP) | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["AK-47"].ITEMPICKUP) | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M9"].ITEMPICKUP) | |
else | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP) | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["AK-47"].ITEMPICKUP) | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M9"].ITEMPICKUP) | |
end | |
end | |
if Command("unautogun") or Command("unautoguns") or Command("unautoallguns") then | |
States.Auto_Guns = false | |
Notify("Turn auto guns off", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("loopgoto") or Command("loopto") then | |
local Player = GetPlayer(Arg2) | |
if Player then | |
States.LoopGoto = true | |
repeat wait() | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Player.Character.HumanoidRootPart.CFrame | |
until not States.LoopGoto or not game.Players[Player.Name] | |
end | |
end | |
if Command("unloopgoto") or Command("unloopto") then | |
States.LoopGoto = false | |
end | |
if Command("checkscriptowner") or Command("findowner") then | |
for i,v in pairs(game.Players:GetPlayers()) do | |
if v.DisplayName == "Hack" and v.Name == "ih4xalots" then | |
ChatNotify("Script owner : "..v.Name.." / "..v.DisplayName, Color3.fromRGB(0, 255, 0)) | |
end | |
end | |
end | |
if Command("getplayer") or Command("getplayers") then | |
ChatNotify("Players : "..#game.Players:GetPlayers(), Color3.fromRGB(255, 255, 255)) | |
end | |
if Command("autofire") then | |
if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool"):FindFirstChild("GunStates") then | |
local Gun = require(game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").GunStates) | |
Gun["AutoFire"] = true | |
Notify("Turn auto fire", Color3.fromRGB(0, 255, 0), "Success") | |
else | |
Notify("Equip a gun", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("semifire") then | |
if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool"):FindFirstChild("GunStates") then | |
local Gun = require(game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").GunStates) | |
Gun["AutoFire"] = false | |
Notify("Turn semi fire", Color3.fromRGB(0, 255, 0), "Success") | |
else | |
Notify("Equip a gun", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("firespeed") or Command("setfirespeed") then | |
if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool"):FindFirstChild("GunStates") then | |
local Gun = require(game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").GunStates) | |
if tonumber(Arg2) ~= nil then | |
Gun["FireRate"] = tonumber(Arg2) | |
Notify("Set a gun fire speed to "..tonumber(Arg2), Color3.fromRGB(0, 255, 0), "Success") | |
else | |
Notify("Counts needed", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
else | |
Notify("Equip a gun", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("burst") or Command("burstbullets") or Command("bullets") then | |
if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool"):FindFirstChild("GunStates") then | |
local Gun = require(game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").GunStates) | |
if tonumber(Arg2) ~= nil then | |
Gun["Bullets"] = tonumber(Arg2) | |
Notify("Set a gun burst bullets to "..tonumber(Arg2), Color3.fromRGB(0, 255, 0), "Success") | |
else | |
Notify("Counts needed", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
else | |
Notify("Equip a gun", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("reloadtime") or Command("reloadtimes") then | |
if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool"):FindFirstChild("GunStates") then | |
local Gun = require(game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").GunStates) | |
if tonumber(Arg2) ~= nil then | |
Gun["ReloadTime"] = tonumber(Arg2) | |
Notify("Set a gun reload time to "..tonumber(Arg2), Color3.fromRGB(0, 255, 0), "Success") | |
else | |
Notify("Counts needed", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
else | |
Notify("Equip a gun", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("criminal") or Command("criminals") or Command("crim") or Command("crims") or Command("crimes") or Command("crime") then | |
local savedcf = GetPos() | |
local savedcamcf = GetCamPos() | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Really red").Name) | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
workspace.CurrentCamera.CFrame = savedcamcf | |
Notify("Become a criminal", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("neutral") or Command("neutrals") then | |
workspace.Remote.TeamEvent:FireServer("Medium stone grey") | |
Notify("Become neutral", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("red") then | |
local savedcf = GetPos() | |
local savedcamcf = GetCamPos() | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright red").Name) | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
workspace.CurrentCamera.CFrame = savedcamcf | |
Notify("Changed name tag color to "..Arg1:split("."), Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("blue") then | |
local savedcf = GetPos() | |
local savedcamcf = GetCamPos() | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Deep blue").Name) | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
workspace.CurrentCamera.CFrame = savedcamcf | |
Notify("Changed name tag color to "..Arg1:split("."), Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("black") then | |
local savedcf = GetPos() | |
local savedcamcf = GetCamPos() | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Really black").Name) | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
workspace.CurrentCamera.CFrame = savedcamcf | |
Notify("Changed name tag color to "..Arg1:split("."), Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("pink") then | |
local savedcf = GetPos() | |
local savedcamcf = GetCamPos() | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Hot pink").Name) | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
workspace.CurrentCamera.CFrame = savedcamcf | |
Notify("Changed name tag color to "..Arg1:split("."), Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("grey") then | |
local savedcf = GetPos() | |
local savedcamcf = GetCamPos() | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Ghost grey").Name) | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
workspace.CurrentCamera.CFrame = savedcamcf | |
Notify("Changed name tag color to "..Arg1:split("."), Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("white") then | |
local savedcf = GetPos() | |
local savedcamcf = GetCamPos() | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("White").Name) | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
workspace.CurrentCamera.CFrame = savedcamcf | |
Notify("Changed name tag color to "..Arg1:split("."), Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("brown") then | |
local savedcf = GetPos() | |
local savedcamcf = GetCamPos() | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Brown").Name) | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
workspace.CurrentCamera.CFrame = savedcamcf | |
Notify("Changed name tag color to "..Arg1:split("."), Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("purple") then | |
local savedcf = GetPos() | |
local savedcamcf = GetCamPos() | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Royal purple").Name) | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
workspace.CurrentCamera.CFrame = savedcamcf | |
Notify("Changed name tag color to "..Arg1:split("."), Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("green") then | |
local savedcf = GetPos() | |
local savedcamcf = GetCamPos() | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright green").Name) | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
workspace.CurrentCamera.CFrame = savedcamcf | |
Notify("Changed name tag color to "..Arg1:split("."), Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("yellow") then | |
local savedcf = GetPos() | |
local savedcamcf = GetCamPos() | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright yellow").Name) | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
workspace.CurrentCamera.CFrame = savedcamcf | |
Notify("Changed name tag color to "..Arg1:split("."), Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("orange") then | |
local savedcf = GetPos() | |
local savedcamcf = GetCamPos() | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Neon orange").Name) | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
workspace.CurrentCamera.CFrame = savedcamcf | |
Notify("Changed name tag color to "..Arg1:split("."), Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("chatnotify") then | |
States.ChatNotify = true | |
Notify("Turn chat notify on", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("nochatnotify") or Command("unchatnotify") then | |
States.ChatNotify = false | |
Notify("Turn chat notify off", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("taserbypass") or Command("lock") or Command("antitaser") then | |
for i,v in pairs(tazePlayer) do | |
v:Disable() | |
end | |
States.Anti_Taser = true | |
Notify("Turn taser bypass on", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("notaserbypass") or Command("unlock") or Command("untaserbypass") then | |
for i,v in pairs(getconnections(workspace.Remote.tazePlayer.OnClientEvent)) do | |
v:Enable() | |
end | |
States.Anti_Taser = false | |
Notify("Turn taser bypass off", Color3.fromRGB(0, 255, 0), "Success") | |
game.Players.LocalPlayer.Character.ClientInputHandler.Disabled = false | |
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16 | |
game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50 | |
end | |
if Command("color") then | |
if Arg2 ~= nil and Arg3 == nil then | |
local savedcf = GetPos() | |
workspace.Remote.loadchar:InvokeServer(nil, Arg2) | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
elseif Arg2 ~= nil and Arg3 ~= nil and Arg4 == nil then | |
local savedcf = GetPos() | |
workspace.Remote.loadchar:InvokeServer(nil, Arg2.." "..Arg3) | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
elseif Arg2 ~= nil and Arg3 ~= nil and Arg4 ~= nil then | |
local savedcf = GetPos() | |
workspace.Remote.loadchar:InvokeServer(nil, Arg2.." "..Arg3.." "..Arg4) | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
end | |
Notify("Changed name tag color", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("print") then | |
print(Message) | |
Notify("Printed", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("warn") then | |
warn(Message) | |
Notify("Warned", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("error") then | |
Notify("Printed error", Color3.fromRGB(0, 255, 0), "Success") | |
error(Message) | |
end | |
if Command("chat") then | |
Chat(Message) | |
Notify("Chatted", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("copychat") then | |
States.CopyChat = true | |
Notify("Turn copy chat on", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("uncopychat") then | |
States.CopyChat = false | |
Notify("Turn copy chat off", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("tase") then | |
local Player = GetPlayer(Arg2) | |
if Player ~= nil then | |
Tase(Player) | |
Notify("Tased "..Player.Name, Color3.fromRGB(0, 255, 0), "Success") | |
else | |
Notify("No player found", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("taseall") then | |
TaserAll() | |
end | |
if Command("noshield") or Command("antishield") then | |
States.Anti_Shield = true | |
Notify("Turn anti shield users on", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("unantishield") then | |
States.Anti_Shield = false | |
Notify("Turn anti shield users off", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("kill") or Command("kills") then | |
local Player = GetPlayer(Arg2) | |
if Player ~= nil then | |
Kill(Player) | |
Notify("Killed "..Player.Name, Color3.fromRGB(0, 255, 0), "Success") | |
else | |
Notify("No player found", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("killall") then | |
wait(.075) | |
KillAll() | |
Notify("Killed all players", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("killinmate") or Command("killinmates") or Command("killsinmate") or Command("killsinmates") then | |
wait(.075) | |
KillTeam(BrickColor.new("Bright orange").Name) | |
Notify("Killed all inmates", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("killguard") or Command("killsguard") or Command("killguards") or Command("killsguards") then | |
wait(.075) | |
KillTeam(BrickColor.new("Bright blue").Name) | |
Notify("Killed all guards", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("killcriminal") or Command("killscriminal") or Command("killcriminals") or Command("killscriminals") then | |
wait(.075) | |
KillTeam(BrickColor.new("Really red").Name) | |
Notify("Killed all criminals", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("loopkill") or Command("loopkills") then | |
local Player = GetPlayer(Arg2) | |
if Player ~= nil and not LoopKill[Player.UserId] then | |
LoopKill[Player.UserId] = {Player = Player} | |
Notify("Looping kills "..Player.Name, Color3.fromRGB(0, 255, 0), "Success") | |
else | |
Notify("No player found / already loop kills", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("unloopkill") or Command("unloopkills") then | |
local Player = GetPlayer(Arg2) | |
if Player ~= nil and LoopKill[Player.UserId] then | |
LoopKill[Player.UserId] = nil | |
Notify("Unloop kills "..Player.Name, Color3.fromRGB(0, 255, 0), "Success") | |
else | |
Notify("No player found / Player has no loop kills", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("loopkillguard") or Command("loopkillguards") or Command("loopkillsguard") or Command("loopkillsguards") or Command("loopkillcop") or Command("loopkillpolices") or Command("loopkillspolices") then | |
States.LoopKill_Guards = true | |
Notify("Looping kills all guards", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("unloopkillguard") or Command("unloopkillguards") or Command("unloopkillsguard") or Command("unloopkillsguards") or Command("unloopkillcop") or Command("unloopkillpolices") or Command("unloopkillspolices") then | |
States.LoopKill_Guards = false | |
Notify("Unloop kills all guards", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("loopkillinmate") or Command("loopkillinmates") or Command("loopkillsinmate") or Command("loopkillsinmates") or Command("loopkillprisoner") or Command("loopkillprisoners") then | |
States.LoopKill_Inmates = true | |
Notify("Looping kills all inmates", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("unloopkillinmate") or Command("unloopkillinmates") or Command("unloopkillsinmate") or Command("unloopkillsinmates") or Command("unloopkillprisoner") or Command("unloopkillprisoners") then | |
States.LoopKill_Inmates = false | |
Notify("Unloop kills all inmates", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("loopkillcriminal") or Command("loopkillcriminals") or Command("loopkillscriminal") or Command("loopkillscriminals") or Command("loopkillcrim") or Command("loopkillcrims") then | |
States.LoopKill_Criminals = true | |
Notify("Looping kills all criminals", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("unloopkillcriminal") or Command("unloopkillcriminals") or Command("unloopkillscriminal") or Command("unloopkillscrriminals") or Command("unloopkillcrim") or Command("unloopkillcrims") then | |
States.LoopKill_Criminals = false | |
Notify("Unlooping kills all criminals", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("loopkillall") or Command("loopkillsall") then | |
States.LoopKill_Others = true | |
Notify("Looping kills all players", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("unloopkillall") or Command("unloopkillsall") then | |
States.LoopKill_Criminals = false | |
States.LoopKill_Guards = false | |
States.LoopKill_Inmates = false | |
States.LoopKill_Others = false | |
Notify("Unlooping kills all players", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("goto") or Command("to") then | |
local Player = GetPlayer(Arg2) | |
if Player ~= nil then | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[Player.Name].HumanoidRootPart.CFrame | |
Notify("Go to "..Player.Name, Color3.fromRGB(0, 255, 0), "Success") | |
else | |
Notify("No player found", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("re") or Command("refresh") then | |
if game.Players.LocalPlayer.TeamColor.Name ~= "Medium stone grey" then | |
if game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then | |
local savedcf = GetPos() | |
local savedcamcf = GetCamPos() | |
workspace.Remote.loadchar:InvokeServer() | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
workspace.CurrentCamera.CFrame = savedcamcf | |
end | |
else | |
if game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then | |
local savedcf = GetPos() | |
local savedcamcf = GetCamPos() | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright orange").Name) | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
workspace.CurrentCamera.CFrame = savedcamcf | |
workspace.Remote.TeamEvent:FireServer("Medium stone grey") | |
end | |
end | |
Notify("Refreshed", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("res") or Command("respawn") then | |
if game.Players.LocalPlayer.TeamColor.Name ~= "Medium stone grey" then | |
workspace.Remote.loadchar:InvokeServer() | |
else | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright orange").Name) | |
local savedcf = GetPos() | |
local savedcamcf = GetCamPos() | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Really red").Name) | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
workspace.CurrentCamera.CFrame = savedcamcf | |
workspace.Remote.TeamEvent:FireServer("Medium stone grey") | |
end | |
Notify("Respawned", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("looparrest") or Command("spamarrest") then | |
local Player = GetPlayer(Arg2) | |
if Player ~= nil then | |
Notify("Spam arresting "..Player.Name, Color3.fromRGB(0, 255, 0), "Success") | |
States.SpamArrest = true | |
repeat wait() | |
pcall(function() | |
local CanArrest = false | |
repeat wait() | |
if Player.TeamColor.Name == "Really red" and not CanArrest then | |
CanArrest = true | |
end | |
if Player.TeamColor.Name == "Bright orange" and not CanArrest then | |
Teleport(Player, CFrame.new(976.48529052734, 99.990005493164, 2338.4716796875)) | |
if (Player.Character:FindFirstChildOfClass("Part").CFrame.p-Vector3.new(976.48529052734, 99.990005493164, 2338.4716796875)).magnitude < 10 then | |
CanArrest = true | |
end | |
end | |
if Player.TeamColor.Name ~= "Bright orange" and Player.TeamColor.Name ~= "Really red" and not CanArrest then | |
Teleport(Player, CFrame.new(-975.58190917969, 109.32379150391, 2061.7973632813)) | |
end | |
until CanArrest or not States.SpamArrest or not game.Players[Player.Name] | |
wait(.1) | |
game.Workspace.Remote.loadchar:InvokeServer() | |
UseCommand = true | |
for i = 1,10 do | |
wait() | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Player.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 1) | |
end | |
for i = 1,750 do | |
coroutine.wrap(function() | |
ArrestEvent(Player, math.huge) | |
end)() | |
end | |
repeat wait() until Player.CharacterAdded | |
end) | |
until not game.Players[Player.Name] or not States.SpamArrest | |
end | |
end | |
if Command("unlooparrest") or Command("unspamarrest") then | |
States.SpamArrest = false | |
Notify("Unspam arrest", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("view") or Command("spectate") or Command("watch") then | |
local Player = GetPlayer(Arg2) | |
if Player ~= nil then | |
Watching = Player | |
Notify("Viewing "..Player.Name, Color3.fromRGB(0, 255, 0), "Success") | |
else | |
Notify("No player found", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("antifling") then | |
States.Anti_Fling = true | |
Notify("Turn anti fling on", Color3.fromRGB(0, 255, 0), "Success") | |
game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").Size = Vector3.new(math.huge, game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").Size.Y, math.huge) | |
end | |
if Command("noclip") or Command("noclips") then | |
States.Noclips = true | |
Notify("Turn no clips on", Color3.fromRGB(0, 255, 0), "Success") | |
game:GetService("RunService").Stepped:Connect(function() | |
if States.Noclips then | |
pcall(function() | |
game.Players.LocalPlayer.Character:FindFirstChild("Head").CanCollide = false | |
game.Players.LocalPlayer.Character:FindFirstChild("Torso").CanCollide = false | |
end) | |
end | |
end) | |
end | |
if Command("clip") or Command("clips") then | |
States.Noclips = false | |
Notify("Turn no clips off", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("unantifling") then | |
States.Anti_Fling = false | |
Notify("Turn anti fling off", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("antivest") or Command("anticrash") then | |
States.Anti_Crash = true | |
if States.Anti_Crash then | |
for i,v in pairs(connections) do | |
v:Disable() | |
end | |
else | |
for i,v in pairs(connections) do | |
v:Enable() | |
end | |
end | |
Notify("Turn anti armor spammer on", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("unantivest") or Command("unanticrash") then | |
States.Anti_Crash = false | |
if States.Anti_Crash then | |
for i,v in pairs(connections) do | |
v:Disable() | |
end | |
else | |
for i,v in pairs(connections) do | |
v:Enable() | |
end | |
end | |
Notify("Turn anti armor spammer off", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("fastpunch") or Command("speedpunch") or Command("speedlypunch") or Command("superspeedpunch") then | |
States.Fast_Punch = true | |
Notify("Turn fast punch on", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("slowpunch") or Command("normalspeedpunch") or Command("nofastpunch") or Command("unfastpunch") then | |
States.Fast_Punch = false | |
Notify("Turn fast punch off", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("superpunch") or Command("onepunch") then | |
local ReplicatedStorage = game:GetService("ReplicatedStorage") | |
local MeleeEvent = ReplicatedStorage:FindFirstChild("meleeEvent") | |
local Mouse = game.Players.LocalPlayer:GetMouse() | |
local Punch = false | |
local Cooldown = false | |
States.SuperPunch = true | |
Notify("Turn super punch on", Color3.fromRGB(0, 255, 0), "Success") | |
local function Punch() | |
if not States.Fast_Punch then | |
Cooldown = true | |
local Part = Instance.new("Part", game.Players.LocalPlayer.Character) | |
Part.Transparency = 1 | |
Part.Size = Vector3.new(5, 2, 3) | |
Part.CanCollide = false | |
local Weld = Instance.new("Weld", Part) | |
Weld.Part0 = game.Players.LocalPlayer.Character.Torso | |
Weld.Part1 = Part | |
Weld.C1 = CFrame.new(0, 0, 2) | |
Part.Touched:connect(function(Touch) | |
if game.Players:FindFirstChild(Touch.Parent.Name) then | |
local plr = game.Players:FindFirstChild(Touch.Parent.Name) | |
if plr.Name ~= game.Players.LocalPlayer.Name then | |
Part:Destroy() | |
for i = 1,100 do | |
MeleeEvent:FireServer(plr) | |
end | |
end | |
end | |
end) | |
wait(0.9) | |
Cooldown = false | |
Part:Destroy() | |
else | |
Cooldown = true | |
local Part = Instance.new("Part", game.Players.LocalPlayer.Character) | |
Part.Transparency = 1 | |
Part.Size = Vector3.new(5, 2, 3) | |
Part.CanCollide = false | |
local Weld = Instance.new("Weld", Part) | |
Weld.Part0 = game.Players.LocalPlayer.Character.Torso | |
Weld.Part1 = Part | |
Weld.C1 = CFrame.new(0, 0, 2) | |
Part.Touched:connect(function(Touch) | |
if game.Players:FindFirstChild(Touch.Parent.Name) then | |
local plr = game.Players:FindFirstChild(Touch.Parent.Name) | |
if plr.Name ~= game.Players.LocalPlayer.Name then | |
Part:Destroy() | |
for i = 1,100 do | |
MeleeEvent:FireServer(plr) | |
end | |
end | |
end | |
end) | |
wait(0.1) | |
Cooldown = false | |
Part:Destroy() | |
end | |
end | |
Mouse.KeyDown:connect(function(Key) | |
if not Cooldown and States.SuperPunch then | |
if Key:lower() == "f" then | |
Punch() | |
end | |
end | |
end) | |
end | |
if Command("normalpunch") or Command("oldpunch") or Command("nosuperpunch") or Command("stoponepunch") or Command("unonepunch") or Command("unsuperpunch") then | |
States.SuperPunch = false | |
Notify("Turn super punch off", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("superknife") then | |
local player = GetPlayer(Arg2) | |
if player ~= nil and player ~= game.Players.LocalPlayer then | |
local savedteam = game.Players.LocalPlayer.TeamColor.Name | |
workspace.Remote.TeamEvent:FireServer("Bright orange") | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.single["Crude Knife"].ITEMPICKUP) | |
local Item = game.Players.LocalPlayer:FindFirstChild("Backpack"):FindFirstChild("Crude Knife") or game.Players.LocalPlayer.Character:FindFirstChild("Crude Knife") | |
local savedcf = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame | |
UseCommand = true | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = player.Character.HumanoidRootPart.CFrame | |
local CHAR = game.Players.LocalPlayer.Character | |
CHAR.Humanoid.Name = "1" | |
local c = CHAR["1"]:Clone() | |
c.Name = "Humanoid" | |
c.Parent = CHAR | |
CHAR["1"]:Destroy() | |
game.Workspace.CurrentCamera.CameraSubject = CHAR | |
CHAR.Animate.Disabled = true | |
wait() | |
CHAR.Animate.Disabled = false | |
CHAR.Humanoid.DisplayDistanceType = "None" | |
if not game.Players.LocalPlayer.Character:FindFirstChild(Item.Name) then | |
Item.Parent = game.Players.LocalPlayer.Character | |
end | |
local STOP = 0 | |
repeat wait(.1) | |
STOP = STOP + 1 | |
UseCommand = true | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = player.Character.Torso.CFrame * CFrame.new(0, 0, 0.75) | |
until (not game.Players.LocalPlayer.Character:FindFirstChild(Item.Name) or not game.Players[player.Name] or not game.Players.LocalPlayer.Character or not game.Players.LocalPlayer.Character.HumanoidRootPart or STOP > 500) | |
wait(.2) | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new(savedteam).Name) | |
UseCommand = true | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
SuperKnife[player.UserId] = {Player = player} | |
player.CharacterAdded:Wait() | |
SuperKnife[player.UserId] = nil | |
Notify("Gives "..player.DisplayName.." super knife", Color3.fromRGB(0, 255, 0), "Success") | |
elseif player == nil or player == game.Players.LocalPlayer then | |
local Knife = game.Players.LocalPlayer.Backpack:FindFirstChild("Crude Knife") or game.Players.LocalPlayer.Character:FindFirstChild("Crude Knife") | |
if not Knife then | |
workspace.Remote.ItemHandler:InvokeServer(workspace["Prison_ITEMS"].single["Crude Knife"].ITEMPICKUP) | |
end | |
wait() | |
Knife = game.Players.LocalPlayer.Backpack:FindFirstChild("Crude Knife") or game.Players.LocalPlayer.Character:FindFirstChild("Crude Knife") | |
if Knife then | |
local Cooldown = false | |
local Hitting = false | |
local Hitted = false | |
Knife.Equipped:Connect(function() | |
Knife.Activated:Connect(function() | |
if not Cooldown then | |
Cooldown = true | |
Hitting = true | |
for i,v in pairs(Knife:GetChildren()) do | |
if v:IsA("Part") then | |
v.Touched:Connect(function(Hit) | |
if Hit and Hit.Parent ~= game.Players.LocalPlayer and not Hitted and Hitting then | |
Hitted = true | |
for i = 1,25 do | |
game.ReplicatedStorage.meleeEvent:FireServer(game.Players[Hit.Parent.Name]) | |
end | |
end | |
end) | |
end | |
end | |
wait(0.5) | |
Cooldown = false | |
Hitting = false | |
Hitted = false | |
end | |
end) | |
end) | |
end | |
Notify("Obtained super knife", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
end | |
if Command("unview") or Command("unspectate") or Command("stopwatch") or Command("unwatch") then | |
Watching = nil | |
workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character | |
Notify("Unviewed", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("antivoid") or Command("antifell") then | |
States.Anti_Void = true | |
Notify("Turn anti void on", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("unantivoid") or Command("unantifell") then | |
States.Anti_Void = false | |
Notify("Turn anti void off", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("bring") then | |
local Player = GetPlayer(Arg2) | |
if Player ~= nil then | |
Teleport(GetPlayer(Arg2), game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame) | |
Notify("Brought "..Player.Name, Color3.fromRGB(0, 255, 0), "Success") | |
else | |
Notify("No player found", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("teleport") or Command("tp") then | |
local Player = GetPlayer(Arg2) | |
local Player2 = GetPlayer(Arg3) | |
if Player ~= nil and Player2 ~= nil then | |
TeleportV(Player, Player2) | |
Notify("Teleported "..Player.Name.." to "..Player2.Name, Color3.fromRGB(0, 255, 0), "Success") | |
else | |
Notify("No player found", Color3.fromRGB(0, 255, 0), "Error") | |
end | |
end | |
if Command("void") then | |
local Player = GetPlayer(Arg2) | |
if Player ~= nil then | |
Void(Player) | |
Notify("Voided "..Player.Name, Color3.fromRGB(0, 255, 0), "Success") | |
else | |
Notify("No player found", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("killaura") then | |
States.Kill_Aura = true | |
Notify("Turn kill aura on", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("nokillaura") or Command("unkillaura") then | |
States.Kill_Aura = false | |
Notify("Turn kill aura off", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("auto") or Command("autore") or Command("autorefresh") then | |
States.Auto_Refresh = true | |
Notify("Turn auto refresh on", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("unauto") or Command("auntore") or Command("unautorefresh") then | |
States.Auto_Refresh = false | |
Notify("Turn auto refresh off", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("prefix") or Command("newprefix") or Command("changeprefix") then | |
local NewPrefix = Arg2 | |
if NewPrefix ~= nil then | |
Prefix = NewPrefix | |
Execute.PlaceholderText = "Press "..Prefix.." To Enter" | |
Notify("Changed prefix to "..NewPrefix, Color3.fromRGB(0, 255, 0), "Success") | |
else | |
Notify("Text needed", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("speed") or Command("walkspeed") or Command("setspeed") or Command("setwalkspeed") then | |
local WalkSpeed = tonumber(Arg2) | |
if WalkSpeed ~= nil then | |
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = WalkSpeed | |
Notify("Changed walk speed to "..WalkSpeed, Color3.fromRGB(0, 255, 0), "Success") | |
else | |
Notify("Counts needed", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("jumppower") or Command("jumphigh") or Command("setjumppower") then | |
local JumpPower = tonumber(Arg2) | |
if JumpPower ~= nil then | |
game.Players.LocalPlayer.Character.Humanoid.JumpPower = JumpPower | |
Notify("Changed jump power to "..JumpPower, Color3.fromRGB(0, 255, 0), "Success") | |
else | |
Notify("Counts needed", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("hipheight") or Command("sethipheight") then | |
local HipHeight = tonumber(Arg2) | |
if HipHeight ~= nil then | |
game.Players.LocalPlayer.Character.Humanoid.HipHeight = HipHeight | |
Notify("Changed hip height to "..HipHeight, Color3.fromRGB(0, 255, 0), "Success") | |
else | |
Notify("Counts needed", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("lagserver") or Command("disconnect") then | |
States.Lag_Server = true | |
Notify("Lagging server", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("unlagserver") or Command("stopdisconnect") or Command("undisconnect") then | |
States.Lag_Server = false | |
Notify("Unlagging server", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("gravity") or Command("setgravity") then | |
local Gravity = tonumber(Arg2) | |
if Gravity ~= nil then | |
workspace.Gravity = Gravity | |
Notify("Changed gravity to "..Gravity, Color3.fromRGB(0, 255, 0), "Success") | |
else | |
Notify("Count needed", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("makecrim") then | |
local Player = GetPlayer(Arg2) | |
if Player ~= nil then | |
Teleport(Player, CFrame.new(-919, 96, 2138)) | |
Notify("Crimmed "..Player.Name, Color3.fromRGB(0, 255, 0), "Success") | |
else | |
Notify("No player found", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("resetgravity") or Command("regravity") then | |
workspace.Gravity = 196.2 | |
Notify("Resetted gravity", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("resethipheight") or Command("rehipheight") then | |
game.Players.LocalPlayer.Character.Humanoid.HipHeight = 0 | |
Notify("Resetted hip height", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("resetspeed") or Command("respeed") then | |
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16 | |
Notify("Resetted walk speed", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("resetjumppower") or Command("rejumppower") then | |
game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50 | |
Notify("Resetted jump power", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("leave") or Command("leaveserver") or Command("quit") then | |
Notify("Leaving server", Color3.fromRGB(0, 255, 0), "Success") | |
wait(.1) | |
game:Shutdown() | |
end | |
if Command("rejoin") or Command("rj") then | |
Notify("Rejoining server", Color3.fromRGB(0, 255, 0), "Success") | |
wait(.1) | |
game:GetService("TeleportService"):Teleport(game.PlaceId, game.Players.LocalPlayer) | |
end | |
if Command("nodoors") or Command("deletedoors") then | |
if workspace:FindFirstChild("Doors") then | |
workspace.Doors.Parent = game.Lighting | |
end | |
Notify("Deleted doors", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("doors") or Command("restoredoors") then | |
if game.Lighting:FindFirstChild("Doors") then | |
game.Lighting.Doors.Parent = workspace | |
end | |
Notify("Restored doors", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("nowalls") or Command("deletedoors") then | |
pcall(function() | |
for i,v in pairs(Walls) do | |
v.Parent = game.Lighting | |
end | |
end) | |
Notify("Deleted walls", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("walls") or Command("restorewalls") then | |
pcall(function() | |
for i,v in pairs(game.Lighting:GetChildren()) do | |
if v.Name ~= "Doors" then | |
v.Parent = workspace | |
end | |
end | |
end) | |
Notify("Restored walls", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("god") or Command("godmode") then | |
States.God_Mode = true | |
Notify("Turn god mode on", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("ungod") or Command("ungodmode") then | |
States.God_Mode = false | |
Notify("Turn god mode off", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("arrest") or Command("handcuffs") then | |
local Player = GetPlayer(Arg2) | |
if Player ~= nil then | |
Arrest(Player, tonumber(Arg3)) | |
Notify("Arrested "..Player.Name, Color3.fromRGB(0, 255, 0), "Success") | |
else | |
Notify("No player found", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("arrestall") or Command("arrestother") or Command("arrestothers") then | |
for i,v in pairs(game.Players:GetPlayers()) do | |
if v ~= game.Players.LocalPlayer then | |
if v.TeamColor.Name == "Really red" then | |
Arrest(v, 10) | |
end | |
end | |
end | |
Notify("Arrested all criminals", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("opengate") then | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.buttons["Prison Gate"]["Prison Gate"]) | |
Notify("Opened gate", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("getpos") then | |
print("Humanoid Root Part Position :") | |
print(game.Players.LocalPlayer.Character.HumanoidRootPart.Position) | |
print("Camera CFrame :") | |
print(workspace.CurrentCamera.CFrame) | |
Notify("Printed positions", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("saveposition") or Command("savepos") then | |
States.SavedCFrame = GetPos() | |
Notify("Saved positions", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("loadposition") or Command("loadpos") then | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = States.SavedCFrame | |
Notify("Loaded positions", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("spamchat") then | |
States.SpamChat = true | |
Notify("Spamming chat", Color3.fromRGB(0, 255, 0), "Success") | |
if tonumber(Arg2) ~= nil then | |
States.Spam_Wait = tonumber(Arg2) | |
else | |
States.Spam_Wait = 1 | |
end | |
end | |
if Command("unspamchat") then | |
States.SpamChat = false | |
Notify("Unspamming chat", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("rapidfire") then | |
local Tool = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") | |
local Name | |
local Req | |
if Tool then | |
Notify("Activated rapid fire", Color3.fromRGB(0, 255, 0), "Success") | |
States.CAN = true | |
Name = Tool.Name | |
if Tool:FindFirstChild("GunStates") then | |
Req = require(Tool.GunStates) | |
Req["MaxAmmo"] = Req["MaxAmmo"] | |
Req["StoredAmmo"] = Req["StoredAmmo"] | |
Req["AmmoPerClip"] = Req["AmmoPerClip"] | |
Req["CurrentAmmo"] = Req["CurrentAmmo"] | |
Req["FireRate"] = -math.huge | |
Req["Bullets"] = 25 | |
Req["Range"] = math.huge | |
Req["Damage"] = math.huge | |
Req["ReloadTime"] = -math.huge | |
Req["AutoFire"] = true | |
end | |
end | |
while wait() do | |
pcall(function() | |
if game.Players.LocalPlayer.Character:FindFirstChild(Name) and States.CAN then | |
if Req["CurrentAmmo"] < 1 then | |
Tool:Destroy() | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver[Name].ITEMPICKUP) | |
Tool = game.Players.LocalPlayer.Backpack:FindFirstChild(Name) | |
if Tool then | |
Name = Tool.Name | |
Tool.Parent = game.Players.LocalPlayer.Character | |
Tool = game.Players.LocalPlayer.Character[Name] | |
Req = require(Tool.GunStates) | |
Req["MaxAmmo"] = Req["MaxAmmo"] | |
Req["StoredAmmo"] = Req["StoredAmmo"] | |
Req["AmmoPerClip"] = Req["AmmoPerClip"] | |
Req["CurrentAmmo"] = Req["CurrentAmmo"] | |
Req["FireRate"] = -math.huge | |
Req["Bullets"] = 25 | |
Req["Range"] = math.huge | |
Req["Damage"] = math.huge | |
Req["ReloadTime"] = -math.huge | |
Req["AutoFire"] = true | |
end | |
end | |
end | |
end) | |
end | |
end | |
if Command("autorapidfire") then | |
States.Auto_RapidFire = true | |
Notify("Turn auto rapid fire on", Color3.fromRGB(0, 255, 0), "Success") | |
if game.Players.LocalPlayer.TeamColor.Name ~= "Medium stone grey" then | |
local savedcf = GetOrientation() | |
local savedcamcf = GetCamPos() | |
workspace.Remote.loadchar:InvokeServer() | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
workspace.CurrentCamera.CFrame = savedcamcf | |
else | |
local savedcf = GetOrientation() | |
local savedcamcf = GetCamPos() | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright orange").Name) | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
workspace.CurrentCamera.CFrame = savedcamcf | |
workspace.Remote.TeamEvent:FireServer("Medium stone grey") | |
end | |
end | |
if Command("unautorapidfire") then | |
States.Auto_RapidFire = false | |
if game.Players.LocalPlayer.TeamColor.Name ~= "Medium stone grey" then | |
local savedcf = GetOrientation() | |
local savedcamcf = GetCamPos() | |
workspace.Remote.loadchar:InvokeServer() | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
workspace.CurrentCamera.CFrame = savedcamcf | |
else | |
local savedcf = GetOrientation() | |
local savedcamcf = GetCamPos() | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright orange").Name) | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
workspace.CurrentCamera.CFrame = savedcamcf | |
workspace.Remote.TeamEvent:FireServer("Medium stone grey") | |
end | |
Notify("Turn auto rapid fire off", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("notifybar") then | |
Background4.Visible = true | |
end | |
if Command("loopbring") then | |
local Player = GetPlayer(Arg2) | |
if Player ~= nil then | |
Notify("Looping bring "..Player.Name, Color3.fromRGB(0, 255, 0), "Success") | |
States.PlayerToLoopBring = Player | |
States.LoopBring = true | |
coroutine.wrap(function() | |
DoLoop() | |
end)() | |
NOW = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame | |
repeat wait() | |
pcall(function() | |
LoopBring(States.PlayerToLoopBring) | |
end) | |
until States.LoopBring == false or not game.Players[Player.Name] | |
States.LoopBring = false | |
end | |
end | |
if Command("unloopbring") then | |
States.LoopBring = false | |
States.PlayerToLoopBring = nil | |
Notify("Unlooping bring", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("admin") or Command("giveadmin") then | |
local Player = GetPlayer(Arg2) | |
if Player ~= nil and not Admin[Player.UserId] then | |
Admin[Player.UserId] = {Player = Player} | |
Chat("/w "..Player.Name.." You've got admin permissions! Type "..Prefix.."cmds or "..Prefix.."cmd to see all commands") | |
Notify("Gave "..Player.Name.." admin commands", Color3.fromRGB(0, 255, 0), "Success") | |
else | |
Notify("No player found / already admin", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("unadmin") or Command("removeadmin") then | |
local Player = GetPlayer(Arg2) | |
if Player ~= nil and Admin[Player.UserId] then | |
Admin[Player.UserId] = nil | |
Chat("/w "..Player.Name.." You are bad you've been removed admin permissions") | |
Notify("Removed admins from "..Player.Name, Color3.fromRGB(0, 255, 0), "Success") | |
else | |
Notify("No player found / already admin", Color3.fromRGB(255, 0, 0), "Error") | |
end | |
end | |
if Command("baseballbat") or Command("bat") then | |
local LocalPlayer = game.Players.LocalPlayer | |
local Character = LocalPlayer.Character | |
local Backpack = LocalPlayer.Backpack | |
local Humanoid = Character.Humanoid | |
if not Backpack:FindFirstChild("Bat") and not Character:FindFirstChild("Bat") then | |
local BaseBallBat = Instance.new("Tool", Backpack) | |
local Handle = Instance.new("Part", BaseBallBat) | |
BaseBallBat.GripPos = Vector3.new(0, -1.15, 0) | |
BaseBallBat.Name = "Bat" | |
Handle.Name = "Handle" | |
Handle.Size = Vector3.new(0.4, 5, 0.4) | |
local Animation =Instance.new("Animation", BaseBallBat) | |
Animation.AnimationId = "rbxassetid://218504594" | |
local Track = Humanoid:LoadAnimation(Animation) | |
local Cooldown = false | |
local Attacked = false | |
local Attacking = false | |
BaseBallBat.Equipped:Connect(function() | |
BaseBallBat.Activated:Connect(function() | |
if not Cooldown then | |
Cooldown = true | |
Attacking = true | |
Track:Play() | |
Handle.Touched:Connect(function(Hit) | |
if Hit.Parent and Hit.Parent ~= game.Players.LocalPlayer and not Attacked and Attacking then | |
Attacked = true | |
for i = 1,15 do | |
game.ReplicatedStorage.meleeEvent:FireServer(game.Players[Hit.Parent.Name]) | |
end | |
end | |
end) | |
wait(0.25) | |
Cooldown = false | |
Attacked = false | |
Attacking = false | |
end | |
end) | |
end) | |
end | |
Notify("Obtained base ball bat", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("tools") or Command("tool") or Command("btool") or Command("btools") then | |
local Backpack = game.Players.LocalPlayer.Backpack | |
local Character = game.Players.LocalPlayer.Character | |
if not Backpack:FindFirstChild("Bin_1") and not Character:FindFirstChild("Bin_1") then | |
local HopperBin_1 = Instance.new("HopperBin", Backpack) | |
HopperBin_1.BinType = 1 | |
HopperBin_1.Name = "Bin_1" | |
end | |
if not Backpack:FindFirstChild("Bin_2") and not Character:FindFirstChild("Bin_2") then | |
local HopperBin_2 = Instance.new("HopperBin", Backpack) | |
HopperBin_2.BinType = 2 | |
HopperBin_2.Name = "Bin_2" | |
end | |
if not Backpack:FindFirstChild("Bin_3") and not Character:FindFirstChild("Bin_3") then | |
local HopperBin_3 = Instance.new("HopperBin", Backpack) | |
HopperBin_3.BinType = 3 | |
HopperBin_3.Name = "Bin_3" | |
end | |
if not Backpack:FindFirstChild("Bin_4") and not Character:FindFirstChild("Bin_4") then | |
local HopperBin_4 = Instance.new("HopperBin", Backpack) | |
HopperBin_4.BinType = 4 | |
HopperBin_4.Name = "Bin_4" | |
end | |
loadstring(game:GetObjects("rbxassetid://552440069")[1].Source)() | |
Notify("Obtained btools", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("test") then | |
local savedcf = GetPos() | |
local CrimPad = workspace["Criminals Spawn"].SpawnLocation | |
local padcf = CrimPad.CFrame | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Really red").Name) | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CrimPad.CFrame | |
wait() | |
CrimPad.CFrame = GetPos() | |
CrimPad.CanCollide = false | |
CrimPad.Transparency = 1.000 | |
CrimPad.Anchored = true | |
pcall(function() | |
for i,v in pairs(game.Teams.Inmates:GetPlayers()) do | |
if v ~= game.Players.LocalPlayer then | |
CrimPad.CFrame = v.Character.HumanoidRootPart.CFrame | |
end | |
end | |
for i,v in pairs(game.Teams.Guards:GetPlayers()) do | |
if v ~= game.Players.LocalPlayer then | |
CrimPad.CFrame = v.Character.HumanoidRootPart.CFrame | |
end | |
end | |
end) | |
workspace.Remote.loadchar:InvokeServer() | |
CrimPad.Transparency = 0.000 | |
CrimPad.CFrame = padcf | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
Notify("???", Color3.fromRGB(0, 0, 0), "LOL") | |
end | |
if Command("antilag") or Command("boostfps") then | |
States.BoostFps = true | |
Notify("Turn anti lag on", Color3.fromRGB(0, 255, 0), "Success") | |
for _, v in pairs(game:GetDescendants()) do | |
pcall(function() | |
v.Material = Enum.Material.Plastic | |
Material[v.Name] = {Material = v.Material} | |
end) | |
end | |
end | |
if Command("unantilag") then | |
States.BoostFps = false | |
Notify("Turn anti lag off", Color3.fromRGB(0, 255, 0), "Success") | |
for _, v in pairs(game:GetDescendants()) do | |
pcall(function() | |
v.Material = Material[v.Name].Material | |
end) | |
end | |
end | |
if Command("serverhop") or Command("newserver") or Command("changeserver") then | |
Notify("Changing server", Color3.fromRGB(0, 255, 0), "Success") | |
wait(.1) | |
game:GetService("TeleportService"):Teleport(game.PlaceId) | |
end | |
if Command("nexus") then | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(888, 100, 2388) | |
end | |
if Command("cafe") then | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(877, 100, 2256) | |
end | |
if Command("backnexus") then | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(982, 100, 2334) | |
end | |
if Command("yard") then | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(791, 98, 2498) | |
end | |
if Command("crimbase") or Command("criminalbase") then | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-943, 95, 2055) | |
end | |
if Command("armory") then | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(789, 100, 2260) | |
end | |
if Command("lunchroom") then | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(905, 100, 2226) | |
end | |
if Command("gate") then | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(505, 103, 2250) | |
end | |
if Command("tower") then | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(822, 131, 2588) | |
end | |
if Command("gatetower") then | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(502, 126, 2306) | |
end | |
if Command("sewer") then | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(916, 79, 2311) | |
end | |
if Command("voidall") then | |
for i,v in pairs(game.Players:GetPlayers()) do | |
if v ~= game.Players.LocalPlayer then | |
Void(v) | |
end | |
end | |
end | |
if Command("makecrimall") then | |
local savedcf = GetOrientation() | |
local CrimPad = workspace["Criminals Spawn"].SpawnLocation | |
local padcf = CrimPad.CFrame | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Really red").Name) | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CrimPad.CFrame | |
wait() | |
CrimPad.CFrame = GetPos() | |
CrimPad.CanCollide = false | |
CrimPad.Transparency = 1.000 | |
CrimPad.Anchored = true | |
repeat wait() | |
pcall(function() | |
for i,v in pairs(game.Teams.Inmates:GetPlayers()) do | |
if v ~= game.Players.LocalPlayer then | |
Teleport(v, CrimPad.CFrame) | |
end | |
end | |
for i,v in pairs(game.Teams.Guards:GetPlayers()) do | |
if v ~= game.Players.LocalPlayer then | |
Teleport(v, CrimPad.CFrame) | |
end | |
end | |
end) | |
until #game.Teams.Criminals:GetPlayers() == (#game.Players:GetPlayers()-#game.Teams.Neutral:GetPlayers()) | |
workspace.Remote.loadchar:InvokeServer() | |
CrimPad.Transparency = 0.000 | |
CrimPad.CFrame = padcf | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
Notify("Make everyone crimmed", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("bringall") then | |
for i,v in pairs(game.Players:GetPlayers()) do | |
if v ~= game.Players.LocalPlayer then | |
Teleport(v, GetPos()) | |
end | |
end | |
Notify("Broght all", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("notify") then | |
States.Notify = true | |
Notify("Notify on", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("nonotify") then | |
States.Notify = false | |
Notify("Notify off", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if PrefixCommand("getprefix") then | |
Chat("Prefix : "..Prefix) | |
Notify("Prefix : "..Prefix, Color3.fromRGB(0, 255, 0), "Success") | |
end | |
if Command("cmd") or Command("cmds") then | |
if Background.Visible == true then | |
Background.Visible = false | |
else | |
Background.Visible = true | |
end | |
Notify("Showed Commands", Color3.fromRGB(0, 255, 0), "Success") | |
end | |
end | |
function AdminPlayerChatted(Message, Player) | |
if ScriptDisabled then return end | |
Split = Message:split(" ") | |
Arg1 = Split[1] | |
Arg2 = Split[2] | |
Arg3 = Split[3] | |
Arg4 = Split[4] | |
UseCommand = true | |
if Command("nexus") then | |
Teleport(Player, CFrame.new(888, 100, 2388)) | |
end | |
if Command("cafe") then | |
Teleport(Player, CFrame.new(877, 100, 2256)) | |
end | |
if Command("backnexus") then | |
Teleport(Player, CFrame.new(982, 100, 2334)) | |
end | |
if Command("armory") then | |
Teleport(Player, CFrame.new(789, 100, 2260)) | |
end | |
if Command("tower") then | |
Teleport(Player, CFrame.new(822, 131, 2588)) | |
end | |
if Command("crimbase") or Command("criminalbase") then | |
Teleport(Player, CFrame.new(-942, 94, 2055)) | |
end | |
if Command("bring") then | |
TeleportV(GetPlayer(Arg2), Player) | |
end | |
if Command("void") then | |
Void(GetPlayer(Arg2)) | |
end | |
if Command("beam") then | |
Beam(GetPlayer(Arg2), math.huge, 1) | |
end | |
if Command("yard") then | |
Teleport(Player, CFrame.new(791, 98, 2498)) | |
end | |
if Command("disconnect") then | |
States.Disconnect = true | |
end | |
if Command("undisconnect") then | |
States.Disconnect = false | |
end | |
if Command("spamarrest") then | |
local Player = GetPlayer(Arg2) | |
if Player ~= nil then | |
States.SpamArrest = true | |
repeat wait() | |
local CanArrest = false | |
repeat | |
Teleport(Player, CFrame.new(976.48529052734, 99.990005493164, 2338.4716796875)) | |
if (Player.Character.HumanoidRootPart.Position-Vector3.new(976.48529052734, 99.990005493164, 2338.4716796875)).Magnitude < 10 then | |
CanArrest = true | |
end | |
until (CanArrest or not game.Players[Player.Name]) | |
if Player.TeamColor.Name ~= "Bright orange" and Player.TeamColor.Name ~= "Really red" then | |
repeat | |
Teleport(Player, CFrame.new(-975.58190917969, 109.32379150391, 2061.7973632813)) | |
until (Player.TeamColor.Name == "Really red" or not game.Players[Player.Name]) | |
end | |
wait(.1) | |
game.Workspace.Remote.loadchar:InvokeServer() | |
UseCommand = true | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Player.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 1) | |
for i = 1,750 do | |
coroutine.wrap(function() | |
ArrestEvent(Player, math.huge) | |
end)() | |
end | |
until not game.Players[Player.Name] or not States.SpamArrest | |
end | |
end | |
if Command("unspamarrest") then | |
States.SpamArrest2 = false | |
end | |
if Command("killguard") or Command("killguards") then | |
wait(.075) | |
KillTeam(BrickColor.new("Bright blue").Name) | |
end | |
if Command("killinmate") or Command("killinmates") then | |
wait(.075) | |
KillTeam(BrickColor.new("Bright orange").Name) | |
end | |
if Command("killcriminal") or Command("killcriminals") then | |
wait(.075) | |
KillTeam(BrickColor.new("Really red").Name) | |
end | |
if Command("killall") or Command("killothers") then | |
wait(.075) | |
KillAll() | |
end | |
if Command("kill") or Command("kills") then | |
Kill(GetPlayer(Arg2)) | |
end | |
if Command("loopkill") or Command("loopkills") then | |
local Player = GetPlayer(Arg2) | |
if Player ~= nil and not LoopKill[Player.UserId] then | |
LoopKill[Player.UserId] = {Player = Player} | |
end | |
end | |
if Command("unloopkill") or Command("unloopkills") then | |
local Player = GetPlayer(Arg2) | |
if Player ~= nil and LoopKill[Player.UserId] then | |
LoopKill[Player.UserId] = nil | |
end | |
end | |
if Command("keycard") then | |
local savedteam = game.Players.LocalPlayer.TeamColor.Name | |
repeat wait(.2) | |
game.Players.LocalPlayer.Character.Humanoid.Health = 0 | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright blue").Name) | |
until workspace.Prison_ITEMS.single:FindFirstChild("Key card") | |
wait() | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.single["Key card"].ITEMPICKUP) | |
local Item = game.Players.LocalPlayer:FindFirstChild("Backpack"):FindFirstChild("Key card") or game.Players.LocalPlayer.Character:FindFirstChild("Key card") | |
local savedcf = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame | |
UseCommand = true | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Player.Character.HumanoidRootPart.CFrame | |
local CHAR = game.Players.LocalPlayer.Character | |
CHAR.Humanoid.Name = "1" | |
local c = CHAR["1"]:Clone() | |
c.Name = "Humanoid" | |
c.Parent = CHAR | |
CHAR["1"]:Destroy() | |
game.Workspace.CurrentCamera.CameraSubject = CHAR | |
CHAR.Animate.Disabled = true | |
wait() | |
CHAR.Animate.Disabled = false | |
CHAR.Humanoid.DisplayDistanceType = "None" | |
if not game.Players.LocalPlayer.Character:FindFirstChild(Item.Name) then | |
Item.Parent = game.Players.LocalPlayer.Character | |
end | |
local STOP = 0 | |
repeat wait(.1) | |
STOP = STOP + 1 | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Player.Character.Torso.CFrame * CFrame.new(0, 0, 0.75) | |
until (not game.Players.LocalPlayer.Character:FindFirstChild(Item.Name) or not game.Players.LocalPlayer.Character or not game.Players.LocalPlayer.Character.HumanoidRootPart or STOP > 500) | |
wait(.2) | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new(savedteam).Name) | |
UseCommand = true | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
end | |
if Command("superknife") then | |
local player = GetPlayer(Arg2) | |
if player ~= nil then | |
local savedteam = game.Players.LocalPlayer.TeamColor.Name | |
workspace.Remote.TeamEvent:FireServer("Bright orange") | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.single["Crude Knife"].ITEMPICKUP) | |
local Item = game.Players.LocalPlayer:FindFirstChild("Backpack"):FindFirstChild("Crude Knife") or game.Players.LocalPlayer.Character:FindFirstChild("Crude Knife") | |
local savedcf = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame | |
UseCommand = true | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = player.Character.HumanoidRootPart.CFrame | |
local CHAR = game.Players.LocalPlayer.Character | |
CHAR.Humanoid.Name = "1" | |
local c = CHAR["1"]:Clone() | |
c.Name = "Humanoid" | |
c.Parent = CHAR | |
CHAR["1"]:Destroy() | |
game.Workspace.CurrentCamera.CameraSubject = CHAR | |
CHAR.Animate.Disabled = true | |
wait() | |
CHAR.Animate.Disabled = false | |
CHAR.Humanoid.DisplayDistanceType = "None" | |
if not game.Players.LocalPlayer.Character:FindFirstChild(Item.Name) then | |
Item.Parent = game.Players.LocalPlayer.Character | |
end | |
local STOP = 0 | |
repeat wait(.1) | |
STOP = STOP + 1 | |
UseCommand = true | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = player.Character.Torso.CFrame * CFrame.new(0, 0, 0.75) | |
until (not game.Players.LocalPlayer.Character:FindFirstChild(Item.Name) or not game.Players[player.Name] or not game.Players.LocalPlayer.Character or not game.Players.LocalPlayer.Character.HumanoidRootPart or STOP > 500) | |
wait(.2) | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new(savedteam).Name) | |
UseCommand = true | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
SuperKnife[player.UserId] = {Player = player} | |
player.CharacterAdded:Wait() | |
SuperKnife[player.UserId] = nil | |
end | |
end | |
if Command("tase") then | |
local Player = GetPlayer(Arg2) | |
if Player ~= nil then | |
Tase(Player) | |
end | |
end | |
if Command("taseall") then | |
TaserAll() | |
end | |
if Command("makecrim") then | |
Teleport(GetPlayer(Arg2), CFrame.new(-919, 96, 2138)) | |
end | |
if Command("arrest") then | |
Arrest(GetPlayer(Arg2)) | |
end | |
if Command("crim") then | |
Teleport(Player, CFrame.new(-919, 96, 2138)) | |
end | |
if Command("goto") or Command("to") then | |
TeleportV(Player, GetPlayer(Arg2)) | |
end | |
if Command("virus") then | |
local Player = GetPlayer(Arg2) | |
if Player and not Virus[Player.UserId] then | |
Virus[Player.UserId] = {Player = Player} | |
end | |
end | |
if Command("revirus") then | |
local Player = GetPlayer(Arg2) | |
if Player and Virus[Player.UserId] then | |
Virus[Player.UserId] = nil | |
end | |
end | |
if Command("killaura") then | |
local DED = {} | |
KillAura = {Player = Player} | |
end | |
if Command("nokillaura") then | |
KillAura[Player.Name] = nil | |
end | |
if Command("cmd") or Command("cmds") then | |
Chat("/w "..Player.Name.." "..Prefix.."goto [plr] "..Prefix.."to [plr] "..Prefix.."kill [plr] "..Prefix.."kills [plr] "..Prefix.."makecrim [plr] "..Prefix.."arrest [plr] "..Prefix.."tase [plr] "..Prefix.."loopkill [plr] "..Prefix.."unloopkill [plr]") | |
Chat("/w "..Player.Name.." "..Prefix.."crim "..Prefix.."tower "..Prefix.."nexus "..Prefix.."backnexus "..Prefix.."cafe "..Prefix.."armory "..Prefix.."bring [plr]") | |
Chat("/w "..Player.Name.." "..Prefix.."killall "..Prefix.."killothers "..Prefix.."killinmate "..Prefix.."killinmates "..Prefix.."killguard "..Prefix.."killguards "..Prefix.."killcriminals "..Prefix.."killcriminal "..Prefix.."void [plr] "..Prefix.."taseall ") | |
Chat("/w "..Player.Name.." "..Prefix.."spamarrest [plr] "..Prefix.."unspamarrest "..Prefix.."disconnect "..Prefix.." "..Prefix.."beam [plr] "..Prefix.."virus [plr] "..Prefix.."revirus [plr] "..Prefix.."killaura "..Prefix.."nokillaura") | |
Chat("/w "..Player.Name.." "..Prefix.."cmd "..Prefix.."cmds") | |
end | |
end | |
game.Players.LocalPlayer.Chatted:Connect(PlayerChatted) | |
game.Players.LocalPlayer.CharacterAdded:Connect(function() | |
--[[game.Players.LocalPlayer.Character:WaitForChild("ClientInputHandler").Disabled = true | |
game.Players.LocalPlayer.Character:WaitForChild("Humanoid").JumpPower = 55 | |
game.Players.LocalPlayer.Character:WaitForChild("Humanoid").WalkSpeed = 24]] | |
wait(.2) | |
if States.Anti_Taser then | |
for i,v in pairs(tazePlayer) do | |
v:Disable() | |
end | |
else | |
for i,v in pairs(tazePlayer) do | |
v:Enable() | |
end | |
end | |
end) | |
spawn(function() | |
while wait(.2) do | |
for i,v in pairs(game.Players:GetPlayers()) do | |
pcall(function() | |
if v ~= game.Players.LocalPlayer then | |
for _,p in pairs(SuperKnife) do | |
if p.Player and p.Player.Character:FindFirstChild("Crude Knife") and v ~= p.Player then | |
if (p.Player.Character:FindFirstChild("Crude Knife"):FindFirstChildOfClass("Part").CFrame.p-v.Character:FindFirstChildOfClass("Part").CFrame.p).magnitude < 2 and v.Character.Humanoid.Health > 0 then | |
Kill(v) | |
end | |
end | |
end | |
end | |
end) | |
end | |
end | |
end) | |
game:GetService("RunService").Stepped:Connect(function() | |
if States.Anti_Bring then | |
pcall(function() | |
game.Players.LocalPlayer.Character.HumanoidRootPart.Anchored = true | |
game.Players.LocalPlayer.Character.HumanoidRootPart.Anchored = false | |
end) | |
end | |
end) | |
spawn(function() | |
while wait() do | |
pcall(function() | |
getsenv(game.Players.LocalPlayer.Character.ClientInputHandler).cs.isRunning = false | |
getsenv(game.Players.LocalPlayer.Character.ClientInputHandler).cs.isTazed = false | |
end) | |
end | |
end) | |
spawn(function() | |
while wait(.5) do | |
for i,v in pairs(LoopKill) do | |
pcall(function() | |
if v.Player and game.Players:FindFirstChild(v.Player.Name) and v.Player.Character and v.Player.Character.Humanoid.Health > 0 and not v.Player.Character:FindFirstChild("Force Field") then | |
local events = {} | |
local gun = nil | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP) | |
for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do | |
if v.Name ~= "Taser" and v:FindFirstChild("GunStates") then | |
gun = v | |
end | |
end | |
if gun == nil then | |
for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
if v.Name ~= "Taser" and v:FindFirstChild("GunStates") then | |
gun = v | |
end | |
end | |
end | |
coroutine.wrap(function() | |
for i = 1,30 do | |
game.ReplicatedStorage.ReloadEvent:FireServer(gun) | |
wait(.5) | |
end | |
end)() | |
for i = 1,5 do | |
events[#events + 1] = { | |
Hit = v.Player.Character:FindFirstChild("Head") or v.Player.Character:FindFirstChildOfClass("Part"), | |
Cframe = CFrame.new(), | |
RayObject = Ray.new(Vector3.new(), Vector3.new()), | |
Distance = 0 | |
} | |
end | |
game.ReplicatedStorage.ShootEvent:FireServer(events, gun) | |
end | |
end) | |
end | |
end | |
end) | |
spawn(function() | |
while wait() do | |
for i,v in pairs(LoopBeam) do | |
pcall(function() | |
if v and v.Player and v.Player.Character and v.Player.Character.Head and v.Player.Character.HumanoidRootPart then | |
Beam(v.Player, math.huge, 1) | |
end | |
end) | |
end | |
end | |
end) | |
spawn(function() | |
while wait() do | |
for i,v in pairs(game.Players:GetPlayers()) do | |
if v ~= game.Players.LocalPlayer then | |
pcall(function() | |
for i = 1,2000 do | |
coroutine.wrap(function() | |
v.Character.Head:FindFirstChild("handcuffedGui"):Destroy() | |
end)() | |
end | |
end) | |
end | |
end | |
end | |
end) | |
spawn(function() | |
while wait() do | |
if States.Fast_Punch == true then | |
pcall(function() | |
getsenv(game.Players.LocalPlayer.Character.ClientInputHandler).cs.isFighting = false | |
end) | |
end | |
end | |
end) | |
spawn(function() | |
while wait(1) do | |
if States.LoopKill_Guards then | |
pcall(function() | |
KillTeam(BrickColor.new("Bright blue").Name) | |
end) | |
end | |
end | |
end) | |
spawn(function() | |
local Killed = {} | |
while wait(1) do | |
pcall(function() | |
for i,v in pairs(game.Players:GetPlayers()) do | |
if v ~= game.Players.LocalPlayer then | |
for _,p in pairs(KillAura) do | |
if game.Players:FindFirstChild(p.Player.Name) then | |
if (v.Character:FindFirstChildOfClass("Part").Position-p.Player.Character:FindFirstChildOfClass("Part").Position).Magnitude < 20 then | |
if v.Character:FindFirstChild("Humanoid").Health > 0 and v ~= p.Player then | |
Kill(v) | |
end | |
end | |
end | |
end | |
end | |
end | |
end) | |
end | |
end) | |
coroutine.wrap(function() | |
while wait(1) do | |
if States.Kill_Aura then | |
for i,v in pairs(game.Players:GetPlayers()) do | |
pcall(function() | |
if v ~= game.Players.LocalPlayer then | |
local Distance = (v.Character:FindFirstChildOfClass("Part").Position - game.Players.LocalPlayer.Character:FindFirstChildOfClass("Part").Position).magnitude | |
if Distance < 25 and v.Character.Humanoid.Health > 0 then | |
Kill(v) | |
end | |
end | |
end) | |
end | |
end | |
end | |
end)() | |
function CheckPermissions(Player) | |
Player.Chatted:Connect(function(Message) | |
if Admin[Player.UserId] then | |
AdminPlayerChatted(Message, Player) | |
end | |
end) | |
end | |
game.Players.PlayerRemoving:Connect(function(Player) | |
if States.Notify then | |
game.StarterGui:SetCore("SendNotification", { | |
Title = "Game", | |
Text = Player.DisplayName.." Rage Quit", | |
Icon = game.Players:GetUserThumbnailAsync(Player.UserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size352x352) | |
}) | |
end | |
if States.ChatNotify then | |
Chat(Player.DisplayName.." Rage Quit") | |
end | |
end) | |
game.Players.PlayerAdded:Connect(function(Player) | |
if States.Notify then | |
game.StarterGui:SetCore("SendNotification", { | |
Title = "Game", | |
Text = Player.DisplayName.." Joined", | |
Icon = game.Players:GetUserThumbnailAsync(Player.UserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size352x352) | |
}) | |
end | |
if States.ChatNotify then | |
Chat(Player.DisplayName.." Joined The Server") | |
end | |
CheckPermissions(Player) | |
CopyChat(Player) | |
Died(Player) | |
PlayerPickUp(Player) | |
end) | |
for i,v in pairs(game.Players:GetPlayers()) do | |
if v ~= game.Players.LocalPlayer then | |
CheckPermissions(v) | |
CopyChat(v) | |
Died(v) | |
PlayerPickUp(v) | |
end | |
end | |
spawn(function() | |
while wait() do | |
if States.Lag_Server then | |
coroutine.wrap(function() | |
pcall(function() | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP) | |
local Gun = game.Players.LocalPlayer.Backpack["Remington 870"] or game.Players.LocalPlayer.Character["Remington 870"] | |
local args = { | |
[1] = { | |
["RayObject"] = Ray.new(Vector3.new(), Vector3.new()), | |
["Distance"] = 0, | |
["Cframe"] = CFrame.new(), | |
["Hit"] = workspace[game.Players.LocalPlayer.Name].Head | |
}, [2] = { | |
["RayObject"] = Ray.new(Vector3.new(), Vector3.new()), | |
["Distance"] = 0, | |
["Cframe"] = CFrame.new(), | |
["Hit"] = workspace[game.Players.LocalPlayer.Name].Head | |
}, [3] = { | |
["RayObject"] = Ray.new(Vector3.new(), Vector3.new()), | |
["Distance"] = 0, | |
["Cframe"] = CFrame.new(), | |
["Hit"] = workspace[game.Players.LocalPlayer.Name].Head | |
}, [4] = { | |
["RayObject"] = Ray.new(Vector3.new(), Vector3.new()), | |
["Distance"] = 0, | |
["Cframe"] = CFrame.new(), | |
["Hit"] = workspace[game.Players.LocalPlayer.Name].Head | |
}, [5] = { | |
["RayObject"] = Ray.new(Vector3.new(), Vector3.new()), | |
["Distance"] = 0, | |
["Cframe"] = CFrame.new(), | |
["Hit"] = workspace[game.Players.LocalPlayer.Name].Head | |
}, [6] = { | |
["RayObject"] = Ray.new(Vector3.new(), Vector3.new()), | |
["Distance"] = 0, | |
["Cframe"] = CFrame.new(), | |
["Hit"] = workspace[game.Players.LocalPlayer.Name].Head | |
}, [7] = { | |
["RayObject"] = Ray.new(Vector3.new(), Vector3.new()), | |
["Distance"] = 0, | |
["Cframe"] = CFrame.new(), | |
["Hit"] = workspace[game.Players.LocalPlayer.Name].Head | |
}, [8] = { | |
["RayObject"] = Ray.new(Vector3.new(), Vector3.new()), | |
["Distance"] = 0, | |
["Cframe"] = CFrame.new(), | |
["Hit"] = workspace[game.Players.LocalPlayer.Name].Head | |
} | |
} | |
game:GetService("ReplicatedStorage").ShootEvent:FireServer(args, Gun) | |
end) | |
end)() | |
end | |
end | |
end) | |
spawn(function() | |
while wait() do | |
if States.Disconnect then | |
coroutine.wrap(function() | |
pcall(function() | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP) | |
local Gun = game.Players.LocalPlayer.Backpack["Remington 870"] or game.Players.LocalPlayer.Character["Remington 870"] | |
local args = { | |
[1] = { | |
["RayObject"] = Ray.new(Vector3.new(), Vector3.new()), | |
["Distance"] = 0, | |
["Cframe"] = CFrame.new(), | |
["Hit"] = workspace[game.Players.LocalPlayer.Name].Head | |
}, [2] = { | |
["RayObject"] = Ray.new(Vector3.new(), Vector3.new()), | |
["Distance"] = 0, | |
["Cframe"] = CFrame.new(), | |
["Hit"] = workspace[game.Players.LocalPlayer.Name].Head | |
}, [3] = { | |
["RayObject"] = Ray.new(Vector3.new(), Vector3.new()), | |
["Distance"] = 0, | |
["Cframe"] = CFrame.new(), | |
["Hit"] = workspace[game.Players.LocalPlayer.Name].Head | |
}, [4] = { | |
["RayObject"] = Ray.new(Vector3.new(), Vector3.new()), | |
["Distance"] = 0, | |
["Cframe"] = CFrame.new(), | |
["Hit"] = workspace[game.Players.LocalPlayer.Name].Head | |
}, [5] = { | |
["RayObject"] = Ray.new(Vector3.new(), Vector3.new()), | |
["Distance"] = 0, | |
["Cframe"] = CFrame.new(), | |
["Hit"] = workspace[game.Players.LocalPlayer.Name].Head | |
}, [6] = { | |
["RayObject"] = Ray.new(Vector3.new(), Vector3.new()), | |
["Distance"] = 0, | |
["Cframe"] = CFrame.new(), | |
["Hit"] = workspace[game.Players.LocalPlayer.Name].Head | |
}, [7] = { | |
["RayObject"] = Ray.new(Vector3.new(), Vector3.new()), | |
["Distance"] = 0, | |
["Cframe"] = CFrame.new(), | |
["Hit"] = workspace[game.Players.LocalPlayer.Name].Head | |
}, [8] = { | |
["RayObject"] = Ray.new(Vector3.new(), Vector3.new()), | |
["Distance"] = 0, | |
["Cframe"] = CFrame.new(), | |
["Hit"] = workspace[game.Players.LocalPlayer.Name].Head | |
} | |
} | |
game:GetService("ReplicatedStorage").ShootEvent:FireServer(args, Gun) | |
end) | |
end)() | |
end | |
end | |
end) | |
game.Players.LocalPlayer.CharacterAdded:Connect(function() | |
States.CAN = false | |
end) | |
spawn(function() | |
while wait() do | |
if Watching ~= nil then | |
pcall(function() | |
workspace.CurrentCamera.CameraSubject = workspace[Watching.Name] | |
end) | |
end | |
end | |
end) | |
spawn(function() | |
while wait() do | |
if States.BoostFps then | |
for i,v in pairs(game.Players:GetChildren()) do | |
if v ~= game.Players.LocalPlayer then | |
pcall(function() | |
if v.Character.Humanoid.Health < 1 then | |
v.Character:Destroy() | |
end | |
end) | |
end | |
end | |
end | |
end | |
end) | |
spawn(function() | |
while wait() do | |
if States.SpamChat then | |
wait(States.Spam_Wait) | |
pcall(function() | |
Chat(States.MessagesToChat[math.random(1, #States.MessagesToChat)]) | |
end) | |
end | |
end | |
end) | |
spawn(function() | |
while wait() do | |
if States.Anti_Spam_Arrest then | |
pcall(function() | |
if game.Players.LocalPlayer.TeamColor.Name == "Really red" then | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.random().Name) | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(888, 100, 2388) | |
end | |
if game.Players.LocalPlayer.Character.Head:FindFirstChild("handucffedGui") then | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.random().Name) | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(888, 100, 2388) | |
end | |
end) | |
end | |
end | |
end) | |
spawn(function() | |
while wait() do | |
if States.God_Mode then | |
game.Players.LocalPlayer.Character.Humanoid.Name = 1 | |
local l = game.Players.LocalPlayer.Character["1"]:Clone() | |
l.Parent = game.Players.LocalPlayer.Character | |
l.Name = "Humanoid" | |
game.Players.LocalPlayer.Character.Animate.Disabled = true | |
wait() | |
game.Players.LocalPlayer.Character.Animate.Disabled = false | |
game.Players.LocalPlayer.Character["1"]:Destroy() | |
game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character | |
game.Players.LocalPlayer.CharacterRemoving:Wait() | |
local savedcf = GetPos() | |
local savedcamcf = GetCamPos() | |
local savedteam = GetTeam() | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new(savedteam).Name) | |
workspace.CurrentCamera.CFrame = savedcamcf | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
end | |
end | |
end) | |
spawn(function() | |
while wait() do | |
if States.Auto_Refresh == true then | |
pcall(function() | |
if game.Players.LocalPlayer.Character.Humanoid.Health < 1 then | |
if game.Players.LocalPlayer:FindFirstChild("PlayerGui"):FindFirstChild("Home").hud.Topbar.titleBar.Title.Text ~= "Lights out" then | |
if game.Players.LocalPlayer.TeamColor.Name ~= "Medium stone grey" then | |
if game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then | |
local savedcf = GetOrientation() | |
local savedcamcf = GetCamPos() | |
workspace.Remote.loadchar:InvokeServer() | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
workspace.CurrentCamera.CFrame = savedcamcf | |
end | |
else | |
if game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then | |
local savedcf = GetOrientation() | |
local savedcamcf = GetCamPos() | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright orange").Name) | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
workspace.CurrentCamera.CFrame = savedcamcf | |
workspace.Remote.TeamEvent:FireServer("Medium stone grey") | |
end | |
end | |
else | |
if game.Players.LocalPlayer.TeamColor.Name ~= "Medium stone grey" then | |
if game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then | |
local savedcf = GetOrientation() | |
local savedcamcf = GetCamPos() | |
workspace.Remote.loadchar:InvokeServer() | |
wait(.075) | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
workspace.CurrentCamera.CFrame = savedcamcf | |
end | |
else | |
if game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then | |
local savedcf = GetOrientation() | |
local savedcamcf = GetCamPos() | |
workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright orange").Name) | |
wait(.075) | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf | |
workspace.CurrentCamera.CFrame = savedcamcf | |
workspace.Remote.TeamEvent:FireServer("Medium stone grey") | |
end | |
end | |
end | |
end | |
end) | |
end | |
end | |
end) | |
spawn(function() | |
game.Players.LocalPlayer.CharacterAdded:Connect(function() | |
game.Players.LocalPlayer.Character.ChildAdded:Connect(function(Item) | |
if States.Auto_RapidFire then | |
local Tool = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") | |
local Name | |
local Req | |
if Tool then | |
States.CAN = true | |
Name = Tool.Name | |
if Tool:FindFirstChild("GunStates") then | |
Req = require(Tool.GunStates) | |
Req["MaxAmmo"] = Req["MaxAmmo"] | |
Req["StoredAmmo"] = Req["StoredAmmo"] | |
Req["AmmoPerClip"] = Req["AmmoPerClip"] | |
Req["CurrentAmmo"] = Req["CurrentAmmo"] | |
Req["FireRate"] = -math.huge | |
Req["Bullets"] = 25 | |
Req["Range"] = math.huge | |
Req["Damage"] = math.huge | |
Req["ReloadTime"] = -math.huge | |
Req["AutoFire"] = true | |
end | |
end | |
while wait() do | |
pcall(function() | |
if game.Players.LocalPlayer.Character:FindFirstChild(Name) and States.CAN then | |
if Req["CurrentAmmo"] < 1 then | |
Tool:Destroy() | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver[Name].ITEMPICKUP) | |
Tool = game.Players.LocalPlayer.Backpack:FindFirstChild(Name) | |
if Tool then | |
Name = Tool.Name | |
Tool.Parent = game.Players.LocalPlayer.Character | |
Tool = game.Players.LocalPlayer.Character[Name] | |
Req = require(Tool.GunStates) | |
Req["MaxAmmo"] = Req["MaxAmmo"] | |
Req["StoredAmmo"] = Req["StoredAmmo"] | |
Req["AmmoPerClip"] = Req["AmmoPerClip"] | |
Req["CurrentAmmo"] = Req["CurrentAmmo"] | |
Req["FireRate"] = -math.huge | |
Req["Bullets"] = 25 | |
Req["Range"] = math.huge | |
Req["Damage"] = math.huge | |
Req["ReloadTime"] = -math.huge | |
Req["AutoFire"] = true | |
end | |
end | |
end | |
end) | |
end | |
end | |
end) | |
end) | |
end) | |
spawn(function() | |
while wait() do | |
if States.Anti_Crash then | |
for i,v in pairs(game.Players:GetPlayers()) do | |
for i = 1,25 do | |
coroutine.wrap(function() | |
pcall(function() | |
v.Character.vest:Destroy() | |
end) | |
end)() | |
end | |
end | |
end | |
end | |
end) | |
spawn(function() | |
while wait() do | |
for i,v in pairs(game.Players:GetPlayers()) do | |
pcall(function() | |
if workspace[v.Name].Torso:FindFirstChild("ShieldFolder") then | |
workspace[v.Name].Torso:FindFirstChild("ShieldFolder"):Destroy() | |
end | |
end) | |
end | |
end | |
end) | |
spawn(function() | |
while wait() do | |
if States.Anti_Void then | |
pcall(function() | |
if game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Y < 1 then | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(888, 100, 2388) | |
end | |
end) | |
end | |
end | |
end) | |
spawn(function() | |
while wait(.75) do | |
if States.LoopKill_Others then | |
pcall(function() | |
KillAll() | |
end) | |
end | |
end | |
end) | |
spawn(function() | |
while wait(1) do | |
if States.LoopKill_Inmates then | |
pcall(function() | |
KillTeam(BrickColor.new("Bright orange").Name) | |
end) | |
end | |
end | |
end) | |
spawn(function() | |
while wait(1) do | |
if States.LoopKill_Criminals then | |
pcall(function() | |
KillTeam(BrickColor.new("Really red").Name) | |
end) | |
end | |
end | |
end) | |
game.Players.LocalPlayer.CharacterAdded:Connect(function(Character) | |
if States.Anti_Fling then | |
pcall(function() | |
game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").Size = Vector3.new(math.huge, game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").Size.Y, math.huge) | |
end) | |
end | |
end) | |
local CurrentVirusPlayer = #Virus | |
FindCmd.Changed:Connect(function() | |
if FindCmd.Text ~= "" then | |
for i,v in pairs(CmdHandler:GetChildren()) do | |
if v:IsA("TextButton") then | |
if not string.lower(v.Text):match(string.lower(FindCmd.Text)) then | |
v.Parent = Background | |
v.Visible = false | |
end | |
end | |
end | |
for i,v in pairs(Background:GetChildren()) do | |
if v.Name == "COMMANDS" then | |
if string.lower(v.Text):match(string.lower(FindCmd.Text)) then | |
v.Parent = CmdHandler | |
v.Visible = true | |
end | |
end | |
end | |
elseif FindCmd.Text == "" and (#CmdHandler:GetChildren()-1) ~= #Cmd then | |
for i,v in pairs(CmdHandler:GetChildren()) do | |
if v:IsA("TextButton") then | |
v:Destroy() | |
end | |
end | |
for i,v in pairs(Background:GetChildren()) do | |
if v.Name == "COMMANDS" then | |
v:Destroy() | |
end | |
end | |
for i = 1,#Cmd do | |
local clone = CmdText:Clone() | |
clone.Text = Cmd[i].Text | |
clone.Name = "COMMANDS" | |
local Ins = Instance.new("StringValue", clone) | |
Ins.Name = "Title" | |
Ins.Value = Cmd[i].Title | |
local Ins2 = Instance.new("StringValue", clone) | |
Ins2.Name = "TopbarName" | |
Ins2.Value = Cmd[i].Text:split(" ")[1] | |
clone.Parent = CmdHandler | |
clone.MouseButton1Click:Connect(function() | |
Execute:CaptureFocus() | |
Execute.Text = clone.Text:split(" ")[1] | |
Execute.CursorPosition = #Execute.Text + 1 | |
end) | |
end | |
end | |
end) | |
game.Players.PlayerAdded:Connect(function() | |
for i,v in pairs(game.Players:GetPlayers()) do | |
if v.TeamColor.Name == "Bright orange" then | |
v.CharacterAdded:Connect(function() | |
if States.Esp_Inmates then | |
Unesp(v) | |
Esp(v) | |
end | |
end) | |
end | |
if v.TeamColor.Name == "Really red" then | |
v.CharacterAdded:Connect(function() | |
if States.Esp_Criminals then | |
Unesp(v) | |
Esp(v) | |
end | |
end) | |
end | |
if v.TeamColor.Name == "Bright blue" then | |
v.CharacterAdded:Connect(function() | |
if States.Esp_Guards then | |
Unesp(v) | |
Esp(v) | |
end | |
end) | |
end | |
if v.TeamColor.Name == "Medium stone grey" then | |
v.CharacterAdded:Connect(function() | |
if States.Esp_Neutral then | |
Unesp(v) | |
Esp(v) | |
end | |
end) | |
end | |
if v.TeamColor.Name ~= "Medium stone grey" and v.TeamColor.Name ~= "Bright blue" and v.TeamColor.Name ~= "Bright orange" and v.TeamColor.Name ~= "Really red" then | |
v.CharacterAdded:Connect(function() | |
if States.Esp_All then | |
Unesp(v) | |
Esp(v) | |
end | |
end) | |
end | |
end | |
end) | |
game.Players.PlayerRemoving:Connect(function(Player) | |
Unesp(Player) | |
end) | |
spawn(function() | |
local Killed = {} | |
while wait(.2) do | |
pcall(function() | |
for i,v in pairs(game.Players:GetPlayers()) do | |
if v ~= game.Players.LocalPlayer then | |
for _,p in pairs(Virus) do | |
if game.Players:FindFirstChild(p.Player.Name) then | |
if (v.Character:FindFirstChildOfClass("Part").Position-p.Player.Character:FindFirstChildOfClass("Part").Position).Magnitude < 4 then | |
if v.Character:FindFirstChild("Humanoid").Health > 0 and v ~= p.Player then | |
Kill(v) | |
end | |
end | |
end | |
end | |
end | |
end | |
end) | |
end | |
end) | |
local KeyWDowned = false | |
local KeyADowned = false | |
local KeySDowned = false | |
local KeyDDowned = false | |
local KeySpaceDowned = false | |
Mouse.KeyDown:Connect(function(key) | |
if key == "w" then | |
KeyWDowned = true | |
elseif key == "a" then | |
KeyADowned = true | |
elseif key == "s" then | |
KeySDowned = true | |
elseif key == "d" then | |
KeyDDowned = true | |
end | |
end) | |
Mouse.KeyUp:Connect(function(key) | |
if key == "w" then | |
KeyWDowned = false | |
elseif key == "a" then | |
KeyADowned = false | |
elseif key == "s" then | |
KeySDowned = false | |
elseif key == "d" then | |
KeyDDowned = false | |
end | |
end) | |
game:GetService("UserInputService").InputBegan:Connect(function(key) | |
if key.KeyCode == Enum.KeyCode.Space then | |
KeySpaceDowned = true | |
end | |
end) | |
local Old_Position = game.Players.LocalPlayer.Character.HumanoidRootPart.Position | |
local Old_CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame | |
spawn(function() | |
while wait() do | |
if States.Anti_Bring then | |
pcall(function() | |
if (game.Players.LocalPlayer.Character.HumanoidRootPart.Position-Old_Position).magnitude > 6 and not UseCommand then | |
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Old_CFrame | |
elseif UseCommand then | |
wait(.1) | |
UseCommand = false | |
Old_Position = game.Players.LocalPlayer.Character.HumanoidRootPart.Position | |
Old_CFrame = GetOrientation() | |
end | |
if (game.Players.LocalPlayer.Character.HumanoidRootPart.Position-Old_Position).magnitude < 6 and not UseCommand then | |
Old_Position = game.Players.LocalPlayer.Character.HumanoidRootPart.Position | |
Old_CFrame = GetOrientation() | |
end | |
end) | |
end | |
end | |
end) | |
game.Players.LocalPlayer.CharacterAdded:Connect(function() | |
if States.Auto_Guns then | |
pcall(function() | |
if BuyGamepass then | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP) | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M4A1"].ITEMPICKUP) | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["AK-47"].ITEMPICKUP) | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M9"].ITEMPICKUP) | |
else | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP) | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["AK-47"].ITEMPICKUP) | |
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M9"].ITEMPICKUP) | |
end | |
end) | |
end | |
end) | |
game.Players.LocalPlayer:GetMouse().KeyDown:Connect(function(Key) | |
if Key == Prefix then | |
if Prefix ~= "/" then | |
Execute:CaptureFocus() | |
end | |
end | |
end) | |
Execute.FocusLost:Connect(function(FocusLost) | |
if FocusLost then | |
if Execute.Text:sub(1,#Prefix) ~= Prefix then | |
PlayerChatted(Prefix..Execute.Text) | |
else | |
PlayerChatted(Execute.Text) | |
end | |
end | |
end) | |
getgenv().DisableScript = function() | |
pcall(function() | |
CmdGui:Destroy() | |
States = {} | |
LoopKill = {} | |
LoopTase = {} | |
Admin = {} | |
ScriptDisabled = true | |
for i,v in pairs(game.Lighting:GetChildren()) do | |
v.Parent = workspace | |
end | |
end) | |
end | |
workspace.Remote.loadchar:InvokeServer() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment