Advertisement
Guest User

Lost Gui

a guest
Dec 3rd, 2019
10,664
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.05 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3
  3.  
  4. -- Instances:
  5.  
  6. local Gui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local ESP = Instance.new("TextButton")
  9. local Spectate = Instance.new("TextButton")
  10. local Exit = Instance.new("TextButton")
  11. local Speed = Instance.new("TextButton")
  12. local TextButton = Instance.new("TextButton")
  13.  
  14. --Properties:
  15.  
  16. Gui.Name = "Gui"
  17. Gui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  18. Gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  19.  
  20. Frame.Parent = Gui
  21. Frame.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  22. Frame.BorderColor3 = Color3.new(0.407843, 0.635294, 0.8)
  23. Frame.BorderSizePixel = 10
  24. Frame.Position = UDim2.new(0.706512809, 0, 0.551976562, 0)
  25. Frame.Size = UDim2.new(0, 340, 0, 288)
  26. Frame.Visible = false
  27.  
  28. ESP.Name = "ESP"
  29. ESP.Parent = Frame
  30. ESP.BackgroundColor3 = Color3.new(0.662745, 0.384314, 1)
  31. ESP.Position = UDim2.new(0.0500000007, 0, 0.0763888881, 0)
  32. ESP.Size = UDim2.new(0, 299, 0, 50)
  33. ESP.Font = Enum.Font.Cartoon
  34. ESP.Text = "ESP"
  35. ESP.TextColor3 = Color3.new(0, 0, 0)
  36. ESP.TextScaled = true
  37. ESP.TextSize = 14
  38. ESP.TextWrapped = true
  39.  
  40. Spectate.Name = "Spectate"
  41. Spectate.Parent = Frame
  42. Spectate.BackgroundColor3 = Color3.new(0.662745, 0.384314, 1)
  43. Spectate.Position = UDim2.new(0.0500000007, 0, 0.329861104, 0)
  44. Spectate.Size = UDim2.new(0, 299, 0, 50)
  45. Spectate.Font = Enum.Font.Cartoon
  46. Spectate.Text = "Spectate"
  47. Spectate.TextColor3 = Color3.new(0, 0, 0)
  48. Spectate.TextScaled = true
  49. Spectate.TextSize = 14
  50. Spectate.TextWrapped = true
  51.  
  52. Exit.Name = "Exit"
  53. Exit.Parent = Frame
  54. Exit.BackgroundColor3 = Color3.new(1, 1, 1)
  55. Exit.Position = UDim2.new(0.232352942, 0, 0.826388896, 0)
  56. Exit.Size = UDim2.new(0, 200, 0, 50)
  57. Exit.Font = Enum.Font.Cartoon
  58. Exit.Text = "Exit"
  59. Exit.TextColor3 = Color3.new(0, 0, 0)
  60. Exit.TextScaled = true
  61. Exit.TextSize = 14
  62. Exit.TextWrapped = true
  63.  
  64. Speed.Name = "Speed"
  65. Speed.Parent = Frame
  66. Speed.BackgroundColor3 = Color3.new(0.662745, 0.384314, 1)
  67. Speed.Position = UDim2.new(0.0470588244, 0, 0.604166687, 0)
  68. Speed.Size = UDim2.new(0, 300, 0, 50)
  69. Speed.Font = Enum.Font.Cartoon
  70. Speed.Text = "Speed"
  71. Speed.TextColor3 = Color3.new(0, 0, 0)
  72. Speed.TextScaled = true
  73. Speed.TextSize = 14
  74. Speed.TextWrapped = true
  75.  
  76. TextButton.Parent = Gui
  77. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  78. TextButton.Position = UDim2.new(0, 0, 0.314787716, 0)
  79. TextButton.Size = UDim2.new(0, 200, 0, 50)
  80. TextButton.Font = Enum.Font.SourceSans
  81. TextButton.Text = "Open"
  82. TextButton.TextColor3 = Color3.new(0, 0, 0)
  83. TextButton.TextScaled = true
  84. TextButton.TextSize = 14
  85. TextButton.TextWrapped = true
  86.  
  87. -- Scripts:
  88.  
  89. local function WJVNZX_fake_script() -- ESP.LocalScript
  90. local script = Instance.new('LocalScript', ESP)
  91.  
  92. script.Parent.MouseButton1Click:Connect(function()
  93.  
  94. for i,v in pairs(game.Players:GetChildren()) do
  95. local gui = Instance.new("BillboardGui")
  96. gui.Size = UDim2.new(5,0,5,0)
  97. gui.AlwaysOnTop = true
  98. gui.Parent = game.Workspace:WaitForChild(v.Name)
  99. local text = Instance.new("TextLabel")
  100. text.Text = (v.Name)
  101. text.BackgroundTransparency = 1
  102. text.Parent = gui
  103. text.Size = UDim2.new (1,0,1,0)
  104. text.TextColor3 = Color3.new(1,0,0)
  105. print "lol"
  106. end
  107. end)
  108. end
  109. coroutine.wrap(WJVNZX_fake_script)()
  110. local function BUMY_fake_script() -- Spectate.LocalScript
  111. local script = Instance.new('LocalScript', Spectate)
  112.  
  113. -- Gui to Lua
  114. -- Version: 3
  115.  
  116. -- Instances:
  117. script.Parent.MouseButton1Click:Connect(function()
  118.  
  119. local ScreenGui = Instance.new("ScreenGui")
  120. local TextButton = Instance.new("TextButton")
  121. local TextBox = Instance.new("TextBox")
  122.  
  123. --Properties:
  124.  
  125. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  126. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  127.  
  128. TextButton.Parent = ScreenGui
  129. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  130. TextButton.Position = UDim2.new(0.256938726, 0, 0.782572925, 0)
  131. TextButton.Size = UDim2.new(0, 77, 0, 50)
  132. TextButton.Font = Enum.Font.SourceSans
  133. TextButton.Text = "GO"
  134. TextButton.TextColor3 = Color3.new(0, 0, 0)
  135. TextButton.TextSize = 50
  136.  
  137. TextBox.Parent = ScreenGui
  138. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  139. TextBox.Position = UDim2.new(0.0912982523, 0, 0.782572925, 0)
  140. TextBox.Size = UDim2.new(0, 200, 0, 50)
  141. TextBox.Font = Enum.Font.SourceSans
  142. TextBox.Text = ""
  143. TextBox.TextColor3 = Color3.new(0, 0, 0)
  144. TextBox.TextSize = 40
  145.  
  146. -- Scripts:
  147.  
  148. local function PDPCZX_fake_script() -- ScreenGui.LocalScript
  149. local script = Instance.new('LocalScript', ScreenGui)
  150.  
  151. local textbox = script.Parent:WaitForChild("TextBox")
  152. local textbutton = script.Parent:WaitForChild("TextButton")
  153. local player = game.Players.LocalPlayer
  154. textbutton.MouseButton1Click:Connect(function()
  155. local find = game.Workspace:WaitForChild(textbox.Text)
  156. local char = find
  157. local cam = game.Workspace.Camera
  158. cam.CameraSubject = char
  159. end)
  160. end
  161. end)
  162.  
  163. end
  164. coroutine.wrap(BUMY_fake_script)()
  165. local function EZWESQ_fake_script() -- Exit.LocalScript
  166. local script = Instance.new('LocalScript', Exit)
  167.  
  168. script.Parent.MouseButton1Click:Connect(function()
  169. script.Parent.Parent.Visible = false
  170. wait()
  171. script.Parent.Parent.Parent.TextButton.Visible = true
  172. end)
  173. end
  174. coroutine.wrap(EZWESQ_fake_script)()
  175. local function TVMONQ_fake_script() -- Speed.LocalScript
  176. local script = Instance.new('LocalScript', Speed)
  177.  
  178. local player = game.Players.LocalPlayer
  179.  
  180. script.Parent.MouseButton1Click:Connect(function()
  181. while true do wait()
  182. player.Character.Humanoid.WalkSpeed = 16
  183. player.Character.Humanoid.JumpPower = 38
  184. end
  185. end)
  186. end
  187. coroutine.wrap(TVMONQ_fake_script)()
  188. local function IYDOHCR_fake_script() -- TextButton.LocalScript
  189. local script = Instance.new('LocalScript', TextButton)
  190.  
  191. script.Parent.MouseButton1Click:Connect(function()
  192. script.Parent.Visible = false
  193. wait()
  194. script.Parent.Parent.Frame.Visible = true
  195. end)
  196. end
  197. coroutine.wrap(IYDOHCR_fake_script)()
  198.  
  199. local mouse = game.Players.LocalPlayer:GetMouse()
  200. local part = Instance.new("Part")
  201. mouse.KeyDown:Connect(function(input)
  202. if input == "t" then
  203. part.Position = player.Character.LeftFoot.Position
  204. part.Parent = workspace
  205. part.Anchored = true
  206. part.Size = Vector3.new (30,1,30)
  207. part.Transparency = 0.7
  208. part.Material = Enum.Material.Plastic
  209. end
  210. end)
  211. mouse.KeyUp:Connect(function(inputt)
  212. if inputt == "t" then
  213. part:remove()
  214. end
  215. end)
  216.  
  217. mouse.KeyDown:Connect(function(inputs)
  218. if inputs == "z" then
  219. for i,v in pairs(game.Players:GetChildren()) do
  220. local gui = Instance.new("BillboardGui")
  221. gui.Size = UDim2.new(5,0,5,0)
  222. gui.AlwaysOnTop = true
  223. gui.Parent = game.Workspace:WaitForChild(v.Name)
  224. local text = Instance.new("TextLabel")
  225. text.Text = (v.Name)
  226. text.BackgroundTransparency = 1
  227. text.Parent = gui
  228. text.Size = UDim2.new (1,0,1,0)
  229. text.TextColor3 = Color3.new(1,0,0)
  230. print "lol"
  231. end
  232. end
  233. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement