Advertisement
deadropz

song play

Feb 25th, 2017
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. local mouse = player:GetMouse()
  3. repeat wait() until player.Character
  4. local character = player.Character
  5. local song = Instance.new("Sound")
  6. song.Volume = 1
  7. song.SoundId = "rbxassetid://1135130274"
  8. song.Parent = player.Character.Head
  9. song.MaxDistance = 100000000000000000000000000000000000000000000000000
  10.  
  11. mouse.KeyDown:connect(function(key)
  12. key = key:lower()
  13. if key == "q" then
  14. song:Play()
  15. else
  16. if key == "e" then
  17. song:Stop()
  18. end
  19. end
  20. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement