Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do you kill all players when the round ends?

I am a beginner at scripting and I need YOUR help! Can you kill all players when the round ends? I tried this:

wait(120)
script.Parent.Parent.Players.GetAllChildren()
-- ??????????????????????????????????????

This is where I get stuck! I need help! Can you do it?

1 answer

✓ Accepted answer

Since this is more like a request, if you can get the list of players that are still alive in game. Here you go..

for _,v in next,alivePlayers do
v:LoadCharacter()
end

This discussion is preserved as it was. New answers, comments, and votes are closed.