Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects --
- local gui = Instance.new("ScreenGui")
- local holder = Instance.new("Frame")
- local welcome = Instance.new("TextLabel")
- local menu = Instance.new("Frame")
- local ws = Instance.new("TextBox")
- local setws = Instance.new("TextButton")
- local jp = Instance.new("TextBox")
- local setjp = Instance.new("TextButton")
- local tptower = Instance.new("TextButton")
- local tpgunroom = Instance.new("TextButton")
- local tpcrimbaseak = Instance.new("TextButton")
- local tpprison = Instance.new("TextButton")
- local removedoors = Instance.new("TextButton")
- local removefences = Instance.new("TextButton")
- local openclose = Instance.new("TextButton")
- opened = false
- -- Objects' Properties --
- gui.Name = "PrisonLifeGUI"
- gui.Parent = game.CoreGui
- holder.Name = "Holder"
- holder.Parent = gui
- holder.Active = true
- holder.Selectable = true
- holder.Draggable = true
- holder.BackgroundColor3 = Color3.fromRGB(49, 49, 49)
- holder.BorderSizePixel = 0
- holder.Position = UDim2.new(-0.25, 0,0.6, 0)
- holder.Size = UDim2.new(0, 325,0, 30)
- welcome.Name = "Welcome"
- welcome.Parent = holder
- welcome.Text = "Prison Life GUI"
- welcome.BackgroundTransparency = 1
- welcome.BorderSizePixel = 0
- welcome.Position = UDim2.new(0, 0,0, 0)
- welcome.Size = UDim2.new(0, 325,0, 30)
- welcome.Font = Enum.Font.Fantasy
- welcome.FontSize = Enum.FontSize.Size14
- welcome.TextSize = 14
- welcome.TextScaled = true
- welcome.TextWrapped = true
- welcome.TextColor3 = Color3.fromRGB(255, 255, 255)
- welcome.TextStrokeTransparency = 0
- menu.Name = "Menu"
- menu.Parent = holder
- menu.BackgroundColor3 = Color3.fromRGB(86, 86, 86)
- menu.BorderSizePixel = 0
- menu.BackgroundTransparency = 0.2
- menu.Position = UDim2.new(0, 0,1, 0)
- menu.Size = UDim2.new(0, 325,0, 193)
- ws.Name = "WS"
- ws.Parent = menu
- ws.BackgroundColor3 = Color3.fromRGB(49, 49, 49)
- ws.BorderSizePixel = 0
- ws.Position = UDim2.new(0.025, 0,0.036, 0)
- ws.Size = UDim2.new(0, 136,0, 27)
- ws.Font = Enum.Font.Fantasy
- ws.FontSize = Enum.FontSize.Size14
- ws.TextSize = 14
- ws.TextColor3 = Color3.fromRGB(255, 255, 255)
- ws.TextScaled = true
- ws.TextWrapped = true
- ws.TextStrokeTransparency = 0
- ws.Text = ""
- setws.Name = "SetWS"
- setws.Parent = menu
- setws.BackgroundColor3 = Color3.fromRGB(49, 49, 49)
- setws.BorderSizePixel = 0
- setws.Position = UDim2.new(0.548, 0,0.036, 0)
- setws.Size = UDim2.new(0, 136,0, 27)
- setws.Font = Enum.Font.Fantasy
- setws.FontSize = Enum.FontSize.Size14
- setws.TextSize = 14
- setws.TextColor3 = Color3.fromRGB(255, 255, 255)
- setws.TextScaled = true
- setws.TextWrapped = true
- setws.TextStrokeTransparency = 0
- setws.Text = "Set WalkSpeed"
- jp.Name = "JP"
- jp.Parent = menu
- jp.BackgroundColor3 = Color3.fromRGB(49, 49, 49)
- jp.BorderSizePixel = 0
- jp.Position = UDim2.new(0.025, 0,0.207, 0)
- jp.Size = UDim2.new(0, 136,0, 27)
- jp.Font = Enum.Font.Fantasy
- jp.FontSize = Enum.FontSize.Size14
- jp.TextSize = 14
- jp.TextColor3 = Color3.fromRGB(255, 255, 255)
- jp.TextScaled = true
- jp.TextWrapped = true
- jp.TextStrokeTransparency = 0
- jp.Text = ""
- setjp.Name = "SetJP"
- setjp.Parent = menu
- setjp.BackgroundColor3 = Color3.fromRGB(49, 49, 49)
- setjp.BorderSizePixel = 0
- setjp.Position = UDim2.new(0.548, 0,0.207, 0)
- setjp.Size = UDim2.new(0, 136,0, 27)
- setjp.Font = Enum.Font.Fantasy
- setjp.FontSize = Enum.FontSize.Size14
- setjp.TextSize = 14
- setjp.TextColor3 = Color3.fromRGB(255, 255, 255)
- setjp.TextScaled = true
- setjp.TextWrapped = true
- setjp.TextStrokeTransparency = 0
- setjp.Text = "Set JumpPower"
- tptower.Name = "TpOnTower"
- tptower.Parent = menu
- tptower.BackgroundColor3 = Color3.fromRGB(49, 49, 49)
- tptower.BorderSizePixel = 0
- tptower.Position = UDim2.new(0.025, 0,0.378, 0)
- tptower.Size = UDim2.new(0, 136,0, 31)
- tptower.Font = Enum.Font.Fantasy
- tptower.FontSize = Enum.FontSize.Size14
- tptower.TextSize = 14
- tptower.TextColor3 = Color3.fromRGB(255, 255, 255)
- tptower.TextScaled = true
- tptower.TextWrapped = true
- tptower.TextStrokeTransparency = 0
- tptower.Text = "TP on the Tower"
- tpgunroom.Name = "TpGunRoom"
- tpgunroom.Parent = menu
- tpgunroom.BackgroundColor3 = Color3.fromRGB(49, 49, 49)
- tpgunroom.BorderSizePixel = 0
- tpgunroom.Position = UDim2.new(0.548, 0,0.378, 0)
- tpgunroom.Size = UDim2.new(0, 136,0, 31)
- tpgunroom.Font = Enum.Font.Fantasy
- tpgunroom.FontSize = Enum.FontSize.Size14
- tpgunroom.TextSize = 14
- tpgunroom.TextColor3 = Color3.fromRGB(255, 255, 255)
- tpgunroom.TextScaled = true
- tpgunroom.TextWrapped = true
- tpgunroom.TextStrokeTransparency = 0
- tpgunroom.Text = "TP in the Gun Room"
- tpcrimbaseak.Name = "CrimBaseAk"
- tpcrimbaseak.Parent = menu
- tpcrimbaseak.BackgroundColor3 = Color3.fromRGB(49, 49, 49)
- tpcrimbaseak.BorderSizePixel = 0
- tpcrimbaseak.Position = UDim2.new(0.025, 0,0.591, 0)
- tpcrimbaseak.Size = UDim2.new(0, 136,0, 31)
- tpcrimbaseak.Font = Enum.Font.Fantasy
- tpcrimbaseak.FontSize = Enum.FontSize.Size14
- tpcrimbaseak.TextSize = 14
- tpcrimbaseak.TextColor3 = Color3.fromRGB(255, 255, 255)
- tpcrimbaseak.TextScaled = true
- tpcrimbaseak.TextWrapped = true
- tpcrimbaseak.TextStrokeTransparency = 0
- tpcrimbaseak.Text = "TP to the Criminal Base / Get AK-47"
- tpprison.Name = "TpToPrison"
- tpprison.Parent = menu
- tpprison.BackgroundColor3 = Color3.fromRGB(49, 49, 49)
- tpprison.BorderSizePixel = 0
- tpprison.Position = UDim2.new(0.548, 0,0.591, 0)
- tpprison.Size = UDim2.new(0, 136,0, 31)
- tpprison.Font = Enum.Font.Fantasy
- tpprison.FontSize = Enum.FontSize.Size14
- tpprison.TextSize = 14
- tpprison.TextColor3 = Color3.fromRGB(255, 255, 255)
- tpprison.TextScaled = true
- tpprison.TextWrapped = true
- tpprison.TextStrokeTransparency = 0
- tpprison.Text = "TP to the Prison"
- removedoors.Name = "RAllDoors"
- removedoors.Parent = menu
- removedoors.BackgroundColor3 = Color3.fromRGB(49, 49, 49)
- removedoors.BorderSizePixel = 0
- removedoors.Position = UDim2.new(0.025, 0,0.793, 0)
- removedoors.Size = UDim2.new(0, 136,0, 31)
- removedoors.Font = Enum.Font.Fantasy
- removedoors.FontSize = Enum.FontSize.Size14
- removedoors.TextSize = 14
- removedoors.TextColor3 = Color3.fromRGB(255, 255, 255)
- removedoors.TextScaled = true
- removedoors.TextWrapped = true
- removedoors.TextStrokeTransparency = 0
- removedoors.Text = "Remove All Doors"
- removefences.Name = "RAllFences"
- removefences.Parent = menu
- removefences.BackgroundColor3 = Color3.fromRGB(49, 49, 49)
- removefences.BorderSizePixel = 0
- removefences.Position = UDim2.new(0.548, 0,0.793, 0)
- removefences.Size = UDim2.new(0, 136,0, 31)
- removefences.Font = Enum.Font.Fantasy
- removefences.FontSize = Enum.FontSize.Size14
- removefences.TextSize = 14
- removefences.TextColor3 = Color3.fromRGB(255, 255, 255)
- removefences.TextScaled = true
- removefences.TextWrapped = true
- removefences.TextStrokeTransparency = 0
- removefences.Text = "Remove All Fences"
- openclose.Name = "OpenClose"
- openclose.Parent = gui
- openclose.Text = "Open/Close"
- openclose.BackgroundColor3 = Color3.fromRGB(49, 49, 49)
- openclose.TextStrokeTransparency = 0
- openclose.BorderSizePixel = 0
- openclose.Position = UDim2.new(0, 0,0.958, 0)
- openclose.Size = UDim2.new(0.066, 0,0.042,0)
- openclose.Font = Enum.Font.Fantasy
- openclose.TextSize = 16
- openclose.TextColor3 = Color3.fromRGB(255, 255, 255)
- -- Functions --
- openclose.MouseButton1Down:connect(function()
- if opened == false then
- holder:TweenPosition(UDim2.new(0.034, 0,0.318, 0), "Out", "Quint", 0.5)
- opened = true
- else
- holder:TweenPosition(UDim2.new(-0.25,0, 0.6,0), "Out", "Quint", 0.5)
- opened = false
- end
- end)
- removedoors.MouseButton1Down:connect(function()
- game.Workspace.Doors:Destroy()
- end)
- removefences.MouseButton1Down:connect(function()
- game.Workspace.Prison_Fences:Destroy()
- end)
- setws.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = ws.Text
- end)
- setjp.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = jp.Text
- end)
- tptower.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(824.31, 133.95, 2570.69)
- end)
- tpgunroom.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(828.631, 102.887, 2263.73)
- end)
- tpcrimbaseak.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-943.559, 95.753, 2056.145)
- end)
- tpprison.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(812.67, 105.651, 2454.729)
- end)
Add Comment
Please, Sign In to add comment