It was my mistake, I thought that I had it in the code, so If you are using for example; WorldText that is assigned to the player, use:
Player.Active or Players[i].Active
This causes the deletion text for player who left the server or moved to spectator.
If the player (or bot) is playing, returns true. For spectators or for the players who are not playing, returns false.
For the most part is probably understandable.