[TTT] Is there a way to show a traitor on the scoreboard?

Hey, beautiful people!

I was wondering if anyone knows a way to show a traitor on the scoreboard with a function or something.

For example, I want some code like this…



if condition is true then
-- Notify players
-- Set the players color on scoreboard to red, as if they were dead.
end


Any help would be appreciated! :slight_smile:

These functions might help you:

Thanks! I’ll take a look and see what I can do. :stuck_out_tongue:

You’ll need to carefully network all the traitors to the client, so then on the scoreboard you can show who is the traitor.

By default the innocents/detectives do not know who the traitors are at all until they’re dead, thus the need to network it.