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

How do I fix this music/sound?

Variable=Instance.new("Sound",game.Workspace) Variable.SoundId="id=169344914" Variable:Play() script.Parent.Looped=true I've tried to fix the sound buts its not working if anyone can help please .

1 comment

0

script.Parent.Looped=true? Why not Variable.Looped=true?

1 answer

You made a couple mistakes. Try this:

Variable=Instance.new("Sound",game.Workspace)
Variable.SoundId="rbxassetid://169344914" --Use this format
Variable:Play()
Variable.Looped=true --You were telling the workspace to play...which it can't.

Try this now. It should work, because I tested it. If you can't hear the audio, make sure to turn up your volume. Hope I helped :P

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