Hello, I would like to know why when I click play on my Gui, it only works on a local script and not a script. I also want to know how I can fix it so the music plays for everyone!
Here's an error I've gotten when I changed it to a script:
11:13:35.911 - Failed to load sound rbxassetid://: Unable to download sound data
Here's the code:
local soundinput = script.Parent.Parent.TextBox
local sound = game.Workspace.Sound
script.Parent.MouseButton1Click:connect(function()
sound.TimePosition = 0
sound.SoundId = "rbxassetid://"..soundinput.Text
sound:Play()
end)
LocalScript is in a TextButton.
Thank you for your time!
