Multiplayer Mode Disregarding Counters to Input animation

Basically, everything works fine- animation plays in both client and server. The only issue is that instead of two inputs to issue a dash, the character moves with just one. So, if I press a movement key, it immediately rolls, and etc. I have theorized that this could be due to the fact that the code is being ran twice (one for server and client), but if I change the nodes, I can’t make the animation show for both screens.
Help would be appreciated.

Found the solution. Turns out that after copying and pasting my script to another part, I needed to delete the previous one. Also, disconnect from the secondary sources.