Advertisement
MLGMatthew

"WORKS" NEW MUSIC. random roblox music player

Mar 1st, 2016
402
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. ----------------------------------------------------------------------------------------------
  2. -- --
  3. -- Script Made By MlgMatthew --
  4. -- --
  5. -- --
  6. ----------------------------------------------------------------------------------------------
  7.  
  8. SoundIds = {"361373527","357924607","326377150","297875749","236569701","282487296","338223347","151085055","268936560","228676342","142545037","320512903","319758951","283801001","329624482"}
  9.  
  10. ----------------------------------------------------------------------------------------------
  11.  
  12. Sound = Instance.new("Sound",game.Workspace)
  13. Sound.Volume = 0
  14. Sound.Looped = true
  15. while true do
  16. Current = SoundIds[math.random(1,#SoundIds)]
  17. wait(4)
  18. Sound.SoundId = "http://www.roblox.com/asset?id="..Current
  19. Sound:Play()
  20. wait(1)
  21. for i = 1,10 do
  22. wait(0.25)
  23. if Sound.Volume ~= 1 then
  24. Sound.Volume = Sound.Volume + 0.1
  25. end
  26. end
  27. wait(115)
  28. for i = 1,10 do
  29. wait(0.25)
  30. if Sound.Volume ~= 0 then
  31. Sound.Volume = Sound.Volume - 0.1
  32. end
  33. end
  34. Sound:Stop()
  35. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement