-- owner and moderator assets
owner = {"devSchon","Player1"}
moderator = {}
if script.Parent.Parent.Name == owner then
script.Parent.OwnerAssets.Notifier.Visible = true
end
What I'm trying to do is to check if the player's username matches the users in the "owner" table; then make a GUI visible.
Thank you in advance for your help!

4 comments
It does not work, all I'm doing in "script.Parent.Parent.Name == owner" is checking each player to see if their name is equal to a string in the owner table. Could that be the problem?
Yes that is, that's not gonna work at all, you're comparing a string value to a table, not the table's values.
The only issue here is that you're calling
GetChildrenon a table... you should only use it with instances to GET a table.On line 6, it says "script.Parent.Parent.Name == player" not "owner"