SkyGutter-GMG

EGG COLECTING SIMULATOR

Jun 29th, 2021
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.06 KB | None | 0 0
  1. local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/Maxgat5/UiLib/main/lua')))()
  2. local w = library:CreateWindow("Egg Collecting Simulator")
  3. local b = w:CreateFolder("AutoFarm")
  4. local f = w:CreateFolder("AutoBuy")
  5. local e = w:CreateFolder("Mix")
  6. local u = w:CreateFolder("Credits")
  7. local SelectedRebirth = "Option01"
  8. local Rebirth = {}
  9. for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.Interface.GuiObjects.Frames.Main.Rebirth.Options:GetChildren()) do
  10. if v.Name ~= "Layout" then
  11. Rebirth[i] = v.Name
  12. end
  13. end
  14.  
  15. b:Toggle("AutoClicker",function(bool)
  16. shared.toggle = bool
  17. AutoClicker = bool
  18. end)
  19.  
  20. b:Toggle("AutoSell",function(bool)
  21. shared.toggle = bool
  22. AutoSell = bool
  23. end)
  24.  
  25. f:Toggle("Rebirth",function(bool)
  26. shared.toggle = bool
  27. Rebirth = bool
  28. end)
  29.  
  30. f:Dropdown("Select Rebirth",Rebirth,true,function(mob)
  31. SelectedRebirth = mob
  32. end)
  33.  
  34. e:Toggle("AntiAfk",function(boosl)
  35. shared.toggle = bool
  36. AntiAfk = bool
  37. end)
  38.  
  39. --Credits
  40. u:Button("maxgat5#8395",function()
  41. setclipboard("maxgat5#8395")
  42. end)
  43.  
  44. u:Button("Discord Server",function()
  45. setclipboard("https://discord.gg/K4txdRSVfq")
  46. end)
  47.  
  48. while wait() do
  49. spawn(function()
  50. if AutoClicker == true then
  51. for i,v in pairs(game:GetService("Workspace").Eggs:GetChildren()) do
  52. if not game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool") and game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") then
  53. if AutoClicker == true then
  54. local tool = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
  55. game:GetService("ReplicatedStorage").Remotes.MainRemote:FireServer("Collect",tool.Name,v.Name)
  56. end
  57. end
  58.  
  59. if game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool") and not game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") then
  60. if AutoClicker == true then
  61. local tool = game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool")
  62. game.Players.LocalPlayer.Character.Humanoid:EquipTool(tool)
  63. end
  64. end
  65. end
  66. end
  67. end)
  68.  
  69. if AutoSell == true then
  70. game:GetService("Workspace").TouchPads.Main.Sell.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0,0,100)
  71. wait()
  72. game:GetService("Workspace").TouchPads.Main.Sell.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0,0,0)
  73. wait()
  74. game:GetService("Workspace")[game.Players.LocalPlayer.Name].Humanoid.Jump = true
  75. end
  76.  
  77. if Rebirth == true then
  78. game:GetService("ReplicatedStorage").Remotes.MainRemote:FireServer("Rebirth",SelectedRebirth)
  79. end
  80.  
  81. if AntiAfk == true then
  82. local bb=game:service'VirtualUser'
  83. bb:CaptureController()
  84. bb:ClickButton2(Vector2.new())
  85. end
  86. end
Advertisement
Add Comment
Please, Sign In to add comment