I am trying to make a 2D platformer shooter game that you play with your friends similar to the game BroForce. I tried using the new input system and all the input is working, the only problem is that it controls all the players in the scene, e.g. I press a button on either device and it moves both players.
If it helps here is a link to my Player script :
The CharacterController I use is from Brackeys here is the link for that too :