oatmeal2009

R15 emotes

May 19th, 2020
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.44 KB | None | 0 0
  1. mouse = game.Players.LocalPlayer:GetMouse()
  2. animationdebounce = false
  3. gotanim = false
  4. animations = {
  5. ["Around Town"] = 3303391864;
  6. ["Top Rock"] = 3361276673;
  7. Fashionable = 3333331310;
  8. Robot = 3338025566;
  9. Twirl = 3334968680;
  10. Jacks = 3338066331;
  11. T = 3338010159;
  12. Shy = 3337978742;
  13. Monkey = 3333499508;
  14. ["Borock's Rage"] = 3236842542;
  15. ["Ud'zal's Summoning"] = 3303161675;
  16. ["Hype Dance"] = 3695333486;
  17. Godlike = 3337994105;
  18. Swoosh = 3361481910;
  19. Sneaky = 3334424322;
  20. ["Side to Side"] = 3333136415;
  21. Greatest = 3338042785;
  22. Louder = 3338083565;
  23. }
  24.  
  25. function PlayAnim(id)
  26. animationdebounce = true
  27. local Anim = Instance.new("Animation")
  28. Anim.AnimationId = "rbxassetid://"..id
  29. local salute = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  30. salute.Name = "FRICK"
  31. salute:Play(0)
  32. salute:AdjustSpeed(1)
  33. salute.Stopped:Connect(function()
  34. animationdebounce = false
  35. end)
  36. end
  37. game.Players.LocalPlayer.Chatted:Connect(function(msg)
  38. gotanim = false
  39. lower = string.lower(msg)
  40. if lower == "/e t" then
  41. PlayAnim(animations["T"])
  42. gotanim = true
  43. end
  44. for i,v in pairs(animations) do
  45. if lower == string.sub(string.lower("/e "..tostring(i)), 1, #lower) and gotanim == false then
  46. gotanim = true
  47. PlayAnim(v)
  48. end
  49. end
  50. if gotanim == false and animationdebounce == false then
  51. if lower == "/e summon" or lower == "/e sum" then
  52. PlayAnim(animations["Ud'zal's Summoning"])
  53. gotanim = true
  54. end
  55. if lower == "/e rage" or lower == "/e rag" then
  56. PlayAnim(animations["Borock's Rage"])
  57. gotanim = true
  58. end
  59. end
  60. end)
  61.  
  62. function animsbuttonfunction()
  63. print("------------------")
  64. for i,v in pairs(animations) do
  65. print(tostring(i))
  66. end
  67. print("------------------")
  68. end
  69.  
  70. animsbindable = Instance.new("BindableFunction")
  71. animsbindable.OnInvoke = animsbuttonfunction
  72.  
  73. game.StarterGui:SetCore("SendNotification", {
  74. Title = "Done injecting!";
  75. Text = "Free Animations Script by Aidez!";
  76. Icon = "rbxassetid://847562022";
  77. Duration = 5;
  78. })
  79.  
  80. game.StarterGui:SetCore("SendNotification", {
  81. Title = "How to use:";
  82. Text = "Say /e EMOTENAME to use that emote! (Shortened names work!)";
  83. Icon = "rbxassetid://2541869220";
  84. Duration = 8;
  85. Callback = animsbindable;
  86. Button1 = "Print emote names";
  87. })
Add Comment
Please, Sign In to add comment