Advertisement
Mz_TH_edit

Untitled

May 22nd, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. local plr = game:service'Players'.LocalPlayer
  2. unction Cso(ID, PARENT, VOLUME, PITCH)
  3. local NSound = nil
  4. coroutine.resume(coroutine.create(function()
  5. NSound = IT("Sound", PARENT)
  6. NSound.Volume = VOLUME
  7. NSound.Pitch = PITCH
  8. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  9. swait()
  10. NSound:play()
  11. game:GetService("Debris"):AddItem(NSound, 10)
  12. end))
  13. return NSound
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement