Advertisement
ScriptHours

Untitled

Feb 14th, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. --== By: Taxt ==-- --=DO NOT EDIT=-- --=LOCAL SCRIPT=--
  2. player=game:GetService("Players").LocalPlayer
  3. char=player.Character
  4. mouse=player:GetMouse()
  5.  
  6. fart1 = Instance.new("Sound", char.head)
  7. fart1.SoundId = "http://www.roblox.com/asset/?id=360160735"
  8. fart1.Volume = 1
  9. fart1.Looped = true
  10. local fart2 = false
  11.  
  12. local fart = Instance.new("Animation", char)
  13. fart.AnimationId = "rbxassetid://149359445"
  14. fart.Name = "fart"
  15.  
  16.  
  17. mouse.KeyDown:connect(function(key) local key=key:lower()
  18. if key=="f" then
  19. local vCharacter = char
  20. local hum = vCharacter:findFirstChild("Humanoid")
  21. blah4 = hum:LoadAnimation(char.fart)
  22. blah4:Play()
  23. end
  24. end)
  25. mouse.KeyUp:connect(function(key) local key=key:lower()
  26. if key=="f" then
  27. blah4:Stop()
  28. end
  29. end)
  30. mouse.KeyDown:connect(function(key) local key=key:lower()
  31. if key=="f" then
  32. fart2 = true
  33. fart1:Play()
  34. end
  35. end)
  36. mouse.KeyUp:connect(function(key) local key=key:lower()
  37. if key=="f" then
  38. fart2 = false
  39. fart1:Stop()
  40. end
  41. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement