Animations with PUN?

I’ve managed to create everything I need to right now, I swapped out the capsule for the Engineer model and then attached his animations. I have a JS that controls his movement/sprinting and plays animations when they happen.

if ( Input.GetAxis( "Horizontal" ) || Input.GetAxis( "Vertical" ) )
    {
       if ( Input.GetKey( "left shift" ) || Input.GetKey( "right shift" ) )
       {
         // Running
         isWalking = false;
         isRunning = true;
         animation.Play("run");
       }

My problem is, if two people are playing the game and both are stood still, the idle animation plays, if one person sprints, both players play the run animation. How can I set it so they only play the animations for the model they own?

We can’t see this in your code but I’d guess you have the Input script on all instantiated characters running.

You need to disable the script for characters that are not local but controlled by remote input.