The success value of pcall of Marketplaceservice:ownsasset() returning false, why?

this is the script

	return MarketplaceService:PlayerOwnsAsset(userId, assetId)

success returns “false” and has returns as “Unable to cast value to Object”
why?

PlayerOwnsAsset() expects the Player as the first argument, not the player’s UserId

i already figured it out, thanks.

dont know how to delete this, but i will give you it for trying to help

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.