Advertisement
Siarius

[LUA] ROBLOX KeyBind Music Script [Stop Detects Name]

Apr 12th, 2015
531
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.26 KB | None | 0 0
  1. --[ Created By Siarius
  2. Copyright, this whole product ]--
  3.  
  4. Player = game.Players.LocalPlayer
  5. c = Player.Character
  6. mouse = Player:GetMouse()
  7.  
  8. c.Humanoid.MaxHealth = math.huge
  9. c.Humanoid.Health = math.huge
  10.  
  11. h = Instance.new("Hint", game.Workspace)
  12. h.Text = "Loading Siarius's KeyBind Music Player."
  13. wait(1.5)
  14. h.Text = "Loading Siarius's KeyBind Music Player.."
  15. wait(1.5)
  16. h.Text = "Loading Siarius's KeyBind Music Player..."
  17. wait(1.5)
  18. h.Text = "Loading Siarius's KeyBind Music Player...."
  19. wait(1.5)
  20. h.Text = "Loading Siarius's KeyBind Music Player."
  21. wait(1.5)
  22. h.Text = "Loading Siarius's KeyBind Music Player.."
  23. wait(1.5)
  24. h.Text = "Loading Siarius's KeyBind Music Player..."
  25. wait(1.5)
  26. h.Text = "Loading Siarius's KeyBind Music Player...."
  27. wait(1.5)
  28. h.Text = "Loading Siarius's KeyBind Music Player."
  29. wait(1.5)
  30. h.Text = "Siarius's KeyBind Music Player Loaded!"
  31. wait(1.5)
  32. game:GetService("Chat"):Chat(c, "Left Click To End ANY Song, All Keyboard Keys Have A Song Except for W,A,S,D,I, and O")
  33. wait(8)
  34. game:GetService("Chat"):Chat(c, "[ And ] Control Volume. - And = Control Pitch")
  35. wait(8)
  36. game:GetService("Chat"):Chat(c, "KeyBind Music Player, By Siarius [V1.20]")
  37.  
  38. s = Instance.new("Sound", c.Head)
  39. s.Looped = true
  40. s.Volume = 1
  41.  
  42. mouse.Button1Down:connect(function()
  43. game:GetService("Chat"):Chat(c, "Stopped : "..s.Name)
  44. s:Stop()
  45. end)
  46.  
  47. mouse.KeyDown:connect(function(key)
  48. if key == "[" then
  49. s.Volume = s.Volume -.1
  50. game:GetService("Chat"):Chat(c, "Volume Is Now : "..s.Volume)
  51. end
  52. end)
  53.  
  54. mouse.KeyDown:connect(function(key)
  55. if key == "]" then
  56. s.Volume = s.Volume +.1
  57. game:GetService("Chat"):Chat(c, "Volume Is Now : "..s.Volume)
  58. end
  59. end)
  60.  
  61. mouse.KeyDown:connect(function(key)
  62. if key == "-" then
  63. s.Pitch = s.Pitch -.1
  64. game:GetService("Chat"):Chat(c, "Pitch Is Now : "..s.Pitch)
  65. end
  66. end)
  67.  
  68. mouse.KeyDown:connect(function(key)
  69. if key == "=" then
  70. s.Pitch = s.Pitch +.1
  71. game:GetService("Chat"):Chat(c, "Pitch Is Now : "..s.Pitch)
  72. end
  73. end)
  74.  
  75. ---Start of Looking For The Bae---
  76. mouse.KeyDown:connect(function(key)
  77. print("Key Pressed : "..key)
  78. if key == "q" then
  79. game:GetService("Chat"):Chat(c, "Now Playing : Looking For The Bae")
  80. s.SoundId = "rbxassetid://218017268"
  81. s.Name = "Looking For The Bae"
  82. s:Play()
  83. end
  84. end)
  85. ---End of Looking For The Bae---
  86.  
  87. ---Start of Demons---
  88. mouse.KeyDown:connect(function(key)
  89. if key == "e" then
  90. game:GetService("Chat"):Chat(c, "Now Playing : Demons")
  91. s.SoundId = "rbxassetid://225115335"
  92. s.Name = "Demons"
  93. s:Play()
  94. end
  95. end)
  96. ---End of Demons---
  97.  
  98. ---Start of Uptown Funk---
  99. mouse.KeyDown:connect(function(key)
  100. if key == "r" then
  101. game:GetService("Chat"):Chat(c, "Now Playing : Uptown Funk")
  102. s.SoundId = "rbxassetid://235468324"
  103. s.Name = "Uptown Funk"
  104. s:Play()
  105. end
  106. end)
  107. ---End of Uptown Funk---
  108.  
  109. ---Start of Harlem Shake---
  110. mouse.KeyDown:connect(function(key)
  111. if key == "y" then
  112. game:GetService("Chat"):Chat(c, "Now Playing : Harlem Shake")
  113. s.SoundId = "rbxassetid://142313816"
  114. s.Name = "Harlem Shake"
  115. s:Play()
  116. end
  117. end)
  118. ---End of Harlem Shake---
  119.  
  120. ---Start of See You Again---
  121. mouse.KeyDown:connect(function(key)
  122. if key == "u" then
  123. game:GetService("Chat"):Chat(c, "Now Playing : See You Again")
  124. s.SoundId = "rbxassetid://235855135"
  125. s.Name = "See You Again"
  126. s:Play()
  127. end
  128. end)
  129. ---End of See You Again---
  130.  
  131. ---Start of Hello---
  132. mouse.KeyDown:connect(function(key)
  133. if key == "g" then
  134. game:GetService("Chat"):Chat(c, "Now Playing : Hello")
  135. s.SoundId = "rbxassetid://214902446"
  136. s.Name = "Hello"
  137. s:Play()
  138. end
  139. end)
  140. ---End of Hello---
  141.  
  142. ---Start of I'm A 3.0---
  143. mouse.KeyDown:connect(function(key)
  144. if key == "t" then
  145. game:GetService("Chat"):Chat(c, "Now Playing : I'm A 3.0")
  146. s.SoundId = "rbxassetid://218530627"
  147. s.Name = "I'm A 3.0"
  148. s:Play()
  149. end
  150. end)
  151. ---End of I'm A 3.0---
  152.  
  153. ---Start of Watch Me---
  154. mouse.KeyDown:connect(function(key)
  155. if key == "z" then
  156. game:GetService("Chat"):Chat(c, "Now Playing : Watch Me")
  157. s.SoundId = "rbxassetid://215733323"
  158. s.Name = "Watch Me"
  159. s:Play()
  160. end
  161. end)
  162. ---End of Watch Me---
  163.  
  164. ---Start of It's Time To Die---
  165. mouse.KeyDown:connect(function(key)
  166. if key == "x" then
  167. game:GetService("Chat"):Chat(c, "Now Playing : It's Time To Die")
  168. s.SoundId = "rbxassetid://223871924"
  169. s.Name = "It's Time To Die"
  170. s:Play()
  171. end
  172. end)
  173. ---End of It's Time To Die---
  174.  
  175. ---Start of It's Turn Down For What---
  176. mouse.KeyDown:connect(function(key)
  177. if key == "f" then
  178. game:GetService("Chat"):Chat(c, "Now Playing : Turn Down For What")
  179. s.SoundId = "rbxassetid://143959455"
  180. s.Name = "Turn Down For What"
  181. s:Play()
  182. end
  183. end)
  184. ---End of It's Turn Down For What---
  185.  
  186. ---Start of It's Throw Sum Mo---
  187. mouse.KeyDown:connect(function(key)
  188. if key == "c" then
  189. game:GetService("Chat"):Chat(c, "Now Playing : Throw Sum Mo")
  190. s.SoundId = "rbxassetid://209096212"
  191. s.Name = "Throw Sum Mo"
  192. s:Play()
  193. end
  194. end)
  195. ---End of It's Throw Sum Mo---
  196.  
  197. ---Start of It's Dum Dee Dum---
  198. mouse.KeyDown:connect(function(key)
  199. if key == "v" then
  200. game:GetService("Chat"):Chat(c, "Now Playing : Dum Dee Dum")
  201. s.SoundId = "rbxassetid://151663136"
  202. s.Name = "Dum Dee Dum"
  203. s:Play()
  204. end
  205. end)
  206. ---End of It's Dum Dee Dum---
  207.  
  208. ---Start of It's Freaks---
  209. mouse.KeyDown:connect(function(key)
  210. if key == "b" then
  211. game:GetService("Chat"):Chat(c, "Now Playing : Freaks")
  212. s.SoundId = "rbxassetid://234695144"
  213. s.Name = "Freaks"
  214. s:Play()
  215. end
  216. end)
  217. ---End of It's Freaks---
  218.  
  219. ---Start of It's Love Me Like You Do---
  220. mouse.KeyDown:connect(function(key)
  221. if key == "n" then
  222. game:GetService("Chat"):Chat(c, "Now Playing : Love Me Like You Do")
  223. s.SoundId = "rbxassetid://216767137"
  224. s.Name = "Love Me Like You Do"
  225. s:Play()
  226. end
  227. end)
  228. ---End of It's Love Me Like You Do---
  229.  
  230. ---Start of It's Mmm Yeah Yeah---
  231. mouse.KeyDown:connect(function(key)
  232. if key == "m" then
  233. game:GetService("Chat"):Chat(c, "Now Playing : Mmm Yeah Yeah")
  234. s.SoundId = "rbxassetid://149811427"
  235. s.Name = "Mmm Yeah Yeah"
  236. s:Play()
  237. end
  238. end)
  239. ---End of Mmm Yeah Yeah---
  240.  
  241. ---Start of Warriors---
  242. mouse.KeyDown:connect(function(key)
  243. if key == "h" then
  244. game:GetService("Chat"):Chat(c, "Now Playing : Warriors")
  245. s.SoundId = "rbxassetid://194232694"
  246. s.Name = "Warriors"
  247. s:Play()
  248. end
  249. end)
  250. ---End of Warriors---
  251.  
  252. ---Start of No Flex Zone---
  253. mouse.KeyDown:connect(function(key)
  254. if key == "j" then
  255. game:GetService("Chat"):Chat(c, "Now Playing : No Flex Zone")
  256. s.SoundId = "rbxassetid://166886402"
  257. s.Name = "No Flex Zone"
  258. s:Play()
  259. end
  260. end)
  261. ---End of No Flex Zone---
  262.  
  263. ---Start of Centuries---
  264. mouse.KeyDown:connect(function(key)
  265. if key == "k" then
  266. game:GetService("Chat"):Chat(c, "Now Playing : Centuries")
  267. s.SoundId = "rbxassetid://211626338"
  268. s.Name = "Centuries"
  269. s:Play()
  270. end
  271. end)
  272. ---End of Centuries---
  273.  
  274. ---Start of Lips Are Movin'---
  275. mouse.KeyDown:connect(function(key)
  276. if key == "l" then
  277. game:GetService("Chat"):Chat(c, "Now Playing : Lips Are Movin'")
  278. s.SoundId = "rbxassetid://207106257"
  279. s.Name = "Lips Are Movin'"
  280. s:Play()
  281. end
  282. end)
  283. ---End of Lips Are Movin'---
  284.  
  285. ---Start of I Don't Mind---
  286. mouse.KeyDown:connect(function(key)
  287. if key == "p" then
  288. game:GetService("Chat"):Chat(c, "Now Playing : I Don't Mind")
  289. s.SoundId = "rbxassetid://208719506"
  290. s.Name = "I Don't Mind"
  291. s:Play()
  292. end
  293. end)
  294. ---End of I Don't Mind---
  295.  
  296. --</\>Copyright Siarius 2015</\>--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement