I'm so awful with tables it's not even funny. Well, it might be to someone out there, actually.
Here's basically what the important bits of my code look like. P is defined properly in the actual code, but for the sake of brevity is not here.
admins = {"chrono2","player1"}
p = game.Workspace.Player --blagh that's ugly
if p.Name = admins then
print(p.Name .. " is an admin!")
end
else
print(p.Name .. " is not an admin!")
end
The script will run properly, but then fail to execute past the if statement. I guess because the name of the player doesn't equal the entire array? I've dived through the wiki, and I still have no idea what I'm doing wrong here.
