Hello! I was writing script which puts in text label current sound’s name. But wheck I laugh test game, output says there is an error. This is script I wrote:
local sound = game.Workspace.Sound
local SoundId = tonumber(sound.SoundId)
local Asset = game:GetService("MarketplaceService"):GetProductInfo(SoundId)
while wait() do
script.Parent.Text = Asset.Name
end
And here is a error which wrote output:
How to fix that and make script work correct?