I’m working on an NPC Monster, which has a custom run and idle animation. The problem is that the run animation refuses to load on the client side, but works perfectly on the server side. Weirdly enough, the idle animation works perfectly fine on both ends. Heres a video demonstrating the issue:
At first I thought it was just lag, so I tested in in-game, but the problem still shows. I’ve tried checking the animation priorities, changed the animation script, and I still can’t seem to figure out what’s going on. I’ve looked at other issues on the Dev Hub but they weren’t the same problem that I have.
I put the animation script in the model, like I’ve done with previous NPC’s. For some reason it just doesn’t work with this project, unless Roblox has changed something to do with how animations are loaded.
Oh i see. I have never seen if this script is actually work for npc.
But anyway i recommend you to use this Animate instead: https://create.roblox.com/marketplace/asset/7640193665/Animate2
This is support both for npcs and players and can change animation easily anytime you want.
You can try this and if you got any problem you can ask
I changed the walking animation to something different, and it seems to be working now. May I ask why using the same animation ID for running and walking stops it from being loaded?
I’m actually not really sure, but I’m guessing it has to do with overlapping animations. Like it can’t handle playing two of the same animation id’s, so as a result only the server plays one animation clip and the other doesn’t show on the client. I only know this because it’s a common problem that sometimes happens in my games.