Advertisement
Guest User

Untitled

a guest
Mar 19th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. local char = player.Character
  3. local mouse = player:GetMouse()
  4.  
  5. mouse.KeyDown:connect(function(key)
  6. if key == "q" then
  7. local sound = Instance.new("Sound", char.Torso)
  8. sound.SoundId = "rbxassetid://1246891273"
  9. sound.Playing = true
  10. sound.Volume = 5
  11. wait(7)
  12. sound:Destroy()
  13. end
  14. end)
  15.  
  16. mouse.KeyDown:connect(function(key)
  17. if key == "e" then
  18. local sound2 = Instance.new("Sound", char.Torso)
  19. sound2.SoundId = "rbxassetid://165487479"
  20. sound2.Playing = true
  21. sound2.Volume = 5
  22. wait(2)
  23. sound2:Destroy()
  24. end
  25. end)
  26.  
  27. mouse.KeyDown:connect(function(key)
  28. if key == "f" then
  29. local sound3 = Instance.new("Sound", char.Torso)
  30. sound3.Playing = true
  31. sound3.SoundId = "rbxassetid://316891313"
  32. sound3.Volume = 5
  33. wait(120)
  34. sound3:Destroy()
  35. end
  36. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement