Advertisement
frog2128

cake recipe

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