PLG Script For Prison Life
PLG Script For Prison Life
Bypass:FindFirstChild("LocalScript"):Destroy()
Bypass:FindFirstChild("LocalScript2"):Destroy()
Bypass.Name = "PlayerScripts"
--Properties:
ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
main.Name = "main"
main.Parent = ScreenGui
main.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
main.Position = UDim2.new(0.463285387, 0, 0.336609304, 0)
main.Size = UDim2.new(0, 500, 0, 350)
main.Visible = false
main.Active = true
main.Draggable = true
tool.Activated:Connect(function()
local root = plr.Character.HumanoidRootPart
local pos = mouse.Hit.Position+Vector3.new(0,2.5,0)
local offset = pos-root.Position
root.CFrame = root.CFrame+offset
end)
tool.Parent = plr.Backpack
end)
do
_G.req = [[
local require = function(lol)
lol = "https://raw.githubusercontent.com/msva/lua-
htmlparser/master/src/"..lol:gsub("%.","/")..".lua";
return loadstring(_G.req..game:HttpGet(lol))();
end;
]]
local require = function(lol)
lol = "https://raw.githubusercontent.com/msva/lua-
htmlparser/master/src/"..lol:gsub("%.","/")..".lua";
return loadstring(_G.req..game:HttpGet(lol))();
end;
do -- check if exists
if fileexists'gravityController.json' then
local json = readfile'gravityController.json'
if json then
cofiG.gravityController = http:JSONDecode(json)
hasToUpdate = cofiG.gravityController.Version ~=
game:HttpGet(rawUrl.."Version.txt")
end
end
game.StarterGui:SetCore("ChatMakeSystemMessage", {
Text = hasToUpdate and "Updating script..." or "Running script!";
Font = Enum.Font.Code;
Color = Color3.fromRGB(255, 60, 60);
FontSize = Enum.FontSize.Size96;
})
end
function getScripts()
local ret = {}
local text = game:HttpGet(baseUrl, false)
return ret
end
cofiG.gravityController = getScripts()
writefile('gravityController.json', http:JSONEncode(cofiG.gravityController))
warn('Script updated!')
end
local a,b = pcall(loadstring(cofiG.gravityController.Loader))
if not a then
error('Loader ', b)
end
Credits.Name = "Credits"
Credits.Parent = main
Credits.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Credits.BackgroundTransparency = 1.000
Credits.Position = UDim2.new(0, 0, 0.871428549, 0)
Credits.Size = UDim2.new(0, 500, 0, 45)
Credits.Font = Enum.Font.Fantasy
Credits.Text = "Made by Ascending Spongebob"
Credits.TextColor3 = Color3.fromRGB(0, 0, 0)
Credits.TextScaled = true
Credits.TextSize = 14.000
Credits.TextWrapped = true
close.Name = "close"
close.Parent = main
close.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
close.Position = UDim2.new(0.939999998, 0, 0, 0)
close.Size = UDim2.new(0, 30, 0, 20)
close.Font = Enum.Font.Fantasy
close.Text = "X"
close.TextColor3 = Color3.fromRGB(0, 0, 0)
close.TextScaled = true
close.TextSize = 14.000
close.TextWrapped = true
close.MouseButton1Down:connect(function()
main.Visible = false
openmain.Visible = true
end)
Misc.Name = "Misc"
Misc.Parent = main
Misc.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
Misc.BorderColor3 = Color3.fromRGB(0, 0, 0)
Misc.Position = UDim2.new(0.0900000036, 0, 0.745714247, 0)
Misc.Size = UDim2.new(0, 410, 0, 50)
Misc.Font = Enum.Font.Fantasy
Misc.Text = "Misc"
Misc.TextColor3 = Color3.fromRGB(98, 98, 98)
Misc.TextScaled = true
Misc.TextSize = 14.000
Misc.TextWrapped = true
Misc.MouseButton1Down:connect(function()
Misc_2.Visible = true
end)
Fly.Name = "Fly"
Fly.Parent = main
Fly.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
Fly.BorderColor3 = Color3.fromRGB(0, 0, 0)
Fly.Position = UDim2.new(0.0900000036, 0, 0.225714296, 0)
Fly.Size = UDim2.new(0, 410, 0, 50)
Fly.Font = Enum.Font.Fantasy
Fly.Text = "Fly (Press E)"
Fly.TextColor3 = Color3.fromRGB(98, 98, 98)
Fly.TextScaled = true
Fly.TextSize = 14.000
Fly.TextWrapped = true
Fly.MouseButton1Down:connect(function()
loadstring(game:HttpGet('https://pastebin.com/raw/q6S4AcxJ'))()
end)
openmain.Name = "openmain"
openmain.Parent = ScreenGui
openmain.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
openmain.Position = UDim2.new(0.01358895, 0, 0.433882058, 0)
openmain.Size = UDim2.new(0, 110, 0, 35)
openmain.Active = true
openmain.Draggable = true
open.Name = "open"
open.Parent = openmain
open.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
open.Size = UDim2.new(0, 110, 0, 35)
open.Font = Enum.Font.Fantasy
open.Text = "Open"
open.TextColor3 = Color3.fromRGB(0, 0, 0)
open.TextScaled = true
open.TextSize = 14.000
open.TextWrapped = true
open.MouseButton1Down:connect(function()
main.Visible = true
openmain.Visible = false
end)
Misc_2.Name = "Misc"
Misc_2.Parent = ScreenGui
Misc_2.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
Misc_2.Position = UDim2.new(0.323239982, 0, 0.335380822, 0)
Misc_2.Size = UDim2.new(0, 185, 0, 351)
Misc_2.Visible = false
Misc_2.Active = true
Misc_2.Draggable = true
Title.Name = "Title"
Title.Parent = Misc_2
Title.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
Title.BorderColor3 = Color3.fromRGB(0, 0, 0)
Title.BorderSizePixel = 2
Title.Position = UDim2.new(0, 0, 0.00284891599, 0)
Title.Size = UDim2.new(0, 185, 0, 50)
Title.Font = Enum.Font.Fantasy
Title.Text = "Misc"
Title.TextColor3 = Color3.fromRGB(0, 0, 0)
Title.TextScaled = true
Title.TextSize = 14.000
Title.TextWrapped = true
Speed.Name = "Speed"
Speed.Parent = Misc_2
Speed.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
Speed.BorderColor3 = Color3.fromRGB(0, 0, 0)
Speed.Position = UDim2.new(0.0900001302, 0, 0.225714266, 0)
Speed.Size = UDim2.new(0, 151, 0, 50)
Speed.Font = Enum.Font.Fantasy
Speed.Text = "Speed"
Speed.TextColor3 = Color3.fromRGB(98, 98, 98)
Speed.TextScaled = true
Speed.TextSize = 14.000
Speed.TextWrapped = true
Speed.MouseButton1Down:connect(function()
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 50
end)
JumpPower.Name = "JumpPower"
JumpPower.Parent = Misc_2
JumpPower.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
JumpPower.BorderColor3 = Color3.fromRGB(0, 0, 0)
JumpPower.Position = UDim2.new(0.0900001302, 0, 0.396654427, 0)
JumpPower.Size = UDim2.new(0, 151, 0, 50)
JumpPower.Font = Enum.Font.Fantasy
JumpPower.Text = "JumpPower"
JumpPower.TextColor3 = Color3.fromRGB(98, 98, 98)
JumpPower.TextScaled = true
JumpPower.TextSize = 14.000
JumpPower.TextWrapped = true
JumpPower.MouseButton1Down:connect(function()
game.Players.LocalPlayer.Character.Humanoid.JumpPower = 150
end)
NormalSpeed.Name = "NormalSpeed"
NormalSpeed.Parent = Misc_2
NormalSpeed.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
NormalSpeed.BorderColor3 = Color3.fromRGB(0, 0, 0)
NormalSpeed.Position = UDim2.new(0.0900001302, 0, 0.567594588, 0)
NormalSpeed.Size = UDim2.new(0, 151, 0, 50)
NormalSpeed.Font = Enum.Font.Fantasy
NormalSpeed.Text = "Normal Speed"
NormalSpeed.TextColor3 = Color3.fromRGB(98, 98, 98)
NormalSpeed.TextScaled = true
NormalSpeed.TextSize = 14.000
NormalSpeed.TextWrapped = true
NormalSpeed.MouseButton1Down:connect(function()
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
end)
NormalJumpPower.Name = "NormalJumpPower"
NormalJumpPower.Parent = Misc_2
NormalJumpPower.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
NormalJumpPower.BorderColor3 = Color3.fromRGB(0, 0, 0)
NormalJumpPower.Position = UDim2.new(0.0900001302, 0, 0.744232774, 0)
NormalJumpPower.Size = UDim2.new(0, 151, 0, 50)
NormalJumpPower.Font = Enum.Font.Fantasy
NormalJumpPower.Text = "Normal JumpPower"
NormalJumpPower.TextColor3 = Color3.fromRGB(98, 98, 98)
NormalJumpPower.TextScaled = true
NormalJumpPower.TextSize = 14.000
NormalJumpPower.TextWrapped = true
NormalJumpPower.MouseButton1Down:connect(function()
game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
end)
close_2.Name = "close"
close_2.Parent = Misc_2
close_2.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
close_2.BackgroundTransparency = 1.000
close_2.Position = UDim2.new(-0.00054037571, 0, 0, 0)
close_2.Size = UDim2.new(0, 20, 0, 20)
close_2.Font = Enum.Font.Fantasy
close_2.Text = "X"
close_2.TextColor3 = Color3.fromRGB(0, 0, 0)
close_2.TextScaled = true
close_2.TextSize = 14.000
close_2.TextWrapped = true
close_2.MouseButton1Down:connect(function()
Misc_2.Visible = false
end)