Help! I'm trying to get the title from the SoundId in my model, Whats wrong???
function GetInfo(assetId) m = game:GetService("MarketplaceService"):GetProductInfo(assetId) for i,v in pairs(m) do script.Parent.Text = (m['Name']) end end GetInfo(script.Parent.Parent.ScrollingFrame.Sound.SoundId)
function GetInfo(assetId) m = game:GetService("MarketplaceService"):GetProductInfo(assetId) script.Parent.Text=m.Name end GetInfo(script.Parent.Parent.ScrollingFrame.Sound.SoundId)
When you request a id from the GetInfo, it returns a table. {"Name"="Blah"}