SHAD_vm

Auto Farm/Destroy

Oct 14th, 2021 (edited)
366
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[
  2. Destroyer Simulator
  3.  
  4. Auto Farm/Destroy
  5. Farm Halloween Coins and Gems
  6.  
  7. READ THIS
  8. If you want more profit, you will need more power
  9. example: if the health of the object is 500, you also need 500 power to break it the first time
  10.  
  11. -- made by SHAD_vm#5041
  12. --]]
  13.  
  14.  
  15.  
  16. local t = true -- On
  17. local f = false -- Off
  18. _G.g = t
  19. while _G.g do
  20. wait(1) -- You can delete 1, it will working a little faster
  21. for i,v in pairs(game:GetService("Workspace")["__THINGS"].Items:GetChildren()) do
  22.    
  23.     local playerPos = game.Players.LocalPlayer.Character.HumanoidRootPart
  24.     local itemRoot = v.Model.Root
  25.     local magnitude = (playerPos.Position - itemRoot.Position).magnitude
  26.  
  27.     if magnitude <= 100 then
  28.       -- 'magnitude' is the radius around you
  29.       -- I don't recommend increasing it by more than 500
  30.  
  31.         playerPos.CFrame = itemRoot.CFrame
  32.         fireclickdetector(v.Model.ClickDetector)
  33.         print(v)
  34.         wait(0.12) -- dont change it if you dont know what it is
  35.         --break;  
  36.     end
  37. end
  38. end
RAW Paste Data