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

AccessNO KEY Created18.05.2026 Updated18.05.2026 Developerakkiwi
Bee GardenExplore more scripts for this game

Script Code

205 lines · 6 KB
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 coins


local VoidUI = loadstring(game:HttpGet("https://raw.githubusercontent.com/femmehomme90-web/VoidUI/refs/heads/main/voidUI.lua"))()
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local purchaseRemote = ReplicatedStorage.Events.PurchaseConveyorEgg
local claimCoinsRemote = ReplicatedStorage.Events.ClaimCoins

-- ── UI ──
local iconList = player.PlayerGui.Main.Frames.Conveyor.ConveyorInfo.InfoFrame.List
local 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 items
end

local 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,
    })
end
refresh()

-- ── Détection du plot ──
local plots = workspace.Core.Scriptable.Plots
local playerPlot = nil
local playerPlotId = nil

for 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
    end
end

if not playerPlot then
    print("Aucun plot trouve.")
    return
end

-- ── Auto-buy ──
local eggs = playerPlot:FindFirstChild("Eggs")
if not eggs then
    print("Pas de dossier Eggs.")
    return
end

local 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)
    end
end

for _, egg in ipairs(eggs:GetChildren()) do
    task.spawn(function() tryBuyEgg(egg) end)
end

eggs.ChildAdded:Connect(function(egg)
    task.spawn(function() tryBuyEgg(egg) end)
end)

-- ── Onglet Farm — Claim Coins ──
local autoClaimEnabled = false
local claimInterval = 20
local nextClaimIn = 0

TabFarm: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
    end
end)

-- ── Notification de démarrage ──
VoidUI:Notify({
    Title    = "Bee Script",
    Message  = "Auto-buy actif sur le plot " .. playerPlotId,
    Type     = "success",
    Duration = 3,
})

Comments

0

No comments yet.