Here is my script. it gives me an error message: 18:43:02.550 - Failed to load sound rbxassetid://0: Unable to download sound data (x2)
button = script.Parent.Parent.TextButton button.MouseButton1Click:Connect(function() stringID = script.Parent game.ReplicatedStorage.newSong.Value = tonumber(stringID.Text) game.Workspace.Sound.SoundId = "rbxassetid://"..game.ReplicatedStorage.newSong.Value end)
script.Parent.Parent.TextButton.MouseButton1Click:Connect(function() local stringID = script.Parent.Text game.ReplicatedStorage.newSong.Value = tostring(tonumber(stringID)) game.Workspace.Sound.SoundId = "rbxassetid://"..game.ReplicatedStorage.newSong.Value game.Workspace.Sound:Play() end)
That should work. Make sure "newSong" is a stringValue