Advertisement
superfan212new

Bubble Gum Simulator Infinity

Apr 14th, 2025
226
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 1 0
  1. local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
  2.  
  3. local Window = Rayfield:CreateWindow({
  4. Name = "Bubble Gum Simulator Infinity",
  5. LoadingTitle = "Che4p - Rayfield UI",
  6. LoadingSubtitle = "by Che4p",
  7. ConfigurationSaving = {
  8. Enabled = true,
  9. FileName = "BGSIHUB"
  10. },
  11. Discord = {
  12. Enabled = true,
  13. Invite = "xf7yTQa4Pc",
  14. RememberJoins = true
  15. },
  16. KeySystem = false,
  17. })
  18.  
  19. -- Create the Automatic tab
  20. local AutoTab = Window:CreateTab("Automatic", 4483362458)
  21.  
  22. -- ===== [ AUTO FUNCTIONS SECTION ] =====
  23. local AutoSection = AutoTab:CreateSection("Bubble Functions")
  24.  
  25. -- Auto Blow
  26. local autoBlowEnabled = false
  27. AutoTab:CreateToggle({
  28. Name = "Auto Blow Bubbles (Instant)",
  29. CurrentValue = false,
  30. Flag = "AutoBlowToggle",
  31. Callback = function(Value)
  32. autoBlowEnabled = Value
  33. if Value then
  34. coroutine.wrap(function()
  35. while autoBlowEnabled and task.wait() do
  36. game:GetService("ReplicatedStorage").Shared.Framework.Network.Remote.Event:FireServer("BlowBubble")
  37. end
  38. end)()
  39. end
  40. end
  41. })
  42.  
  43. -- Auto Sell
  44. local autoSellEnabled = false
  45. local sellInterval = 1 -- Default: 1 second between sells
  46. AutoTab:CreateToggle({
  47. Name = "Auto Sell Bubbles",
  48. CurrentValue = false,
  49. Flag = "AutoSellToggle",
  50. Callback = function(Value)
  51. autoSellEnabled = Value
  52. if Value then
  53. coroutine.wrap(function()
  54. while autoSellEnabled and task.wait(sellInterval) do
  55. game:GetService("ReplicatedStorage").Shared.Framework.Network.Remote.Event:FireServer("SellBubble")
  56. end
  57. end)()
  58. end
  59. end
  60. })
  61.  
  62. -- Sell Speed Slider
  63. AutoTab:CreateSlider({
  64. Name = "Sell Speed (Seconds)",
  65. Range = {0.1, 5}, -- From 0.1s to 5s
  66. Increment = 0.1,
  67. Suffix = "s",
  68. CurrentValue = sellInterval,
  69. Flag = "SellIntervalSlider",
  70. Callback = function(Value)
  71. sellInterval = Value -- Updates the sell delay when slider changes
  72. end
  73. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement