Advertisement
MateoPOP

JAIL BREAK GUI

Mar 9th, 2022 (edited)
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.50 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local GUI = Instance.new("ScreenGui")
  7. local Borde = Instance.new("Frame")
  8. local GuiNAME = Instance.new("TextBox")
  9. local Noclip = Instance.new("TextButton")
  10. local Fly = Instance.new("TextButton")
  11. local TextButton = Instance.new("TextButton")
  12.  
  13. --Properties:
  14.  
  15. GUI.Name = "GUI"
  16. GUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  17. GUI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  18.  
  19. Borde.Name = "Borde"
  20. Borde.Parent = GUI
  21. Borde.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
  22. Borde.Position = UDim2.new(0.120155036, 0, 0.23863636, 0)
  23. Borde.Size = UDim2.new(0, 547, 0, 357)
  24.  
  25. GuiNAME.Name = "GuiNAME"
  26. GuiNAME.Parent = GUI
  27. GuiNAME.BackgroundColor3 = Color3.fromRGB(255, 38, 0)
  28. GuiNAME.Position = UDim2.new(0.120155036, 0, 0.23863636, 0)
  29. GuiNAME.Size = UDim2.new(0, 547, 0, 50)
  30. GuiNAME.Font = Enum.Font.SourceSans
  31. GuiNAME.Text = "JAILBREAK GUI"
  32. GuiNAME.TextColor3 = Color3.fromRGB(0, 0, 0)
  33. GuiNAME.TextSize = 19.000
  34.  
  35. Noclip.Name = "Noclip"
  36. Noclip.Parent = GUI
  37. Noclip.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  38. Noclip.Position = UDim2.new(0.13436693, 0, 0.37499997, 0)
  39. Noclip.Size = UDim2.new(0, 73, 0, 50)
  40. Noclip.Font = Enum.Font.SourceSans
  41. Noclip.Text = " Noclip"
  42. Noclip.TextColor3 = Color3.fromRGB(0, 0, 0)
  43. Noclip.TextSize = 14.000
  44. Noclip.MouseBotton1Down:connect(function()noclip = false
  45. game:GetService('RunService').Stepped:connect(function()
  46. if noclip then
  47. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  48. end
  49. end)
  50. plr = game.Players.LocalPlayer
  51. mouse = plr:GetMouse()
  52. mouse.KeyDown:connect(function(key)
  53.  
  54. if key == "e" then
  55. noclip = not noclip
  56. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  57. end
  58. end)
  59. print('Loaded')
  60. print('Press "E" to noclip') end)
  61.  
  62.  
  63. Fly.Name = "Fly"
  64. Fly.Parent = GUI
  65. Fly.BackgroundColor3 = Color3.fromRGB(255, 56, 7)
  66. Fly.Position = UDim2.new(0.403100789, 0, 0.373106062, 0)
  67. Fly.Size = UDim2.new(0, 86, 0, 50)
  68. Fly.Font = Enum.Font.SourceSans
  69. Fly.Text = "Fly"
  70. Fly.TextColor3 = Color3.fromRGB(0, 0, 0)
  71. Fly.TextSize = 14.000
  72. Fly.MouseBotton1Down:connect(function()repeat wait()
  73.     until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  74. local mouse = game.Players.LocalPlayer:GetMouse()
  75. repeat wait() until mouse
  76. local plr = game.Players.LocalPlayer
  77. local torso = plr.Character.Torso
  78. local flying = true
  79. local deb = true
  80. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  81. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  82. local maxspeed = 50
  83. local speed = 0
  84.  
  85. function Fly()
  86. local bg = Instance.new("BodyGyro", torso)
  87. bg.P = 9e4
  88. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  89. bg.cframe = torso.CFrame
  90. local bv = Instance.new("BodyVelocity", torso)
  91. bv.velocity = Vector3.new(0,0.1,0)
  92. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  93. repeat wait()
  94. plr.Character.Humanoid.PlatformStand = true
  95. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  96. speed = speed+.5+(speed/maxspeed)
  97. if speed > maxspeed then
  98. speed = maxspeed
  99. end
  100. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  101. speed = speed-1
  102. if speed < 0 then
  103. speed = 0
  104. end
  105. end
  106. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  107. 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
  108. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  109. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  110. 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
  111. else
  112. bv.velocity = Vector3.new(0,0.1,0)
  113. end
  114. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  115. until not flying
  116. ctrl = {f = 0, b = 0, l = 0, r = 0}
  117. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  118. speed = 0
  119. bg:Destroy()
  120. bv:Destroy()
  121. plr.Character.Humanoid.PlatformStand = false
  122. end
  123. mouse.KeyDown:connect(function(key)
  124. if key:lower() == "e" then
  125. if flying then flying = false
  126. else
  127. flying = true
  128. Fly()
  129. end
  130. elseif key:lower() == "w" then
  131. ctrl.f = 1
  132. elseif key:lower() == "s" then
  133. ctrl.b = -1
  134. elseif key:lower() == "a" then
  135. ctrl.l = -1
  136. elseif key:lower() == "d" then
  137. ctrl.r = 1
  138. end
  139. end)
  140. mouse.KeyUp:connect(function(key)
  141. if key:lower() == "w" then
  142. ctrl.f = 0
  143. elseif key:lower() == "s" then
  144. ctrl.b = 0
  145. elseif key:lower() == "a" then
  146. ctrl.l = 0
  147. elseif key:lower() == "d" then
  148. ctrl.r = 0
  149. end
  150. end)
  151. Fly() end)
  152.  
  153. CTRL TP.Parent = GUI
  154. CTRL TP.BackgroundColor3 = Color3.fromRGB(255, 8, 8)
  155. CTRL TP.Position = UDim2.new(0.688630521, 0, 0.373106062, 0)
  156. CTRL TP.Size = UDim2.new(0, 89, 0, 50)
  157. CTRL TP.Font = Enum.Font.SourceSans
  158. CTRL TP.Text = "CTRL TP"
  159. CTRL TP.TextColor3 = Color3.fromRGB(0, 0, 0)
  160. CTRL TP.TextSize = 14.000
  161. CTRL TP.MouseBotton1Down:connect(function()mouse = game.Players.LocalPlayer:GetMouse()
  162. tool = Instance.new("Tool")
  163. tool.RequiresHandle = false
  164. tool.Name = "Click Teleport"
  165. tool.Activated:connect(function()
  166. local pos = mouse.Hit+Vector3.new(0,2.5,0)
  167. pos = CFrame.new(pos.X,pos.Y,pos.Z)
  168. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = pos
  169. end)
  170. tool.Parent = game.Players.LocalPlayer.Backpack end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement