I think it would just be easier to do whatever SpaceGuy did with TDM in the MinigameGUI.cs.
Doesn't work. Names are visible at a close range.
But if you mean out of minigames you might as well try creating a "Raycasting Zone" around the player.
"Raycasting zones" don't exist. If they did, they would also stop projectiles.
But there is probably a way to edit SpaceGuy's code with his permission to use it out of a minigame.
You don't need permission to takes bits of code out of other add-ons, nor the whole thing either. Me, being a scripter myself, allow others to use my code as much as they please.
As to hiding the players' names, you would have to delete the player when it spawns, create a new one and don't set a name on it, and apply everything to it that should normally happen. Which can and will cause conflicts with many add-ons. This would have to be a private thing for use in your own server.