bo bad autofarm
Key Required Verified

bo bad autofarm

[🛵] Restaurant Tycoon 3bo_xdbo_xd 46.4K views 505 executesUpdated Jul 28, 2025
5.0/ 5(1 votes)
10100% Positive
Lua Script•106 lines (3338 chars)
local player = game.Players.LocalPlayer
local replicatedStorage = game:GetService("ReplicatedStorage")
local taskEvent = replicatedStorage:WaitForChild("Events"):WaitForChild("Restaurant"):WaitForChild("TaskCompleted")
local playerGui = player:WaitForChild("PlayerGui")

local Settings = {
    AutoCustomer = true,
    PickupCash = true,
    PickupDishes = true
}

local getTycoon = function()
    for _, tycoon in pairs(workspace.Tycoons:GetChildren()) do
        for _, v in pairs(tycoon:GetChildren()) do
            if v:IsA("ObjectValue") and v.Value == player then
                return tycoon
            end
        end
    end
    return nil
end

local ActionRemote = function(Type, Model, tycoon)
    local args = {
        ["Tycoon"] = tycoon,
        ["Name"] = Type,
        ["FurnitureModel"] = Model
    }
    taskEvent:FireServer(args)
end

local processCustomerRequests = function()
    local tycoon = getTycoon()
    if not tycoon then return end

    local surface = tycoon.Items.Surface
    local tables = {}
    for _, model in pairs(surface:GetChildren()) do
        if model.Name:match("^T%d+$") then
            table.insert(tables, model)
        end
    end

    for _, ui in pairs(playerGui:GetChildren()) do
        if ui.Name == "CustomerSpeechUI" and ui.Adornee then
            for _, desc in pairs(ui:GetDescendants()) do
                if desc.Name == "Header" and desc:IsA("TextLabel") then
                    local groupSize = tonumber(string.match(desc.Text, "A table for (%d+), please%."))
                    if groupSize then
                        local customerModel = ui.Adornee:FindFirstAncestorOfClass("Model")
                        if customerModel then
                            for _, tableModel in pairs(tables) do
                                taskEvent:FireServer({
                                    ["FurnitureModel"] = tableModel,
                                    ["Tycoon"] = tycoon,
                                    ["Name"] = "SendToTable",
                                    ["GroupId"] = customerModel.Parent.Name
                                })
                            end
                        end
                    end
                end
            end
        end
    end
end

local collectBills = function(tycoon)
    local surface = tycoon.Items.Surface
    for _, model in pairs(surface:GetChildren()) do
        if model:FindFirstChild("Bill") then
            ActionRemote("CollectBill", model, tycoon)
            task.wait(0.1)
        end
    end
end

local collectDishes = function(tycoon)
    local surface = tycoon.Items.Surface
    for _, model in pairs(surface:GetChildren()) do
        if model:FindFirstChild("Trash") then
            ActionRemote("CollectDishes", model, tycoon)
            task.wait(0.1)
        end
    end
end

coroutine.wrap(function()
    while true do
        local tycoon = getTycoon()
        if tycoon then
            if Settings.AutoCustomer then
                processCustomerRequests()
            end
            if Settings.PickupCash then
                collectBills(tycoon)
            end
            if Settings.PickupDishes then
                collectDishes(tycoon)
            end
        else
            warn("Could not find your tycoon")
        end
        task.wait(1)
    end
end)()

Features & Information

auto customer place table auto pickup bills auto pickup dishes (yes i know the code is bad, do i care no!)

Community Comments (5)

vincentzydazvincentzydazJul 28, 2025

Don't say it atleast you know how to code

javenjavenJul 28, 2025

you can legit hire the person to handle the task >:

soyasoyasoyasoyasoyasoyaAug 23, 2025

wtf is this

ebonydingpebonydingpAug 31, 2025

how to execute this script?

veroxzfveroxzfSep 7, 2025

u cant js make like it take orders for us?

More Scripts for [🛵] Restaurant Tycoon 3