Problem when instantiating the player's GameObject

Greetings.

I am trying to instantiate the player, I want it well but in the manster he duplicates it, that is to say he creates two GameObjects for each player but not the player. I have also noticed that this problem happens more to me in mobile devices than in PC.

This is the part of the Script where I urge the player:

private bool instantiatePlayer=false;

private void Awake()
{
if (!instantiatePlayer)
{
CreatePlajer();
instantiatePlayer = true;
}
}

private void CreatePlajer()
{

if (!PhotonNetwork.isMasterClient)
{
PhotonNetwork.Instantiate(“PlayerCollider”, transform.position, Quaternion.identity, 0);
}
}

Thank you very much in advance

Any idea?