This is my curent script
hook.Add( "TTTBeginRound", "NumberOfTypes", function()
local TCount = 0
local DCount = 0
local ICount = 0
local traitor = ""
local detectives = ""
local innocents = ""
for k, v in pairs( player.GetAll() ) do
if v:IsActiveTraitor() then
TCount=TCount+1
elseif v:IsActiveDetective() then
DCount=DCount+1
elseif v:Alive() then
ICount=ICount+1;
end
end
traitor = tostring(TCount)
detectives = tostring(DCount)
innocents = tostring(ICount)
function ULib.tsayColor( color_white , "Diese Runde gibt es " , Color(255,7,0), traitor, " Traitor, " , Color(0,0,235), detectives, " Detectives", color_white, " und " , Color(0,235,0), innocents , " Innocents.")
end )