So I'm trying to figure out how to make a certain tag appear if a player ID is equal to one of the id's in the table. the tag part itself works fine if i put my id where "admins" is. I just can't figure out how to make it so it will have the tag appear for any of the players in the table.
local nametag = game.ServerStorage.nameTag
local cloned = nametag:Clone()
local character = script.Parent
local player = game.Players:FindFirstChild(character.Name)
local admins = {
43764376; --baxzzi
123268417; --canadian_kidgamer
86489853; --JonathanParkourPro
}
local debug = game.ServerScriptService.debugMode.Value
cloned.Parent = character.Head
cloned.Adornee = character.Head
cloned.type1.Visible = true
cloned.type1.line1.Text = "Player ".."(".. character.name ..")"
cloned.type1.imageFrame.Visible = true
if player.UserId == admins then -- Admin Tag
cloned.type1.imageFrame.Size = UDim2.new(0.35,0,0.3,0)
cloned.type1.imageFrame.Position = UDim2.new(0.32,0,0.3,0)
cloned.type1.imageFrame.ImageColor3 = Color3.fromRGB(255, 82, 85)
cloned.type1.imageFrame.rank.Text = "ADMIN"
end

4 comments
Would just using the ID's be better in case a player name changes?
i'd use {[001] = true; [002] = true} etc. with if Admins[Player.UserId] then
I guess he can just comment the names then ~
Thanks so much, works just like I needed it to. :)