Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
- local Window = Rayfield:CreateWindow({
- Name = "Bubble Gum Simulator Infinity",
- LoadingTitle = "Che4p - Rayfield UI",
- LoadingSubtitle = "by Che4p",
- ConfigurationSaving = {
- Enabled = true,
- FileName = "BGSIHUB"
- },
- Discord = {
- Enabled = true,
- Invite = "xf7yTQa4Pc",
- RememberJoins = true
- },
- KeySystem = false,
- })
- -- Create the Automatic tab
- local AutoTab = Window:CreateTab("Automatic", 4483362458)
- -- ===== [ AUTO FUNCTIONS SECTION ] =====
- local AutoSection = AutoTab:CreateSection("Bubble Functions")
- -- Auto Blow
- local autoBlowEnabled = false
- AutoTab:CreateToggle({
- Name = "Auto Blow Bubbles (Instant)",
- CurrentValue = false,
- Flag = "AutoBlowToggle",
- Callback = function(Value)
- autoBlowEnabled = Value
- if Value then
- coroutine.wrap(function()
- while autoBlowEnabled and task.wait() do
- game:GetService("ReplicatedStorage").Shared.Framework.Network.Remote.Event:FireServer("BlowBubble")
- end
- end)()
- end
- end
- })
- -- Auto Sell
- local autoSellEnabled = false
- local sellInterval = 1 -- Default: 1 second between sells
- AutoTab:CreateToggle({
- Name = "Auto Sell Bubbles",
- CurrentValue = false,
- Flag = "AutoSellToggle",
- Callback = function(Value)
- autoSellEnabled = Value
- if Value then
- coroutine.wrap(function()
- while autoSellEnabled and task.wait(sellInterval) do
- game:GetService("ReplicatedStorage").Shared.Framework.Network.Remote.Event:FireServer("SellBubble")
- end
- end)()
- end
- end
- })
- -- Sell Speed Slider
- AutoTab:CreateSlider({
- Name = "Sell Speed (Seconds)",
- Range = {0.1, 5}, -- From 0.1s to 5s
- Increment = 0.1,
- Suffix = "s",
- CurrentValue = sellInterval,
- Flag = "SellIntervalSlider",
- Callback = function(Value)
- sellInterval = Value -- Updates the sell delay when slider changes
- end
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement