<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<>>>>>>>>>><
COMMUNITY QUESTION
How do i kick everyone in the server exept for myself?
1 answer
To do this you'd need to use a loop:
local players = game:GetService("Players").PlayerAdded:Connect(function(plr)
plr = game.Players:GetChildren()
for i,v in pairs(plr) do
if v.Name ~= "IEntity_303I" then
v:Kick()
end)
end
end
This discussion is preserved as it was. New answers, comments, and votes are closed.

5 comments
Ask me for any clarification, I haven't tested this out so I may be wrong
k
i fixed your script it didnt have enought ends :
enough<'
I only forgot to add 1 end, as I said before I didn't test it out.