Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local PrisonLife = Instance.new("ScreenGui")
- local frame = Instance.new("Frame")
- local open = Instance.new("TextButton")
- local maingui = Instance.new("Frame")
- local mtitle = Instance.new("TextBox")
- local fastm9 = Instance.new("TextButton")
- local fastshotgun = Instance.new("TextButton")
- local fastak = Instance.new("TextButton")
- local fasttaser = Instance.new("TextButton")
- local fastm4a1 = Instance.new("TextButton")
- local TextBox = Instance.new("TextBox")
- local opgui = Instance.new("TextButton")
- local noclip = Instance.new("TextButton")
- local close = Instance.new("TextButton")
- local fly = Instance.new("TextButton")
- local admin = Instance.new("TextButton")
- -- Properties
- PrisonLife.Name = "Prison Life"
- PrisonLife.Parent = game.CoreGui
- frame.Name = "frame"
- frame.Parent = PrisonLife
- frame.BackgroundColor3 = Color3.new(0, 0, 0)
- frame.BackgroundTransparency = 0.5
- frame.Position = UDim2.new(0, 0, 0.581027746, 0)
- frame.Selectable = true
- frame.Size = UDim2.new(0, 143, 0, 23)
- open.Name = "open"
- open.Parent = frame
- open.BackgroundColor3 = Color3.new(0, 0, 0)
- open.BackgroundTransparency = 0.5
- open.Size = UDim2.new(0, 143, 0, 23)
- open.Font = Enum.Font.SourceSans
- open.Text = "OPEN"
- open.TextColor3 = Color3.new(1, 1, 1)
- open.TextSize = 14
- open.MouseButton1Down:connect(function()
- maingui.Visible = true
- frame.Visible = false
- end)
- maingui.Name = "maingui"
- maingui.Parent = PrisonLife
- maingui.BackgroundColor3 = Color3.new(0, 0, 0)
- maingui.Position = UDim2.new(0.554194152, 0, 0.185770765, 0)
- maingui.Selectable = true
- maingui.Size = UDim2.new(0, 317, 0, 287)
- mtitle.Name = "mtitle"
- mtitle.Parent = maingui
- mtitle.BackgroundColor3 = Color3.new(0, 0, 0)
- mtitle.Size = UDim2.new(0, 317, 0, 27)
- mtitle.Font = Enum.Font.SourceSans
- mtitle.Text = "Prison Life GUI"
- mtitle.TextColor3 = Color3.new(1, 1, 1)
- mtitle.TextScaled = true
- mtitle.TextSize = 14
- mtitle.TextWrapped = true
- fastm9.Name = "fastm9"
- fastm9.Parent = maingui
- fastm9.BackgroundColor3 = Color3.new(1, 1, 1)
- fastm9.Position = UDim2.new(0.0820189416, 0, 0.142857134, 0)
- fastm9.Size = UDim2.new(0, 103, 0, 19)
- fastm9.Font = Enum.Font.SourceSans
- fastm9.Text = "Fast M9"
- fastm9.TextColor3 = Color3.new(0, 0, 0)
- fastm9.TextSize = 14
- fastm9.MouseButton1Down:connect(function()
- local player = game:GetService("Players").LocalPlayer
- local gun = player.Backpack:FindFirstChild("M9")
- local sM = require(gun:FindFirstChild("GunStates"))
- sM["Damage"] = 999
- sM["MaxAmmo"] = 9999991
- sM["StoredAmmo"] = 9999991
- sM["FireRate"] = 0.05
- sM["AmmoPerClip"] = 9999991
- sM["Range"] = 5000
- sM["ReloadTime"] = 0.05
- sM["Bullets"] = 10
- sM["AutoFire"] = true
- end)
- fastshotgun.Name = "fastshotgun"
- fastshotgun.Parent = maingui
- fastshotgun.BackgroundColor3 = Color3.new(1, 1, 1)
- fastshotgun.Position = UDim2.new(0.0820189416, 0, 0.261324048, 0)
- fastshotgun.Size = UDim2.new(0, 103, 0, 19)
- fastshotgun.Font = Enum.Font.SourceSans
- fastshotgun.Text = "Fast Shotgun"
- fastshotgun.TextColor3 = Color3.new(0, 0, 0)
- fastshotgun.TextSize = 14
- fastshotgun.MouseButton1Down:connect(function()
- local player = game:GetService("Players").LocalPlayer
- local gun = player.Backpack:FindFirstChild("Remington 870")
- local sM = require(gun:FindFirstChild("GunStates"))
- sM["Damage"] = 999
- sM["MaxAmmo"] = 9999991
- sM["StoredAmmo"] = 9999991
- sM["FireRate"] = 0.05
- sM["AmmoPerClip"] = 9999991
- sM["Range"] = 5000
- sM["ReloadTime"] = 0.05
- sM["Bullets"] = 10
- sM["AutoFire"] = true
- end)
- fastak.Name = "fastak"
- fastak.Parent = maingui
- fastak.BackgroundColor3 = Color3.new(1, 1, 1)
- fastak.Position = UDim2.new(0.0820189416, 0, 0.393728226, 0)
- fastak.Size = UDim2.new(0, 103, 0, 19)
- fastak.Font = Enum.Font.SourceSans
- fastak.Text = "Fast AK-47"
- fastak.TextColor3 = Color3.new(0, 0, 0)
- fastak.TextSize = 14
- fastak.MouseButton1Down:connect(function()
- local player = game:GetService("Players").LocalPlayer
- local gun = player.Backpack:FindFirstChild("AK-47")
- local sM = require(gun:FindFirstChild("GunStates"))
- sM["Damage"] = 999
- sM["MaxAmmo"] = 9999991
- sM["StoredAmmo"] = 9999991
- sM["FireRate"] = 0.05
- sM["AmmoPerClip"] = 9999991
- sM["Range"] = 5000
- sM["ReloadTime"] = 0.05
- sM["Bullets"] = 10
- sM["AutoFire"] = true
- end)
- fasttaser.Name = "fasttaser"
- fasttaser.Parent = maingui
- fasttaser.BackgroundColor3 = Color3.new(1, 1, 1)
- fasttaser.Position = UDim2.new(0.0820189416, 0, 0.515679479, 0)
- fasttaser.Size = UDim2.new(0, 103, 0, 19)
- fasttaser.Font = Enum.Font.SourceSans
- fasttaser.Text = "Fast Taser"
- fasttaser.TextColor3 = Color3.new(0, 0, 0)
- fasttaser.TextSize = 14
- fasttaser.MouseButton1Down:connect(function()
- local player = game:GetService("Players").LocalPlayer
- local gun = player.Backpack:FindFirstChild("Taser")
- local sM = require(gun:FindFirstChild("GunStates"))
- sM["Damage"] = 999
- sM["MaxAmmo"] = 9999991
- sM["StoredAmmo"] = 9999991
- sM["FireRate"] = 0.05
- sM["AmmoPerClip"] = 9999991
- sM["Range"] = 5000
- sM["ReloadTime"] = 0.05
- sM["Bullets"] = 10
- sM["AutoFire"] = true
- end)
- fastm4a1.Name = "fastm4a1"
- fastm4a1.Parent = maingui
- fastm4a1.BackgroundColor3 = Color3.new(1, 1, 1)
- fastm4a1.Position = UDim2.new(0.0820189416, 0, 0.630662084, 0)
- fastm4a1.Size = UDim2.new(0, 103, 0, 19)
- fastm4a1.Font = Enum.Font.SourceSans
- fastm4a1.Text = "Fast M4A1"
- fastm4a1.TextColor3 = Color3.new(0, 0, 0)
- fastm4a1.TextSize = 14
- fastm4a1.MouseButton1Down:connect(function()
- local player = game:GetService("Players").LocalPlayer
- local gun = player.Backpack:FindFirstChild("M4A1")
- local sM = require(gun:FindFirstChild("GunStates"))
- sM["Damage"] = 999
- sM["MaxAmmo"] = 9999991
- sM["StoredAmmo"] = 9999991
- sM["FireRate"] = 0.05
- sM["AmmoPerClip"] = 9999991
- sM["Range"] = 5000
- sM["ReloadTime"] = 0.05
- sM["Bullets"] = 10
- sM["AutoFire"] = true
- end)
- TextBox.Parent = maingui
- TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox.Position = UDim2.new(0.520504713, 0, 0.142857105, 0)
- TextBox.Size = UDim2.new(0, 119, 0, 33)
- TextBox.Font = Enum.Font.SourceSans
- TextBox.Text = "When Doing Fast Weaponds Unequip weaponds first then click"
- TextBox.TextColor3 = Color3.new(0, 0, 0)
- TextBox.TextScaled = true
- TextBox.TextSize = 14
- TextBox.TextWrapped = true
- opgui.Name = "opgui"
- opgui.Parent = maingui
- opgui.BackgroundColor3 = Color3.new(1, 1, 1)
- opgui.Position = UDim2.new(0.54574132, 0, 0.292682916, 0)
- opgui.Size = UDim2.new(0, 103, 0, 83)
- opgui.Font = Enum.Font.SourceSans
- opgui.Text = "Op GUI"
- opgui.TextColor3 = Color3.new(0, 0, 0)
- opgui.TextSize = 30
- opgui.TextWrapped = true
- opgui.MouseButton1Down:connect(function()
- loadstring(game:GetObjects("rbxassetid://1479654684")[1].Source)()
- end)
- noclip.Name = "noclip"
- noclip.Parent = maingui
- noclip.BackgroundColor3 = Color3.new(1, 1, 1)
- noclip.Position = UDim2.new(0.54574132, 0, 0.630662084, 0)
- noclip.Size = UDim2.new(0, 103, 0, 19)
- noclip.Font = Enum.Font.SourceSans
- noclip.Text = "Noclip (F)"
- noclip.TextColor3 = Color3.new(0, 0, 0)
- noclip.TextSize = 14
- noclip.MouseButton1Down:connect(function()
- noclip = false
- game:GetService('RunService').Stepped:connect(function()
- if noclip then
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "f" then
- noclip = not noclip
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- end
- end)
- end)
- close.Name = "close"
- close.Parent = maingui
- close.BackgroundColor3 = Color3.new(0, 0, 0)
- close.Position = UDim2.new(0.835962117, 0, 0, 0)
- close.Size = UDim2.new(0, 52, 0, 27)
- close.Font = Enum.Font.SourceSans
- close.Text = "X"
- close.TextColor3 = Color3.new(1, 1, 1)
- close.TextSize = 14
- close.MouseButton1Down:connect(function()
- maingui.Visible = false
- frame.Visible = true
- end)
- fly.Name = "fly"
- fly.Parent = maingui
- fly.BackgroundColor3 = Color3.new(1, 1, 1)
- fly.Position = UDim2.new(0.0820189267, 0, 0.752613246, 0)
- fly.Size = UDim2.new(0, 258, 0, 19)
- fly.Font = Enum.Font.SourceSans
- fly.Text = "Fly (E)"
- fly.TextColor3 = Color3.new(0, 0, 0)
- fly.TextSize = 14
- fly.MouseButton1Down:connect(function()
- repeat wait()
- until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
- local mouse = game.Players.LocalPlayer:GetMouse()
- repeat wait() until mouse
- local plr = game.Players.LocalPlayer
- local torso = plr.Character.Torso
- local flying = true
- local deb = true
- local ctrl = {f = 0, b = 0, l = 0, r = 0}
- local lastctrl = {f = 0, b = 0, l = 0, r = 0}
- local maxspeed = 100
- local speed = 100
- function Fly()
- local bg = Instance.new("BodyGyro", torso)
- bg.P = 9e4
- bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- bg.cframe = torso.CFrame
- local bv = Instance.new("BodyVelocity", torso)
- bv.velocity = Vector3.new(0,0.1,0)
- bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
- repeat wait()
- plr.Character.Humanoid.PlatformStand = true
- if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
- speed = speed+.5+(speed/maxspeed)
- if speed > maxspeed then
- speed = maxspeed
- end
- elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
- speed = speed-1
- if speed < 0 then
- speed = 0
- end
- end
- if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
- bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
- lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
- elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
- bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
- else
- bv.velocity = Vector3.new(0,0.1,0)
- end
- bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
- until not flying
- ctrl = {f = 0, b = 0, l = 0, r = 0}
- lastctrl = {f = 0, b = 0, l = 0, r = 0}
- speed = 0
- bg:Destroy()
- bv:Destroy()
- plr.Character.Humanoid.PlatformStand = false
- end
- mouse.KeyDown:connect(function(key)
- if key:lower() == "e" then
- if flying then flying = false
- else
- flying = true
- Fly()
- end
- elseif key:lower() == "w" then
- ctrl.f = 1
- elseif key:lower() == "s" then
- ctrl.b = -1
- elseif key:lower() == "a" then
- ctrl.l = -1
- elseif key:lower() == "d" then
- ctrl.r = 1
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key:lower() == "w" then
- ctrl.f = 0
- elseif key:lower() == "s" then
- ctrl.b = 0
- elseif key:lower() == "a" then
- ctrl.l = 0
- elseif key:lower() == "d" then
- ctrl.r = 0
- end
- end)
- Fly()
- end)
- admin.Name = "admin"
- admin.Parent = maingui
- admin.BackgroundColor3 = Color3.new(1, 1, 1)
- admin.Position = UDim2.new(0.0820189267, 0, 0.881533086, 0)
- admin.Size = UDim2.new(0, 258, 0, 19)
- admin.Font = Enum.Font.SourceSans
- admin.Text = "Infinite Yield"
- admin.TextColor3 = Color3.new(0, 0, 0)
- admin.TextSize = 14
- admin.MouseButton1Down:connect(function()
- loadstring(game:HttpGet(('https://pastebin.com/raw/MjBzRjmT'),true))()
- end)
- -- Scripts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement