Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

How do I fix this music/sound?

Asked by 9 years ago

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 .

0
script.Parent.Looped=true? Why not Variable.Looped=true? DewnOracle 115 — 9y

1 answer

Log in to vote
0
Answered by
dyler3 1510 Moderation Voter
9 years ago

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

Ad

Answer this question