local id = 1320213165
game.Player.PlayerAdded:connect(function(plr)
print("player added")
if game:GetService('GamePassService'):PlayerHasPass(plr,id)then
print("player has gamepass")
plr.PlayerGui.BillboardGui.frame.Tag.Visible = true
print("tag is visible")
else
print("player doesnt have gamepass")
plr.PlayerGui.BillboardGui.frame.Tag.Visible = false
print("tag not visible")
end
end)
This script is in server script service. Did I do something wrong?

2 comments
Line 2 ... game.Players.PlayerAdded:.... not "Player"
what then