How can I detect chat messages sent by the server?

Hello,
I know that there is a way to detect messages sent in chat by using game.Players.PlayerAdded and then plr.Chatted , but what about chat messages sent by server, how do you detect them? Does anyone know how to do this? If so, thanks!

I think you can use Messaging Service for that?

Yiur question is very strange

What do you mean about chat sended by the server?

Like a chat message sent by the server, for example by using game.StarterGui:SetCore("ChatMakeSystemMessage"