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

How to make Audio play different songs in certain areas in-game?

Hello, so I need help with this and I can't quite figure it out.. I can make several audio play with a local script, but it's not the way I want it (The farther you go away it plays less, or it plays where other songs are playing) I want it to be playing like at full volume, but with several songs in one game when you reach certain areas. I certainly know how to make a song play normaly, but only one . So if anyone knows a way to do this.. I would appreciate it!

2 answers

You can put an Audio into a Part. The sound will come from there. Change the ID's of the Audio in the parts. Don't forget to play the audio via a script

1 comment

0

Yeah, but doing it that way the song fades as you walk away. I'm trying to make it fully play when your in a specific area, then when you leave that area it stops playing and another song comes on.

Like a background song or theme song where song that plays depends on the environment you are on?

2 comments

0

Yeah, a song that plays like for example. In the forest you hear this song that fits the enviroment, then you reach the mountains and the song completely changes, then entering the dungeon the song changes again to fit that enviroment

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