auto pantry and fridge
Key Required Verified

auto pantry and fridge

Hell's KitchenTomatoTomato 47.3K views 112 executesUpdated Apr 8, 2025
0.0/ 5(1 votes)
010% Positive
Lua Script•41 lines (1358 chars)
local LocalPlayer = game:GetService("Players").LocalPlayer
local NextSteps = LocalPlayer.PlayerGui.ScreenGui.NextSteps
local Steps = NextSteps.Steps
local CurrentAction = NextSteps.CurrentAction

local function GetCurrentTask()
    if CurrentAction.Value == 0 then return false end
    return Steps[tostring(CurrentAction.Value)]
end

warn(Action)
local function GetIngredients(CurrentTask)
    local TempIngredients = CurrentTask.Ingredients:GetChildren()
    local Ingredients = {}
    for i,v in pairs(TempIngredients) do
        if v.ClassName ~= "Frame" then continue end
        local Ingred = v.ViewportFrame:FindFirstChildWhichIsA("Model")
        if v.Name == "Ingredient" and Ingred then
            table.insert(Ingredients, Ingred.Name)
        end
    end
    return Ingredients
end
local function GatherIngredient(dum, IngredientName)
task.spawn(function()
local args = {
    [1] = IngredientName
}

game:GetService("ReplicatedStorage"):WaitForChild("LocalModules"):WaitForChild("LMKitchen"):WaitForChild("ServerRec"):WaitForChild("ObtainFood"):InvokeServer(unpack(args))
end)
end

while wait(.1) do
    local CurrentTask = GetCurrentTask()
    local Action = CurrentTask.Action.TextLabel.Text
    warn(Action)
    if Action == "Pantry" or Action == "Fridge" then
        table.foreach(GetIngredients(CurrentTask), GatherIngredient)
    end
end

Features & Information

Execute when pre-service starts or whenever, should auto collect ingredients from pantry and fridge If it stops working simply execute it again. WIP
#auto#hub#full#free#keyless

Community Comments (2)

Albert_Quandale_IVAlbert_Quandale_IVApr 24, 2025

works exept for one food

Ju1ceTheRealestJu1ceTheRealestOct 15, 2025

still working after 6 months

More Scripts for Hell's Kitchen