Unexpected Simultaneous Movement in Voice-Controlled Multiplayer Game

I’m working on a code where two players input their voices, and their characters move in a parabolic trajectory based on the input values. However, when the server detects a voice input and moves a player, the client also moves simultaneously.

I can’t figure out what is causing this issue.

If it’s okay, could you help me?