BjeffeHund

Untitled

Jan 26th, 2020
1,609
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.91 KB | None | 0 0
  1. local onSeatAll = false
  2. local autoCoock = false
  3. local autof = false
  4. local nogui = false
  5. local per = ""
  6. local library = loadstring(game:HttpGet("https://pastebin.com/raw/7Z6TzFnv", true))()
  7. local Autofarm = library:CreateWindow({text = "Autofarm"})
  8. Autofarm:AddToggle("Autofarm", function(state)
  9. onSeatAll = (state and true or false)
  10. local autoseat = coroutine.wrap(function()
  11. while wait() do
  12. if onSeatAll then
  13. for i,v in pairs(game:GetService("Workspace").Tycoons:GetChildren()) do
  14. if v:FindFirstChild("Player").Value == game.Players.LocalPlayer then
  15. for i,x in pairs(v.Customers:GetChildren()) do
  16. for i,z in pairs(v.Items.OftenFiltered.Tables:GetChildren()) do
  17. z.Name = math.random(1,100)
  18. for i,lol in pairs(x:GetChildren()) do
  19. if lol:FindFirstChildWhichIsA("Model") then
  20. for i,ok in pairs(lol:GetChildren()) do
  21. for i,lmao in pairs(v.Items.OftenFiltered.Kitchen:GetChildren()) do
  22. if lmao:FindFirstChild("OrderedFoods") then
  23. if lmao.OrderedFoods:FindFirstChildWhichIsA("Model") then
  24. if v.Items.OftenFiltered.Kitchen[lmao.Name].OrderedFoods:FindFirstChild(ok.WaitingFor.Value) then
  25. 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})
  26. wait(0.1)
  27. end
  28. end
  29. end
  30. end
  31. game:GetService("ReplicatedStorage").Events.ClientTycoonInput:FireServer(v, {["name"] = "SendToTable", ["obj"] = v.Items.OftenFiltered.Tables[z.Name], ["group"] = x.Name, ["tycoon"] = v, ["customer"] = ok.Name})
  32. game:GetService("ReplicatedStorage").Events.ClientTycoonInput:FireServer(v, {["customer"] = ok.name, ["tycoon"] = v, ["name"] = "ManageCustomers", ["group"] = x.Name})
  33. game:GetService("ReplicatedStorage").Events.ClientTycoonInput:FireServer(v, {["name"] = "ClearTrash", ["model"] = v.Items.OftenFiltered.Tables[z.Name]})
  34. game:GetService("ReplicatedStorage").Events.ClientTycoonInput:FireServer(v, {["name"] = "CollectBill", ["model"] = v.Items.OftenFiltered.Tables[z.Name]})
  35. if ok.WaitingFor.Value > 0 then
  36. for i,no in pairs(v.Items.OftenFiltered.Kitchen:GetChildren()) do
  37. game:GetService("ReplicatedStorage").Events.SpawnFood:FireServer(v, ok.WaitingFor.Value)
  38. game:GetService("ReplicatedStorage").Events.CookFinished:FireServer(v.Items.OftenFiltered.Kitchen[no.Name], false)
  39. end
  40. end
  41. wait(0.1)
  42. end
  43. end
  44. end
  45. end
  46. end
  47. end
  48. end
  49. end
  50. end
  51. end)
  52. autoseat()
  53. local autocoock = coroutine.wrap(function()
  54. while wait() do
  55. if onSeatAll then
  56. for i,v in pairs(game:GetService("Workspace").Tycoons:GetChildren()) do
  57. if v:FindFirstChild("Player").Value == game.Players.LocalPlayer then
  58. for i,z in pairs(v.Items.OftenFiltered.Kitchen:GetChildren()) do
  59. if v.Items.OftenFiltered.Kitchen[z.Name]:FindFirstChild("SGP") then
  60. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Items.OftenFiltered.Kitchen[z.Name].SGP.CFrame
  61. end
  62. game:GetService("VirtualUser"):SetKeyDown("e")
  63. game:GetService("VirtualUser"):SetKeyUp("e")
  64. end
  65. end
  66. end
  67. end
  68. end
  69. end)
  70. autocoock()
  71. end)
  72. Autofarm:AddToggle("Remove The Fking Guis", function(state)
  73. local fuckgui = coroutine.wrap(function()
  74. nogui = (state and true or false)
  75. while wait(0.2) do
  76. if nogui then
  77. for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui:GetChildren()) do
  78. if v:FindFirstChild("Frame") then
  79. v.Frame.Visible = false
  80. end
  81. end
  82. end
  83. end
  84. end)
  85. fuckgui()
  86. end)
  87. local food = library:CreateWindow({text = "Buy New Food Settings"})
  88. food:AddBox("Getting new food delay", function(o, f)
  89. if f then
  90. per = tonumber(o.Text)
  91. end
  92. end)
  93. food:AddToggle("Auto get new food", function(state)
  94. autof = (state and true or false)
  95. local autofood = coroutine.wrap(function()
  96. while wait(per) do
  97. if autof then
  98. game:GetService("ReplicatedStorage").Events.OpenLunchBox:InvokeServer(false)
  99. end
  100. end
  101. end)
  102. autofood()
  103. end)
Add Comment
Please, Sign In to add comment