How to detect if a player owns a certain catalog item

I would like to detect if a player owns a certain catalog item and then do something

1 Like

You can use MarketplaceService:PlayerOwnsAsset(player, assetid) to check if the player has the asset or not.

4 Likes

Isn’t that deprecated? Or is it UserOwnsAssetAsync

@Maytidis_good is correct. You’re thinking of UserOwnsGamePassAsync, which is only for gamepasses.

3 Likes

does the player need to wear the item or can the player just own the item for it to detect

The player can just own the item for it to detect.