repeat task.wait() until game:IsLoaded()
do--//Instances
Debug = false
BETA = false
Folder = Instance.new("Folder")
ScreenGui = Instance.new("ScreenGui")
CmdBarFrame = Instance.new("Frame")
UICorner = Instance.new("UICorner")
Out = Instance.new("ImageLabel")
UICorner_2 = Instance.new("UICorner")
CommandBar = Instance.new("TextBox")
UIStroke = Instance.new("UIStroke")
Commands = Instance.new("ImageLabel")
UICorner_3 = Instance.new("UICorner")
UIStroke_2 = Instance.new("UIStroke")
CommandsList = Instance.new("ScrollingFrame")
UIListLayout = Instance.new("UIListLayout")
TEMP_CMD = Instance.new("TextLabel")
plr = game:GetService("Players").LocalPlayer
UIS,UserInputService = game:GetService'UserInputService',game:GetService("UserInputService")
char = plr.Character
Mouse = plr:GetMouse()
RunService = game:GetService("RunService")
gethui=gethui or nil
SearchBar = Instance.new("TextBox")
Folder.Name = "Tiger_PL"
--
HasFireTouch = false
unloaded=false
SavedAdmins = {}
firetouchinterest=firetouchinterest
firetouch = firetouchinterest
oldprint = print
IsBringing = false
loopkilling = {}
end
do
--//Top functions & tables
TigerGuis = {}
function AddGui(Gui)
TigerGuis[#TigerGuis+1]=Gui
end
end
do
--Tables
States = {
autore = true,
KillAura = false,
SilentAim= false,
AntiPunch = false,
AntiTase = false,
FastPunch = false,
ClickArrest = false,
Godmode = false,
Antibring = true,
OnePunch = false,
AntiTouch = false,
ClickKill = false,
noclip = false,
AntiShield = false,
AutoItems = false,
AntiArrest = false,
Admined = {},
}
Reload_Guns = {}
Whitelisted = {}
Parts = {}
Temp = {}
Whitelisted_ITEMS = {}
end
if game:FindFirstChild("Tiger_PL") then
ScreenGui:Destroy()
unloaded = true
return
end
do
function Tween(Obj,Prop,New,Time)
if not Time then Time = .5 end
task.spawn(function()
local TweenService = game:GetService("TweenService")
local info = TweenInfo.new(
Time,
Enum.EasingStyle.Quart,
Enum.EasingDirection.Out,
0,
false,
0
)
local propertyTable = {
[Prop] = New,
}
TweenService:Create(Obj, info, propertyTable):Play()
end)
end
--Loading.
Temp.Respawned_132 = false
local LoadingGUI = Instance.new("ScreenGui")
local Loading = Instance.new("Frame")
local UICorner = Instance.new("UICorner")
local UIStroke = Instance.new("UIStroke")
local Darken = Instance.new("Frame")
local Outter = Instance.new("Frame")
local UICorner_2 = Instance.new("UICorner")
local Tweener = Instance.new("Frame")
local UICorner_3 = Instance.new("UICorner")
local Text = Instance.new("TextLabel")
local UIGradient = Instance.new("UIGradient")
LoadingGUI.Name = "LoadingGUI"
LoadingGUI.Parent = (game:GetService("CoreGui") or gethui())
LoadingGUI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
Loading.Name = "Loading"
Loading.Parent = LoadingGUI
Loading.AnchorPoint = Vector2.new(0.5, 0.5)
Loading.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Loading.BackgroundTransparency=1
Loading.Position = UDim2.new(0.5, 0, 0.5, 0)
Loading.Size = UDim2.new(0, 404, 0, 172)
UICorner.CornerRadius = UDim.new(0, 3)
UICorner.Parent = Loading
Darken.Name = "Darken"
Darken.Parent = Loading
Darken.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
Darken.BackgroundTransparency = 1
Darken.BorderSizePixel = 0
Darken.Size = UDim2.new(0, 404, 0, 172)
Outter.Name = "Outter"
Outter.Parent = Darken
Outter.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
Outter.Position = UDim2.new(0.297029704, 0, 0.645348847, 0)
Outter.Size = UDim2.new(0, 164, 0, 5)
UICorner_2.Parent = Outter
Tweener.Name = "Tweener"
Tweener.Parent = Outter
Tweener.BackgroundColor3 = Color3.fromRGB(3, 196, 255)
Tweener.Position = UDim2.new(-0.00175066688, 0, 0, 0)
Tweener.Size = UDim2.new(0, 0, 0, 5)
UICorner_3.Parent = Tweener
Text.Name = "Text"
Text.Parent = Loading
Text.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Text.BackgroundTransparency = 1.000
Text.Position = UDim2.new(0.252475262, 0, 0.401162773, 0)
Text.Size = UDim2.new(0, 200, 0, 33)
Text.Font = Enum.Font.Gotham
Text.Text = "Loading"
Text.TextColor3 = Color3.fromRGB(255, 255, 255)
Text.TextSize = 18.000
task.spawn(function()
Text.Text = "Loading {Guis}"
game:GetService("ContentProvider"):PreloadAsync({
Commands,
Out,
Commands,
})
Tweener:TweenSize(UDim2.new(.1, 0,0, 5),"Out","Quart",.06)
wait(.1)
Tweener:TweenSize(UDim2.new(.5, 0,0, 5),"Out","Quart",.06)
Text.Text = "Loading {Scripts/Character}"
Tweener.Size = UDim2.new(1,0,1,0)
wait(.7)
repeat wait() Tweener.Size = UDim2.new(1,0,1,0) until Tweener.Size == UDim2.new(1,0,1,0)
Text.Text = "Finished loading!"
wait(.4)
Loading:TweenPosition(Loading.Position-UDim2.new(0,0,1,0),"Out","Quart",.6)
wait(1.5)
Loading:Destroy()
end)
end
function MoveToJunk(v)
v.CFrame = CFrame.new(0,5^5,0)
end
for i,v in pairs(workspace["Criminals Spawn"]:GetChildren()) do
if v and v:IsA("Part") then
MoveToJunk(v)
end
end
function UneqTools()
plr.Character:FindFirstChildOfClass("Humanoid"):UnequipTools()
end
workspace.FallenPartsDestroyHeight = -math.huge
task.spawn(function()
local FirePart =Instance.new("Part")
if not firetouchinterest then
HasFireTouch = false
end
FirePart.Touched:Connect(function()
HasFireTouch = true
FirePart:Destroy()
end)
plr.Character:WaitForChild("Head")
for i =1,2 do
if firetouchinterest then
if FirePart then
firetouchinterest(plr.Character.Head,FirePart,0)
firetouchinterest(plr.Character.Head,FirePart,1)
end
end
wait(.4)
end
end)
function Msg(player,Text)
local ohString1 = "/w "..player.Name.." "..Text
local ohString2 = "All"
game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(ohString1, ohString2)
end
pcall(function()
if writefile and makefolder and readfile and isfile then
if isfile("Tiger Admin") == false or isfile("Tiger_Admin/Invite.json") == false then
makefolder("Tiger_Admin")
if isfile("Tiger_Admin/Invite.json") == false then
writefile("Tiger_Admin/Invite.json",game:GetService("HttpService"):JSONEncode({
Invite_To_Server = true
}))
end
if isfile("Tiger_Admin/SavedAdmins.json") == false then
writefile("Tiger_Admin/SavedAdmins.json",game:GetService("HttpService"):JSONEncode({}))
else
local Content = game:GetService("HttpService"):JSONDecode(readfile("Tiger_Admin/SavedAdmins.json"))
for i,v in pairs(Content) do
if v then
print(v)
States.Admined[#States.Admined+1] = v
end
end
end
end
end
end)
do--//Main Gui
ScreenGui.Parent = (game:GetService("CoreGui") or gethui())
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
ScreenGui.Name = math.random()
AddGui(ScreenGui)
CmdBarFrame.Name = "CmdBarFrame"
CmdBarFrame.Parent = ScreenGui
CmdBarFrame.AnchorPoint = Vector2.new(0.5, 0.5)
CmdBarFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
CmdBarFrame.BackgroundTransparency = 1.000
CmdBarFrame.BorderSizePixel = 0
CmdBarFrame.Position = UDim2.new(0.5, 0, 0.899999998, 0)
CmdBarFrame.Position = CmdBarFrame.Position+UDim2.new(0,0,1.1,0)
CmdBarFrame.Size = UDim2.new(0, 577, 0, 65)
UICorner.CornerRadius = UDim.new(0, 3)
UICorner.Parent = CmdBarFrame
do
CmdsIcon = Instance.new("ImageLabel")
UICornera = Instance.new("UICorner")
UIStroke12 = Instance.new("UIStroke")
CmdButton = Instance.new("ImageButton")
CmdsIcon.Name = "CmdsIcon"
CmdsIcon.Parent = CmdBarFrame
CmdsIcon.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
CmdsIcon.Position = UDim2.new(-0.132423401, 0, 0.0226149559, 0)
CmdsIcon.Size = UDim2.new(0.121672593, 0, 0.945454538, 0)
CmdsIcon.Image = "rbxassetid://12661800163"
CmdsIcon.ImageTransparency = 0.030
UICornera.CornerRadius = UDim.new(0, 6)
UICornera.Parent = CmdsIcon
UIStroke12.Parent = CmdsIcon
CmdButton.Name = "CmdButton"
CmdButton.Parent = CmdsIcon
CmdButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
CmdButton.BackgroundTransparency = 1.000
CmdButton.Position = UDim2.new(0.298999995, 0, 0.27700001, 0)
CmdButton.Size = UDim2.new(0, 27, 0, 27)
CmdButton.Image = "rbxassetid://11570802781"
CmdButton.ImageTransparency = 0.430
CmdButton.MouseButton1Up:Connect(function()
if not Temp.CmdsC then
Temp.CmdsC = true
if Commands.Visible == false then
Commands.Position = Commands.Position+UDim2.new(0,0,1,0)
wait(.1)
Commands:TweenPosition(SavedCmdsPosition,"Out","Quart",1)
Commands.Visible = true
else
Commands:TweenPosition(SavedCmdsPosition+UDim2.new(0,0,1,0),"Out","Quart",1)
wait(.5)
Commands.Visible = false
end
wait(.7)
Temp.CmdsC = false
end
end)
CmdButton.MouseEnter:Connect(function()
CmdButton.ImageColor3 = Color3.new(0.588235, 0.588235, 0.588235)
end)
CmdButton.MouseLeave:Connect(function()
CmdButton.ImageColor3 = Color3.new(1, 1, 1)
end)
end
do
Toggles = Instance.new("ImageLabel")
local Stokeee = Instance.new("UIStroke")
local Corrrer = Instance.new("UICorner")
local ToggleScroll = Instance.new("ScrollingFrame")
local kewkfwe = Instance.new("UIListLayout")
local tempb = Instance.new("TextButton")
local UIStroke = Instance.new("UIStroke")
local UICorner = Instance.new("UICorner")
Toggles.Name = "Toggles"
Toggles.Parent = ScreenGui
Toggles.AnchorPoint = Vector2.new(0.5, 0.5)
Toggles.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
Toggles.Position = UDim2.new(0.499593854, 0, 0.499376595, 0)+UDim2.new(0,0,1,0)
Toggles.Size = UDim2.new(0, 539, 0, 409)
Toggles.Visible = false
Toggles.Image = "rbxassetid://12011977394"
Toggles.ImageTransparency = 0.260
Stokeee.Parent = Toggles
Stokeee.Name = "Stokeee"
Corrrer.Name = "Corrrer"
Corrrer.Parent = Toggles
ToggleScroll.Name = "ToggleScroll"
ToggleScroll.Parent = Toggles
ToggleScroll.Active = true
ToggleScroll.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ToggleScroll.BackgroundTransparency = 1.000
ToggleScroll.Size = UDim2.new(0, 539, 0, 408)
ToggleScroll.ScrollBarThickness = 4
kewkfwe.Name = "kewkfwe"
kewkfwe.Parent = ToggleScroll
kewkfwe.SortOrder = Enum.SortOrder.LayoutOrder
kewkfwe.Padding = UDim.new(0, 5)
tempb.Name = "tempb"
tempb.Parent = ScreenGui
tempb.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
tempb.BackgroundTransparency = 0.550
tempb.Position = UDim2.new(0, 0, -7.47979882e-08, 0)
tempb.Size = UDim2.new(0, 539, 0, 44)
tempb.Visible = false
tempb.Font = Enum.Font.SourceSans
tempb.Text = "Autorespawn [OFF]"
tempb.TextColor3 = Color3.fromRGB(255, 255, 255)
tempb.TextSize = 14.000
UIStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
UIStroke.Parent = tempb
UICorner.CornerRadius = UDim.new(0, 3)
UICorner.Parent = tempb
for i,v in pairs(States) do
if v == true or v == false then --//lazy for typeof function
local p = tempb:Clone()
p.Visible = true
p.Parent = ToggleScroll
p.Text = tostring(i).." ["..tostring(v).."]"
p.MouseButton1Up:Connect(function()
States[i]=not States[i]
p.Text = tostring(i).." ["..tostring(States[i]).."]"
end)
end
end
end
do
TogglesButton = Instance.new("ImageLabel")
UICornera = Instance.new("UICorner")
UIStroke12 = Instance.new("UIStroke")
CmdButton2 = Instance.new("ImageButton")
TogglesButton.Name = "CmdsIcon"
TogglesButton.Parent = CmdBarFrame
TogglesButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
TogglesButton.Position = UDim2.new(-0.132423401, 0, 0.0226149559, 0)+UDim2.new(1.15,0,0,0)
TogglesButton.Size = UDim2.new(0.121672593, 0, 0.945454538, 0)
TogglesButton.Image = "rbxassetid://12661800163"
TogglesButton.ImageTransparency = 0
UICornera.CornerRadius = UDim.new(0, 6)
UICornera.Parent = TogglesButton
UIStroke12.Parent = TogglesButton
CmdButton2.Name = "ToggleButton"
CmdButton2.Parent = TogglesButton
CmdButton2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
CmdButton2.BackgroundTransparency = 1.000
CmdButton2.Position = UDim2.new(0.298999995, 0, 0.27700001, 0)
CmdButton2.Size = UDim2.new(0, 27, 0, 27)
CmdButton2.Image = "rbxassetid://11698445336"
CmdButton2.ImageTransparency = 0.430
CmdButton2.MouseButton1Up:Connect(function()
if not Temp.CmdsC then
Temp.CmdsC = true
if Toggles.Visible == false then
Toggles.Position = Toggles.Position+UDim2.new(0,0,1,0)
wait(.1)
Toggles:TweenPosition(SavedCmdsPosition,"Out","Quart",1)
Toggles.Visible = true
else
Toggles:TweenPosition(SavedCmdsPosition+UDim2.new(0,0,1,0),"Out","Quart",1)
wait(.5)
Toggles.Visible = false
end
wait(.7)
Temp.CmdsC = false
end
end)
CmdButton2.MouseEnter:Connect(function()
CmdButton2.ImageColor3 = Color3.new(0.588235, 0.588235, 0.588235)
end)
CmdButton2.MouseLeave:Connect(function()
CmdButton2.ImageColor3 = Color3.new(1, 1, 1)
end)
end
Out.Name = "Out"
Out.Parent = CmdBarFrame
Out.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
Out.Position = UDim2.new(0.0200897697, 0, 0.022615375, 0)
Out.Size = UDim2.new(0.974358976, 0, 0.945454538, 0)
Out.Image = "rbxassetid://11789397066"
Out.ImageTransparency = 0.240
UICorner_2.CornerRadius = UDim.new(0, 6)
UICorner_2.Parent = Out
CommandBar.Name = "CommandBar"
CommandBar.Parent = Out
CommandBar.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
CommandBar.BackgroundTransparency = 1.000
CommandBar.BorderSizePixel = 0
CommandBar.Position = UDim2.new(0.0359953903, 0, 0.128254473, 0)
CommandBar.Size = UDim2.new(0, 519, 0, 46)
CommandBar.Font = Enum.Font.SourceSans
CommandBar.PlaceholderColor3 = Color3.fromRGB(178, 178, 178)
CommandBar.PlaceholderText = "Command bar"
CommandBar.Text = ""
CommandBar.TextColor3 = Color3.fromRGB(255, 255, 255)
CommandBar.TextSize = 24.000
CommandBar.TextTransparency = 0.140
CommandBar.TextWrapped = true
UIStroke.Parent = Out
Commands.Name = "Commands"
Commands.Parent = ScreenGui
Commands.AnchorPoint = Vector2.new(0.5, 0.5)
Commands.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
Commands.Position = UDim2.new(0.5, 0, 0.5, 0)
Commands.Size = UDim2.new(0, 455, 0, 297)
Commands.Image = "rbxassetid://12011977394"
Commands.ImageTransparency = 0.200
Commands.Visible = false
UICorner_3.CornerRadius = UDim.new(0, 6)
UICorner_3.Parent = Commands
UIStroke_2.Parent = Commands
CommandsList.Parent = Commands
CommandsList.Active = true
CommandsList.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
CommandsList.BackgroundTransparency = 1.000
CommandsList.Position = UDim2.new(0, 0, 0.077441074, 0)
CommandsList.Size = UDim2.new(0, 455, 0, 274)
CommandsList.ScrollBarThickness = 5
CommandsList.AutomaticCanvasSize="Y"
UIListLayout.Parent = CommandsList
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout.Padding = UDim.new(0, 8)
TEMP_CMD.Parent = Folder
TEMP_CMD.BackgroundColor3 = Color3.fromRGB(62, 62, 62)
TEMP_CMD.BackgroundTransparency = 0.750
TEMP_CMD.Size = UDim2.new(0, 455, 0, 14)
TEMP_CMD.Font = Enum.Font.SourceSans
TEMP_CMD.Text = "sex"--//yes
TEMP_CMD.TextColor3 = Color3.fromRGB(255, 255, 255)
TEMP_CMD.TextSize = 14.000
SavedCmdsPosition = Commands.Position
SearchBar.Parent = Commands
SearchBar.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
SearchBar.BackgroundTransparency = 1.000
SearchBar.Size = UDim2.new(0, 455, 0, 17)
SearchBar.Font = Enum.Font.SourceSans
SearchBar.PlaceholderColor3 = Color3.fromRGB(178, 178, 178)
SearchBar.PlaceholderText = "Search here"
SearchBar.Text = ""
SearchBar.TextColor3 = Color3.fromRGB(234, 234, 234)
SearchBar.TextSize = 14.000
local function dragify(Frame) --//shit annoying
local dragToggle = nil
local dragSpeed = 0.50
local dragInput = nil
local dragStart = nil
local dragPos = nil
local startPos = nil
local function updateInput(input)
local Delta = input.Position - dragStart
local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
game:GetService("TweenService"):Create(Frame, TweenInfo.new(0.30), {Position = Position}):Play()
end
Frame.InputBegan:Connect(function(input)
if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) and UIS:GetFocusedTextBox() == nil then
dragToggle = true
dragStart = input.Position
startPos = Frame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragToggle = false
end
end)
end
end)
Frame.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
dragInput = input
end
end)
game:GetService("UserInputService").InputChanged:Connect(function(input)
if input == dragInput and dragToggle then
updateInput(input)
end
end)
end
dragify(Toggles)
dragify(Commands)
function Notif(Text,Dur)
task.spawn(function()
if not Dur then Dur = 1.57 end
local Notif = Instance.new("ScreenGui")
local Frame_1 = Instance.new("Frame")
local TextLabel = Instance.new("TextLabel")
Notif.Parent = (game:GetService("CoreGui") or gethui())
Notif.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
Frame_1.Parent = Notif
Frame_1.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
Frame_1.BackgroundTransparency=1
Frame_1.BorderSizePixel = 0
Frame_1.Position = UDim2.new(0, 0, 0.0500000007, 0)
Frame_1.Size = UDim2.new(1, 0, 0.100000001, 0)
TextLabel.Parent = Frame_1
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.TextTransparency =1
TextLabel.Size = UDim2.new(1, 0, 1, 0)
TextLabel.Font = Enum.Font.Highway
TextLabel.Text = Text or "Text not found"
TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.TextSize = 21.000
Tween(Frame_1,"BackgroundTransparency",0.350,.5)
Tween(TextLabel,"TextTransparency",0,.5)
wait(Dur+.7)
Tween(Frame_1,"BackgroundTransparency",1,.5)
Tween(TextLabel,"TextTransparency",1,.5)
wait(.7)
Notif:Destroy()
end)
return
end
Folder.Parent = game
do--Watermark
local Water = Instance.new("ScreenGui")
local TextLabel = Instance.new("TextLabel")
local UIGradient = Instance.new("UIGradient")
Water.Name = game:GetService("HttpService"):GenerateGUID(true)
Water.Parent = (game:GetService("CoreGui") or gethui())
Water.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
TextLabel.Parent = Water
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDim2.new(0.00658436213, 0, 0, 0)-UDim2.new(0,0,1,0)
TextLabel.Size = UDim2.new(0, 200, 0, 32)
TextLabel.Font = Enum.Font.Cartoon
TextLabel.Text = "c00ladmin v1.2 PRIVATE"
TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.TextScaled = true
TextLabel.TextSize = 14.000
TextLabel.TextWrapped = true
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
TextLabel:TweenPosition(UDim2.new(0.00658436213, 0, 0, 0),"Out","Quart",1)
AddGui(Water)
UIGradient.Color =ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(196, 8, 202)), ColorSequenceKeypoint.new(0.13, Color3.fromRGB(199, 15, 191)), ColorSequenceKeypoint.new(0.48, Color3.fromRGB(247, 127, 28)), ColorSequenceKeypoint.new(0.89, Color3.fromRGB(254, 7, 59)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(255, 2, 61))}
UIGradient.Parent = TextLabel
task.spawn(function()
while game do
task.wait()
UIGradient.Rotation +=.05
end
end)
end
do
--Load guis
game:GetService("ContentProvider"):PreloadAsync({
Commands,
Out,
})
end
for i,v in pairs(ScreenGui:GetDescendants()) do v.Name = game:GetService("HttpService"):GenerateGUID(true) end
if game:GetService("UserInputService").TouchEnabled and not game:GetService("UserInputService").KeyboardEnabled then
CommandBar.Position=CommandBar.Position-UDim2.new(0,0,.05,0)
TogglesButton=TogglesButton.Position-UDim2.new(0,0,.2,0)
CmdButton=CmdButton.Position-UDim2.new(0,0,.2,0)
end
end
do--//Command handler
Prefix = ":"
CommandsGot = 0
TableCommands={}
CommandsRawList = {}
GetArgs = function(Args)
return Args:split(" ")
end
end
Verify_Command=function(NAME)
NAME = NAME:lower()
if not string.find(NAME,Prefix) then
NAME = Prefix..NAME
end
return NAME
end
ValidCommand=function(Name)
local Saved_Name = Name
if not string.find(Saved_Name," ") then
Saved_Name = Saved_Name.." "
end
for i,v in pairs(TableCommands) do
if v then
if v["Name"]:lower() == Saved_Name:split(" ")[1] then
return true
end
end
end
return nil
end
Execute_Command = function(Name,Raw)
local p = nil
if unloaded then return end
Name = Name:lower()
local Saved_Name = Name
if not string.find(Saved_Name," ") then
Saved_Name = Saved_Name.." "
end
if Verify_Command(Name) then
for i,v in pairs(TableCommands) do
if v then
if v["Name"]:lower() == Saved_Name:split(" ")[1] then
p = true
coroutine.wrap(function()
v["Callback"](Raw)
end)()
end
end
end
print(p)
return p
end
end
FindPlayer = function(h,h2)
if string.lower(h) == "me" then
return plr
else
h = h:gsub("%s+", "")
for m, n in pairs(game:GetService("Players"):GetPlayers()) do
if n.Name:lower():match("^" .. h:lower()) or n.DisplayName:lower():match("^" .. h:lower()) then
return n
end
end
end
return nil
end
FindString = function(String,Table)
String = String:gsub("%s+", "")
for m, n in pairs(Table) do
if n:lower():match("^" .. String:lower()) then
return n
end
end
return nil
end
Add_Command = function(Name,Callback,Does,PlayerCommand,R)
task.spawn(function()
if Name and Callback then
if PlayerCommand and PlayerCommand == "PLAYER_COMMAND" then
PlayerCommand = " [PLAYER]"
elseif PlayerCommand == "TOGGLE_COMMAND" then
PlayerCommand = " ON/OFF"
elseif PlayerCommand == "NUMBER_COMMAND" then
PlayerCommand = " NUMBER"
elseif PlayerCommand == "STRING_COMMAND" then
PlayerCommand = " STRING"
end
if PlayerCommand == nil then
PlayerCommand=""
end
local CloneTXT = TEMP_CMD:Clone()
if typeof(PlayerCommand):lower()~="string" then
CloneTXT.Text = Prefix..tostring(Name).."".." | "..Does or ""
else
CloneTXT.Text = Prefix..tostring(Name)..PlayerCommand.." | "..Does or ""
end
CloneTXT.Parent = CommandsList
CloneTXT.Visible = true
if Does and Does == true or Does == "true" or PlayerCommand == true then
CloneTXT.Visible = false
CloneTXT.Changed:Connect(function()
CloneTXT.Visible = false
end)
end
CommandsGot+=1
CommandsRawList[#CommandsRawList+1]=CloneTXT
TableCommands[#TableCommands+1] = {
["Name"] = Prefix..Name,
["Callback"] = Callback,
["Does"] = Does or ""
}
end
end)
end
do
--//Temp set up
Temp.CmdsC = false
Temp.Waiting2 = nil
Temp.Waiting = false
Temp.Esps={}
Temp.RankCooldown = false
end
do
--//Prison life stuff functions
function GetHumanoid()
return plr.Character:FindFirstChildOfClass("Humanoid")
end
function WaitForRespawn()
task.spawn(function()
Temp.Waiting = true
local RepeatPos = getpos()
task.spawn(function()
Temp.Waiting2 = plr.CharacterAdded:Connect(function(char)
repeat task.wait() until char and char:FindFirstChild("HumanoidRootPart")
Temp.Waiting = false
MoveTo(RepeatPos)
end)
end)
repeat task.wait()
RepeatPos = getpos()
until Temp.Waiting == false
Temp.Waiting2:Disconnect()
end)
return
end
HasGamepass = false
function swait()--//fast wait
game:GetService("RunService").Stepped:Wait()
end
function Godmode()
local Hats = {}
repeat task.wait() until plr.Character:FindFirstChildOfClass("Accessory")
do
--//Fix the stupid hat falling off because it looks good without it falling and because im not gay
for i,v in pairs(plr.Character:GetChildren()) do
if v and v:IsA("Accessory") then
pcall(function()
v.Handle.CanTouch = false
Hats[#Hats+1] = {
Hat = v,
OldPosition = v.Handle:FindFirstChildOfClass("Weld").C0,
OldPosition2 = v.Handle:FindFirstChildOfClass("Weld").C1
}
v.Handle.Anchored = true
end)
end
end
end
do--//Glitch Humanoid
task.spawn(function()
plr.Character:FindFirstChildOfClass("Humanoid"):Destroy()
Instance.new("Humanoid",plr.Character)
pcall(function()
plr.Character:FindFirstChild("Animate").Disabled = true
plr.Character:FindFirstChild("Animate").Disabled = false
end)
end)
end
do
local function FindHat(a)
for i,v in pairs(Hats) do
if v and v == a then
return v
end
end
return nil
end
--Fix hats 2
for i,v in pairs(Hats) do
if v then
pcall(function()
local Hat = v.Hat
local NewWeld = Instance.new("Weld",Hat.Handle)
NewWeld.Part0 = Hat.Handle
NewWeld.Part1 = plr.Character.Head
NewWeld.C0 = v.OldPosition
NewWeld.C1 = v.OldPosition2
Hat.Handle.Anchored = false
end)
end
end
end
end
function ChangeTeam(Team)
if Team == game.Teams.Criminals then
local pos = getpos()
local crimpad = workspace["Criminals Spawn"].SpawnLocation
crimpad.CanCollide = false
crimpad.Transparency = 1
repeat task.wait()crimpad.CFrame = getpos() until plr.Team == game.Teams.Criminals
wait()
MoveTo(pos)
MoveToJunk(crimpad)
return
end
local a,b,c= nil,getpos(),workspace.CurrentCamera.CFrame
a =plr.CharacterAdded:Connect(function(Char)
task.spawn(function()
workspace.CurrentCamera:GetPropertyChangedSignal("CFrame"):Wait()
for i =1,5 do
workspace.CurrentCamera.CFrame = c
end
end)
Char:WaitForChild("HumanoidRootPart")
MoveTo(b)
a:Disconnect()
end)
local ohString1 = Team.TeamColor.Name
workspace.Remote.TeamEvent:FireServer(ohString1)
return
end
function unsit()
plr.Character:FindFirstChildOfClass("Humanoid").Sit = false
end
if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(plr.UserId, 96651) then
HasGamepass = true
end
Events = {
TeamEvent = workspace.Remote.TeamEvent,
ShootEvent = game:GetService("ReplicatedStorage").ShootEvent,
loadchar = function()
if plr.Team == game.Teams.Inmates then
local ohString1 = "Bright orange"
workspace.Remote.TeamEvent:FireServer(ohString1)
elseif plr.Team == game.Teams.Guards then
local ohString1 = "Bright blue"
workspace.Remote.TeamEvent:FireServer(ohString1)
elseif plr.Team == game.Teams.Criminals then
workspace.Remote.TeamEvent:FireServer("Bright orange")
wait(.3)
local crimpad = workspace["Criminals Spawn"].SpawnLocation
crimpad.CanCollide = false
crimpad.Transparency = 1
repeat task.wait()crimpad.CFrame = getpos() until plr.Team == game.Teams.Criminals
MoveToJunk(crimpad)
end
end,
}
function BadArea(Player)
local mod = require(game.ReplicatedStorage["Modules_client"]["RegionModule_client"])
local a =pcall(function()
if mod.findRegion(Player.Character) then
mod = mod.findRegion(Player.Character)["Name"]
end
end)
if not a then
return
end
for i,v in pairs(game:GetService("ReplicatedStorage").PermittedRegions:GetChildren()) do
if v and mod == v.Value then
return false
end
end
return true
end
--//pretend this doesnt exist okay?
FLYING = false
QEfly = true
flyspeed = 1
vehicleflyspeed = 1
function sFLY(vfly)
repeat wait() until game:GetService("Players").LocalPlayer and game:GetService("Players").LocalPlayer.Character and game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart") and game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
repeat wait() until game:GetService("Players").LocalPlayer:GetMouse()
if flyKeyDown or flyKeyUp then flyKeyDown:Disconnect() flyKeyUp:Disconnect() end
local T = game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart")
local CONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
local lCONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
local SPEED = 0
local function FLY()
FLYING = true
local BG = Instance.new('BodyGyro')
local BV = Instance.new('BodyVelocity')
BG.P = 9e4
BG.Parent = T
BV.Parent = T
BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
BG.cframe = T.CFrame
BV.velocity = Vector3.new(0, 0, 0)
BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
task.spawn(function()
repeat wait()
if not vfly and game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = true
end
if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 or CONTROL.Q + CONTROL.E ~= 0 then
SPEED = 50
elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 or CONTROL.Q + CONTROL.E ~= 0) and SPEED ~= 0 then
SPEED = 0
end
if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 or (CONTROL.Q + CONTROL.E) ~= 0 then
BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B + CONTROL.Q + CONTROL.E) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and (CONTROL.Q + CONTROL.E) == 0 and SPEED ~= 0 then
BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B + CONTROL.Q + CONTROL.E) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
else
BV.velocity = Vector3.new(0, 0, 0)
end
BG.cframe = workspace.CurrentCamera.CoordinateFrame
until not FLYING
CONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
lCONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
SPEED = 0
BG:Destroy()
BV:Destroy()
if game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
end
end)
end
flyKeyDown = game:GetService("Players").LocalPlayer:GetMouse().KeyDown:Connect(function(KEY)
if KEY:lower() == 'w' then
CONTROL.F = (vfly and vehicleflyspeed or flyspeed)
elseif KEY:lower() == 's' then
CONTROL.B = - (vfly and vehicleflyspeed or flyspeed)
elseif KEY:lower() == 'a' then
CONTROL.L = - (vfly and vehicleflyspeed or flyspeed)
elseif KEY:lower() == 'd' then
CONTROL.R = (vfly and vehicleflyspeed or flyspeed)
elseif QEfly and KEY:lower() == 'e' then
CONTROL.Q = (vfly and vehicleflyspeed or flyspeed)*2
elseif QEfly and KEY:lower() == 'q' then
CONTROL.E = -(vfly and vehicleflyspeed or flyspeed)*2
end
pcall(function() workspace.CurrentCamera.CameraType = Enum.CameraType.Track end)
end)
flyKeyUp = game:GetService("Players").LocalPlayer:GetMouse().KeyUp:Connect(function(KEY)
if KEY:lower() == 'w' then
CONTROL.F = 0
elseif KEY:lower() == 's' then
CONTROL.B = 0
elseif KEY:lower() == 'a' then
CONTROL.L = 0
elseif KEY:lower() == 'd' then
CONTROL.R = 0
elseif KEY:lower() == 'e' then
CONTROL.Q = 0
elseif KEY:lower() == 'q' then
CONTROL.E = 0
end
end)
FLY()
end
function NOFLY()
FLYING = false
if flyKeyDown or flyKeyUp then flyKeyDown:Disconnect() flyKeyUp:Disconnect() end
if game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
end
pcall(function() workspace.CurrentCamera.CameraType = Enum.CameraType.Custom end)
end
function GetGun(Item,Ignore)
local saved = game:GetService("Players").LocalPlayer.Character:GetPrimaryPartCFrame()
if workspace.Prison_ITEMS.giver:FindFirstChild(Item) and workspace.Prison_ITEMS.giver:FindFirstChild(Item):FindFirstChild("ITEMPICKUP") then
Item =workspace.Prison_ITEMS.giver:FindFirstChild(Item)
local ohInstance1 = Item:FindFirstChildOfClass("Part")
MoveTo(CFrame.new(ohInstance1.Position))
repeat wait()
local ohInstance1 = Item:FindFirstChildOfClass("Part")
MoveTo(CFrame.new(ohInstance1.Position))
task.spawn(function()
workspace.Remote.ItemHandler:InvokeServer(ohInstance1)
end)
wait()
until plr.Backpack:FindFirstChild(Item.Name) or plr.Character:FindFirstChild(Item.Name)
end
if Ignore ~= true then
plr.Character:SetPrimaryPartCFrame(Ignore or saved)
end
end
function Fly(Enable,SpeedNew)
if Enable then
if Temp.FlyConnection then
return
end
Temp.FlyConnection= RunService.Heartbeat:Connect(function()
if true then
plr.Character:WaitForChild("HumanoidRootPart").CFrame = CFrame.new(plr.Character:WaitForChild("HumanoidRootPart").Position, plr.Character:WaitForChild("HumanoidRootPart").Position + Vector3.new(Mouse.Hit.lookVector.x, Mouse.Hit.lookVector.Y, Mouse.Hit.lookVector.z))
end
end)
local Speed = tonumber(SpeedNew)/2 or .1
local Y = 1
local State = 8
local StartingPosition = plr.Character.PrimaryPart.CFrame
local Keys = {
w = false,
a = false,
s = false,
d = false,
}
local function MoveBy(a)
if not Temp.FlyConnection then
return
end
plr.Character.HumanoidRootPart.CFrame = plr.Character.HumanoidRootPart.CFrame *a
end
Mouse.KeyUp:Connect(function(Key)
if Key and Keys[Key:lower()] ~= nil and Temp.FlyConnection then
Keys[Key:lower()] = false
end
end)
Mouse.KeyDown:Connect(function(Key)
if Key and Keys[Key:lower()] ~= nil and Temp.FlyConnection then
Keys[Key:lower()] = true
end
end)
plr.Character.HumanoidRootPart.Changed:Connect(function()
if true and Temp.FlyConnection then
plr.Character.HumanoidRootPart.Velocity = Vector3.new(0,Y,0)
end
end)
RunService.RenderStepped:Connect(function()
if true and Temp.FlyConnection then
plr.Character.HumanoidRootPart.Velocity = Vector3.new(0,Y,0)
if Keys.w then
MoveBy(CFrame.new(0,0,-Speed))
end
if Keys.a then
MoveBy(CFrame.new(-Speed,0,0))
end
if Keys.s then
MoveBy(CFrame.new(0,0,Speed))
end
if Keys.d then
MoveBy(CFrame.new(Speed,0,0))
end
end
end)
task.spawn(function()
repeat wait(.4)
if unloaded then
break
end
pcall(function()
plr.Character:FindFirstChildOfClass("Humanoid").StateChanged:Connect(function()
if not Temp.FlyConnection then
return
end
plr.Character:FindFirstChildOfClass("Humanoid"):ChangeState(State)
end)
plr.Character:FindFirstChildOfClass("Humanoid"):ChangeState(State)
end)
until not Temp.FlyConnection
end)
local function rwait(a)
if true then
wait(a)
end
end
local function rwait2()
if true then
task.wait()
end
end
task.spawn(function()
repeat wait(1)
if unloaded then
break
end
if true and Temp.FlyConnection then
pcall(function()
State = 7--//Landed
rwait(.1)
State=8--//Running
rwait(1)
State = 3--//Jumping
rwait2()
State = 5--//Falling
end)
end
until not Temp.FlyConnection
end)
local function onInputBegan(input, _gameProcessed)
if input.KeyCode == Enum.KeyCode.Space then
Y = 20
end
if input.KeyCode == Enum.KeyCode.LeftShift then
Y = -20
end
end
local function onInputEnded(input, _gameProcessed)
if input.KeyCode == Enum.KeyCode.Space then
Y = 1
end
if input.KeyCode == Enum.KeyCode.LeftShift then
Y = 1
end
end
UserInputService.InputBegan:Connect(onInputBegan)
UserInputService.InputEnded:Connect(onInputEnded)
else
pcall(function()
Temp.FlyConnection:Disconnect()
Temp.FlyConnection=nil
end)
pcall(function()
wait(.1)
plr.Character:FindFirstChildOfClass("Humanoid"):ChangeState(18)
wait(.04)
char:FindFirstChildOfClass("Humanoid"):ChangeState(8)
end)
end
end
function All_Guns()
local saved = game:GetService("Players").LocalPlayer.Character:GetPrimaryPartCFrame()
if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(plr.UserId, 96651) then
GetGun("M4A1",true)
end
GetGun("AK-47",true)
task.spawn(function()
GetGun("Remington 870",true)
end)
GetGun("M9",true)
game:GetService("Players").LocalPlayer.Character:SetPrimaryPartCFrame(saved)
end
function GetTeam()
return plr.TeamColor.Name
end
function GenerateShootTable(Hit)
local Generated = {}
for i=1,15 do
Generated[#Generated+1]={
["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
["Distance"] =0,
["Cframe"] = CFrame.new(),
["Hit"] = Hit
}
end
return Generated
end
function Valid_Team(Team)
if Team and typeof(Team):lower()=="string" then
local Valid = {
"Bright orange",
"Bright blue",
}
if table.find(Valid,Team) then
return true
elseif Team == "Really red" then
return 1
end
return nil
end
end
function Last_Team(Lastteam)
task.spawn(function()
local a,b,c= nil,getpos(),workspace.CurrentCamera.CFrame
a =plr.CharacterAdded:Connect(function(Char)
task.spawn(function()
workspace.CurrentCamera:GetPropertyChangedSignal("CFrame"):Wait()
for i =1,5 do
workspace.CurrentCamera.CFrame = c
end
end)
Char:WaitForChild("HumanoidRootPart")
MoveTo(b)
a:Disconnect()
end)
local Team = Valid_Team(Lastteam)
if Team and Team~=1 then
local pos = getpos()
workspace.Remote.TeamEvent:FireServer(Lastteam)
elseif Team and Team == 1 then
workspace.Remote.TeamEvent:FireServer("Bright orange")
local crimpad = workspace["Criminals Spawn"].SpawnLocation
crimpad.CanCollide = false
crimpad.Transparency = 1
repeat task.wait()crimpad.CFrame = getpos() until plr.Team == game.Teams.Criminals
MoveToJunk(crimpad)
end
end)
end
function GetPlayersPart(player)
if player and player.Character then
return player.Character:FindFirstChild("Head") or player.Character:FindFirstChildOfClass("Part") or player.Character:FindFirstChildOfClass("MeshPart")
end
end
function CreateKillPart()
if Parts[1] then
pcall(function()
Parts[1]:Destroy()
end)
Parts[1] = nil
end
local Part = Instance.new("Part",plr.Character)
local hilight = Instance.new("Highlight",Part)
hilight.FillTransparency = 1
Part.Anchored = true
Part.CanCollide = false
Part.CanTouch = false
Part.Material = Enum.Material.SmoothPlastic
Part.Transparency = .98
Part.Material = Enum.Material.SmoothPlastic
Part.BrickColor = BrickColor.White()
Part.Size = Vector3.new(20,2,20)
Part.Name = "KillAura"
Parts[1] = Part
end
function MKILL(target,STOP,P)
if target == plr or target == plr.Name then
return
end
if typeof(target):lower() == "string" and game:GetService("Players"):FindFirstChild(target) then
target = game:GetService("Players"):FindFirstChild(target)
end
if not STOP then STOP =1 end
if not target or not target.Character or not target.Character:FindFirstChild("Humanoid") or target.Character:FindFirstChildOfClass("ForceField") or target.Character:FindFirstChild("Humanoid").Health<1 or not plr.Character or not plr.Character:FindFirstChildOfClass("Humanoid") or not plr.Character:FindFirstChild("HumanoidRootPart") then
return
end
unsit()
local saved = getpos()
if not P then P = saved else saved = P end
game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = target.Character:FindFirstChild("Head").CFrame
wait(.2)
for i =1,10 do
task.spawn(function()
game.ReplicatedStorage["meleeEvent"]:FireServer(target)
end)
end
wait(.1)
if target and target.Character and target.Character:FindFirstChild("Humanoid") and target.Character:FindFirstChild("Humanoid").Health >1 and STOP ~=3 then
MKILL(target,STOP+1,P)
return
end
MoveTo(saved)
end
function Kill_All(TeamS)
local a = GetTeam()
local saved = getpos()
local Team = GetTeam()
if not TeamS then
ChangeTeam(game.Teams.Inmates)
end
GetGun("M9")
repeat task.wait() until plr.Backpack:FindFirstChild("M9")
local Gun = plr.Backpack:FindFirstChild("M9")
local Gen = {}
if TeamS then
if TeamS == game.Teams.Guards then
ChangeTeam(game.Teams.Inmates)
elseif TeamS == game.Teams.Inmates then
ChangeTeam(game.Teams.Criminals)
end
end
if not TeamS then
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
if not table.find(Whitelisted,v.Name) and v ~= plr then
if v.Team == game.Teams.Criminals then
for i =1,10 do
Gen[#Gen+1]={
["RayObject"] = Ray.new(Vector3.new(0,0,0), Vector3.new(0,0,0)),
["Distance"] = .1,
["Cframe"] = CFrame.new(),
["Hit"] = v.Character:WaitForChild("Head")
}
end
end
end
end
game:GetService("ReplicatedStorage").ShootEvent:FireServer(Gen, Gun)
end
--
if not TeamS then
ChangeTeam(game.Teams.Criminals)
end
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
if not table.find(Whitelisted,v.Name) and v ~= plr then
if (TeamS and v.Team == TeamS) or not TeamS then
for i =1,10 do
Gen[#Gen+1]={
["RayObject"] = Ray.new(Vector3.new(0,0,0), Vector3.new(0,0,0)),
["Distance"] = .1,
["Cframe"] = CFrame.new(),
["Hit"] = v.Character:WaitForChild("Head")
}
end
end
end
end
game:GetService("ReplicatedStorage").ShootEvent:FireServer(Gen, Gun)
wait(.1)
Last_Team(a)
wait(.4)
game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = saved
end
function kill(player,Type)
if typeof(player):lower() == "string" then
if game:GetService("Players"):FindFirstChild(player) then
player = game:GetService("Players"):FindFirstChild(player)
else
return
end
end
if player == plr or player == plr.Name then
return Notif("Can't kill yourself????")
end
local Gun = ReturnGun()
if table.find(Whitelisted,player.Name) then
print("error is whitelisted - 1")
return Notif("This player is whitelisted")
end
if Gun and plr.Team ~= player.Team then
local Gen = {}
for i =1,15 do
Gen[#Gen+1]={
["RayObject"] = Ray.new(Vector3.new(0,0,0), Vector3.new(0,0,0)),
["Distance"] = .1,
["Cframe"] = CFrame.new(),
["Hit"] = player.Character:WaitForChild("Head")
}
end
game:GetService("ReplicatedStorage").ShootEvent:FireServer(Gen, Gun)
else
MKILL(player)
end
wait(.3)
if player.Character:FindFirstChildOfClass("Humanoid") and player.Character:FindFirstChildOfClass("Humanoid").Health <1 then
Notif("Player has been killed")
else
Notif("Failed to kill player")
end
end
Add_Command("cmds",function(Args)
local Args = GetArgs(Args)
if not Temp.CmdsC then
Temp.CmdsC = true
if Commands.Visible == false then
Commands.Position = Commands.Position+UDim2.new(0,0,1,0)
wait(.1)
Commands:TweenPosition(SavedCmdsPosition,"Out","Quart",1)
Commands.Visible = true
else
Commands:TweenPosition(SavedCmdsPosition+UDim2.new(0,0,1,0),"Out","Quart",1)
wait(.5)
Commands.Visible = false
end
wait(.7)
Temp.CmdsC = false
end
Notif("Type cmds again to close the gui!")
end,"Shows commands gui")
Add_Command("rejoin",function(Args)
local Args = GetArgs(Args)
Notif("Rejoining...")
wait(.3)
if #game:GetService("Players"):GetPlayers() ==1 then
game:GetService("Players").LocalPlayer:Kick("Please wait.")
game:GetService("TeleportService"):Teleport(game.PlaceId, game:GetService("Players").LocalPlayer)
else
game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, game.JobId, game:GetService("Players").LocalPlayer)
end
end,"Rejoins the server")
To embed this project on your website, copy the following code and paste it into your website's HTML: