Getting the name of an ID from an object then pasting it on a gui?
Asked by
8 years ago Edited 8 years ago
Here's what I'm trying to accomplish.
I want to make a script that fetches the SoundID from a Sound that I've placed in the Workspace.
https://gyazo.com/c0ae957336a4b5726e5a2816aa507e28
The id is always changing as audio's shuffle!
So I need to make the script to where it fetches that id then, I want to use the market place service to get the name of that ID.
Example
1 | local Asset = game:GetService( "MarketplaceService" ):GetProductInfo(THE ID) |
then just print the name of the id on a screen gui
2 | print (Asset.Name .. game.StarterGui.ScreenGui.Frame.Textlabel.Text |