Log in to vote

Sound [closed]

Asked by 7 years ago

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

Looks like it doesn't even work for me.... Intpixel 0 — 7y

Locked by JesseSong

This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.

Why was this question closed?

2 answers

Log in to vote
Answered by
Merely 2117 Moderation Voter Community Moderator
7 years ago

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 ="Sound")
sound.SoundId = ""
sound.Looped = true
sound.Parent = script.Parent

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.

Log in to vote
Answered by 7 years ago

Also when Merely does:

the ID number at the end is the ItemId of the Sound in the catalog.