BjeffeHund

Untitled

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