Whenever I press the play button(it's in a gui) it says " Failed to load sound rbxassetid://: Unable to download sound data"
local music = script.Parent.Parent.Parent.MusicId.Text local sound = Instance.new("Sound") sound.Name = "Music" sound.SoundId = "rbxassetid://"..music sound.Parent = game.Workspace sound:play()
Got this solved on Discord. The issue was that you got the text once at the top of the script and assigned it to a variable. The variable doesn't update with the Text of the TextBox, so it would be the first text (which is blank), even when you click a button.
I also added a check for you so it doesn't spam creates 'Music' in workspace and has only one.