igortyhon I appreciate you trying to assist me, but there is a problem with that "code".
Example #1: if player 1 is moving to the left and at that time player 2 start moving to the right, than player 2 will drug player 1 to the right
Example #2: if player 2 moving to the right and player 1 starts moving to the left than they both are moving to the right