game.Players.PlayerAdded:Connect(function(player)
local bruh = {"iiConstable_Subwayx","Censored my friends name"} -- Thats not his actual name
for i, v in pairs(bruh) do
if player.Name == v then
return nil
else
player:Kick('This game is currently only open to ' .. bruh[1] .. ' and, ' .. bruh[2] .. '. This is still a work in progress')
end
end
end)
Alright, if I try this, it only works for the name in table[1], For example, if I put my friend's name there and my name after, it's broken for me and kicks me, however, it would work for him, any ideas on why and how I could fix it?

2 comments
Yes this worked, Thanks
np