PriceInRobux wont work

v.Robux.Text = game.MarketplaceService:GetProductInfo(v.GamepassId.Value).PriceInRobux…’ R$’

Works perfectly with the old gamepass thing but not with the new.
Here is the error:
image
I have tried finding what is wrong but I havent succeeded… Help?

1 Like

Have you tried with InfoType set to Enum.InfoType.GamePass? Pass it as the second parameter to GetProductInfo.

5 Likes

Oh thanks, works. :+1:

2 Likes

If you mark it as the solution with the little checkbox it’ll let other people know they don’t need to open the topic as its been resolved.

3 Likes