Advertisement
Ima3ine

SSSSSSS

Mar 22nd, 2023 (edited)
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. -// Setting \\-
  2. local range = 105
  3.  
  4. -// Variable \\-
  5. local player = game:GetService("Players").LocalPlayer
  6.  
  7. -// Script \\-
  8. game:GetService("RunService").RenderStepped:Connect(function()
  9. local p = game.Players:GetPlayers()
  10. for i = 2, #p do local v = p[i].Character
  11. if v and v:FindFirstChild("Humanoid") and v.Humanoid.Health > 0 and v:FindFirstChild("HumanoidRootPart") and player:DistanceFromCharacter(v.HumanoidRootPart.Position) <= range then
  12. local tool = player.Character and player.Character:FindFirstChildOfClass("Tool")
  13. if tool and tool:FindFirstChild("Handle") then
  14. tool:Activate()
  15. for i,v in next, v:GetChildren() do
  16. if v:IsA("BasePart") then
  17. firetouchinterest(tool.Handle,v,0)
  18. firetouchinterest(tool.Handle,v,1)
  19. end
  20. end
  21. end
  22. end
  23. end
  24. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement