In the process of an AI system and I need to play an animation when a npc gets close to a player, well I can’t seem to get it to work and I’ve tried all sorts of code snippets, loading to animator/humanoid, changing priorities, loop bool true etc. to no avail–hoping someone here can solve this issue or help guide to the solution
minimal place file:
Animation Not Working.rbxl (58.9 KB)
To test it, walk up to the npc and in output you can see that the animation gets played (or so the script says so anyway). main script in serverscriptservice, dummy in serverstorage