|
| 20 Sep 2014 07:38 AM |
I thought doing this would work but I guess the ROBLOX's sound system is set up funny...
Music = Instance.new("Sound") Music.SoundId = Numbers Music:Play()
Everyone can hear this and what i'm looking for is every player that joins the game hears it privately until the song is over. |
|
|
| Report Abuse |
|
|
davisky2
|
  |
| Joined: 04 Mar 2012 |
| Total Posts: 4710 |
|
|
| 20 Sep 2014 07:41 AM |
| Make the event when player joins the game, and then put the sound into it's PlayerGui and then play it. |
|
|
| Report Abuse |
|
|
djwill619
|
  |
| Joined: 13 Jun 2011 |
| Total Posts: 756 |
|
|
| 20 Sep 2014 07:45 AM |
game.Players.PlayerAdded:connect(function(newPlayer) Music = Instance.new("Sound", newPlayer:WaitForChild("PlayerGui")) Music.SoundId = Numbers Music:Play() end)
|
|
|
| Report Abuse |
|
|
|
| 20 Sep 2014 08:05 AM |
@DJ and dav
Didn't work. Theres a line under music but that's just a variable so I don't really understand why that would happen....
https://twitter.com/Robo_Terrorist/status/511475119185612800 |
|
|
| Report Abuse |
|
|
davisky2
|
  |
| Joined: 04 Mar 2012 |
| Total Posts: 4710 |
|
|
| 20 Sep 2014 08:10 AM |
game.Players.PlayerAdded:connect(funtion(player) sound = Instance.new("Sound", player.PlayerGui) sound.Pitch = 1 --If you want to change Pitch... sound.Volume = 0.5 --If you want to change volume... sound.SoundId = "http://www.roblox.com/asset/?id=32578003" --NOTE, THE NUMBERS IS A DECAL ID! CHANGE THE NUMBERS TO YOUR SOUND'S ID! sound:play() end)
|
|
|
| Report Abuse |
|
|
|
| 20 Sep 2014 08:31 AM |
@dav
Still says something is wrong with the variable
https://twitter.com/Robo_Terrorist/status/511475119185612800 |
|
|
| Report Abuse |
|
|
davisky2
|
  |
| Joined: 04 Mar 2012 |
| Total Posts: 4710 |
|
|
| 20 Sep 2014 02:49 PM |
| can you tell what output says? Maybe that would help... |
|
|
| Report Abuse |
|
|