Keimu

Legends of Speed Auto Orbs

Feb 5th, 2023
487
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. -- By DylanIsAKing#2402 :)
  2.  
  3. if getgenv().autoCollect then getgenv().autoCollect = false
  4. else getgenv().autoCollect = true
  5. end
  6.  
  7. local function touch(object)
  8. firetouchinterest(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart, object, 0)
  9. firetouchinterest(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart, object, 1)
  10. end
  11.  
  12. while getgenv().autoCollect do
  13. for i, v in pairs(game:GetService("Workspace").orbFolder.City:GetChildren()) do
  14. if v:FindFirstChild("outerOrb") then
  15. touch(v.outerOrb)
  16. elseif v:FindFirstChild("outerGem") then
  17. touch(v.outerGem)
  18. end
  19. task.wait()
  20. end
  21. for i, v in pairs(game:GetService("Workspace").Hoops:GetChildren()) do
  22. touch(v)
  23. task.wait()
  24. end
  25. end
Advertisement
Add Comment
Please, Sign In to add comment