Advertisement
aarontje11002

Untitled

Jul 10th, 2015
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. Lighting = game["Lighting"]
  2. Lighting.Ambient = Color3.new(0, 0, 0)
  3.  
  4. game.Lighting.FogEnd = "50"
  5.  
  6. player=game:GetService("Players").LocalPlayer
  7. char=player.Character
  8. mouse=player:GetMouse()
  9.  
  10. fart1 = Instance.new("Sound", char.head)
  11. fart1.SoundId = "http://www.roblox.com/asset/?id=247111152"
  12. fart1.Volume = 10
  13. fart1.Looped = true
  14. local fart2 = false
  15.  
  16. local fart = Instance.new("Animation", char)
  17. fart.AnimationId = "rbxassetid://149359445"
  18. fart.Name = "fart"
  19.  
  20.  
  21. mouse.KeyDown:connect(function(key) local key=key:lower()
  22. if key=="f" then
  23. local vCharacter = char
  24. local hum = vCharacter:findFirstChild("Humanoid")
  25. blah4 = hum:LoadAnimation(char.fart)
  26. blah4:Play()
  27. end
  28. end)
  29. mouse.KeyUp:connect(function(key) local key=key:lower()
  30. if key=="f" then
  31. blah4:Stop()
  32. end
  33. end)
  34. mouse.KeyDown:connect(function(key) local key=key:lower()
  35. if key=="f" then
  36. fart2 = true
  37. fart1:Play()
  38. end
  39. end)
  40. mouse.KeyUp:connect(function(key) local key=key:lower()
  41. if key=="f" then
  42. fart2 = false
  43. fart1:Stop()
  44. end
  45. end)
  46.  
  47. local axehndle1 = Instance.new("Part")
  48. axehndle1.formFactor = 1
  49. axehndle1.Parent = jasonaxe
  50. axehndle1.CanCollide = true
  51. axehndle1.BrickColor = BrickColor.new("Really black")
  52. axehndle1.Name = "axehndle1"
  53. axehndle1.Size = Vector3.new(1,1,1)
  54. axehndle1.Position = Torso.Position
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement