Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do i print the product name of an asset?

game:GetService("MarketplaceService"):GetProductInfo()

I am trying to get the name of the profuct etc an audio

local asset = "4160448491" game:GetService("MarketplaceService"):GetProductInfo(asset)

What would i do after that to print it? thx

1 answer

Hello, this is the script you wanted:

local Asset = game:GetService("MarketplaceService"):GetProductInfo(4160448491)
print(Asset.Name)

But i'll link you a source that's really useful and you should use it:

ROBLOX SOURCE

, it shows you a list of variables and the return values it can do.

if it worked please accept, thank you.

1 comment

0

looks about right

This discussion is preserved as it was. New answers, comments, and votes are closed.