Advertisement
probanana

Monkey Tycoon Autofarm Script

Dec 11th, 2022
1,342
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. local func;
  2. for i,v in next, getgc(true) do
  3. if type(v) == 'function' and islclosure(v) and not is_synapse_function(v) and getinfo(v).name == 'collect' then
  4. func = v
  5. end
  6. end
  7.  
  8. for i,v in next, workspace.Drops:GetChildren() do
  9. func(v)
  10. end
  11.  
  12. workspace.Drops.ChildAdded:Connect(function(a)
  13. task.wait(0.2)
  14. func(a)
  15. end)
  16.  
  17. game.Players.LocalPlayer.PlayerGui.MainUI.DropsInventory.Amount.Amount.Changed:Connect(function(a)
  18. if a == 'Text' then
  19. game:GetService("ReplicatedStorage").GTycoonClient.Remotes.DepositDrops:FireServer()
  20. end
  21. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement