Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local UICorner = Instance.new("UICorner")
- local TextLabel = Instance.new("TextLabel")
- local UICorner_2 = Instance.new("UICorner")
- local UIGradient = Instance.new("UIGradient")
- local ButtonsFrame = Instance.new("ScrollingFrame")
- local MainButton = Instance.new("TextButton")
- local UICorner_3 = Instance.new("UICorner")
- local CreditsButton = Instance.new("TextButton")
- local UICorner_4 = Instance.new("UICorner")
- local Main = Instance.new("Frame")
- local UICorner_5 = Instance.new("UICorner")
- local Toggle = Instance.new("TextButton")
- local UICorner_6 = Instance.new("UICorner")
- local FlyButton = Instance.new("TextButton")
- local UICorner_7 = Instance.new("UICorner")
- local Credit = Instance.new("Frame")
- local UICorner_8 = Instance.new("UICorner")
- local TextLabel_2 = Instance.new("TextLabel")
- local UICorner_9 = Instance.new("UICorner")
- local TextLabel_3 = Instance.new("TextLabel")
- local UICorner_10 = Instance.new("UICorner")
- local TextLabel_4 = Instance.new("TextLabel")
- local UICorner_11 = Instance.new("UICorner")
- local TextButton = Instance.new("TextButton")
- local UICorner_12 = Instance.new("UICorner")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.fromRGB(42, 42, 42)
- Frame.Position = UDim2.new(0.372093022, 0, 0.171749592, 0)
- Frame.Size = UDim2.new(0, 441, 0, 408)
- Frame.Visible = false
- UICorner.Parent = Frame
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.Position = UDim2.new(0.0544217639, 0, 0.0343137234, 0)
- TextLabel.Size = UDim2.new(0, 392, 0, 67)
- TextLabel.Font = Enum.Font.FredokaOne
- TextLabel.Text = "Prison Life Gui"
- TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14.000
- TextLabel.TextWrapped = true
- UICorner_2.Parent = TextLabel
- UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 0, 0)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(255, 179, 0))}
- UIGradient.Parent = TextLabel
- ButtonsFrame.Name = "ButtonsFrame"
- ButtonsFrame.Parent = Frame
- ButtonsFrame.Active = true
- ButtonsFrame.BackgroundColor3 = Color3.fromRGB(184, 184, 184)
- ButtonsFrame.Position = UDim2.new(0.0544217676, 0, 0.22794117, 0)
- ButtonsFrame.Size = UDim2.new(0, 148, 0, 295)
- MainButton.Name = "MainButton"
- MainButton.Parent = ButtonsFrame
- MainButton.BackgroundColor3 = Color3.fromRGB(117, 117, 117)
- MainButton.Position = UDim2.new(0.128378376, 0, 0.0277409628, 0)
- MainButton.Size = UDim2.new(0, 110, 0, 46)
- MainButton.Font = Enum.Font.FredokaOne
- MainButton.Text = "Main"
- MainButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- MainButton.TextScaled = true
- MainButton.TextSize = 14.000
- MainButton.TextWrapped = true
- UICorner_3.Parent = MainButton
- CreditsButton.Name = "CreditsButton"
- CreditsButton.Parent = ButtonsFrame
- CreditsButton.BackgroundColor3 = Color3.fromRGB(117, 117, 117)
- CreditsButton.Position = UDim2.new(0.128378376, 0, 0.107397825, 0)
- CreditsButton.Size = UDim2.new(0, 110, 0, 46)
- CreditsButton.Font = Enum.Font.FredokaOne
- CreditsButton.Text = "Credits"
- CreditsButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- CreditsButton.TextScaled = true
- CreditsButton.TextSize = 14.000
- CreditsButton.TextWrapped = true
- UICorner_4.Parent = CreditsButton
- Main.Name = "Main"
- Main.Parent = Frame
- Main.BackgroundColor3 = Color3.fromRGB(184, 184, 184)
- Main.Position = UDim2.new(0.419501126, 0, 0.22794117, 0)
- Main.Size = UDim2.new(0, 231, 0, 295)
- Main.Visible = false
- UICorner_5.Parent = Main
- Toggle.Name = "Toggle"
- Toggle.Parent = Main
- Toggle.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
- Toggle.Position = UDim2.new(0.0649350658, 0, 0.0745762736, 0)
- Toggle.Size = UDim2.new(0, 200, 0, 50)
- Toggle.Font = Enum.Font.FredokaOne
- Toggle.Text = "Aimbot: Off"
- Toggle.TextColor3 = Color3.fromRGB(0, 0, 0)
- Toggle.TextScaled = true
- Toggle.TextSize = 14.000
- Toggle.TextWrapped = true
- UICorner_6.Parent = Toggle
- FlyButton.Name = "FlyButton"
- FlyButton.Parent = Main
- FlyButton.BackgroundColor3 = Color3.fromRGB(255, 157, 0)
- FlyButton.Position = UDim2.new(0.0649350658, 0, 0.291525424, 0)
- FlyButton.Size = UDim2.new(0, 200, 0, 50)
- FlyButton.Font = Enum.Font.FredokaOne
- FlyButton.Text = "Fly(X)"
- FlyButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- FlyButton.TextScaled = true
- FlyButton.TextSize = 14.000
- FlyButton.TextWrapped = true
- UICorner_7.Parent = FlyButton
- Credit.Name = "Credit"
- Credit.Parent = Frame
- Credit.BackgroundColor3 = Color3.fromRGB(184, 184, 184)
- Credit.Position = UDim2.new(0.419501126, 0, 0.22794117, 0)
- Credit.Size = UDim2.new(0, 231, 0, 295)
- Credit.Visible = false
- UICorner_8.Parent = Credit
- TextLabel_2.Parent = Credit
- TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.Position = UDim2.new(0.0649350658, 0, 0.108474575, 0)
- TextLabel_2.Size = UDim2.new(0, 200, 0, 50)
- TextLabel_2.Font = Enum.Font.FredokaOne
- TextLabel_2.Text = "Made By @Fysemel"
- TextLabel_2.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_2.TextScaled = true
- TextLabel_2.TextSize = 14.000
- TextLabel_2.TextWrapped = true
- UICorner_9.Parent = TextLabel_2
- TextLabel_3.Parent = Credit
- TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_3.Position = UDim2.new(0.0649350658, 0, 0.352542371, 0)
- TextLabel_3.Size = UDim2.new(0, 200, 0, 50)
- TextLabel_3.Font = Enum.Font.FredokaOne
- TextLabel_3.Text = "Aimbot By @Fysemel"
- TextLabel_3.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_3.TextScaled = true
- TextLabel_3.TextSize = 14.000
- TextLabel_3.TextWrapped = true
- UICorner_10.Parent = TextLabel_3
- TextLabel_4.Parent = Credit
- TextLabel_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_4.Position = UDim2.new(0.0649350658, 0, 0.603389859, 0)
- TextLabel_4.Size = UDim2.new(0, 200, 0, 50)
- TextLabel_4.Font = Enum.Font.FredokaOne
- TextLabel_4.Text = "Fly By @TheDominusGramer_YT3"
- TextLabel_4.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_4.TextScaled = true
- TextLabel_4.TextSize = 14.000
- TextLabel_4.TextWrapped = true
- UICorner_11.Parent = TextLabel_4
- TextButton.Parent = ScreenGui
- TextButton.BackgroundColor3 = Color3.fromRGB(255, 81, 0)
- TextButton.Position = UDim2.new(0, 0, 0.221508831, 0)
- TextButton.Size = UDim2.new(0, 122, 0, 40)
- TextButton.Font = Enum.Font.Bangers
- TextButton.Text = "open"
- TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.TextScaled = true
- TextButton.TextSize = 14.000
- TextButton.TextWrapped = true
- UICorner_12.Parent = TextButton
- -- Scripts:
- local function OICJZ_fake_script() -- TextLabel.LocalScript
- local script = Instance.new('LocalScript', TextLabel)
- local t = script.Parent
- local plr = game.Players.LocalPlayer
- t.Text = t.Text..", User ("..plr.Name..")"
- end
- coroutine.wrap(OICJZ_fake_script)()
- local function JWXQ_fake_script() -- MainButton.LocalScript
- local script = Instance.new('LocalScript', MainButton)
- local b = script.Parent
- local Show = script.Parent.Parent.Parent.Main
- local Disable = script.Parent.Parent.Parent.Credit
- b.MouseButton1Click:Connect(function()
- Show.Visible = true
- Disable.Visible = false
- end)
- end
- coroutine.wrap(JWXQ_fake_script)()
- local function OUOTPGC_fake_script() -- CreditsButton.LocalScript
- local script = Instance.new('LocalScript', CreditsButton)
- local b = script.Parent
- local Show = script.Parent.Parent.Parent.Credit
- local Disable = script.Parent.Parent.Parent.Main
- b.MouseButton1Click:Connect(function()
- Show.Visible = true
- Disable.Visible = false
- end)
- end
- coroutine.wrap(OUOTPGC_fake_script)()
- local function GMID_fake_script() -- Toggle.Aimbot
- local script = Instance.new('LocalScript', Toggle)
- _G.aimbot = false
- local camera = game.Workspace.CurrentCamera
- local player = game:GetService("Players").LocalPlayer
- ----\\ Made By @Fysemel //----
- script.Parent.MouseButton1Click:Connect(function()
- if _G.aimbot == false then
- _G.aimbot = true
- script.Parent.BackgroundColor3 = Color3.new(0, 170, 0)
- script.Parent.Text = "Aimbot: On"
- function closestPlayer()
- local dist = math.huge
- local target = nil
- for i,v in pairs (game:GetService("Players"):GetPlayers()) do
- if v ~= localplayer then
- if v.Character and v.Character:FindFirstChild("Head") and v.TeamColor ~= localplayer.TeamColor and _G.aimbot then
- local magnitude = (v.Character.Head.Position - localplayer.Character.Head.Position).magnitude
- if magnitude < dist then
- target = v
- dist = magnitude
- target = v
- end
- end
- end
- end
- return target
- end
- else
- _G.aimbot = false
- script.Parent.BackgroundColor3 = Color3.new(255, 0, 0)
- script.Parent.Text = "Aimbot: Off"
- end
- end)
- local settings = {
- KeyBind = Enum.UserInputType.MouseButton2
- }
- local UIS = game:GetService("UserInputService")
- local aiming = false
- UIS.InputBegan:Connect(function(inp)
- if inp.UserInputType == settings.KeyBind then
- aiming = true
- end
- end)
- UIS.InputEnded:Connect(function(inp)
- if inp.UserInputType == settings.KeyBind then
- aiming = false
- end
- end)
- game:GetService("RunService").RenderStepped:Connect(function()
- if aiming then
- camera.CFrame = CFrame.new(camera.CFrame.Position,closestPlayer().Character.Head.Position)
- end
- end)
- end
- coroutine.wrap(GMID_fake_script)()
- local function MYKF_fake_script() -- FlyButton.Fly
- local script = Instance.new('LocalScript', FlyButton)
- ----\\ Made By @TheDominusGramer_YT3 //----
- script.Parent.MouseButton1Click:Connect(function()
- repeat wait()
- until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Head") 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.Head
- local flying = false
- 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 = 400
- 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() == "x" 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)
- end)
- Fly()
- end
- coroutine.wrap(MYKF_fake_script)()
- local function WDPNG_fake_script() -- Frame.LocalScript
- local script = Instance.new('LocalScript', Frame)
- local f = script.Parent
- f.Selectable = true
- f.Active = true
- f.Draggable = true
- end
- coroutine.wrap(WDPNG_fake_script)()
- local function EOPZO_fake_script() -- TextButton.LocalScript
- local script = Instance.new('LocalScript', TextButton)
- local b = script.Parent
- local frame = script.Parent.Parent.Frame
- b.MouseButton1Click:Connect(function()
- if b.Text == "close" then
- b.Text = "open"
- else
- b.Text = "close"
- end
- if frame.Visible == true then
- frame.Visible = false
- else
- frame.Visible = true
- end
- end)
- end
- coroutine.wrap(EOPZO_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement