Advertisement
Siarius

[LUA] ROBLOX KeyBind Music Script [Volume & Pitch Control]

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