Custom R15 NPCs Walking animations only playing on the server

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    I want the walking animation to play when the npc is moving around for the client
  2. What is the issue? Include screenshots / videos if possible!
    I currently have r6 npcs, but for this rig, it made most sense to make it r15. the r6 npcs work, but the r15 rig does not. When i switch to the server side to check the animation, it plays, but not for the client.
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I repeatedly looked at the scripts and changed the running animation objects inside the Animation script. But nothing seems to change.

After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

-- This is an example Lua code block

image


Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

2 Likes

Also, i am currently moving the rig using a humanoid:MoveTo(). The rig slides across the ground as if it was on ice, increasing speed over time. I have no idea why this is. This happened to a custom r6 rig but i forgot how i fixed it.

1 Like

does it throw any errors ?


The solution to this problem is simple

  1. Copy the animation script from your player in test here or play (where you can control your character and access it in workspace)
  2. In the NPC, add a legacy script (normal script)
  3. Paste the animation script into the NPC
  4. Copy EVERYTHING all lines of code, use Ctrl + A to select all lines, Ctrl + C to copy em
  5. Paste EVERYTHING in the legacy script
  6. Set the script to local and move all the objects/values or whatever’s in the animation script into the local script and then the R15 NPCs walking animations should play on both server and locally without an error

and that should work!

1 Like

the output doesnt show any errors

everything is already inside a server script
i sent an image of it i think its the second one

I think you have to put the animation logic in a local script on R15

surprisingly, it worked! for my r6 npcs, i used a server script and it worked like that, i switched into a local script and that worked. thanks for the solution skute09

1 Like