Advertisement
lukeliam2012

E

May 31st, 2021
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. for i,v in pairs(getgc()) do
  2. if type(v) == "function" and tostring(getfenv(v).script) == "JobManager" then
  3. if getinfo(v).name == "GetJob" then
  4. getgenv().Job = v
  5. end
  6. end
  7. end
  8.  
  9. getgenv().BloxyBurgersCashierFarm = true;
  10.  
  11. while wait() do
  12. if BloxyBurgersCashierFarm and Job() == "BloxyBurgersCashier" then
  13. for i,v in pairs(workspace.Environment.Locations.BloxyBurgers.CashierWorkstations:GetChildren()) do
  14. if tostring(v.InUse.Value) == game.Players.LocalPlayer.Name then
  15. if v.Occupied.Value.Order then
  16. local BurgerValue = v.Occupied.Value.Order.Burger.Value
  17. local FriesValue = v.Occupied.Value.Order.Fries.Value
  18. local ColaValue = v.Occupied.Value.Order.Cola.Value
  19.  
  20. warn(BurgerValue, FriesValue, ColaValue)
  21.  
  22. if BurgerValue ~= nil or BurgerValue ~= false then
  23. wait(0.2)
  24. getconnections(v.OrderDisplay.DisplayMain.CashierGUI.Frame[BurgerValue].Activated)[1]:Fire()
  25. end
  26.  
  27. if ColaValue == true then
  28. wait(0.2)
  29. getconnections(v.OrderDisplay.DisplayMain.CashierGUI.Frame["Cola"].Activated)[1]:Fire()
  30. end
  31.  
  32. if FriesValue == true then
  33. wait(0.2)
  34. getconnections(v.OrderDisplay.DisplayMain.CashierGUI.Frame["Fries"].Activated)[1]:Fire()
  35. end
  36.  
  37. wait(0.5)
  38.  
  39. getconnections(v.OrderDisplay.DisplayMain.CashierGUI.Frame["Done"].Activated)[1]:Fire()
  40.  
  41. end
  42. end
  43. end
  44. end
  45.  
  46. wait(3)
  47. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement