Tiqar
|
  |
| Joined: 03 Jul 2008 |
| Total Posts: 325 |
|
|
| 12 May 2014 05:45 PM |
it won't work for some reason, my first script btw
game.Players.PlayerAdded:connect(function(plr) game.Workspace.Sound:Play () wait(10) Game.Workspace.Sound:Stop() end)
it works when I take off the first line but I need the first line to be on because I don't want the song to play again when the player resets
|
|
|
| Report Abuse |
|
|
Tiqar
|
  |
| Joined: 03 Jul 2008 |
| Total Posts: 325 |
|
| |
|
Tiqar
|
  |
| Joined: 03 Jul 2008 |
| Total Posts: 325 |
|
| |
|
|
| 12 May 2014 06:09 PM |
| Is it just me, or do you have a space between Play and ()? |
|
|
| Report Abuse |
|
|
|
| 12 May 2014 06:10 PM |
| If you want the music to not be ruined for others when a person joins, clone the music into the player and then play it.. |
|
|
| Report Abuse |
|
|
|
| 12 May 2014 06:10 PM |
it won't work for some reason, my first script btw
game.Players.PlayerAdded:connect(function(plr)
S = Workspace.Sound:Clone() repeat wait() until plr.PlayerGui
S.Parent = plr.PlayerGui S:Play()
wait(10)
S:Stop() S:Destroy()
end)
Have you tried that? |
|
|
| Report Abuse |
|
|
|
| 12 May 2014 06:11 PM |
Sorry I pasted the top line...
game.Players.PlayerAdded:connect(function(plr)
S = Workspace.Sound:Clone() repeat wait() until plr.PlayerGui
S.Parent = plr.PlayerGui S:Play()
wait(10)
S:Stop() S:Destroy()
end)
Have you tried that? |
|
|
| Report Abuse |
|
|
Tiqar
|
  |
| Joined: 03 Jul 2008 |
| Total Posts: 325 |
|
| |
|
| |
|