Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i get the name of the sound if the input is a asset id?

Asked by 6 years ago

Idk i wanna start with adv scripting

So like if you type a number into the textbox there will be a textlabel that shows you the name of the song

(Also do i need http service or not?)

1 answer

Log in to vote
0
Answered by
dispeller 200 Moderation Voter
6 years ago
Edited 6 years ago

You can use MarketplaceService GetProductInfo

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

http://wiki.roblox.com/index.php?title=API:Class/MarketplaceService/GetProductInfo

Ad

Answer this question