local players = game:GetService("Players") local player = players.LocalPlayer local function teleport(part) local character = player.Character or player.CharacterAdded:Wait() local root = character:WaitForChild("HumanoidRootPart") if part and part:IsA("BasePart") then root.CFrame = part.CFrame * CFrame.new(0, 3, 0) task.wait(0.5) elseif part and part:FindFirstChildWhichIsA("BasePart", true) then local basepart = part:FindFirstChildWhichIsA("BasePart", true) root.CFrame = basepart.CFrame * CFrame.new(0, 3, 0) task.wait(0.5) end end local function equip(item) local character = player.Character or player.CharacterAdded:Wait() local humanoid = character:WaitForChild("Humanoid") if item and item:IsA("Tool") and item.Parent == player.Backpack then humanoid:EquipTool(item) task.wait(0.3) end end local function find(name) for _, item in pairs(player.Backpack:GetChildren()) do if item.Name:match(name) then return item end end return nil end local count = 0 while true do count = count + 1 print("========================================") print("Starting baking cycle #" .. count) print("========================================") print("Grabbing Flour...") teleport(workspace.BreadIngredients.FlourGiver.Pile) fireproximityprompt(workspace.BreadIngredients.FlourGiver.Pile.ProximityPrompt) task.wait(0.5) print("Grabbing Yeast...") teleport(workspace.BreadIngredients.YeastGiver.Pile) fireproximityprompt(workspace.BreadIngredients.YeastGiver.Pile.ProximityPrompt) task.wait(0.5) print("Grabbing Water (Empty)...") local empty = find("Water %[Empty%]") if empty then equip(empty) end teleport(workspace.BreadIngredients.WaterTank.Fosset) fireproximityprompt(workspace.BreadIngredients.WaterTank.Fosset.ProximityPrompt) task.wait(0.5) print("Placing flour and yeast in mixing bowl...") local bowl = workspace.BreadEquipment.MixingBowls:GetChildren()[2] teleport(bowl) fireproximityprompt(bowl.ProximityPrompt) print("Mixing flour and yeast...") task.wait(4) print("Waiting for flour to be fully mixed...") repeat task.wait(0.5) until bowl.Flour.Transparency == 0 print("Adding water to mixture...") local water = find("Water") if water and not water.Name:match("Empty") then equip(water) end fireproximityprompt(bowl.ProximityPrompt) print("Mixing water...") task.wait(4) print("Waiting for dough to form...") repeat task.wait(0.5) until bowl.Dough.Transparency == 0 print("Collecting doughs...") fireproximityprompt(bowl.ProximityPrompt) task.wait(1) print("Kneading doughs...") local table = workspace.BreadEquipment.KneadingTable.PromtPart teleport(table) local function getdoughs() local doughs = {} for _, item in pairs(player.Backpack:GetChildren()) do if item.Name:match("Dough") and item.Name:match("%[unkneaded%]") and not item.Name:match("%[Not raised%]") then table.insert(doughs, item) end end return doughs end local kneads = 0 while #getdoughs() > 0 do local doughs = getdoughs() for _, dough in pairs(doughs) do kneads = kneads + 1 print("Kneading dough " .. kneads .. "/3...") equip(dough) fireproximityprompt(table.ProximityPrompt) task.wait(6.5) break end task.wait(0.5) end print("All doughs kneaded!") print("Cycle #" .. count .. " complete!") print("========================================") task.wait(1) end