Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print ("Made by small boi#0827 aka Center Gaming.")
- PrisonLife = Instance.new("ScreenGui")
- OpenFrame = Instance.new("Frame")
- Open = Instance.new("TextButton")
- MainFrame = Instance.new("Frame")
- Fly = Instance.new("TextButton")
- PrisonLifeAllGuns = Instance.new("TextButton")
- PrisonLifeNoDoors = Instance.new("TextButton")
- PrisonLifeFastM9 = Instance.new("TextButton")
- PrisonLifeFastAK47 = Instance.new("TextButton")
- Noclip = Instance.new("TextButton")
- Minimize = Instance.new("TextButton")
- cLOSE = Instance.new("TextButton")
- PrisonLife.Name = "PrisonLife"
- PrisonLife.Parent = game.CoreGui
- OpenFrame.Name = "OpenFrame"
- OpenFrame.Parent = PrisonLife
- OpenFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- OpenFrame.Position = UDim2.new(0, 0, 0.612546146, 0)
- OpenFrame.Size = UDim2.new(0, 128, 0, 51)
- Open.Name = "Open"
- Open.Parent = OpenFrame
- Open.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- Open.BorderSizePixel = 4
- Open.Size = UDim2.new(0, 128, 0, 50)
- Open.Font = Enum.Font.GothamBold
- Open.FontSize = Enum.FontSize.Size14
- Open.Text = "OPEN"
- Open.TextColor3 = Color3.new(0, 0, 0)
- Open.TextScaled = true
- Open.TextSize = 14
- Open.TextWrapped = true
- Open.MouseButton1Down:connect(function()
- MainFrame.Visible = true
- end)
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = PrisonLife
- MainFrame.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- MainFrame.BorderColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- MainFrame.BorderSizePixel = 4
- MainFrame.Position = UDim2.new(0.30727762, 0, 0.110701106, 0)
- MainFrame.Size = UDim2.new(0, 467, 0, 368)
- MainFrame.Visible = false
- MainFrame.Active = true
- MainFrame.Draggable = true
- Fly.Name = "Fly"
- Fly.Parent = MainFrame
- Fly.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- Fly.Position = UDim2.new(0.0293683615, 0, 0.136772737, 0)
- Fly.Size = UDim2.new(0, 192, 0, 54)
- Fly.Font = Enum.Font.SourceSans
- Fly.FontSize = Enum.FontSize.Size14
- Fly.Text = "Fly"
- Fly.TextColor3 = Color3.new(0, 0, 0)
- Fly.TextScaled = true
- Fly.TextSize = 14
- Fly.TextWrapped = true
- 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 = 50
- local speed = 0
- 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)
- PrisonLifeAllGuns.Name = "(Prison Life) All Guns"
- PrisonLifeAllGuns.Parent = MainFrame
- PrisonLifeAllGuns.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- PrisonLifeAllGuns.Position = UDim2.new(0.0293683633, 0, 0.364629537, 0)
- PrisonLifeAllGuns.Size = UDim2.new(0, 192, 0, 54)
- PrisonLifeAllGuns.Font = Enum.Font.SourceSans
- PrisonLifeAllGuns.FontSize = Enum.FontSize.Size14
- PrisonLifeAllGuns.Text = "(Prison Life) All Guns"
- PrisonLifeAllGuns.TextColor3 = Color3.new(0, 0, 0)
- PrisonLifeAllGuns.TextScaled = true
- PrisonLifeAllGuns.TextSize = 14
- PrisonLifeAllGuns.TextWrapped = true
- PrisonLifeAllGuns.MouseButton1Down:connect(function()
- for i,v in pairs(workspace.Prison_ITEMS.giver:GetChildren()) do
- workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
- print("got you guns my m8!")
- end
- end)
- PrisonLifeNoDoors.Name = "(Prison Life) No Doors"
- PrisonLifeNoDoors.Parent = MainFrame
- PrisonLifeNoDoors.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- PrisonLifeNoDoors.Position = UDim2.new(0.0293683652, 0, 0.695604682, 0)
- PrisonLifeNoDoors.Size = UDim2.new(0, 192, 0, 54)
- PrisonLifeNoDoors.Font = Enum.Font.SourceSans
- PrisonLifeNoDoors.FontSize = Enum.FontSize.Size14
- PrisonLifeNoDoors.Text = "(Prison Life) No Doors"
- PrisonLifeNoDoors.TextColor3 = Color3.new(0, 0, 0)
- PrisonLifeNoDoors.TextScaled = true
- PrisonLifeNoDoors.TextSize = 14
- PrisonLifeNoDoors.TextWrapped = true
- PrisonLifeNoDoors.MouseButton1Down:connect(function()
- game.Workspace.Doors:Destroy()
- local hint = Instance.new("Hint",game.Players.LocalPlayer.PlayerGui)
- hint.Text = "[ Unique'S PRISON LIFE COMMANDS ]: SUCCESSFULLY REMOVED COP DOORS"
- hint.Name = game.JobId
- wait(3)
- hint:Destroy()
- end)
- PrisonLifeFastM9.Name = "(Prison Life) Fast M9"
- PrisonLifeFastM9.Parent = MainFrame
- PrisonLifeFastM9.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- PrisonLifeFastM9.Position = UDim2.new(0.467256844, 0, 0.695604682, 0)
- PrisonLifeFastM9.Size = UDim2.new(0, 192, 0, 54)
- PrisonLifeFastM9.Font = Enum.Font.SourceSans
- PrisonLifeFastM9.FontSize = Enum.FontSize.Size14
- PrisonLifeFastM9.Text = "(Prison Life) Fast M9"
- PrisonLifeFastM9.TextColor3 = Color3.new(0, 0, 0)
- PrisonLifeFastM9.TextScaled = true
- PrisonLifeFastM9.TextSize = 14
- PrisonLifeFastM9.TextWrapped = true
- PrisonLifeFastM9.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)
- PrisonLifeFastAK47.Name = "(Prison Life) Fast AK-47"
- PrisonLifeFastAK47.Parent = MainFrame
- PrisonLifeFastAK47.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- PrisonLifeFastAK47.Position = UDim2.new(0.467256814, 0, 0.364082932, 0)
- PrisonLifeFastAK47.Size = UDim2.new(0, 192, 0, 54)
- PrisonLifeFastAK47.Font = Enum.Font.SourceSans
- PrisonLifeFastAK47.FontSize = Enum.FontSize.Size14
- PrisonLifeFastAK47.Text = "(Prison Life) Fast AK-47"
- PrisonLifeFastAK47.TextColor3 = Color3.new(0, 0, 0)
- PrisonLifeFastAK47.TextScaled = true
- PrisonLifeFastAK47.TextSize = 14
- PrisonLifeFastAK47.TextWrapped = true
- PrisonLifeFastAK47.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)
- Noclip.Name = "Noclip"
- Noclip.Parent = MainFrame
- Noclip.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- Noclip.Position = UDim2.new(0.467256844, 0, 0.138539433, 0)
- Noclip.Size = UDim2.new(0, 192, 0, 54)
- Noclip.Font = Enum.Font.SourceSans
- Noclip.FontSize = Enum.FontSize.Size14
- Noclip.Text = "Noclip"
- Noclip.TextColor3 = Color3.new(0, 0, 0)
- Noclip.TextScaled = true
- Noclip.TextSize = 14
- Noclip.TextWrapped = true
- Noclip.MouseButton1Down:connect(function()
- end)
- --[[
- defeat skidded trash noclip checks
- this will probably only work on games that literally copy + pasted noclip checking code from devforum.
- by 3dsboy08
- ]]
- local statetype = Enum.HumanoidStateType
- local rnd = Random.new():NextInteger(150, 100000)
- local mt = getrawmetatable(statetype)
- local mt_index = mt.__index
- setreadonly(mt, false)
- mt.__index = newcclosure(function(t, k)
- if not checkcaller() and t == statetype and k == "StrafingNoPhysics" then
- return rnd
- end
- return mt_index(t, k)
- end)
- setreadonly(mt, true)
- 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 == "x" then
- noclip = not noclip
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- end
- end)
- Minimize.Name = "Minimize"
- Minimize.Parent = MainFrame
- Minimize.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- Minimize.Position = UDim2.new(0.914346874, 0, -4.75178604e-05, 0)
- Minimize.Size = UDim2.new(0, 40, 0, 33)
- Minimize.Font = Enum.Font.SourceSans
- Minimize.FontSize = Enum.FontSize.Size14
- Minimize.Text = "-"
- Minimize.TextColor3 = Color3.new(0, 0, 0)
- Minimize.TextScaled = true
- Minimize.TextSize = 14
- Minimize.TextWrapped = true
- Minimize.MouseButton1Down:connect(function()
- MainFrame.Visible = false
- OpenFrame.Visible = true
- end)
- cLOSE.Name = "cLOSE"
- cLOSE.Parent = MainFrame
- cLOSE.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- cLOSE.Position = UDim2.new(0.828693807, 0, -4.75178604e-05, 0)
- cLOSE.Size = UDim2.new(0, 40, 0, 33)
- cLOSE.Font = Enum.Font.SourceSans
- cLOSE.FontSize = Enum.FontSize.Size14
- cLOSE.Text = "X"
- cLOSE.TextColor3 = Color3.new(0, 0, 0)
- cLOSE.TextScaled = true
- cLOSE.TextSize = 14
- cLOSE.TextWrapped = true
- cLOSE.MouseButton1Down:connect(function()
- MainFrame.Visible = false
- OpenFrame.Visible = false
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement