Let's say, I have a table.
local player1 = {"username", "username2", "etc"}
Player.Name == player1[1] or player1[2] or payer1[3] or player1[4] or player1[5]
How could I let's say do
Player.Name == player1[all]
instead of repeating player[1]/player[#] and so on?
I tried a for i,v; didn't work.
I tried doing
for i=1, #player1 do
print(player1[i])
end
but it only goes through one player, then stops.

3 comments
sorry for the very unorganized format
What you want the function to do? Because you can't change a player's name like that
http://wiki.roblox.com/index.php?title=Global_namespace/Table_manipulation table.concat might help