so ive been trying to make a script where only certain people can see this specific GUI. I came up with this but it doesnt work any help?
local VIPs = {"Name","Name2","Name3"}
function VIP(player)
for i = 1, #VIPs do
if player.Name == VIPs[i] then
game.StarterGui.ButtonGui.TextButton.Visible =true
end
end
end
