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

Retrieving name of audio from sound?

Just say there's an audio in the ROBLOX library called 'Audio1' and I play it in a Sound in my place, how do I get the name of it from in-game? For example, changing the text of a gui to the name ["Audio1"]. Is it something to do with HttpService?

1 answer

✓ Accepted answer

I can't test this right now, but this should work nicely:

local data = game:GetService( "MarketplaceService" ):GetProductInfo( soundID )
local name = data.Name

1 comment

0

Thank you!

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