Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local jailbreakgui = Instance.new("ScreenGui")
- local top = Instance.new("Frame")
- local main = Instance.new("Frame")
- local guns = Instance.new("TextButton")
- local heli = Instance.new("TextButton")
- local bank = Instance.new("TextButton")
- local police = Instance.new("TextButton")
- local hq = Instance.new("TextButton")
- local outside = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- local openclose = Instance.new("TextButton")
- -- Properties
- jailbreakgui.Name = "jailbreakgui"
- jailbreakgui.Parent = game.CoreGui
- top.Name = "top"
- top.Parent = jailbreakgui
- top.Active = true
- top.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
- top.BorderSizePixel = 0
- top.Draggable = true
- top.Position = UDim2.new(0, -300, 0, 285)
- top.Selectable = true
- top.Size = UDim2.new(0, 261, 0, 37)
- main.Name = "main"
- main.Parent = top
- main.BackgroundColor3 = Color3.new(1, 1, 1)
- main.BorderSizePixel = 0
- main.Position = UDim2.new(0, 0, 0, 37)
- main.Size = UDim2.new(0, 261, 0, 215)
- guns.Name = "guns"
- guns.Parent = main
- guns.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
- guns.BorderSizePixel = 0
- guns.Position = UDim2.new(0, 30, 0, 37)
- guns.Size = UDim2.new(0, 94, 0, 42)
- guns.Font = Enum.Font.SourceSansBold
- guns.FontSize = Enum.FontSize.Size18
- guns.Text = "CT Spawn"
- guns.TextColor3 = Color3.new(1, 1, 1)
- guns.TextSize = 18
- guns.TextWrapped = true
- heli.Name = "heli"
- heli.Parent = main
- heli.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
- heli.BorderSizePixel = 0
- heli.Position = UDim2.new(0, 139, 0, 37)
- heli.Size = UDim2.new(0, 94, 0, 42)
- heli.Font = Enum.Font.SourceSansBold
- heli.FontSize = Enum.FontSize.Size18
- heli.Text = "T Spawn"
- heli.TextColor3 = Color3.new(1, 1, 1)
- heli.TextSize = 18
- heli.TextWrapped = true
- bank.Name = "bank"
- bank.Parent = main
- bank.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
- bank.BorderSizePixel = 0
- bank.Position = UDim2.new(0, 139, 0, 147)
- bank.Size = UDim2.new(0, 94, 0, 42)
- bank.Font = Enum.Font.SourceSansBold
- bank.FontSize = Enum.FontSize.Size18
- bank.Text = "A Site Sniper Building"
- bank.TextColor3 = Color3.new(1, 1, 1)
- bank.TextSize = 12
- bank.TextWrapped = true
- police.Name = "police"
- police.Parent = main
- police.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
- police.BorderSizePixel = 0
- police.Position = UDim2.new(0, 30, 0, 92)
- police.Size = UDim2.new(0, 94, 0, 42)
- police.Font = Enum.Font.SourceSansBold
- police.FontSize = Enum.FontSize.Size18
- police.Text = "A Site"
- police.TextColor3 = Color3.new(1, 1, 1)
- police.TextSize = 18
- police.TextWrapped = true
- hq.Name = "hq"
- hq.Parent = main
- hq.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
- hq.BorderSizePixel = 0
- hq.Position = UDim2.new(0, 139, 0, 92)
- hq.Size = UDim2.new(0, 94, 0, 42)
- hq.Font = Enum.Font.SourceSansBold
- hq.FontSize = Enum.FontSize.Size18
- hq.Text = "B Site"
- hq.TextColor3 = Color3.new(1, 1, 1)
- hq.TextSize = 18
- hq.TextWrapped = true
- outside.Name = "outside"
- outside.Parent = main
- outside.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
- outside.BorderSizePixel = 0
- outside.Position = UDim2.new(0, 30, 0, 147)
- outside.Size = UDim2.new(0, 94, 0, 42)
- outside.Font = Enum.Font.SourceSansBold
- outside.FontSize = Enum.FontSize.Size18
- outside.Text = "Outside Jail"
- outside.TextColor3 = Color3.new(1, 1, 1)
- outside.TextSize = 18
- outside.TextWrapped = true
- TextLabel.Parent = main
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Size = UDim2.new(0, 258, 0, 25)
- TextLabel.Font = Enum.Font.SourceSansBold
- TextLabel.FontSize = Enum.FontSize.Size18
- TextLabel.Text = "CB:RO Seaside"
- TextLabel.TextColor3 = Color3.new(0.333333, 0.666667, 1)
- TextLabel.TextSize = 18
- openclose.Name = "openclose"
- openclose.Parent = jailbreakgui
- openclose.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
- openclose.BorderSizePixel = 0
- openclose.Position = UDim2.new(0, 18,0, 521)
- openclose.Size = UDim2.new(0, 128, 0, 50)
- openclose.Font = Enum.Font.SourceSansBold
- openclose.FontSize = Enum.FontSize.Size24
- openclose.Text = "Seaside"
- openclose.TextColor3 = Color3.new(1, 1, 1)
- openclose.TextSize = 24
- bank.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-284.5, 90.3, 308.1) + Vector3.new(1,0,0)--a site sniper house
- end)
- police.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-264.3, 80.3, 270.3) + Vector3.new(1,0,0) --a site
- end)
- hq.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-96, 80.3, 346.28) + Vector3.new(1,0,0)--b site
- end)
- heli.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-120.7, 92.3, 153) + Vector3.new(1,0,0) --t
- end)
- outside.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(119.48267, 17.7480812, -1384.74561) + Vector3.new(1,0,0)
- end)
- guns.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-243.5, 80.3, 306.1) + Vector3.new(1,0,0) --ct
- end)
- openclose.MouseButton1Click:connect(function()
- if openclose.Text == ("Seaside") then
- top:TweenPosition(UDim2.new(0, 1192,0, 285), "In", "Quad", 1)
- wait(1)
- openclose.Text = ("Close")
- elseif openclose.Text == ("Close") then
- top:TweenPosition(UDim2.new(0, -300,0, 285), "Out", "Quad", 1)
- wait(1)
- openclose.Text = ("Seaside")
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement