Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local h = Instance.new("Hint")
- h.Parent = Workspace
- h.Text = "JailThatGUI.. Made by V3rmillion: CharWar -=-=-=- Discord: Jethrootje#0289"
- wait(4)
- h:Remove()
- -- Objects
- local JailThatGUI = Instance.new("ScreenGui")
- local MainFrame = Instance.new("Frame")
- local ImageLabel = Instance.new("ImageLabel")
- -- Properties
- JailThatGUI.Name = "JailThatGUI"
- JailThatGUI.Parent = game.CoreGui
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = JailThatGUI
- MainFrame.Active = true
- MainFrame.BackgroundColor3 = Color3.new(0, 0, 0)
- MainFrame.BorderColor3 = Color3.new(0, 0, 0)
- MainFrame.Draggable = true
- MainFrame.Position = UDim2.new(0, 380, 0, 120)
- MainFrame.Size = UDim2.new(0, 195, 0, 400)
- MainFrame.Visible = true
- ImageLabel.Parent = MainFrame
- ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel.BackgroundTransparency = 1
- ImageLabel.Size = UDim2.new(0, 195, 0, 400)
- ImageLabel.Image = "rbxassetid://10131638"
- ImageLabel.ImageColor3 = Color3.new(1, 1, 1)
- local AutoArrest = Instance.new('TextButton', Body)
- AutoArrest.Name = 'AutoArrest'
- AutoArrest.Parent = MainFrame
- AutoArrest.Active = true
- AutoArrest.BackgroundColor3 = Color3.new(255/0/0)
- AutoArrest.BackgroundTransparency = 0
- AutoArrest.BorderSizePixel = 5
- AutoArrest.Position = UDim2.new(0,39,0,47)
- AutoArrest.Size = UDim2.new(0,120,0,20)
- AutoArrest.Font = 'ArialBold'
- AutoArrest.FontSize = 'Size24'
- AutoArrest.Text = 'AutoArrest'
- AutoArrest.TextColor3 = Color3.new(255,255,255)
- AutoArrest.TextWrapped = true
- AutoArrest.BorderColor3 = Color3.new(0/0/0/0)
- AutoArrest.TextStrokeTransparency = 1
- AutoArrest.MouseButton1Click:connect(function()
- while wait() do
- while wait(0.1) do
- localRootPart = game.Players.LocalPlayer.Character.HumanoidRootPart
- event = game.ReplicatedStorage.Resource.Event
- function getCFrameBehindPart(part)
- local partRotation = part.CFrame:toAxisAngle()
- local bottomOfPart = part.CFrame.p-Vector3.new(0,part.Size.Y/2,0)
- local behindPart = CFrame.new(bottomOfPart-part.CFrame.lookVector*1.2)+Vector3.new(0,1,0)
- return behindPart*CFrame.Angles(partRotation.X,partRotation.Y,partRotation.Z)
- end
- for _,plr in pairs(game.Teams.Criminal:GetPlayers()) do
- local char = plr.Character
- if char ~= nil and char:FindFirstChild("HumanoidRootPart") ~= nil then
- local rootPart = char.HumanoidRootPart
- repeat
- event:FireServer("VehicleExit")
- localRootPart.CFrame = getCFrameBehindPart(rootPart)
- wait()
- for _,veh in pairs(game.Workspace.Vehicles:GetChildren()) do
- event:FireServer("AttemptVehicleEject",veh)
- end
- event:FireServer("AttemptArrest", plr.Name)
- until plr.Team.Name ~= "Criminal" or rootPart == nil
- end
- end
- end
- end
- end)
- local BankVault = Instance.new('TextButton', Body)
- BankVault.Name = 'BankVault'
- BankVault.Parent = MainFrame
- BankVault.Active = true
- BankVault.BackgroundColor3 = Color3.new(255/0/0)
- BankVault.BackgroundTransparency = 0
- BankVault.BorderSizePixel = 5
- BankVault.Position = UDim2.new(0,39,0,80)
- BankVault.Size = UDim2.new(0,120,0,20)
- BankVault.Font = 'ArialBold'
- BankVault.FontSize = 'Size24'
- BankVault.Text = 'BankVault'
- BankVault.TextColor3 = Color3.new(255,255,255)
- BankVault.TextWrapped = true
- BankVault.BorderColor3 = Color3.new(0/0/0/0)
- BankVault.TextStrokeTransparency = 1
- BankVault.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(16.35, 4.316, 814) + Vector3.new(1,0,0)
- end)
- local CriminalBase = Instance.new('TextButton', Body)
- CriminalBase.Name = 'CriminalBase'
- CriminalBase.Parent = MainFrame
- CriminalBase.Active = true
- CriminalBase.BackgroundColor3 = Color3.new(255/0/0)
- CriminalBase.BackgroundTransparency = 0
- CriminalBase.BorderSizePixel = 5
- CriminalBase.Position = UDim2.new(0,39,0,113)
- CriminalBase.Size = UDim2.new(0,120,0,20)
- CriminalBase.Font = 'ArialBold'
- CriminalBase.FontSize = 'Size24'
- CriminalBase.Text = 'CrimBase'
- CriminalBase.TextColor3 = Color3.new(255,255,255)
- CriminalBase.TextWrapped = true
- CriminalBase.BorderColor3 = Color3.new(0/0/0/0)
- CriminalBase.TextStrokeTransparency = 1
- CriminalBase.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-222.339157, 17.9125443, 1575.82336) + Vector3.new(1,0,0)
- end)
- local Outpost = Instance.new('TextButton', Body)
- Outpost.Name = 'Outpost'
- Outpost.Parent = MainFrame
- Outpost.Active = true
- Outpost.BackgroundColor3 = Color3.new(255/0/0)
- Outpost.BackgroundTransparency = 0
- Outpost.BorderSizePixel = 5
- Outpost.Position = UDim2.new(0,39,0,146)
- Outpost.Size = UDim2.new(0,120,0,20)
- Outpost.Font = 'ArialBold'
- Outpost.FontSize = 'Size24'
- Outpost.Text = 'Outpost'
- Outpost.TextColor3 = Color3.new(255,255,255)
- Outpost.TextWrapped = true
- Outpost.BorderColor3 = Color3.new(0/0/0/0)
- Outpost.TextStrokeTransparency = 1
- Outpost.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(744.981506, 38.1523933, 1132.73462) + Vector3.new(1,0,0)
- end)
- local Garage = Instance.new('TextButton', Body)
- Garage.Name = 'Garage'
- Garage.Parent = MainFrame
- Garage.Active = true
- Garage.BackgroundColor3 = Color3.new(255/0/0)
- Garage.BackgroundTransparency = 0
- Garage.BorderSizePixel = 5
- Garage.Position = UDim2.new(0,39,0,179)
- Garage.Size = UDim2.new(0,120,0,20)
- Garage.Font = 'ArialBold'
- Garage.FontSize = 'Size24'
- Garage.Text = 'Garage'
- Garage.TextColor3 = Color3.new(255,255,255)
- Garage.TextWrapped = true
- Garage.BorderColor3 = Color3.new(0/0/0/0)
- Garage.TextStrokeTransparency = 1
- Garage.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-342.130798, 19.3135223, 1182.73669) + Vector3.new(1,0,0)
- end)
- local PoliceCars = Instance.new('TextButton', Body)
- PoliceCars.Name = 'PoliceCars'
- PoliceCars.Parent = MainFrame
- PoliceCars.Active = true
- PoliceCars.BackgroundColor3 = Color3.new(255/0/0)
- PoliceCars.BackgroundTransparency = 0
- PoliceCars.BorderSizePixel = 5
- PoliceCars.Position = UDim2.new(0,39,0,212)
- PoliceCars.Size = UDim2.new(0,120,0,20)
- PoliceCars.Font = 'ArialBold'
- PoliceCars.FontSize = 'Size24'
- PoliceCars.Text = 'PoliceCars'
- PoliceCars.TextColor3 = Color3.new(255,255,255)
- PoliceCars.TextWrapped = true
- PoliceCars.BorderColor3 = Color3.new(0/0/0/0)
- PoliceCars.TextStrokeTransparency = 1
- PoliceCars.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1100.4469, 17.7500038, -1493.18286) + Vector3.new(1,0,0)
- end)
- local PoliceBase = Instance.new('TextButton', Body)
- PoliceBase.Name = 'PoliceBase'
- PoliceBase.Parent = MainFrame
- PoliceBase.Active = true
- PoliceBase.BackgroundColor3 = Color3.new(255/0/0)
- PoliceBase.BackgroundTransparency = 0
- PoliceBase.BorderSizePixel = 5
- PoliceBase.Position = UDim2.new(0,39,0,245)
- PoliceBase.Size = UDim2.new(0,120,0,20)
- PoliceBase.Font = 'ArialBold'
- PoliceBase.FontSize = 'Size24'
- PoliceBase.Text = 'PoliceBase'
- PoliceBase.TextColor3 = Color3.new(255,255,255)
- PoliceBase.TextWrapped = true
- PoliceBase.BorderColor3 = Color3.new(0/0/0/0)
- PoliceBase.TextStrokeTransparency = 1
- PoliceBase.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1130.11426, 17.950058, -1593.09766) + Vector3.new(1,0,0)
- end)
- local Helicopter1 = Instance.new('TextButton', Body)
- Helicopter1.Name = 'Helicopter1'
- Helicopter1.Parent = MainFrame
- Helicopter1.Active = true
- Helicopter1.BackgroundColor3 = Color3.new(255/0/0)
- Helicopter1.BackgroundTransparency = 0
- Helicopter1.BorderSizePixel = 5
- Helicopter1.Position = UDim2.new(0,39,0,278)
- Helicopter1.Size = UDim2.new(0,120,0,20)
- Helicopter1.Font = 'ArialBold'
- Helicopter1.FontSize = 'Size24'
- Helicopter1.Text = 'Helicopter1'
- Helicopter1.TextColor3 = Color3.new(255,255,255)
- Helicopter1.TextWrapped = true
- Helicopter1.BorderColor3 = Color3.new(0/0/0/0)
- Helicopter1.TextStrokeTransparency = 1
- Helicopter1.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1176.4231, 59.7911148, -1572.6908) + Vector3.new(1,0,0)
- end)
- local Helicopter2 = Instance.new('TextButton', Body)
- Helicopter2.Name = 'Helicopter2'
- Helicopter2.Parent = MainFrame
- Helicopter2.Active = true
- Helicopter2.BackgroundColor3 = Color3.new(255/0/0)
- Helicopter2.BackgroundTransparency = 0
- Helicopter2.BorderSizePixel = 5
- Helicopter2.Position = UDim2.new(0,39,0,311)
- Helicopter2.Size = UDim2.new(0,120,0,20)
- Helicopter2.Font = 'ArialBold'
- Helicopter2.FontSize = 'Size24'
- Helicopter2.Text = 'Helicopter2'
- Helicopter2.TextColor3 = Color3.new(255,255,255)
- Helicopter2.TextWrapped = true
- Helicopter2.BorderColor3 = Color3.new(0/0/0/0)
- Helicopter2.TextStrokeTransparency = 1
- Helicopter2.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(725.516174, 68.436058, 1143.79065) + Vector3.new(1,0,0)
- end)
- local Bank = Instance.new('TextButton', Body)
- Bank.Name = 'Bank'
- Bank.Parent = MainFrame
- Bank.Active = true
- Bank.BackgroundColor3 = Color3.new(255/0/0)
- Bank.BackgroundTransparency = 0
- Bank.BorderSizePixel = 5
- Bank.Position = UDim2.new(0,39,0,344)
- Bank.Size = UDim2.new(0,120,0,20)
- Bank.Font = 'ArialBold'
- Bank.FontSize = 'Size24'
- Bank.Text = 'Bank'
- Bank.TextColor3 = Color3.new(255,255,255)
- Bank.TextWrapped = true
- Bank.BorderColor3 = Color3.new(0/0/0/0)
- Bank.TextStrokeTransparency = 1
- Bank.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(9.92591476, 17.8639755, 786.788147) + Vector3.new(1,0,0)
- end)
- local Exit = Instance.new('TextButton', Body)
- Exit.Name = 'Exit'
- Exit.Parent = MainFrame
- Exit.Active = true
- Exit.BackgroundColor3 = Color3.new(255/0/0)
- Exit.BackgroundTransparency = 0
- Exit.BorderSizePixel = 5
- Exit.Position = UDim2.new(0,60,0,18)
- Exit.Size = UDim2.new(0,80,0,18)
- Exit.Font = 'ArialBold'
- Exit.FontSize = 'Size24'
- Exit.Text = 'Exit'
- Exit.TextColor3 = Color3.new(255,255,255)
- Exit.TextWrapped = true
- Exit.BorderColor3 = Color3.new(0/0/0/0)
- Exit.TextStrokeTransparency = 1
- Exit.MouseButton1Click:connect(function()
- JailThatGUI:Destroy()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement