beontimeh98

Fe2 GUI

Dec 14th, 2020 (edited)
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 11.48 KB | None | 0 0
  1. -- FloodGui by BEON
  2.  
  3. --[[
  4. Please do not leak this script as your own, credit the original owner
  5.  
  6. Change the 'WaitTime'(time it takes to load map) to 5-9 when using AutoFarm
  7. in public servers, and around 3 in private. Then click 'Reload GUI' to save changes
  8.  
  9. Use 'Reload GUI' after you die, as some functions will not work after you respawn
  10.  
  11. Enable 'NoClip' if you are getting killed when Teleporting to the exit, or if you just wanna go thru walls
  12.  
  13. Click 'ClickTP (r)' to enable click TP, hover your mouse over where you want to TP, and press r
  14.  
  15. All other buttons are pretty self-explanatory
  16. --]]
  17.  
  18. function GUI(seconds)
  19. local Player = game.Players.LocalPlayer.Character
  20. local on     = false
  21. local clip   = true
  22.  
  23. local FloodGUI    = Instance.new("ScreenGui")
  24. local MainFrame   = Instance.new("Frame")
  25. local Title       = Instance.new("TextLabel")
  26. local Credits     = Instance.new("TextLabel")
  27. local ClickTP     = Instance.new("TextButton")
  28. local GetButtons  = Instance.new("TextButton")
  29. local DestroyExit = Instance.new("TextButton")
  30. local TpSpawn     = Instance.new("TextButton")
  31. local TpExit      = Instance.new("TextButton")
  32. local X           = Instance.new("TextButton")
  33. local AutoFarm    = Instance.new("TextButton")
  34. local Reload      = Instance.new("TextButton")
  35. local NoClip      = Instance.new("TextButton")
  36. local Waittime    = Instance.new("TextBox")
  37. FloodGUI.Parent   = game.CoreGui
  38.  
  39. MainFrame.Parent                 = FloodGUI
  40. MainFrame.BackgroundColor3       = Color3.new(0, 0, 1)
  41. MainFrame.BackgroundTransparency = 0.3
  42. MainFrame.Position               = UDim2.new(0.77, 0, 0.53, 0)
  43. MainFrame.Size                   = UDim2.new(0, 300, 0, 300)
  44. MainFrame.Active                 = true
  45. MainFrame.Draggable              = true
  46.  
  47. Title.Parent                     = MainFrame
  48. Title.BackgroundTransparency     = 1
  49. Title.Size                       = UDim2.new(0, 189, 0, 32)
  50. Title.Font                       = Enum.Font.SourceSansBold
  51. Title.FontSize                   = Enum.FontSize.Size36
  52. Title.Text                       = "FloodGui"
  53. Title.TextColor3                 = Color3.new(1, 1, 1)
  54.  
  55. Credits.Parent                 = MainFrame
  56. Credits.BackgroundTransparency = 1
  57. Credits.Size                   = UDim2.new(0, 189, 0, 32)
  58. Credits.Font                   = Enum.Font.SourceSansBold
  59. Credits.FontSize               = Enum.FontSize.Size24
  60. Credits.Text                   = "GUI created by Zmann"
  61. Credits.TextColor3             = Color3.new(0, 0, 0.03)
  62. Credits.Position               = UDim2.new(0.20, 0, 0.88, 0)
  63.  
  64. ClickTP.Parent           = MainFrame
  65. ClickTP.BackgroundColor3 = Color3.new(0, 0, 0.5)
  66. ClickTP.Position         = UDim2.new(0.03, 0, 0.75, 0)
  67. ClickTP.Size             = UDim2.new(0, 125, 0, 36)
  68. ClickTP.Font             = Enum.Font.SourceSansBold
  69. ClickTP.FontSize         = Enum.FontSize.Size24
  70. ClickTP.Text             = "Click TP (r)"
  71. ClickTP.TextColor3       = Color3.new(1, 1, 1)
  72. ClickTP.MouseButton1Down:connect(function()
  73. plr   = game.Players.LocalPlayer
  74. mouse = plr:GetMouse()
  75. mouse.KeyDown:connect(function(key)
  76. if key == "r" then
  77. if mouse.Target then
  78. plr.Character.HumanoidRootPart.CFrame = CFrame.new(mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z)
  79. end
  80. end
  81. end)
  82. warn("[FloodGui] ClickTP Enabled!")
  83. end)
  84.  
  85. function buttons(waittime)
  86. local Map = game.Workspace.Multiplayer.Map
  87. local Btns = {}
  88. local Desc = {}
  89. for i, v in pairs(Map:GetDescendants())do
  90. Desc[v.Name.."Obj"] = v
  91. end
  92. for i=0,30 do
  93. if Desc["_Button".. tostring(i).. "Obj"] ~= nil then
  94. table.insert(Btns,Desc["_Button".. tostring(i).. "Obj"])
  95. end
  96. end
  97. for i, v in pairs(Btns)do
  98. local Hitbox                   = v.Hitbox
  99. Player.HumanoidRootPart.CFrame = Hitbox.CFrame
  100. wait(waittime)
  101. end
  102. end
  103.  
  104. GetButtons.Parent           = MainFrame
  105. GetButtons.BackgroundColor3 = Color3.new(0, 0, 0.5)
  106. GetButtons.Position         = UDim2.new(0.03, 0, 0.55, 0)
  107. GetButtons.Size             = UDim2.new(0, 125, 0, 36)
  108. GetButtons.Font             = Enum.Font.SourceSansBold
  109. GetButtons.FontSize         = Enum.FontSize.Size24
  110. GetButtons.Text             = "Get Buttons"
  111. GetButtons.TextColor3       = Color3.new(1, 1, 1)
  112. GetButtons.MouseButton1Down:connect(function()
  113. warn("[FloodGui] Pressing buttons...")
  114. buttons(0.3)
  115. warn("[FloodGui] Buttons Pressed!")
  116. end)
  117.  
  118. TpSpawn.Parent           = MainFrame
  119. TpSpawn.BackgroundColor3 = Color3.new(0, 0, 0.5)
  120. TpSpawn.Position         = UDim2.new(0.53, 0, 0.75, 0)
  121. TpSpawn.Size             = UDim2.new(0, 125, 0, 36)
  122. TpSpawn.Font             = Enum.Font.SourceSansBold
  123. TpSpawn.FontSize         = Enum.FontSize.Size24
  124. TpSpawn.Text             = "TP Spawn"
  125. TpSpawn.TextColor3       = Color3.new(1, 1, 1)
  126. TpSpawn.MouseButton1Down:connect(function()
  127. Player.HumanoidRootPart.CFrame = CFrame.new(-25, -145, 47)
  128. warn("[FloodGui] Teleported!")
  129. end)
  130.  
  131. DestroyExit.Parent           = MainFrame
  132. DestroyExit.BackgroundColor3 = Color3.new(0, 0, 0.5)
  133. DestroyExit.Position         = UDim2.new(0.53, 0, 0.55, 0)
  134. DestroyExit.Size             = UDim2.new(0, 125, 0, 36)
  135. DestroyExit.Font             = Enum.Font.SourceSansBold
  136. DestroyExit.FontSize         = Enum.FontSize.Size24
  137. DestroyExit.Text             = "Destroy Exit"
  138. DestroyExit.TextColor3       = Color3.new(1, 1, 1)
  139. DestroyExit.MouseButton1Down:connect(function()
  140. local Map = game.Workspace.Multiplayer.Map
  141. Map.ExitBlock:Destroy()
  142. warn("[FloodGui] Exit Destroyed!")
  143. end)
  144.  
  145. X.Parent                 = MainFrame
  146. X.BackgroundTransparency = 1
  147. X.Position               = UDim2.new(.93, 0, 0, 0)
  148. X.Size                   = UDim2.new(0, 20, 0, 20)
  149. X.Font                   = Enum.Font.SourceSansBold
  150. X.FontSize               = Enum.FontSize.Size24
  151. X.Text                   = "X"
  152. X.TextColor3             = Color3.new(1, 1, 1)
  153. X.MouseButton1Down:connect(function()
  154. on   = false
  155. clip = true
  156. MainFrame:Remove()
  157. end)
  158.  
  159. function Tpexit(pos)
  160. local Player    = game.Players.LocalPlayer.Character
  161. local Map       = game.Workspace.Multiplayer.Map
  162. local ExitBlock = Map:FindFirstChild("ExitRegion")
  163. local posit
  164. if ExitBlock == nil then
  165.     if pos == 1 then
  166.         posit = CFrame.new(2080, 990, 2)
  167. elseif pos == 2 then
  168.         posit = CFrame.new(4080, 990, 2)
  169. end  
  170. else
  171. posit = ExitBlock.CFrame
  172. end
  173. local Ts        = game:GetService("TweenService")
  174. local Ti        = TweenInfo.new(
  175. 2,
  176. Enum.EasingStyle.Sine,
  177. Enum.EasingDirection.Out,
  178. 0,
  179. false,
  180. 0
  181. )
  182. local Tp = {
  183. CFrame   = posit
  184. }
  185. local Tw = Ts:Create(Player.HumanoidRootPart,Ti,Tp)
  186. wait(0.1)
  187. Tw:Play()
  188. end
  189.  
  190. TpExit.Parent           = MainFrame
  191. TpExit.BackgroundColor3 = Color3.new(0, 0, 0.5)
  192. TpExit.Position         = UDim2.new(0.53, 0, 0.35, 0)
  193. TpExit.Size             = UDim2.new(0, 125, 0, 36)
  194. TpExit.Font             = Enum.Font.SourceSansBold
  195. TpExit.FontSize         = Enum.FontSize.Size24
  196. TpExit.Text             = "TP Exit"
  197. TpExit.TextColor3       = Color3.new(1, 1, 1)
  198. TpExit.MouseButton1Down:connect(function()
  199. warn("[FloodGui] Teleporting...")
  200. exit = game.Workspace.Multiplayer.Map:FindFirstChild("ExitRegion")
  201. spawn = game.Workspace.Multiplayer.Map:FindFirstChild("Spawn")
  202. if exit then
  203. Tpexit()
  204. else
  205. if spawn.Position.X < 3000 then
  206. Tpexit(1)
  207. else
  208. Tpexit(2)
  209. end
  210. end
  211. end)
  212.  
  213. AutoFarm.Parent           = MainFrame
  214. AutoFarm.BackgroundColor3 = Color3.new(0, 0, 0.5)
  215. AutoFarm.Position         = UDim2.new(0.03, 0, 0.15, 0)
  216. AutoFarm.Size             = UDim2.new(0, 125, 0, 36)
  217. AutoFarm.Font             = Enum.Font.SourceSansBold
  218. AutoFarm.FontSize         = Enum.FontSize.Size24
  219. AutoFarm.Text             = "AutoFarm"
  220. AutoFarm.TextColor3       = Color3.new(1, 1, 1)
  221. AutoFarm.MouseButton1Down:connect(function()
  222. if on then
  223.     on                        = false
  224.     AutoFarm.BackgroundColor3 = Color3.new(0, 0, 0.5)
  225.     AutoFarm.Text             = "AutoFarm"
  226.     warn("[FloodGui] Autofarm off!")
  227. else
  228.     on                        = true
  229.     AutoFarm.BackgroundColor3 = Color3.new(0.5, 0, 0)
  230.     AutoFarm.Text             = "Stop Autofarm"
  231.     warn("[FloodGui] Autofarm on!")
  232. end
  233. local msg = "qwertyuiop"
  234. while on and wait(0.5) do
  235. local r       = false
  236. local history = Game:GetService("LogService"):GetLogHistory()
  237. for i         = #history, 1, -1 do
  238.     if string.find(history[i].message, "2925 2925") and not string.find(history[i].message, msg) then
  239.         wait(seconds)
  240.         buttons(1)
  241. local exit = game.Workspace.Multiplayer.Map:FindFirstChild("ExitRegion")
  242. Player.HumanoidRootPart.CFrame = CFrame.new(exit.Position.X, exit.Position.Y, exit.Position.Z + 25)
  243.         Tpexit()
  244.         r   = true
  245.         msg = "2925 2925"
  246.     elseif string.find(history[i].message, "1700 1700") and not string.find(history[i].message, msg) then
  247.         wait(seconds)
  248.         buttons(0.3)
  249.         local spawn = game.Workspace.Multiplayer.Map:FindFirstChild("Spawn")
  250.         if spawn.Position.X < 3000 then
  251.             Tpexit(1)
  252.         else
  253.             Tpexit(2)
  254.         end
  255.         r   = true
  256.         msg = "1700 1700"
  257.      elseif (string.find(history[i].message, "%d%d%d%s%d%d%d") or string.find(history[i].message, "%d%d%d%d%s%d%d%d%d")) and not string.find(history[i].message, msg) then
  258.         wait(seconds)
  259.         buttons(0.3)
  260.         Tpexit()
  261.         r   = true
  262.         msg = history[i].message
  263.     elseif string.find(history[i].message, "NewMap") then
  264.         r = true
  265.     end
  266.     if r then
  267.         break
  268.     end
  269. end
  270. end
  271. end)
  272.  
  273. NoClip.Parent           = MainFrame
  274. NoClip.BackgroundColor3 = Color3.new(0, 0, 0.5)
  275. NoClip.Position         = UDim2.new(0.53, 0, 0.15, 0)
  276. NoClip.Size             = UDim2.new(0, 125, 0, 36)
  277. NoClip.Font             = Enum.Font.SourceSansBold
  278. NoClip.FontSize         = Enum.FontSize.Size24
  279. NoClip.Text             = "NoClip (Off)"
  280. NoClip.TextColor3       = Color3.new(1, 1, 1)
  281. NoClip.MouseButton1Down:connect(function()
  282. if clip then
  283.      clip                    = false
  284.      NoClip.BackgroundColor3 = Color3.new(0, 0.5, 0)
  285.      NoClip.Text           = "NoClip (On)"
  286.      warn("[FloodGui] NoClip Enabled!")
  287. else
  288.      clip                      = true
  289.      NoClip.BackgroundColor3 = Color3.new(0, 0, 0.5)
  290.      NoClip.Text             = "NoClip (Off)"
  291.      warn("[FloodGui] NoClip Disabled!")
  292. end
  293. game:getService("RunService"):BindToRenderStep("",0,function()
  294. if not game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid") then return end
  295. if not clip then
  296. game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid"):ChangeState(11)
  297. end
  298. end)
  299. end)
  300.  
  301. Reload.Parent           = MainFrame
  302. Reload.BackgroundColor3 = Color3.new(0, 0, 0.5)
  303. Reload.Position         = UDim2.new(0.03, 0, 0.35, 0)
  304. Reload.Size             = UDim2.new(0, 125, 0, 36)
  305. Reload.Font             = Enum.Font.SourceSansBold
  306. Reload.FontSize         = Enum.FontSize.Size24
  307. Reload.Text             = "Reload GUI"
  308. Reload.TextColor3       = Color3.new(1, 1, 1)
  309. Reload.MouseButton1Down:connect(function()
  310. local wait = Waittime.Text
  311. local txt  = tonumber(wait)
  312. if txt then
  313.     warn("[FloodGui] WaitTime Set!")
  314.     on = false
  315.     clip = true
  316. MainFrame:Remove()
  317. GUI(wait)
  318. else
  319. on = false
  320. clip = true
  321. MainFrame:Remove()
  322. GUI(seconds)
  323. warn("[FloodGui] GUI Reloaded!")
  324. end
  325. end)
  326.  
  327. Waittime.Parent           = MainFrame
  328. Waittime.BackgroundColor3 = Color3.new(0, 0, 0.5)
  329. Waittime.Position         = UDim2.new(0.58, 0, 0.03, 0)
  330. Waittime.Size             = UDim2.new(0, 90, 0, 24)
  331. Waittime.Font             = Enum.Font.SourceSansBold
  332. Waittime.FontSize         = Enum.FontSize.Size16
  333. Waittime.TextSize         = 20
  334. Waittime.Text             = "WaitTime"
  335. Waittime.TextColor3       = Color3.new(1, 1, 1)
  336.  
  337. end
  338. GUI(3)
  339. warn("FloodGui Loaded!")
Add Comment
Please, Sign In to add comment