|
| 01 Aug 2011 08:51 PM |
| If you want a sound/music to be heard only by one player, what should the sound's parent be, Player or Character? |
|
|
| Report Abuse |
|
|
| |
|
scepile3
|
  |
| Joined: 27 Feb 2009 |
| Total Posts: 260 |
|
|
| 01 Aug 2011 09:30 PM |
Uh... Why not test it and find out?
(FYI: Server Test Mode + Player Test Mode = testing online server) |
|
|
| Report Abuse |
|
|
|
| 01 Aug 2011 09:43 PM |
| Yes, but I need someone else to test to see if they can hear the music or not. |
|
|
| Report Abuse |
|
|
|
| 01 Aug 2011 09:45 PM |
| *facedesk* did he just not explain to you? |
|
|
| Report Abuse |
|
|
|
| 03 Aug 2011 07:30 AM |
| My bad, I forgot to add that test mode doesn't work for me. |
|
|
| Report Abuse |
|
|
yoyoman2
|
  |
| Joined: 07 Mar 2009 |
| Total Posts: 2170 |
|
|
| 03 Aug 2011 07:32 AM |
| hmm i think that the only way is to get only one person to get the song it the first place |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
|
| 03 Aug 2011 07:40 AM |
| Wait, let me quickly check my script xP |
|
|
| Report Abuse |
|
|
|
| 03 Aug 2011 07:43 AM |
I made it this way:
Instanced a screengui and moved it inside the PlayerGui, then moved inside the screengui a sound and then removed everything after a short ammout of time (sound lenght) |
|
|
| Report Abuse |
|
|
|
| 03 Aug 2011 07:44 AM |
| One problem, since it's in the PlayerGui, it will be removed after you die. :P Can't it be in the Player? |
|
|
| Report Abuse |
|
|
|
| 03 Aug 2011 07:46 AM |
No, it would be heard by all players if the sound is in the player.
~ ROBERT00001 ~ ~(ಠωಠ)~ |
|
|
| Report Abuse |
|
|
ZizZazZuz
|
  |
| Joined: 16 Jun 2008 |
| Total Posts: 2743 |
|
|
| 03 Aug 2011 08:30 AM |
| Maybe if it's in the CurrentCamera? |
|
|
| Report Abuse |
|
|
| |
|
ZizZazZuz
|
  |
| Joined: 16 Jun 2008 |
| Total Posts: 2743 |
|
|
| 03 Aug 2011 01:17 PM |
| Ohyus. I just don't know if you can hear it. :P |
|
|
| Report Abuse |
|
|
| |
|
|
| 04 Aug 2011 09:40 PM |
Use a localscript to play it.
That will play it on a direct player. |
|
|
| Report Abuse |
|
|
|
| 04 Aug 2011 09:43 PM |
for example. If you want to play the sound called music when the player enters.
put this in a local script
function onPlayerEntered(player) wait() local sound = script.Music:clone() sound.Parent = game.Players.LocalPlayer wait() sound:Play() end
game.Players.PlayerAdded:connect(onPlayerEntered)
|
|
|
| Report Abuse |
|
|
|
| 05 Aug 2011 09:28 AM |
| I know, but I don't know if it will be heard. |
|
|
| Report Abuse |
|
|