drc3
|
  |
| Joined: 14 Aug 2009 |
| Total Posts: 1284 |
|
|
| 09 Aug 2015 08:17 PM |
I want this to continue looped even when a player dies... as of right now it doesn't. Help? Please?
game.Players.PlayerAdded:connect(function(plr) plr.CharacterAdded:connect(function() wait(1.5) local s = Instance.new("Sound", plr:WaitForChild("PlayerGui")) s.SoundId = "rbxassetid://your id here" s.Looped = true s:Play() end) end) |
|
|
| Report Abuse |
|
|
drc3
|
  |
| Joined: 14 Aug 2009 |
| Total Posts: 1284 |
|
|
| 09 Aug 2015 10:35 PM |
| Can someone please help? Bump. |
|
|
| Report Abuse |
|
|
|
| 09 Aug 2015 10:38 PM |
| http://wiki.roblox.com/index.php?title=API:Class/StarterGui/ResetPlayerGuiOnSpawn |
|
|
| Report Abuse |
|
|
drc3
|
  |
| Joined: 14 Aug 2009 |
| Total Posts: 1284 |
|
|
| 11 Aug 2015 01:22 AM |
| ? Huh? I detest the wiki aha sometimes it is odd. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 11 Aug 2015 01:25 AM |
Disable that property, the name of it is kinda obvious. Anyways the problem is that you're putting the sound in PlayerGui, which is "reset" after you respawn. Disabling that property will make it not "reset" and thus, your sound stays. |
|
|
| Report Abuse |
|
|
galio13
|
  |
| Joined: 20 Jul 2011 |
| Total Posts: 842 |
|
|
| 11 Aug 2015 01:41 AM |
while true do and an extra end |
|
|
| Report Abuse |
|
|