BobloScript.com

Bee Garden script: Auto Buy Eggs, Auto Collect

Published by bebraPublished May 18
Open in Roblox
66Views
39Copies
NeverUpdated

Description

Bee Garden script helps players automate collecting and progression while building the perfect flower garden. With Auto Buy Eggs enabled, the script automatically purchases eggs from conveyors to help players unlock more flowers, bees, and rare variations faster. The script also includes Auto Collect functionality for gathering rewards and income automatically without manual interaction. These features make farming resources, expanding your garden, and growing your collection much easier and more efficient.

Functions

  • Auto Buy Eggs
  • Auto Collect
  • Auto Farm
  • Fast Collection
  • Automatic Egg Purchasing
  • Idle Farming

Script Code

Raw Code
loadstring(game:HttpGet("https://raw.githubusercontent.com/femmehomme90-web/scripts/refs/heads/main/BeeGarden"))()its open source so you can go to the raw and see the code if you want.-- little script for : https://www.roblox.com/fr/games/81535567274521/Bee-Garden-- autobuy based on your conveyor-- autocollect coinslocal VoidUI = loadstring(game:HttpGet("https://raw.githubusercontent.com/femmehomme90-web/VoidUI/refs/heads/main/voidUI.lua"))()local Players = game:GetService("Players")local player = Players.LocalPlayerlocal ReplicatedStorage = game:GetService("ReplicatedStorage")local purchaseRemote = ReplicatedStorage.Events.PurchaseConveyorEgglocal claimCoinsRemote = ReplicatedStorage.Events.ClaimCoins-- ── UI ──local iconList = player.PlayerGui.Main.Frames.Conveyor.ConveyorInfo.InfoFrame.Listlocal Window = VoidUI:CreateWindow({    Title = "Bee Script",    Size  = UDim2.new(0, 520, 0, 460),})local Tab = Window:AddTab("Eggs")local TabFarm = Window:AddTab("Farm")local selectedEggs = {}local function getItems()    local items = {}    for _, frame in ipairs(iconList:GetChildren()) do        if frame:IsA("Frame") and frame.Name ~= "Template" then            local icon = frame:FindFirstChild("Icon", true)            table.insert(items, {                Name = frame.Name,                Icon = icon and icon.Image or "",            })        end    end    return itemsendlocal function refresh()    selectedEggs = {}    Tab:Clear()    Tab:AddLabel("Oeufs disponibles")    Tab:AddCardGrid({        Items    = getItems(),        Columns  = 3,        Callback = function(selected)            selectedEggs = selected        end,    })    Tab:AddButton({        Label  = "ACTUALISER",        Colors = { Color3.fromRGB(130, 80, 255), Color3.fromRGB(220, 80, 160) },        Callback = function()            refresh()            VoidUI:Notify({                Title    = "Bee Script",                Message  = "Liste des oeufs mise a jour !",                Type     = "info",                Duration = 2,            })        end,    })endrefresh()-- ── Détection du plot ──local plots = workspace.Core.Scriptable.Plotslocal playerPlot = nillocal playerPlotId = nilfor i = 1, 5 do    local plot = plots[tostring(i)]    if plot then        local honeyPot = plot:FindFirstChild("HoneyPot")        if honeyPot then            if honeyPot:GetAttribute("OwnerName") == player.Name then                playerPlot = plot                playerPlotId = tostring(i)                break            end        end    endendif not playerPlot then    print("Aucun plot trouve.")    returnend-- ── Auto-buy ──local eggs = playerPlot:FindFirstChild("Eggs")if not eggs then    print("Pas de dossier Eggs.")    returnendlocal function tryBuyEgg(egg)    local baseName = egg:GetAttribute("baseName")    if baseName and selectedEggs[baseName] then        task.wait(math.random(5, 10) / 10)        purchaseRemote:FireServer(egg.Name, playerPlotId)        print("Achete : " .. baseName)    endendfor _, egg in ipairs(eggs:GetChildren()) do    task.spawn(function() tryBuyEgg(egg) end)endeggs.ChildAdded:Connect(function(egg)    task.spawn(function() tryBuyEgg(egg) end)end)-- ── Onglet Farm — Claim Coins ──local autoClaimEnabled = falselocal claimInterval = 20local nextClaimIn = 0TabFarm:AddLabel("Claim Coins")local toggleClaim = TabFarm:AddToggle({    Label    = "Auto Claim Coins",    Default  = false,    Callback = function(v)        autoClaimEnabled = v        VoidUI:Notify({            Title    = "Auto Claim",            Message  = v and "Claim automatique activé (/" .. claimInterval .. "s)" or "Claim automatique désactivé",            Type     = v and "success" or "warning",            Duration = 2,        })    end,})local sliderInterval = TabFarm:AddSlider({    Label    = "Intervalle",    Min      = 10,    Max      = 60,    Default  = 20,    Suffix   = "s",    Callback = function(v)        claimInterval = v    end,})local progressClaim = TabFarm:AddProgressBar({    Label  = "Prochain claim",    Value  = 20,    Max    = 20,    Suffix = "s",})TabFarm:AddButton({    Label    = "Claim maintenant",    Colors   = { Color3.fromRGB(130, 80, 255), Color3.fromRGB(220, 80, 160) },    Callback = function()        claimCoinsRemote:FireServer("Collect_Coins")        nextClaimIn = claimInterval        VoidUI:Notify({            Title    = "Claim Coins",            Message  = "Coins réclamés manuellement !",            Type     = "success",            Duration = 2,        })    end,})-- ── Boucle Claim Coins ──task.spawn(function()    nextClaimIn = claimInterval    while true do        task.wait(1)        if autoClaimEnabled then            nextClaimIn = nextClaimIn - 1            progressClaim:SetValue(math.max(nextClaimIn, 0))            if nextClaimIn <= 0 then                claimCoinsRemote:FireServer("Collect_Coins")                nextClaimIn = claimInterval                progressClaim:SetValue(claimInterval)                VoidUI:Notify({                    Title    = "Claim Coins",                    Message  = "Coins réclamés automatiquement !",                    Type     = "success",                    Duration = 2,                })            end        else            -- Reset le compteur quand désactivé            nextClaimIn = claimInterval            progressClaim:SetValue(claimInterval)        end    endend)-- ── Notification de démarrage ──VoidUI:Notify({    Title    = "Bee Script",    Message  = "Auto-buy actif sur le plot " .. playerPlotId,    Type     = "success",    Duration = 3,})

Comments

Loading comments…