Advertisement
NYXRBLX

Untitled

Dec 28th, 2016
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ls --== By: Taxt ==-- --=DO NOT EDIT=-- --=LOCAL SCRIPT=--
  2. player=game:GetService("thomasthong").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=170184872"
  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