I am making a "Only Allowed Players" script but it will kick everyone join the game include the allowed players.
local allowed = {545158376,0} -- Allowed players
game.Players.PlayerAdded:Connect(function(player)
if player.UserId~= allowed then
player:Kick("Tester only!")
end
end)
