I have a script to find the name and description of a item from the catalog but how would I find the price? I have tried everything I can think of.

local ms = game:GetService("MarketplaceService")
local name = script.Parent.Price -- Random Example
local item = 1234567
name.Value = ms:GetProductInfo(item).Price -- .Name and .Description work so why not price?

So if you could help me find out the correct way to do it that would be awesome. I assume it will have stuff to with http and JSON so some help is appreciated as I am not very familiar with this area of roblox.

6 comments

0

instead of Price do PriceInRobux

0

JSON is not part of ROBLOX, it is its individual language. Quite easy to read, too. Also, it does not return JSON, just a Lua dictionary.

0

Is that the answer or an assumption?

0

That seems to work but gets the original price not the current one

0

it should work for the most part. Correct Price to PriceInRobux and see if that helps

0

Are you talking about people reselling limiteds? Also, I checked the wiki and it said it returned a dictionary.