Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local onSeatAll = false
- local autoCoock = false
- local autof = false
- local nogui = false
- local per = ""
- local library = loadstring(game:HttpGet("https://pastebin.com/raw/7Z6TzFnv", true))()
- local Autofarm = library:CreateWindow({text = "Autofarm"})
- Autofarm:AddToggle("Autofarm", function(state)
- onSeatAll = (state and true or false)
- local autoseat = coroutine.wrap(function()
- while wait() do
- if onSeatAll then
- for i,v in pairs(game:GetService("Workspace").Tycoons:GetChildren()) do
- if v:FindFirstChild("Player").Value == game.Players.LocalPlayer then
- for i,x in pairs(v.Customers:GetChildren()) do
- for i,z in pairs(v.Items.OftenFiltered.Tables:GetChildren()) do
- z.Name = math.random(1,100)
- for i,lol in pairs(x:GetChildren()) do
- if lol:FindFirstChildWhichIsA("Model") then
- for i,ok in pairs(lol:GetChildren()) do
- for i,lmao in pairs(v.Items.OftenFiltered.Kitchen:GetChildren()) do
- if lmao:FindFirstChild("OrderedFoods") then
- if lmao.OrderedFoods:FindFirstChildWhichIsA("Model") then
- if v.Items.OftenFiltered.Kitchen[lmao.Name].OrderedFoods:FindFirstChild(ok.WaitingFor.Value) then
- game:GetService("ReplicatedStorage").Events.ClientTycoonInput:FireServer(v, {["models"] = {[1] = v.Items.OftenFiltered.Kitchen[lmao.Name].OrderedFoods[ok.WaitingFor.Value]}, ["name"] = "ManageFood", ["model"] = v.Items.OftenFiltered.Kitchen[lmao.Name].OrderedFoods[ok.WaitingFor.Value], ["customer"] = ok.Name, ["tycoon"] = v, ["group"] = x.Name})
- wait(0.1)
- end
- end
- end
- end
- game:GetService("ReplicatedStorage").Events.ClientTycoonInput:FireServer(v, {["name"] = "SendToTable", ["obj"] = v.Items.OftenFiltered.Tables[z.Name], ["group"] = x.Name, ["tycoon"] = v, ["customer"] = ok.Name})
- game:GetService("ReplicatedStorage").Events.ClientTycoonInput:FireServer(v, {["customer"] = ok.name, ["tycoon"] = v, ["name"] = "ManageCustomers", ["group"] = x.Name})
- game:GetService("ReplicatedStorage").Events.ClientTycoonInput:FireServer(v, {["name"] = "ClearTrash", ["model"] = v.Items.OftenFiltered.Tables[z.Name]})
- game:GetService("ReplicatedStorage").Events.ClientTycoonInput:FireServer(v, {["name"] = "CollectBill", ["model"] = v.Items.OftenFiltered.Tables[z.Name]})
- if ok.WaitingFor.Value > 0 then
- for i,no in pairs(v.Items.OftenFiltered.Kitchen:GetChildren()) do
- game:GetService("ReplicatedStorage").Events.SpawnFood:FireServer(v, ok.WaitingFor.Value)
- game:GetService("ReplicatedStorage").Events.CookFinished:FireServer(v.Items.OftenFiltered.Kitchen[no.Name], false)
- end
- end
- wait(0.1)
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end)
- autoseat()
- local autocoock = coroutine.wrap(function()
- while wait() do
- if onSeatAll then
- for i,v in pairs(game:GetService("Workspace").Tycoons:GetChildren()) do
- if v:FindFirstChild("Player").Value == game.Players.LocalPlayer then
- for i,z in pairs(v.Items.OftenFiltered.Kitchen:GetChildren()) do
- if v.Items.OftenFiltered.Kitchen[z.Name]:FindFirstChild("SGP") then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Items.OftenFiltered.Kitchen[z.Name].SGP.CFrame
- end
- game:GetService("VirtualUser"):SetKeyDown("e")
- game:GetService("VirtualUser"):SetKeyUp("e")
- end
- end
- end
- end
- end
- end)
- autocoock()
- end)
- Autofarm:AddToggle("Remove The Fking Guis", function(state)
- local fuckgui = coroutine.wrap(function()
- nogui = (state and true or false)
- while wait(0.2) do
- if nogui then
- for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui:GetChildren()) do
- if v:FindFirstChild("Frame") then
- v.Frame.Visible = false
- end
- end
- end
- end
- end)
- fuckgui()
- end)
- local food = library:CreateWindow({text = "Buy New Food Settings"})
- food:AddBox("Getting new food delay", function(o, f)
- if f then
- per = tonumber(o.Text)
- end
- end)
- food:AddToggle("Auto get new food", function(state)
- autof = (state and true or false)
- local autofood = coroutine.wrap(function()
- while wait(per) do
- if autof then
- game:GetService("ReplicatedStorage").Events.OpenLunchBox:InvokeServer(false)
- end
- end
- end)
- autofood()
- end)
Add Comment
Please, Sign In to add comment