Advertisement
Guest User

Untitled

a guest
Feb 13th, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.84 KB | None | 0 0
  1. local Admin = "nowrs123"
  2.  
  3. local y = Instance.new("Sound")
  4. y.Parent = game.Workspace
  5. y.Volume = 1
  6. y.Looped = true
  7. wait(0.1)
  8. m = Instance.new("Message")
  9. m.Parent = game.Workspace
  10. m.archivable = false
  11. a = Instance.new("Hint")
  12. a.Parent = game.Workspace
  13. a.archivable = false
  14. m.Text = "Enjoy the music! (Made by Twinmold.)"
  15. wait(3)
  16. m.Text = "If a song has a {D} after it, you will not be able to here it most-likely, but there are not many of those."
  17. wait(3)
  18. m:Remove()
  19. function onChatted(msg, recipient, speaker)
  20. local source = speaker.Name
  21. msg = string.lower(msg)
  22. if speaker.Name == Admin then
  23. if string.sub(msg,1,4) == "exe/" then
  24. if string.sub(msg,5) == "play" then
  25. y:Play()
  26. elseif string.sub(msg,5) == "stop" then
  27. y:Stop()
  28. elseif string.sub(msg,5) == "roblox_theme" then
  29. y:Stop()
  30. wait(0.1)
  31. y.SoundId = "http://www.roblox.com/Asset/?id=4470503"
  32. a.Text = "ROBLOX Theme"
  33. elseif string.sub(msg,5) == "runaway" then
  34. y:Stop()
  35. wait(0.1)
  36. y.SoundId = "http://www.roblox.com/Asset/?id=10181914"
  37. a.Text = "Runaway"
  38. elseif string.sub(msg,5) == "the_lost_woods" then
  39. y:Stop()
  40. wait(0.1)
  41. y.SoundId = "http://www.roblox.com/Asset/?id=10224650"
  42. a.Text = "The Lost Woods"
  43. elseif string.sub(msg,5) == "nerezza_ii" then
  44. y:Stop()
  45. wait(0.1)
  46. y.SoundId = "http://www.roblox.com/Asset/?id=10410939"
  47. a.Text = "Nerezza II"
  48. elseif string.sub(msg,5) == "voyage_1970" then
  49. y:Stop()
  50. wait(0.1)
  51. y.SoundId = "d3669a198e2743d1fbc4a55edae44642"
  52. a.Text = "Voyage 1970 (Battle Theme) {D}"
  53. else return
  54. end
  55. else return
  56. end
  57. else return
  58. end
  59. end
  60.  
  61. function onPlayerEntered(newPlayer)
  62. newPlayer.Chatted:connect(function(msg, recipient) onChatted(msg, recipient, newPlayer) end)
  63. end
  64.  
  65. game.Players.ChildAdded:connect(onPlayerEntered)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement