Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

What did I do wrong?

When I play the music on the normal server it doesn't work. The script is in the text button.

script.Parent.MouseButton1Click:connect(function(click)
	Game.Workspace.Sound:Stop()
	Game.Workspace.Sound.SoundId = "http://www.roblox.com/asset/?id=131261480"
	Game.Workspace.Sound:Play()
end)

2 answers

Heh, Imagine Dragons xD Also I'm not sure if this is the problem but I'm pretty sure the SoundId has to be a certain format, not just the URL. I've never used sound before so it might be different to images but try putting in rbxassetid://131261480 as the SoundId. Apologies if that didn't work D:

Please explain where the TextButton is, and what exactly is happening. This way I can better understand your problem.

This discussion is preserved as it was. New answers, comments, and votes are closed.