Advertisement
Msizz

Deflect Beta

Sep 7th, 2023
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. print("Loaded!")
  2. while true do
  3. wait()
  4. local thing1 = game.Players.LocalPlayer.Character.HumanoidRootPart
  5. local thing2 = game:GetService("Workspace").Balls
  6. for i,v in pairs(thing2:GetChildren()) do
  7. if v:IsA("Part") or v:IsA("MeshPart") then
  8. local distance = (v.Position - thing1.Position).magnitude
  9. if distance <= 54 then
  10. mouse1click()
  11. print("ball was in 52")
  12. end
  13. end
  14. end
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement