Advertisement
Guest User

Untitled

a guest
Jul 15th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.94 KB | None | 0 0
  1. Broken Gui:
  2. - Farewell Infortality.
  3. -- Version: 2.82
  4. -- Instances:
  5. local ScreenGui = Instance.new("ScreenGui")
  6. local OpenFrame = Instance.new("Frame")
  7. local Open = Instance.new("TextButton")
  8. local Main = Instance.new("Frame")
  9. local GuiForJohiro = Instance.new("TextBox")
  10. local Credits = Instance.new("TextBox")
  11. local Fly = Instance.new("TextButton")
  12. local Jump = Instance.new("TextButton")
  13. local Btools = Instance.new("TextButton")
  14. local Speed = Instance.new("TextButton")
  15. local X = Instance.new("TextButton")
  16. --Properties:
  17. ScreenGui.Parent = game.CoreGui
  18.  
  19. OpenFrame.Name = "OpenFrame"
  20. OpenFrame.Parent = ScreenGui
  21. OpenFrame.Active = true
  22. OpenFrame.BackgroundColor3 = Color3.new(1, 0.756863, 0.133333)
  23. OpenFrame.Position = UDim2.new(3.5751615e-09, 0, 0.62948215, 0)
  24. OpenFrame.Size = UDim2.new(0, 102, 0, 35)
  25. OpenFrame.Visible = false
  26.  
  27. Open.Name = "Open"
  28. Open.Parent = ScreenGui
  29. Open.BackgroundColor3 = Color3.new(1, 0.756863, 0.133333)
  30. Open.Position = UDim2.new(-3.5751615e-09, 0, 0.627490044, 0)
  31. Open.Size = UDim2.new(0, 102, 0, 36)
  32. Open.Font = Enum.Font.SourceSans
  33. Open.Text = "Open"
  34. Open.TextColor3 = Color3.new(1, 1, 1)
  35. Open.TextSize = 30
  36. Open.MouseButton1Down:connect(function()
  37. Main.Visible = true
  38. OpenFrame.Visible = false
  39. end)
  40.  
  41. Main.Name = "Main"
  42. Main.Parent = ScreenGui
  43. Main.BackgroundColor3 = Color3.new(1, 0.756863, 0.133333)
  44. Main.Position = UDim2.new(0.420805931, 0, 0.241035864, 0)
  45. Main.Size = UDim2.new(0, 387, 0, 249)
  46. Main.Visible = false
  47. Main.Draggable = true
  48.  
  49. GuiForJohiro.Name = "Gui For Johiro"
  50. GuiForJohiro.Parent = ScreenGui
  51. GuiForJohiro.BackgroundColor3 = Color3.new(1, 1, 1)
  52. GuiForJohiro.Position = UDim2.new(0.419868797, 0, 0.241035864, 0)
  53. GuiForJohiro.Size = UDim2.new(0, 387, 0, 37)
  54. GuiForJohiro.Visible = false
  55. GuiForJohiro.Font = Enum.Font.SourceSans
  56. GuiForJohiro.Text = "Gui For Johiro"
  57. GuiForJohiro.TextColor3 = Color3.new(0, 0, 0)
  58. GuiForJohiro.TextSize = 14
  59.  
  60. Credits.Name = "Credits"
  61. Credits.Parent = ScreenGui
  62. Credits.BackgroundColor3 = Color3.new(1, 1, 1)
  63. Credits.Position = UDim2.new(0.419868797, 0, 0.663346648, 0)
  64. Credits.Size = UDim2.new(0, 387, 0, 37)
  65. Credits.Visible = false
  66. Credits.Font = Enum.Font.SourceSans
  67. Credits.Text = "Credits to RadxXLilApe#2061 And RadxXLilApe on Roblox"
  68. Credits.TextColor3 = Color3.new(0, 0, 0)
  69. Credits.TextSize = 14
  70.  
  71. Fly.Name = "Fly"
  72. Fly.Parent = ScreenGui
  73. Fly.BackgroundColor3 = Color3.new(1, 1, 1)
  74. Fly.Position = UDim2.new(0.419868797, 0, 0.342629492, 0)
  75. Fly.Size = UDim2.new(0, 153, 0, 34)
  76. Fly.Visible = false
  77. Fly.Font = Enum.Font.SourceSans
  78. Fly.Text = "Fly"
  79. Fly.TextColor3 = Color3.new(0, 0, 0)
  80. Fly.TextSize = 14
  81. Fly.MouseButton1Down:connect(function()
  82. repeat wait()
  83. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  84. local mouse = game.Players.LocalPlayer:GetMouse()
  85. repeat wait() until mouse
  86. local plr = game.Players.LocalPlayer
  87. local torso = plr.Character.Torso
  88. local flying = true
  89. local deb = true
  90. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  91. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  92. local maxspeed = 50
  93. local speed = 0
  94.  
  95. function Fly()
  96. local bg = Instance.new("BodyGyro", torso)
  97. bg.P = 9e4
  98. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  99. bg.cframe = torso.CFrame
  100. local bv = Instance.new("BodyVelocity", torso)
  101. bv.velocity = Vector3.new(0,0.1,0)
  102. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  103. repeat wait()
  104. plr.Character.Humanoid.PlatformStand = true
  105. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  106. speed = speed+.5+(speed/maxspeed)
  107. if speed > maxspeed then
  108. speed = maxspeed
  109. end
  110. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  111. speed = speed-1
  112. if speed < 0 then
  113. speed = 0
  114. end
  115. end
  116. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  117. 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
  118. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  119. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  120. 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
  121. else
  122. bv.velocity = Vector3.new(0,0.1,0)
  123. end
  124. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  125. until not flying
  126. ctrl = {f = 0, b = 0, l = 0, r = 0}
  127. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  128. speed = 0
  129. bg:Destroy()
  130. bv:Destroy()
  131. plr.Character.Humanoid.PlatformStand = false
  132. end
  133. mouse.KeyDown:connect(function(key)
  134. if key:lower() == "e" then
  135. if flying then flying = false
  136. else
  137. flying = true
  138. Fly()
  139. end
  140. elseif key:lower() == "w" then
  141. ctrl.f = 1
  142. elseif key:lower() == "s" then
  143. ctrl.b = -1
  144. elseif key:lower() == "a" then
  145. ctrl.l = -1
  146. elseif key:lower() == "d" then
  147. ctrl.r = 1
  148. end
  149. end)
  150. mouse.KeyUp:connect(function(key)
  151. if key:lower() == "w" then
  152. ctrl.f = 0
  153. elseif key:lower() == "s" then
  154. ctrl.b = 0
  155. elseif key:lower() == "a" then
  156. ctrl.l = 0
  157. elseif key:lower() == "d" then
  158. ctrl.r = 0
  159. end
  160. end)
  161. Fly()
  162. end)
  163.  
  164. Jump.Name = "Jump"
  165. Jump.Parent = ScreenGui
  166. Jump.BackgroundColor3 = Color3.new(1, 1, 1)
  167. Jump.Position = UDim2.new(0.624179959, 0, 0.533864558, 0)
  168. Jump.Size = UDim2.new(0, 153, 0, 34)
  169. Jump.Visible = false
  170. Jump.Font = Enum.Font.SourceSans
  171. Jump.Text = "Jump"
  172. Jump.TextColor3 = Color3.new(0, 0, 0)
  173. Jump.TextSize = 14
  174. Jump.MouseButton1Down:connect(function()
  175. local InfiniteJumpEnabled = true
  176. game:GetService("UserInputService").JumpRequest:connect(function()
  177. if InfiniteJumpEnabled then
  178. game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass'Humanoid':ChangeState("Jumping")
  179. end
  180. end)
  181. end)
  182.  
  183. Btools.Name = "Btools"
  184. Btools.Parent = ScreenGui
  185. Btools.BackgroundColor3 = Color3.new(1, 1, 1)
  186. Btools.Position = UDim2.new(0.419868797, 0, 0.533864558, 0)
  187. Btools.Size = UDim2.new(0, 153, 0, 34)
  188. Btools.Visible = false
  189. Btools.Font = Enum.Font.SourceSans
  190. Btools.Text = "Btools"
  191. Btools.TextColor3 = Color3.new(0, 0, 0)
  192. Btools.TextSize = 14
  193. Btools.MouseButton1Down:connect(function()
  194. Btools.MouseButton1Down:connect(function()
  195. game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true)
  196. for index, child in pairs(game:GetService("Workspace"):GetChildren()) do
  197. if child.ClassName == "Part" then
  198. child.Locked = false
  199. end
  200. if child.ClassName == "MeshPart" then
  201. child.Locked = false
  202. end
  203. if child.ClassName == "UnionOperation" then
  204. child.Locked = false
  205. end
  206. if child.ClassName == "Model" then
  207. for index, chil in pairs(child:GetChildren()) do
  208. if chil.ClassName == "Part" then
  209. chil.Locked = false
  210. end
  211. if chil.ClassName == "MeshPart" then
  212. chil.Locked = false
  213. end
  214. if chil.ClassName == "UnionOperation" then
  215. chil.Locked = false
  216. end
  217. if chil.ClassName == "Model" then
  218. for index, childe in pairs(chil:GetChildren()) do
  219. if childe.ClassName == "Part" then
  220. childe.Locked = false
  221. end
  222. if childe.ClassName == "MeshPart" then
  223. childe.Locked = false
  224. end
  225. if childe.ClassName == "UnionOperation" then
  226. childe.Locked = false
  227. end
  228. if childe.ClassName == "Model" then
  229. for index, childeo in pairs(childe:GetChildren()) do
  230. if childeo.ClassName == "Part" then
  231. childeo.Locked = false
  232. end
  233. if childeo.ClassName == "MeshPart" then
  234. childeo.Locked = false
  235. end
  236. if childeo.ClassName == "UnionOperation" then
  237. childeo.Locked = false
  238. end
  239. if childeo.ClassName == "Model" then
  240. end
  241. end
  242. end
  243. end
  244. end
  245. end
  246. end
  247. end
  248. c = Instance.new("HopperBin", game:GetService("Players").LocalPlayer.Backpack)
  249. c.BinType = Enum.BinType.Hammer
  250. c = Instance.new("HopperBin", game:GetService("Players").LocalPlayer.Backpack)
  251. c.BinType = Enum.BinType.Clone
  252. c = Instance.new("HopperBin", game:GetService("Players").LocalPlayer.Backpack)
  253. c.BinType = Enum.BinType.Grab
  254. end)
  255.  
  256. end)
  257.  
  258. Speed.Name = "Speed"
  259. Speed.Parent = ScreenGui
  260. Speed.BackgroundColor3 = Color3.new(1, 1, 1)
  261. Speed.Position = UDim2.new(0.624179959, 0, 0.342629492, 0)
  262. Speed.Size = UDim2.new(0, 153, 0, 34)
  263. Speed.Visible = false
  264. Speed.Font = Enum.Font.SourceSans
  265. Speed.Text = "Speed"
  266. Speed.TextColor3 = Color3.new(0, 0, 0)
  267. Speed.TextSize = 14
  268. Speed.MouseButton1Down:connect(function()
  269. repeat wait() until game.Players.LocalPlayer
  270. local Mouse = game.Players.LocalPlayer:GetMouse()
  271. local Plr = game.Players.LocalPlayer
  272.  
  273. Mouse.KeyDown:connect(function(KeyDown)
  274. if KeyDown == "0" then
  275. Plr.Character.Humanoid.WalkSpeed = 190
  276. end
  277. end)
  278.  
  279. Mouse.KeyUp:connect(function(KeyUp)
  280. if KeyUp == "0" then
  281. Plr.Character.Humanoid.WalkSpeed = 190
  282. end
  283. end)
  284. end)
  285.  
  286. X.Name = "X"
  287. X.Parent = ScreenGui
  288. X.BackgroundColor3 = Color3.new(1, 1, 1)
  289. X.Position = UDim2.new(0.731021583, 0, 0.241035864, 0)
  290. X.Size = UDim2.new(0, 55, 0, 37)
  291. X.Visible = false
  292. X.Font = Enum.Font.SourceSans
  293. X.Text = "X"
  294. X.TextColor3 = Color3.new(1, 0.666667, 0)
  295. X.TextSize = 39
  296. X.MouseButton1Down:connect(function()
  297. OpenFrame.Visible = true
  298.  
  299. -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement