Advertisement
Scelt

Fame Simulator Autofarm

Jan 26th, 2019
890
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. local Stage = "1"
  2. local FarmerNPCs = 3
  3.  
  4. _G.Farming = true
  5. local isGone = false
  6. local SelectRemote = game.ReplicatedStorage.Requests.Select
  7. local ClickRemote = game.ReplicatedStorage.Requests.Click
  8. local GetItems = game.Workspace.Map["World 1"]["Stage "..Stage].Items:GetChildren()
  9. repeat wait()
  10. for i=1,#GetItems do
  11. if _G.Farming == true then
  12. wait()
  13. isGone = false
  14. for a=1,FarmerNPCs do
  15. SelectRemote:FireServer(GetItems[i])
  16. end
  17. wait()
  18. repeat
  19. wait()
  20. ClickRemote:FireServer()
  21. until _G.Farming == false or not GetItems[i]:FindFirstChild("Click")
  22. end
  23. end
  24. until _G.Farming == false
  25.  
  26. --Do disable the autofarm use this: _G.Farming = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement