Im trying to make it so when you press this button the text id on the textbox plays, Help?
script.Parent.MouseButton1Down:connect(function() script.Parent.Parent.Parent.ScrollingFrame.Sound.SoundId = "rbxassetid://"..script.Parent.Parent.TopBox.Text script.Parent.Parent.Parent.ScrollingFrame.Sound:Play() end)
Heyo fellow teletubbie, I noticed that where it says "rbxassetid://" you didn't put an ID there. Also, You should provide a better explanation of this.. Everything else is fine!
-Daffy
script.Parent.MouseButton1Down:connect(function() script.Parent.Parent.Parent.ScrollingFrame.Sound.SoundId "rbxassetid://999999999"..script.Parent.Parent.TopBox.Text --Replace 999999999 with SoundID! script.Parent.Parent.Parent.ScrollingFrame.Sound:Play() end)