SilverExploitz

OP Fruit Collecting Script

Aug 9th, 2020
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. _G.FarmApples = true
  2. local args = {
  3. [1] = "PurchaseTool",
  4. [2] = "StormBreaker"
  5. }
  6. local lp = game.Players.LocalPlayer
  7. game:GetService("ReplicatedStorage").Events.Server:InvokeServer(unpack(args))
  8. local args = {
  9. [1] = "Apple",
  10. [2] = lp.Backpack:FindFirstChildOfClass("Tool") or lp.Character:FindFirstChildOfClass("Tool")
  11. }
  12. while _G.FarmApples and wait() do
  13. spawn(function()
  14. local a = 0
  15. repeat
  16. a = a + 1
  17. game:GetService("ReplicatedStorage").Events.Collect:FireServer(unpack(args))
  18. until a == 10
  19. game.Players.LocalPlayer.PlayerGui.MainGui.ScreenFrame.PopUpFrame.Visible = false
  20. game.Players.LocalPlayer.PlayerGui.MainGui.ScreenFrame.LevelUp.Visible = false
  21. game.Players.LocalPlayer.PlayerGui.MainGui.ScreenFrame.BackpackFullFrame.Visible = false
  22. end)
  23. end
Add Comment
Please, Sign In to add comment