|
| 31 Oct 2015 10:37 AM |
p.CharacterAdded:connect(function(c) local s = Instance.new("Sound", p:WaitForChild("PlayerGui")) s.SoundId = 'rbxassetid://161608112' s.Volume = 0.5 s.Pitch = 1 s.Looped = true s:Play() end)
For some reason, it doesn't seem to work. The output gives no errors andd the 'p' variable is the player via a PlayerAdded event at the very top. This is also from a server-side script. Anyone know a solution? |
|
|
| Report Abuse |
|
Scriptecx
|
  |
| Joined: 11 Aug 2014 |
| Total Posts: 314 |
|
|
| 31 Oct 2015 10:57 AM |
| Try a preload: http://wiki.roblox.com/index.php?title=API:Class/ContentProvider/Preload |
|
|
| Report Abuse |
|