How can I make an NPC have a default roblox animations

Hi there! I am @candy666786 and I am a programmer. I wanted to know is there is a possible way to use default roblox animations on NPCs while using path finding.

2 Likes

I believe you can use a HumanoidDescription, put it under the NPCs humanoid and change it. Basically allows you to change R15 Scaling, Accessories, Body Parts, Clothing, and Animations in your case.

1 Like

It does not work, should it be inside the humanoid?

Yeah it needs to be put in the Humanoid.

1 Like

Still does not work, I have tried both string and int values inside the NPC

You could simply look through the toolbox, find the “Animate” script, (normal script not local script), copy and paste it into your npc. I believe Animate is the script Roblox uses for animations, so you could simply find a server version of it since it’s a local script. The script would include the default animations ids, and their values. Or if you wanted to play the animations you could just grab their values.

5 Likes

I also believe you can just copy the text from the LocalScript and paste it into a ServerScript, just make sure it’s matching R6 or R15, you can check from the variables at the start of the script.

1 Like

Falling animation works, but rest do not

1 Like

Nvm it did work, thanks, just needed to find a good script