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

How to get Music name from ID?

1 answer

✓ Accepted answer

You can use Market place Service to do that, the following script will print out the name from the id

local SoundId = 130768805  -- Sound Id Of The Sound
local Asset = game:GetService("MarketplaceService"):GetProductInfo(SoundId) --[[Get's Product Information Of The Sound--]]
print(Asset.Name) --Print's The Name Of The Audio

4 comments

0

Explain how it works, else you'll get -6 from Perci1

0

Assuming this works, You'll end up creating a Message/Hint/Gui with Text = Asset.Name

0

Yes, just the first two lines are important if you want to read more about what I used you can use the wiki page: http://wiki.roblox.com/index.php?title=API:Class/MarketplaceService/GetProductInfo (PM Z9R if you need more help please put this code in the message: 7185 for I to know what you are talking about)

0

Thanks, it works

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