I have scavenged the dev forum and found a way to detect whisper chat, but when I used the same method to try to detect team chat nothing happened.
You can check if the message content begins with either
/team (spaces after each phrase).
There is a problem with this, for the first message it will say it is team chat, but every other chat message won’t start with that.
Actually, Roblox will automatically begin the message with that phrase for every reply within the team chat. This should be your solution.
Oh, it worked. I must’ve confused it with whisper chat.
Glad we were able to figure it out! <3
% denotes the beginning of a team chat message.