noob scripter but i want an admin script to only be visible to the players that are inside the table by accessing the Players, finding their names and putting a gui in their PlayerGui, i used the in pairs loop because thats the best way i know to do it, but i got nothing in the output and nothing works. (i am testing to see if it works by making it print "found", instead i get nothing)
local admins = {"PicoTheRiko", "toxa_pas"}
local player = game.Players:GetChildren()
for i, v in pairs(player) do
if v.Name == admins then
print("found")
else
print("not")
end
end

1 comment
Is ts a local or normal script? Also, where is it placed?