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

How would I create a sound in a certain place such as game.Workspace?

Asked by 6 years ago

So how would I do so since I am unable to find anything on the wiki and I was wondering if anyone could give me a script that would make a sound in Workspace and have an id and max distance = 1 can anyone help me?

1 answer

Log in to vote
0
Answered by 6 years ago
sound = Instance.new("Sound")
sound.SoundId = "URLHERE"
sound.MaxDistance = 200 -- MaxDistance will only work if its in  a part
sound.Parent = workspace -- 
Ad

Answer this question