Ok so I’ve been working on this for 3-4 hours, trying various methods for using MarketplaceService:UserOwnsGamePassAsync(UserID, GamePass ID) and I just can’t figure it out.
This is my current Local Script
local Id = 4933128 --New Gamepass ID (Not old type)
game.Players.PlayerAdded:Connect(function(Player)
if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(Player.UserId, Id) then
script.Parent.ia.Visible = true
end
end)
After running no outputs are given (Not even the [id] isn’t a GamePass use PlayerOwnsAsset instead)
I’ve watched video after video, read instructions after instructions, and nothing has worked so far. However I did have another gamepass Script (Not Local) and it worked just fine. The code instead would give you a tool. I tried copying off that script, but no luck. Any Help at all is appreciated. Thank you!