Show in chatwindow based on team

hi all, i am having issues with the new chat system.

my goal is to have multiple teams (lets jsut say team A,B and C)

if a player is in team A and they chat. i want the message to apear in both chatbubble and chatwindow.
if a player is in team B i want only a chatbubble to apear.
everyone can see all chatbubbles and messages in chatwindow.

u used to see all the coding behind the chat. but for some reason, the folders now apear empty.

1 Like

as i still have no solution, here is so far what I have tried without succes

TextChatService.OnChatWindowAdded  = function(message)
	message:Destroy()
end
TextChatService.OnChatWindowAdded  = function(message)
	message.Text = nil
end
TextChatService.OnIncomingMessage  = function(message)
	message.ChatWindowMessageProperties.TextSize = 0
end

Also tried making a hidden chat channel. Then change it based on teams, but it still shows up for yourself.