[Player] Improve code when player connect