Advertisement
Qamyz

Untitled

May 21st, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.69 KB | None | 0 0
  1. plr = game.Players.LocalPlayer
  2. hum = plr.Character.HumanoidRootPart
  3. mouse = plr:GetMouse()
  4. mouse.KeyDown:connect(function(key)
  5. if key == "1" then
  6. Player = "LocalPlayer"
  7. AnimationId = "1041467040"
  8. local Anim = Instance.new("Animation")
  9. Anim.AnimationId = "rbxassetid://"..AnimationId
  10. local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
  11. k:Play() --Play the animation
  12. k:AdjustSpeed(1.4)
  13. end
  14. if key == "2" then
  15. Player = "LocalPlayer"
  16. AnimationId = "1041467753"
  17. local Anim = Instance.new("Animation")
  18. Anim.AnimationId = "rbxassetid://"..AnimationId
  19. local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
  20. k:Play() --Play the animation
  21. k:AdjustSpeed(1.4)
  22. end
  23. if key == "3" then
  24. Player = "LocalPlayer"
  25. AnimationId = "1041462100"
  26. local Anim = Instance.new("Animation")
  27. Anim.AnimationId = "rbxassetid://"..AnimationId
  28. local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
  29. k:Play() --Play the animation
  30. k:AdjustSpeed(0.7)
  31. end
  32. if key == "4" then
  33. Player = "LocalPlayer"
  34. AnimationId = "1041681504"
  35. local Anim = Instance.new("Animation")
  36. Anim.AnimationId = "rbxassetid://"..AnimationId
  37. local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
  38. k:Play() --Play the animation
  39. k:AdjustSpeed(1.4)
  40. end
  41. if key == "5" then
  42. Player = "LocalPlayer"
  43. AnimationId = "1041470826"
  44. local Anim = Instance.new("Animation")
  45. Anim.AnimationId = "rbxassetid://"..AnimationId
  46. local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
  47. k:Play() --Play the animation
  48. k:AdjustSpeed(1.4)
  49. end
  50. if key == "6" then
  51. Player = "LocalPlayer"
  52. AnimationId = "1041470182"
  53. local Anim = Instance.new("Animation")
  54. Anim.AnimationId = "rbxassetid://"..AnimationId
  55. local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
  56. k:Play() --Play the animation
  57. k:AdjustSpeed(1.4)
  58. end
  59. if key == "7" then
  60. Player = "LocalPlayer"
  61. AnimationId = "1041374433"
  62. local Anim = Instance.new("Animation")
  63. Anim.AnimationId = "rbxassetid://"..AnimationId
  64. local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
  65. k:Play() --Play the animation
  66. k:AdjustSpeed(1.4)
  67. end
  68. if key == "8" then
  69. Player = "LocalPlayer"
  70. AnimationId = "849611631"
  71. local Anim = Instance.new("Animation")
  72. Anim.AnimationId = "rbxassetid://"..AnimationId
  73. local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
  74. k:Play() --Play the animation
  75. k:AdjustSpeed(1)
  76. end
  77. end)
  78. end)
  79. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement