multiple functions open source
Key Required

multiple functions open source

[🎉X1000 EVENT🎉] Bee Swarm Simulator 2neutralneutral 5.2K views 147 executesUpdated May 27, 2025
3.8/ 5(4 votes)
3175% Positive
Lua Script•161 lines (6597 chars)
toclipboard([[
    https://discord.gg/bKPRWatprk
]])
local localPlayer = game:GetService("Players").LocalPlayer
local replicatedStorage = game:GetService("ReplicatedStorage")
local cd = 0
local autotool = false
local servertokens = false
local localtokens = false
local autobubble = false
local autogummy = false
local autoconvert = false
local autobuff = false
local autospirit = false
local autobrown = false
local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/dementiaenjoyer/UI-LIBRARIES/refs/heads/main/wally-modified/source.lua')))()
local window = library:CreateWindow('Credit: Neutral')
window:Section('Stuff')
window:Toggle("Auto tool",{},function(value)
autotool = value
end)
window:Toggle("Collect Local Tokens",{},function(value)
localtokens = value
end)
window:Toggle("Collect Server Tokens",{},function(value)
servertokens = value
end)
window:Toggle("Auto Bubble",{},function(value)
autobubble = value
end)
window:Toggle("Auto Gummy",{},function(value)
autogummy = value
end)
window:Toggle("Auto Convert",{},function(value)
autoconvert = value
end)
window:Toggle("Auto Buff",{},function(value)
autobuff = value
end)
window:Toggle("Auto Spirit Quest",{},function(value)
autospirit = value
end)
window:Toggle("Auto Brown Quest",{},function(value)
autobrown = value
end)

game:GetService("RunService").RenderStepped:Connect(function(delta)
    cd += delta
    local amount = 0
    local data = getsenv(localPlayer.PlayerGui.UI:GetChildren()[36])._G.PData
    local character = localPlayer.Character
    local tool = character:FindFirstChildWhichIsA("Tool")

    if localtokens then
        for _, v in workspace.Tokens[localPlayer.Name]:GetChildren() do
            if v:FindFirstChild("TouchInterest") then
                firetouchinterest(v, character.HumanoidRootPart, 0)
            end
        end
    end

    if servertokens then
        for _, v in workspace.ServerTokens:GetChildren() do
            if v:FindFirstChild("TouchInterest") then
                firetouchinterest(v, character.HumanoidRootPart, 0)
            end
        end
    end

    if autobubble then
        for _, v in workspace.ServerEffects:GetChildren() do
            if v.Name == "Bubble" and v:FindFirstChild("Player") and v.Player.Value == localPlayer.Name then
                firetouchinterest(v, character.HumanoidRootPart, 0)
                firetouchinterest(v, character.HumanoidRootPart, 1)
            end
        end
    end

    if autospirit then
        if data.Quests2["Spirit Bear"] then
            for i,v in data.Quests2["Spirit Bear"] do
                if v.StartAmount < v.NeedAmount then
                    character.HumanoidRootPart.CFrame = workspace.FieldZones[v.Field].CFrame
                else
                    amount += 1
                end
            end
            if amount >= #data.Quests2["Spirit Bear"] then
                character.HumanoidRootPart.CFrame = workspace.NPCs["Spirit Bear"].Pad.CFrame
                replicatedStorage.Remotes.Quest:FireServer("Spirit Bear")
            end
        else
            character.HumanoidRootPart.CFrame = workspace.NPCs["Spirit Bear"].Pad.CFrame
            replicatedStorage.Remotes.Quest:FireServer("Spirit Bear")
        end
    end

    if autobrown then
        if data.Quests2["Brown Bear2"] then
            for i,v in data.Quests2["Brown Bear2"] do
                if v.StartAmount < v.NeedAmount then
                    if v.Type == "FieldPollen" then
                        if (character.HumanoidRootPart.CFrame.Position - workspace.FieldZones[v.Field].CFrame.Position).Magnitude < 5 and data.Vars.Field == "" then
                            character.HumanoidRootPart.CFrame = workspace.NPCs["Brown Bear2"].Pad.CFrame
                        else
                            character.HumanoidRootPart.CFrame = workspace.FieldZones[v.Field].CFrame
                        end
                    elseif v.Type == "PollenColor" then
                        character.HumanoidRootPart.CFrame = workspace.FieldZones["Dandelion"].CFrame
                    elseif v.Type == "TypeTokens" then
                        if v.Token == "Blueberry" then
                            character.HumanoidRootPart.CFrame = workspace.FieldZones["Pine Tree"].CFrame
                        elseif v.Token == "Strawberry" then
                            character.HumanoidRootPart.CFrame = workspace.FieldZones["Rose"].CFrame
                        end
                        if not data.Cooldowns2["Sprout"] then
                            replicatedStorage.Remotes.Item:FireServer("Sprinkler")
                            replicatedStorage.Remotes.Item:FireServer("Super Sprout")
                        end
                    elseif v.Type == "AnyTokens" then
                        character.HumanoidRootPart.CFrame = workspace.FieldZones["Dandelion"].CFrame
                        if not data.Cooldowns2["Sprout"] then 
                            replicatedStorage.Remotes.Item:FireServer("Sprinkler")
                            replicatedStorage.Remotes.Item:FireServer("Super Sprout")
                        end                    
                    end
                else
                    amount += 1
                end
            end
            if amount >= #data.Quests2["Brown Bear2"] then
                character.HumanoidRootPart.CFrame = workspace.NPCs["Brown Bear2"].Pad.CFrame
                replicatedStorage.Remotes.Quest:FireServer("Brown Bear2")
            end
        else
            character.HumanoidRootPart.CFrame = workspace.NPCs["Brown Bear2"].Pad.CFrame
            replicatedStorage.Remotes.Quest:FireServer("Brown Bear2")
        end
    end

    if cd > 0.1 then
        cd = 0
        if autobuff then
            local wanted = {"Super Smoothie", "Aurora Globe", "Red Extract", "Blue Extract", "Glue", "Oil", "Purple Potion", "Enzymes", "Tropical Drink"}
            for _,v in wanted do
                if not data.Boosts[v] then
                    replicatedStorage.Remotes.Item:FireServer(v)
                end
            end
        end
        if autogummy and not data.Cooldowns2.Gumdrops then
            replicatedStorage.Remotes.Item:FireServer("Gumdrops")
        end
        if autoconvert and data.IStats.Pollen >= data.IStats.Capacity then
            replicatedStorage.Remotes.Item:FireServer("Instant Converter")
        end
        if autotool and tool and tool:FindFirstChild("CollectorScripts") then
            tool.CollectorScripts.Server.Collect:FireServer(character.HumanoidRootPart)
        end
    end
end)

Features & Information

this script requires your executor to support getsenv auto use tool auto collect server tokens auto collect user tokens auto collect user bubbles auto use gumdrops auto instant convert when full capacity auto use all buff items auto spirit bear quest auto do brown bear quest (requires sprouts to get strawberry and blueberry tokens quicker)

Community Comments (7)

Isabela_1zIsabela_1zMar 2, 2026

and bru said my script was ai

Replying to @Isabela_1z
neutralneutralMar 4, 2026

@pankoza2 my guy this is basic code and from 9 months ago

Replying to @neutral
Isabela_1zIsabela_1zMar 4, 2026

@neutral i just saw the spam locals, but looking at the full code i think u right

Replying to @Isabela_1z
neutralneutralMar 4, 2026

@pankoza2 you are a idiot, go learn what a local is, its a local variable and if you arent using variables you need to quit scripting

Replying to @neutral
Isabela_1zIsabela_1zMar 4, 2026

@neutral its advanced, and i usually dont code in lua

Replying to @Isabela_1z
neutralneutralMar 4, 2026

@pankoza2 variables are the basics of coding and its in literally every single coding language

Replying to @neutral
Isabela_1zIsabela_1zMar 4, 2026

@neutral i dont know english isnt my first language bru