My local script inside a TextButton

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

-- PlaCusMus is the sound I want to be as the new sound
-- MuIDHe is a text box where you insert the new sounds rbxassetid

1 comment

0

two moderators have closed this question because they dont see the point of this website