Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Whitelist
- local whitelist = {
- game.Players.LocalPlayer.Name,
- "WATTNATOR234",
- "Thesozombie"
- }
- -- BRRRRR
- game:GetService("RunService").RenderStepped:Connect(function()
- -- Variables
- local npcs = {}
- local folders = {workspace["-LIVING-"],workspace}
- -- Get all targets
- for i = 1, #folders do local folder = folders[i]
- for i,v in pairs(folder:GetChildren()) do
- if not table.find(whitelist,v.Name) and v:FindFirstChild("Humanoid") and v.Humanoid.Health > 0 then
- table.insert(npcs,v.Humanoid)
- end
- end
- end
- -- Attack
- game.ReplicatedStorage.Hit.None:FireServer(npcs, 2, 3)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement