Advertisement
EverFrappe

Untitled

Jul 14th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. player=game:GetService("Players").LocalPlayer
  2. char=player.Character
  3. mouse=player:GetMouse()
  4.  
  5. local fart = Instance.new("Animation", char)
  6. fart.AnimationId = "rbxassetid://149359445"
  7. fart.Name = "fart"
  8.  
  9. mouse.KeyDown:connect(function(key) local key=key:lower()
  10. if key=="f" then
  11. local vCharacter = char
  12. local hum = vCharacter:findFirstChild("Humanoid")
  13. blah4 = hum:LoadAnimation(char.fart)
  14. blah4:Play()
  15. end
  16. end)
  17. mouse.KeyUp:connect(function(key) local key=key:lower()
  18. if key=="f" then
  19. blah4:Stop()
  20. end
  21. end)
  22. mouse.KeyDown:connect(function(key) local key=key:lower()
  23. if key=="f" then
  24. fart2 = true
  25. fart1:Play()
  26. end
  27. end)
  28. mouse.KeyUp:connect(function(key) local key=key:lower()
  29. if key=="f" then
  30. fart2 = false
  31. fart1:Stop()
  32. end
  33. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement