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

How to make the system kick all players?

1 answer

✓ Accepted answer
for x,d in pairs(game.Players:GetChildren()) do
	d:Kick("booted")
end

Or simply:

game.Players:ClearAllChildren()

3 comments

0

GetPlayers() is better now it exists

0

dont use GetChildren() use children()

0

oh no

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