How to check if asset is gamepass

is a gamepass asset type 10? Also are there more than 1 asset type for gamepass.

local isValid, errorMessage = validateProduct(passID.Text, 10) 
		if isValid then
if info.AssetTypeId == expectedAssetTypeId then
			if info.IsForSale and info.PriceInRobux and info.PriceInRobux >= 10 then
				return true

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