What I want is that when a player enters a music id into a textbox and then presses a text button, it stops the current background music and plays the custom music id the player entered.

Now to try and do this I have entered this local script into the text button

script.Parent.MouseButton1Click:Connect(function()
	game.Soundscape.PlaCusMus.SoundId = "rbxassetid://".. script.Parent.Parent.MuIDHe.Text
	StopPlaying."rbxassetid://1298214499"
end)

Now PlaCusMus is a sound in soundscape with no rbxassetid inside it

MuIDHe is the text box you place the desired msuic id into

2 comments

0

IS THAT BETTER FEAHREN????? HMMMM?

0

You've posted this like 5 times and you won't stop doing it! Do NOT repost your question after it gets moderated! The post is still request!