I'm trying to make custom game rules and a part of that is the score board. Currently, I am using 6 text gadgets with 6 string formats to display name, kills, and outs. Because of the way I did it, it uses text set text to set a string format result into the text. The problem is the names. If the game can't find a player, it will replace it with an error. Text set text can't set an error string into text. I made a swap team button but when the player swaps teams, text set text will not fire because it is now seeing an error. I need a way to either somehow replace the name with a space (" "), or avoid it completely (using a piston to move the text out of view). Any help would be greatly appreciated.
(also I know I could just hard-code it but that takes a long time)