|
| 12 Jul 2016 08:24 AM |
If I put a sound in a part (say a character's torso), would the sound come from that part?
|
|
|
| Report Abuse |
|
|
|
| 12 Jul 2016 08:52 AM |
Yes. If you want the sound to be localized (for only one player to hear it) put the sound in the player and set the max distance to 0. Otherwise the sound will be loud enough for others
|
|
|
| Report Abuse |
|
|
|
| 12 Jul 2016 08:55 AM |
So set the max distance to 1 for it to be heard by everyone?
|
|
|
| Report Abuse |
|
|
|
| 12 Jul 2016 08:56 AM |
And will the sound get quieter the further away you are?
|
|
|
| Report Abuse |
|
|
|
| 12 Jul 2016 08:58 AM |
| Set the MaxDistance to any variable you want, whether you want it to be heard by all players, set it to max, or if you just want it to be heard in one area, set it down a bit. Roblox uses the Doppler Effect, meaning, yes, they get louder the closer you are, and quieter the farther you are away. |
|
|
| Report Abuse |
|
|
|
| 12 Jul 2016 02:17 PM |
It won't let me set the value for max distance. Why is this?
|
|
|
| Report Abuse |
|
|
|
| 12 Jul 2016 02:21 PM |
I have filtering enabled and am trying to change the max distance with a local script...is this why
|
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 12 Jul 2016 02:37 PM |
game:GetService("Players").PlayerAdded:connect(function(Player) Player.CharacterAdded:connect(function(Character) local Sound = Instance.new("Sound", Character.Torso) Sound.SoundId = 1 -- ID here. Sound:Play() end) end)
( ͡• ◡ ͡•) -=[ RAP: 358,195 || DurstAuric; the narb of ROBLOX ]=- ( ͡• ◡ ͡•) |
|
|
| Report Abuse |
|
|
|
| 12 Jul 2016 02:38 PM |
Use a script, not a local script too.
( ͡• ◡ ͡•) -=[ RAP: 358,194 || DurstAuric; the narb of ROBLOX ]=- ( ͡• ◡ ͡•) |
|
|
| Report Abuse |
|
|
|
| 12 Jul 2016 02:38 PM |
Yes I have that bit...but I want other players to be able to hear the music if they get close to the player playing the music
|
|
|
| Report Abuse |
|
|
|
| 12 Jul 2016 02:39 PM |
They'll hear it as they get closer. I don't think MaxDistance is enabled yet.
( ͡• ◡ ͡•) -=[ RAP: 358,194 || DurstAuric; the narb of ROBLOX ]=- ( ͡• ◡ ͡•) |
|
|
| Report Abuse |
|
|
|
| 12 Jul 2016 02:40 PM |
I tested it with my phone and as i walked closer on my phone i couldn't hear the sound
|
|
|
| Report Abuse |
|
|
| |
|
|
| 12 Jul 2016 03:38 PM |
At the moment the sound is only client sided...only the player with the sound inside them can hear it
|
|
|
| Report Abuse |
|
|
| |
|
| |
|