Help With Player List and Scoreboard.

Options
Hi guys. I don't speak English for this reason, I'm using the translator. I'm sorry if some words seem strange.

I wonder how I can make the list of players in the room appear in my game? (The classic list of FPS games that shows the nickname, Kills and Deaths when the player holds the TAB key)

After getting the names of the players, I tried to do this: When a new player enters the room his name would be instantiated, but I realized that was wrong
public override void OnPlayerEnteredRoom(Player newPlayer)
    {
        ShowMsg(newPlayer.NickName + msgEnter); //player entered.
  
        CanvasNickname();
        
    } 

void CanvasNickname()
    {
         foreach (var item in PhotonNetwork.PlayerList)
         {
             GameObject playScoreTemp = Instantiate(FinishScore);

             playScoreTemp.transform.SetParent(EstanciaName.transform);
             playScoreTemp.transform.position = Vector3.zero;
             playScoreTemp.GetComponent<PlayerScore>().SetDados(item.NickName, item.GetScore().ToString());
         } 
    }


I have found that it is not correct in this way, but the language barrier makes it more difficult to find a solution.

If anyone knows how to display nicknames as in the classic FPS. Please leave an example here. Thanks to everyone.