local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() local Window = Rayfield:CreateWindow({ Name = "YouHub | BuggleGum Simulator Infinite", Icon = 0, LoadingTitle = "YouHub is loading...", LoadingSubtitle = "by Chosentechies", Theme = "Ocean", ConfigurationSaving = { Enabled = true, FolderName = nil, FileName = "Big Hub" }, Discord = { Enabled = true, Invite = "discord.gg/p65VYjZ9k3", RememberJoins = true }, KeySystem = false, KeySettings = { Title = "Untitled", Subtitle = "Key System", Note = "No method of obtaining the key is provided", FileName = "Key", SaveKey = true, GrabKeyFromSite = false, Key = {"Hello","Hello2" } } }) Rayfield:Notify({ Title = "Join Discord", Content = "Join Discord for scirpt updates: discord.gg/p65VYjZ9k3", Duration = 6.5, Image = nil, }) -- Toggle Flags/ local autoChewEnabled = false local autoChewFastEnabled = false local autoSellEnabled = false local autoHatch1Enabled = false local antiAFKThread local VirtualInputManager = game:GetService("VirtualInputManager") local RunService = game:GetService("RunService") local autoHatch1Enabled = false local autoGiantChestEnabled = false local autoVoidChestEnabled = false -- Home Tab line 59 local homeTab = Window:CreateTab("Home", nil) -- Main Tab line 146 local mainTab = Window:CreateTab("Main", nil) -- Egg and chest Tab line 253 local eggTab = Window:CreateTab("Egg and chest", nil) -- Player Tab line 325 local playerTab = Window:CreateTab("Player", nil) ----------------------------------HOME TAB------------------------------------------------------ -- Info section local Section = homeTab:CreateSection("Info") local Paragraph = homeTab:CreateParagraph({ Title = "YouHub | BubbleGum Simulator Infinite Functions", Content = [[ Current Features: - Anti-AFK - Auto Chew - Auto Chew (Fast) - Auto Hatch Infinite Egg - Auto Open Giant Chest - Auto Open Void Chest - Auto Sell - Player Speed Changer - Teleport (Disabled – Anti-Teleport detection not bypassed yet) Next Version Preview: - More Eggs support Roadmap: - Open Chests from anywhere in the world - Open Eggs from anywhere in the world - Anti-Teleport Bypasser More features are on the way! Stay tuned! ]] }) -- Label: Links local Label = homeTab:CreateLabel("Links", nil, Color3.fromRGB(255, 255, 255), false) -- Discord Button: Copies Discord Invite local Button = homeTab:CreateButton({ Name = "Discord", Callback = function() setclipboard("https://discord.gg/p65VYjZ9k3") warn("✅ Discord link copied to clipboard!") end, }) local Section = homeTab:CreateSection("Credit") -- Create a paragraph for the credit information local creditParagraph = homeTab:CreateParagraph({ Title = "Credits", Content = [[ Special Thanks to: - Chosentechies/Urmoit for creating YouHub. - Sirius for the Rayfield UI Library. - The developers of BuggleGum Simulator for the game. - Community members for support and feedback. ]] }) -- Optionally, you can also add more specific credits or mention contributors local additionalCredits = homeTab:CreateParagraph({ Title = "Additional Credits", Content = [[ - Script contributors. - Beta testers for providing feedback. - Everyone involved in the development and testing process. ]] }) -- Button to copy the Rayfield documentation link local Button = homeTab:CreateButton({ Name = "Copy Rayfield Docs Link", Callback = function() -- Copy Rayfield docs link to clipboard setclipboard("https://docs.sirius.menu/rayfield") end, }) ----------------------------------MAIN TAB------------------------------------------------------ -- Anti AFK section local Section = mainTab:CreateSection("Auto Farm") -- Auto Chew Toggle mainTab:CreateToggle({ Name = "Auto Chew", CurrentValue = false, Flag = "AutoChewToggle", Callback = function(Value) autoChewEnabled = Value if Value then task.spawn(function() while autoChewEnabled do task.wait(1) local args = { "BlowBubble" } game:GetService("ReplicatedStorage") :WaitForChild("Shared") :WaitForChild("Framework") :WaitForChild("Network") :WaitForChild("Remote") :WaitForChild("Event"):FireServer(unpack(args)) end end) end end, }) -- Auto Chew Fast Toggle mainTab:CreateToggle({ Name = "Auto Chew Fast", CurrentValue = false, Flag = "AutoChewFastToggle", Callback = function(Value) autoChewFastEnabled = Value if Value then task.spawn(function() while autoChewFastEnabled do task.wait(0.1) local args = { "BlowBubble" } game:GetService("ReplicatedStorage") :WaitForChild("Shared") :WaitForChild("Framework") :WaitForChild("Network") :WaitForChild("Remote") :WaitForChild("Event"):FireServer(unpack(args)) end end) end end, }) -- Auto Sell Toggle mainTab:CreateToggle({ Name = "Auto sell", CurrentValue = false, Flag = "AutoSellToggle", Callback = function(Value) autoSellEnabled = Value if Value then task.spawn(function() while autoSellEnabled do task.wait(1) local args = { "SellBubble" } game:GetService("ReplicatedStorage") :WaitForChild("Shared") :WaitForChild("Framework") :WaitForChild("Network") :WaitForChild("Remote") :WaitForChild("Event"):FireServer(unpack(args)) end end) end end, }) -- Anti AFK section local Section = mainTab:CreateSection("Anti AFK") mainTab:CreateToggle({ Name = "Anti AFK", CurrentValue = false, Flag = "AutoChewToggle", Callback = function(Value) if Value then -- Start anti-AFK loop antiAFKThread = coroutine.create(function() while true do task.wait(60) -- Get the current mouse position local mouseX, mouseY = 500, 500 -- You can adjust coordinates if needed -- Simulate a mouse click inside the game window VirtualInputManager:SendMouseButtonEvent(mouseX, mouseY, 0, true, game, 0) -- Press task.wait(0.05) VirtualInputManager:SendMouseButtonEvent(mouseX, mouseY, 0, false, game, 0) -- Release end end) coroutine.resume(antiAFKThread) else -- Stop anti-AFK thread if antiAFKThread and coroutine.status(antiAFKThread) == "suspended" then coroutine.close(antiAFKThread) end end end, }) ----------------------------------egg TAB------------------------------------------------------ -- Auto atch egg section local Section = eggTab:CreateSection("Auto hatch egg") eggTab:CreateLabel("⚠️ You must be near the egg to hatch it. Remote hatching coming soon!", nil, Color3.fromRGB(255, 150, 0), false) -- State variables local autoHatch1Enabled = false -- Auto Hatch Infinite Egg (1 egg) eggTab:CreateToggle({ Name = "Auto Hatch Infinite Egg (1 egg)", CurrentValue = false, Flag = "AutoHatch1", Callback = function(Value) autoHatch1Enabled = Value if Value then task.spawn(function() while autoHatch1Enabled do local args = { "HatchEgg", "Infinity Egg", 1 } game:GetService("ReplicatedStorage") .Shared.Framework.Network.Remote.Event:FireServer(unpack(args)) task.wait(1.5) -- Adjust as needed end end) end end, }) local Section = eggTab:CreateSection("Auto Open Chest") eggTab:CreateLabel("⚠️ You must be on the island where the chest is located.", nil, Color3.fromRGB(255, 150, 0), false) -- Auto Open Giant Chest Toggle eggTab:CreateToggle({ Name = "Auto Open Giant Chest", CurrentValue = false, Flag = "AutoGiantChest", Callback = function(Value) autoGiantChestEnabled = Value if Value then task.spawn(function() while autoGiantChestEnabled do local args = { "ClaimChest", "Giant Chest" } game:GetService("ReplicatedStorage") .Shared.Framework.Network.Remote.Event:FireServer(unpack(args)) task.wait(5) -- Adjust delay as needed end end) end end, }) -- Auto Open Void Chest Toggle eggTab:CreateToggle({ Name = "Auto Open Void Chest", CurrentValue = false, Flag = "AutoVoidChest", Callback = function(Value) autoVoidChestEnabled = Value if Value then task.spawn(function() while autoVoidChestEnabled do local args = { "ClaimChest", "Void Chest" } game:GetService("ReplicatedStorage") .Shared.Framework.Network.Remote.Event:FireServer(unpack(args)) task.wait(5) -- Adjust delay as needed end end) end end, }) ----------------------------------Player TAB------------------------------------------------------ -- local Section local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer -- Player Speed Slider playerTab:CreateSlider({ Name = "Player Speed", Range = {0, 43}, Increment = 1, Suffix = "Speed", CurrentValue = 10, Flag = "Slider1", -- A flag is the identifier for the configuration file Callback = function(Value) -- Change player's walk speed based on slider value local character = game.Players.LocalPlayer.Character if character then local humanoid = character:WaitForChild("Humanoid") humanoid.WalkSpeed = Value -- Set the speed to the value from the slider end end, }) -- Teleport section local Section = playerTab:CreateSection("Teleport") playerTab:CreateLabel("Teleportation is currently disabled due to anti-teleport measures in the game. We are working on new features.", nil, Color3.fromRGB(255, 0, 0), false)