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

MarketPlaceService for SoundId?

Asked by 10 years ago

I want to make a TextLabel announce a songs name when it's playing, but it will not work.

while true do
    wait()
    local Asset = game:GetService("MarketplaceService"):GetProductInfo(game.Players.LocalPlayer.PlayerGui.Music.ScrollingFrame.Sound.SoundId)
script.Parent.Text = Asset.Name
end


0
Uhh where is the wait in the loop. HexC3D 830 — 10y
0
Check now, still won't work. ScriptingHelpersALT 20 — 10y
0
Did you double check your user data and sound id? Legojoker 345 — 10y
0
? I just want to make it so the text is the value of SoundID, so it says the name ScriptingHelpersALT 20 — 10y

Answer this question