Advertisement
XiByteGam123457890

Music Player

May 6th, 2024 (edited)
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. --- Music Player Tutorial ---
  2. --Lazy--
  3. --- --- --- --- --- --- --- --- --- --- --- --- --- ---
  4.  
  5. -- Variables --
  6. local soundservice = game:GetService("SoundService")
  7. local controller = script.Parent.Playing
  8. local Music = soundservice.Audio
  9. local player = game.Players
  10.  
  11. -- Repeats --
  12. repeat
  13. wait(2)
  14. -- Text Visible --
  15. controller.Visible = true
  16. controller.Text = "Now Playing; Plastik"
  17. -- Giving Time To Read --
  18. wait(3)
  19. controller.Visible = false
  20. -- Playing Song --
  21. wait(2)
  22. Music["Plastik (a 60)"]:Play()
  23. -- Time Until Finished Then Next Song Plays --
  24. wait(59.611)
  25. controller.Visible = true
  26. controller.Text = "Now Playing; Monna Lisa Not Smile"
  27. -- Giving Time To Read --
  28. wait(3)
  29. controller.Visible = false
  30. -- Playing Song --
  31. wait(2)
  32. Music["Monna Lisa Not Smile"]:Play()
  33. -- If Player Hasn't Left By Then It Will Restart --
  34. wait(192.052)
  35. until player.PlayerRemoving
  36.  
  37. --Link In Description (Pastbin) --
  38.  
  39. --- --- --- --- --- --- --- --- --- --- --- --- --- ---
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement