roblox GetProductInfo.Sales returning nil?
Hello, I am working on a script which is meant to check the sales on a Developer Product. Here is my script:
1 | local PRODUCT_ID = 433463734 |
3 | local MarketplaceService = game:GetService( "MarketplaceService" ) |
5 | local productInfo = MarketplaceService:GetProductInfo(PRODUCT_ID, Enum.InfoType.Product) |
7 | print (productInfo.IconImageAssetId) |
8 | print (productInfo.Sales) |
I was trying to use '.Sales' because it seems to be displayed as Sales on this website: https://api.roblox.com/docs But for some reason It returns nil? The IconImageAssetId works fine though? How can I fix this.