local admins = {'Player1', 'Player2'}
for _, v in ipairs(admins) do
print(_, admins)
if player.Name == v then
adminButton.Visible = true
else
break
end
end
When it prints, it prints some random letters and number in the output. I'm trying to go through the lists of admins, but it only seems to work for whoever is first in the table.

2 comments
what's adminButton, you never defined it
That doesn't matter in the code. The error is not the adminbutton, it's it not looping through the admins