How to make someone's chat show to certain people

I’m trying to make it that in my game, dead people can’t talk to the alive people.
I could use teams to do this but then the leaderboard would have the teams showing and it looks bad.

Any help is appreciated.

Perhaps you should look at this:

I have found a post in which the solution works in a way very similar to what you want to achieve:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.