local sid = script.Parent.Parent.Parent.music.SoundId
while wait() do
local asset = game:GetService("MarketplaceService"):GetProductInfo(tonumber(sid:sub(14)))
script.Parent.Text = asset.Name
end
In the output, it says "Argument 1 missing or nil" i'm currently trying to make it so when an audio plays with a specific id, it puts the audio name to the text.

1 comment
Is SoundId nil at any point in time? If so you'll need to check that before trying to load asset