Private Roblox Chatting Between Teams

Hello! I am trying to create a game, however, I am not sure how to script an essential part of it because I am relatively new to scripting. I mainly just want to know if what I am attempting is possible, and if so where do I start.

I have created three teams in the “Teams” property, in which the players will be divided into. Two of the teams will only have one player in them, and the rest will be apart of the third team. I want to create a mechanism where the two people on the single teams can communicate with only each other through Roblox chat. For example, everyone will be able to type in chat, except everyone on the third team will only see fellow third team messages, while the other two people will see those messages as well as their own. Now here is the difficult part. I want it so that if one of the third team players are touching a specific part, then they gain access to all the messages from then on until they leave the box.

I understand if this is a bit confusing, I am more than willing to explain again if needed. All I want to know is if this is possible. Furthermore, I have considered creating a custom chat, separate from Roblox’s chat, that handle everything. Though I am a bit concerned about how censorship would work, and that is also a last resort if the first method does not work. Thank you very much for reading this, let me know!

2 Likes

Roblox has a built in team chat already.

1 Like

Yeah I know, but what I am trying to do is a little bit different.

@RaterixRGL is right.

This is confusing, because this is already built-in.

The problem with that is what you explained is only the built in /team chat command, and nothing but that. Nothing different other than the built-in feature

2 Likes

Well the communication would be between two people on different teams. Essentially, I want to block out the messages between the two people on team 1 and team 2 for any players on team 3, but the players on teams 1 and 2 can see all messages.

Roblox has this as well, private messages can be initiated by clicking on someone’s name in the chat for example

2 Likes