How does animation playing works?

Hello there, so here is another post that I created: Animations aren’t showing to other players - #15 by IDoLua
And within that post, I was trying to fix a problem surrounding an animation playing problem, and though the problem isn’t solved yet, this post won’t just about the same issue. What I’m wondering is, why does Local Script Animation doesn’t work for NPCs. Why we’ll have to always play animations for the NPCs using Server Scripts.
Since all the clients got the exact same script for the exact NPC, shouldn’t the animations all play on every client end separately, and create the effect of everyone seeing it? Something about this I just can’t wrap my brain around, and can anyone help me out?

1 Like

There is no “client” for the AI, because it’s not a player (and is therefore hosted in the server). This is why local scripts don’t work when placed in non-player characters.