Npc Animations handling feedback

Feedback part

I’m thinking of handling npc animations by:

Server, handles all movements and checks for npcs. If valid and npcs is in a certain state a remote event will fire to all clients to play the npcs animations and vfx. It’s for better performance. As too much server script “Animate” are not good if you have a lot of npcs ingame.

If there’s better ways then please suggest me some.

Problem

I don’t know how I would stop playing the animations (my only problem and a crucial part to handling npc animations).

get current playing animation tracks and stop the one named accordingly