Dont Remove Player 2 On Accident.

Hello, I am making a local co-op game to play with 2 people and it is structured like a metroidvainia. Right now I am running into an issue where my code will remove the second player because player 2 uses the same code. I was wondering how I can make sure the game will keep both player one and player 2 and remove the duplicates of player one and two. Thank you.

Good day.

I supose is then a muktiplayer with networking.

You have the hasAuthority value to know if the instnce is the "owner"of the object

Bye!