Multiplayer Nametags

How can I make a textmesh that represents that individuals player name that is a child of its game object?

Heres kinda what I have now :

This works locally but not over a network…any help would be awesome. What I am trying to get is a players name floating above their objects head.

that is only part of the logic you have, if you explore the turorial you got this from more you will see it also uses a class called FPSPlayerNode which is needed and some rpc calls. you need all the code for it to work.