Advertisement
Cizzy

jojo

Feb 22nd, 2021
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. -- Whitelist
  2. local whitelist = {
  3. game.Players.LocalPlayer.Name,
  4. "WATTNATOR234",
  5. "Thesozombie"
  6. }
  7.  
  8. -- BRRRRR
  9. game:GetService("RunService").RenderStepped:Connect(function()
  10. -- Variables
  11. local npcs = {}
  12. local folders = {workspace["-LIVING-"],workspace}
  13. -- Get all targets
  14. for i = 1, #folders do local folder = folders[i]
  15. for i,v in pairs(folder:GetChildren()) do
  16. if not table.find(whitelist,v.Name) and v:FindFirstChild("Humanoid") and v.Humanoid.Health > 0 then
  17. table.insert(npcs,v.Humanoid)
  18. end
  19. end
  20. end
  21. -- Attack
  22. game.ReplicatedStorage.Hit.None:FireServer(npcs, 2, 3)
  23. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement