Whenever I've tried to add custom animations on an enemy/npc it's never worked. If anyone knows an animation for R6 playermodels it would help.
char = script.Parent hum = char.WaitForChild("Humanoid") animation = hum:LoadAnimation(script.Animation)
if char ~= nil then animation:Play() end
Here's the code that as being used at the moment made by my friend, which doesn't work.

1 comment
Plz, use the codeblock plz, and I hope you fix the indentation!