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!