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

Sound

I am making a nature game, and i want to out a river and other things, but idk how to make it sound realistic, please help me. Thank you

1 comment

0

Looks like it doesn't even work for me....

2 answers

Is your problem with finding the song to play, or with adding the sound to the game? The catalog has a wide variety of user-uploaded sounds to choose from.

Once you have the sound you want, you'll need to write a script that creates the Sound object and plays it. Since this is for a nature game, I assume you want the sound to loop.

Add a new Script to the game, and paste it inside a part near the river:

local sound = Instance.new("Sound")
sound.SoundId = "http://www.roblox.com/asset?id=138161364"
sound.Looped = true
sound.Parent = script.Parent
sound:Play()

The script creates a sound, sets it up to loop, and then plays the sound. Since the sound is inside a part, the loudness will be based on how close players are to the part that the sound is in.

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