Advertisement
frog2128

Untitled

Mar 9th, 2015
390
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. local MyMouse = game.Players.LocalPlayer:GetMouse()
  2.  
  3. MyMouse.KeyDown:connect(function(key)
  4. if string.lower(key) == "b" then
  5. print("Pressed B")
  6. end
  7. if string.lower(key) == "b" then
  8. Instance.new("Sparkles").Parent = game.Players.LocalPlayer.Character.Torso
  9. end
  10. if string.lower(key) == "v" then
  11. Instance.new("Smoke").Parent = game.Players.LocalPlayer.Character.Torso
  12. end
  13. if string.lower(key) == "v" then
  14. print("Pressed V")
  15. end
  16. if string.lower(key) == "n" then
  17. print("Pressed N")
  18. end
  19. if string.lower(key) == "n" then
  20. Instance.new("Fire").Parent = game.Players.LocalPlayer.Character.Torso
  21. end
  22. if string.lower(key) == "m" then
  23. Instance.new("PointLight").Parent = game.Players.LocalPlayer.Character.Torso
  24. end
  25. if string.lower(key) == "m" then
  26. print("Pressed M")
  27. end
  28. if string.lower(key) == "c" then
  29. s = Instance.new("Sound")
  30. s.Name = "Airhorn"
  31. s.SoundId = "http://www.roblox.com/Asset/?id=177080835"
  32. s.Volume = 3
  33. s.Looped = false
  34. s.archivable = false
  35.  
  36. s.Parent = game.Workspace
  37.  
  38. wait(0)
  39.  
  40. s:play()
  41. end
  42. if string.lower(key) == "c" then
  43. print("Pressed c")
  44. end
  45. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement