Linking Team Chats

  1. What do you want to achieve? Keep it simple and clear!

I’m looking to make it so that /team messages for three different teams are essentially linked to one another. So, if somebody on the Moderator team sends a /team message, it’ll also send it to the Executive and Corporate teams.

  1. What is the issue? Include screenshots / videos if possible!

I think I’m having issues on how to approach this at the moment. I’ve been thinking of if I could somehow do something like, if their group rank is at a certain point, it adds them to all three chat channels? But the teams will not always exist, as it is currently programmed to delete and re-create them if they are empty, so I haven’t been sure of how it’ll work with that, or if they somehow change teams.

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

I’ve tried messing around with disabling the default text channels in TextChatService, but I haven’t figured out much on how to get it working past that. I’ve messed with creating a new channel and trying to make a chat command to send messages into that channel, but it hasn’t worked thus far and I prefer the /team functionality that keeps you in that channel until you backspace out of it.

you could first of all; get a serverscript to check every time someone chats, see if /t or /team begins with it (roblox automatically starts every team chat message with them), check what team the speaking person is on, and send a remoteEvent to every player on teams that should be able to see it (and do some other magic with textservice to make it appear in their own individual chats)

this completely gets around the issue of teams existing or not because itll check every player’s team and then send them a remote to create a message, probably not the most efficient method but its the best i can think of :person_shrugging:

2 Likes