How can I load an animation onto an NPC from a file?
When I try to set the AnimationId to rbxasset://content/animation.rbxm, then use Humanoid:LoadAnimation(), the animation doesn’t load.
You’ll need to import it to roblox and save it to roblox as a normal animation, and then use the Animation ID you get from it.
Also don’t forget that you need to :Play() the animationTrack, and not the animation itself.
1 Like
I want to do this without uploading anything to roblox
I’m not sure that’s possible, but i’d recommend following roblox’s method which you can find inside your player’s animate script.