Key Required Verified

Key Required Verified
kill everyone (in a video game)
Lua Script•6 lines (221 chars)
for _, child in ipairs(workspace:GetDescendants()) do
if child.ClassName == "Model" and child:FindFirstChild("Humanoid") then
wait(.25)
game.ReplicatedStorage.sounds:FireServer(child.Humanoid, "de")
end
endFeatures & Information
literlaly just kill everyone (IN A VIDEO GAME)
Community Comments (2)
More Scripts for goo animal simulator
Key Required Verified

this is flawed, you're looping through every dead body which is dropped and not despawned which makes the script slower for i,v in next,game.Players:GetPlayers() do if v.Character and v.Character:FindFirstChild("Humanoid") then task.wait(.2) game:GetService("ReplicatedStorage").sounds:FireServer(v.Character.Humanoid,"de") end end
Doesn't need to be perfect, my friend made this (hence why all other scripts i have made use next, and not ipairs lol) Thanks for your feedback though