I need this to display a VIP chat tag, but it isn’t. I have several errors happening, and unsure what they mean, the one concerning me is
MarketPlace:UserOwnsGamePassAsync() can only query local player
Does anyone have a fix?
--the area where the VIP tags are checked, this is in a module in chat. function sendInfo(player) local info = saves[player.UserId] if not info then local priority = 0 if HighRankList[player.userId] then info = CreateTable(player, HighRankList[player.UserId]) elseif game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.UserId, 6770843) then info = CreateTable(player, "VIP") end if info == nil then info = "placeholder" end saves[player.UserId] = info return info else return info