Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local GUI = Instance.new("ScreenGui")
- local Borde = Instance.new("Frame")
- local GuiNAME = Instance.new("TextBox")
- local Noclip = Instance.new("TextButton")
- local Fly = Instance.new("TextButton")
- local TextButton = Instance.new("TextButton")
- --Properties:
- GUI.Name = "GUI"
- GUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- GUI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Borde.Name = "Borde"
- Borde.Parent = GUI
- Borde.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
- Borde.Position = UDim2.new(0.120155036, 0, 0.23863636, 0)
- Borde.Size = UDim2.new(0, 547, 0, 357)
- GuiNAME.Name = "GuiNAME"
- GuiNAME.Parent = GUI
- GuiNAME.BackgroundColor3 = Color3.fromRGB(255, 38, 0)
- GuiNAME.Position = UDim2.new(0.120155036, 0, 0.23863636, 0)
- GuiNAME.Size = UDim2.new(0, 547, 0, 50)
- GuiNAME.Font = Enum.Font.SourceSans
- GuiNAME.Text = "JAILBREAK GUI"
- GuiNAME.TextColor3 = Color3.fromRGB(0, 0, 0)
- GuiNAME.TextSize = 19.000
- Noclip.Name = "Noclip"
- Noclip.Parent = GUI
- Noclip.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
- Noclip.Position = UDim2.new(0.13436693, 0, 0.37499997, 0)
- Noclip.Size = UDim2.new(0, 73, 0, 50)
- Noclip.Font = Enum.Font.SourceSans
- Noclip.Text = " Noclip"
- Noclip.TextColor3 = Color3.fromRGB(0, 0, 0)
- Noclip.TextSize = 14.000
- Noclip.MouseBotton1Down: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 == "e" then
- noclip = not noclip
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- end
- end)
- print('Loaded')
- print('Press "E" to noclip') end)
- Fly.Name = "Fly"
- Fly.Parent = GUI
- Fly.BackgroundColor3 = Color3.fromRGB(255, 56, 7)
- Fly.Position = UDim2.new(0.403100789, 0, 0.373106062, 0)
- Fly.Size = UDim2.new(0, 86, 0, 50)
- Fly.Font = Enum.Font.SourceSans
- Fly.Text = "Fly"
- Fly.TextColor3 = Color3.fromRGB(0, 0, 0)
- Fly.TextSize = 14.000
- Fly.MouseBotton1Down: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)
- CTRL TP.Parent = GUI
- CTRL TP.BackgroundColor3 = Color3.fromRGB(255, 8, 8)
- CTRL TP.Position = UDim2.new(0.688630521, 0, 0.373106062, 0)
- CTRL TP.Size = UDim2.new(0, 89, 0, 50)
- CTRL TP.Font = Enum.Font.SourceSans
- CTRL TP.Text = "CTRL TP"
- CTRL TP.TextColor3 = Color3.fromRGB(0, 0, 0)
- CTRL TP.TextSize = 14.000
- CTRL TP.MouseBotton1Down:connect(function()mouse = game.Players.LocalPlayer:GetMouse()
- tool = Instance.new("Tool")
- tool.RequiresHandle = false
- tool.Name = "Click Teleport"
- tool.Activated:connect(function()
- local pos = mouse.Hit+Vector3.new(0,2.5,0)
- pos = CFrame.new(pos.X,pos.Y,pos.Z)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = pos
- end)
- tool.Parent = game.Players.LocalPlayer.Backpack end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement