I have accomplished this already, but when I load the animation in and play it using the default roblox animation IDs they simply repeat it over and over again and look choppy. How would I make it so they only do it once and it is as smooth as it would be as if a player did it?
Can you please be more specific and show a script, image exc…
You can use this just change. Then once you have the code put the animation in it.
local hum = script.Parent:WaitForChild("Humanoid")
local anim = hum:LoadAnimation(script:FindFirstChildOfClass("Animation"))
anim.Looped = false
anim:Play()
Edit:
The Cheer ID is: “507770677”
How to Video:
2 Likes
The animation’s .Looped
property might be set to true, make sure it’s not.
Also another funnt suggestion, if the NPC has an animation script inside, actually listening for commands, you can probably do
game.ChatService:Chat(NPC.Head, "/e cheer")
NPC.Head or any other part.