:PlayerOwnsAsset() Bug...?

I’m pretty sure I did everything correctly…
Everything as in:

print(game:GetService("MarketplaceService"):PlayerOwnsAsset(Player, 989262359))

image

Anyone have any idea what the problem might be? Or is it a bug?
Pretty sure it’s a bug :confused:

1 Like

Are you logged into studio? What is the behavior online? Are you putting in the right player?

Also GamePass checking with PlayerOwnsAsset is deprecated, you should be using GamePassService:PlayerHasPass

Yes, testing it on studio, am logged in, is in a local script, player is game.Players.LocalPlayer.
I also recently made another bug report on :PlayerHasPass(), it doesn’t work properly.

PlayerOwnsAsset doesn’t work on gamepasses in studio anymore.

Try GamepassService instead.

Yeah, it sucks but it’s what roblox wants us to use. You can still use POA just don’t expect to be able to test with it in studio.

But then technically is it not the same thing? They both work on the server, neither work in studio.