If I were to code the following:
Allowed = {"XanthicDragon", "InsertNameHere"}
k = false
function KickRandomPlayer()
local Players = game:GetService("Players").NumPlayers --Is that the variable? I may be wrong
local random = math.random(1, Players)
game.Players:GetChildren()[random]:Kick()
end
game:GetService("Players").PlayerAddedEarly:connect(function (Player)
for _,v in ipairs(Allowed) do
if Player.Name == v then
k = true
end
end
if k then
KickRandomPlayer()
k = false
end
end)
Would this event fire and kick a random player if one of the players found in "Allowed" were attempting to join a full server?

3 comments
http://wiki.roblox.com/index.php?title=Object:Players/events
Appears to be protected though, so yeah. Though either way you meant EVENT, not FUNCTION.
Yeah...