-- Keyless Prison Life GUI Script (With Speed/Jump Sliders, Fly, Noclip) local main = Instance.new("ScreenGui") local Frame = Instance.new("Frame") local Title = Instance.new("TextLabel") local GodMode = Instance.new("TextButton") local GiveGuns = Instance.new("TextButton") local ArrestAll = Instance.new("TextButton") local InfStamina = Instance.new("TextButton") local KillAll = Instance.new("TextButton") local TPMenuButton = Instance.new("TextButton") -- New Toggles local FlyButton = Instance.new("TextButton") local NoclipButton = Instance.new("TextButton") -- Sliders Layout local SpeedSliderFrame = Instance.new("Frame") local SpeedText = Instance.new("TextLabel") local SpeedBar = Instance.new("TextButton") local SpeedSlider = Instance.new("Frame") local JumpSliderFrame = Instance.new("Frame") local JumpText = Instance.new("TextLabel") local JumpBar = Instance.new("TextButton") local JumpSlider = Instance.new("Frame") -- Teleport Submenu Elements local TPFrame = Instance.new("Frame") local TPTitle = Instance.new("TextLabel") local TPYard = Instance.new("TextButton") local TPCafeteria = Instance.new("TextButton") local TPCrimBase = Instance.new("TextButton") local TPCells = Instance.new("TextButton") main.Name = "PrisonLifeUltimateHub" main.Parent = game.CoreGui -- Main Menu Configuration Frame.Parent = main Frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) Frame.Position = UDim2.new(0.05, 0, 0.1, 0) Frame.Size = UDim2.new(0, 240, 0, 560) -- Extended height for sliders/toggles Frame.Active = true Frame.Draggable = true Title.Parent = Frame Title.BackgroundColor3 = Color3.fromRGB(15, 15, 15) Title.Size = UDim2.new(0, 240, 0, 45) Title.Font = Enum.Font.SourceSansBold Title.Text = "Prison Life Ultimate" Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.TextSize = 22 local function createButton(name, text, pos, parent) name.Parent = parent name.BackgroundColor3 = Color3.fromRGB(50, 50, 50) name.Position = pos name.Size = UDim2.new(0, 200, 0, 35) name.Font = Enum.Font.SourceSans name.Text = text name.TextColor3 = Color3.fromRGB(255, 255, 255) name.TextSize = 18 name.MouseEnter:Connect(function() name.BackgroundColor3 = Color3.fromRGB(65, 65, 65) end) name.MouseLeave:Connect(function() name.BackgroundColor3 = Color3.fromRGB(50, 50, 50) end) end -- Placing original features createButton(GodMode, "God Mode", UDim2.new(0.08, 0, 0.10, 0), Frame) createButton(GiveGuns, "Get All Guns", UDim2.new(0.08, 0, 0.18, 0), Frame) createButton(ArrestAll, "Arrest Criminals", UDim2.new(0.08, 0, 0.26, 0), Frame) createButton(InfStamina, "Infinite Stamina", UDim2.new(0.08, 0, 0.34, 0), Frame) createButton(KillAll, "Kill All Enemies", UDim2.new(0.08, 0, 0.42, 0), Frame) -- Placing Fly & Noclip Toggles createButton(FlyButton, "Fly: OFF", UDim2.new(0.08, 0, 0.50, 0), Frame) createButton(NoclipButton, "Noclip: OFF", UDim2.new(0.08, 0, 0.58, 0), Frame) -- Placing Submenu Button createButton(TPMenuButton, "Open Teleports", UDim2.new(0.08, 0, 0.66, 0), Frame) -- SLIDER GENERATOR FUNCTION local function setupSlider(frame, textLabel, bar, slider, titleText, defaultVal, maxVal, yPos, callback) frame.Parent = Frame frame.BackgroundColor3 = Color3.fromRGB(40, 40, 40) frame.Position = UDim2.new(0.08, 0, yPos, 0) frame.Size = UDim2.new(0, 200, 0, 45) textLabel.Parent = frame textLabel.BackgroundTransparency = 1 textLabel.Size = UDim2.new(0, 200, 0, 20) textLabel.Font = Enum.Font.SourceSans textLabel.Text = titleText .. ": " .. tostring(defaultVal) textLabel.TextColor3 = Color3.fromRGB(255, 255, 255) textLabel.TextSize = 14 bar.Parent = frame bar.BackgroundColor3 = Color3.fromRGB(20, 20, 20) bar.Position = UDim2.new(0.05, 0, 0.55, 0) bar.Size = UDim2.new(0, 180, 0, 10) bar.Text = "" slider.Parent = bar slider.BackgroundColor3 = Color3.fromRGB(0, 150, 255) local startWidth = (defaultVal / maxVal) * 180 slider.Size = UDim2.new(0, startWidth, 0, 10) local player = game.Players.LocalPlayer local mouse = player:GetMouse() local uis = game:GetService("UserInputService") local down = false local function update() local mousePos = mouse.X local barPos = bar.AbsolutePosition.X local barWidth = bar.AbsoluteSize.X local percentage = math.clamp((mousePos - barPos) / barWidth, 0, 1) slider.Size = UDim2.new(0, percentage * barWidth, 0, 10) local value = math.round(percentage * maxVal) if value < 16 and titleText == "WalkSpeed" then value = 16 end -- Keep base speed min if value < 50 and titleText == "JumpPower" then value = 50 end -- Keep base jump min textLabel.Text = titleText .. ": " .. tostring(value) callback(value) end bar.MouseButton1Down:Connect(function() down = true update() end) uis.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then down = false end end) mouse.Move:Connect(function() if down then update() end end) end -- Active Player Modifiers Storage local targetSpeed = 16 local targetJump = 50 setupSlider(SpeedSliderFrame, SpeedText, SpeedBar, SpeedSlider, "WalkSpeed", 16, 250, 0.75, function(v) targetSpeed = v if game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:FindFirstChild("Humanoid") then game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = v end end) setupSlider(JumpSliderFrame, JumpText, JumpBar, JumpSlider, "JumpPower", 50, 300, 0.85, function(v) targetJump = v if game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:FindFirstChild("Humanoid") then game.Players.LocalPlayer.Character.Humanoid.JumpPower = v end end) -- Character Persistence for Speed/Jump Modifiers game.Players.LocalPlayer.CharacterAdded:Connect(function(char) local hum = char:WaitForChild("Humanoid") hum.WalkSpeed = targetSpeed hum.JumpPower = targetJump end) -- FLY LOGIC local flying = false local flySpeed = 50 local csec FlyButton.MouseButton1Click:Connect(function() flying = not flying FlyButton.Text = flying and "Fly: ON" or "Fly: OFF" FlyButton.BackgroundColor3 = flying and Color3.fromRGB(0, 120, 0) or Color3.fromRGB(50, 50, 50) local player = game.Players.LocalPlayer local lpart = player.Character and player.Character:FindFirstChild("HumanoidRootPart") if not lpart then return end if flying then local pgui = player:WaitForChild("PlayerGui") local mouse = player:GetMouse() local bg = Instance.new("BodyGyro", lpart) bg.P = 9e4 bg.maxTorque = Vector3.new(9e9, 9e9, 9e9) bg.cframe = lpart.CFrame local bv = Instance.new("BodyVelocity", lpart) bv.velocity = Vector3.new(0, 0.1, 0) bv.maxForce = Vector3.new(9e9, 9e9, 9e9) csec = game:GetService("RunService").RenderStepped:Connect(function() if player.Character and player.Character:FindFirstChild("Humanoid") and lpart and bg and bv then player.Character.Humanoid.PlatformStand = true bg.cframe = workspace.CurrentCamera.CFrame local vector = Vector3.new(0,0,0) local keys = game:GetService("UserInputService") if keys:IsKeyDown(Enum.KeyCode.W) then vector = vector + workspace.CurrentCamera.CFrame.LookVector end if keys:IsKeyDown(Enum.KeyCode.S) then vector = vector - workspace.CurrentCamera.CFrame.LookVector end if keys:IsKeyDown(Enum.KeyCode.A) then vector = vector - workspace.CurrentCamera.CFrame.RightVector end if keys:IsKeyDown(Enum.KeyCode.D) then vector = vector + workspace.CurrentCamera.CFrame.RightVector end bv.velocity = vector * flySpeed end end) else if csec then csec:Disconnect() end if lpart:FindFirstChild("BodyGyro") then lpart.BodyGyro:Destroy() end if lpart:FindFirstChild("BodyVelocity") then lpart.BodyVelocity:Destroy() end if player.Character and player.Character:FindFirstChild("Humanoid") then player.Character.Humanoid.PlatformStand = false end end end) -- NOCLIP LOGIC local noclip = false game:GetService("RunService").Stepped:Connect(function() if noclip and game.Players.LocalPlayer.Character then for _, part in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = false end end end end) NoclipButton.MouseButton1Click:Connect(function() noclip = not noclip NoclipButton.Text = noclip and "Noclip: ON" or "Noclip: OFF" NoclipButton.BackgroundColor3 = noclip and Color3.fromRGB(0, 120, 0) or Color3.fromRGB(50, 50, 50) end) -- TELEPORT SUBMENU SETUP TPFrame.Parent = main TPFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40) TPFrame.Position = UDim2.new(0.35, 0, 0.1, 0) TPFrame.Size = UDim2.new(0, 200, 0, 260) TPFrame.Visible = false TPFrame.Active = true TPFrame.Draggable = true TPTitle.Parent = TPFrame TPTitle.BackgroundColor3 = Color3.fromRGB(25, 25, 25) TPTitle.Size = UDim2.new(0, 200, 0, 45) TPTitle.Font = Enum.Font.SourceSansBold TPTitle.Text = "Teleports" TPTitle.TextColor3 = Color3.fromRGB(255, 255, 255) TPTitle.TextSize = 20 createButton(TPYard, "The Yard", UDim2.new(0.05, 0, 0.22, 0), TPFrame) createButton(TPCafeteria, "Cafeteria", UDim2.new(0.05, 0, 0.40, 0), TPFrame) createButton(TPCells, "Cell Block", UDim2.new(0.05, 0, 0.58, 0), TPFrame) createButton(TPCrimBase, "Criminal Base", UDim2.new(0.05, 0, 0.76, 0), TPFrame) TPMenuButton.MouseButton1Click:Connect(function() TPFrame.Visible = not TPFrame.Visible