How to team chat in roblox

Help and Feedback Scripting Support

hello, basically:

How do you restrict users to only see their team talking? for example if a player on the Playing team talks, it’s not visible to the player on the Lobby team.

Thanks!

3 Likes

@TheBigC10 I’ve never used ChatChannels, but I believe that’s what games like Impostor do to have team-only chat. Here’s the link for ChatChannels:

developer.roblox.com

Really hope this helps. Also I know what it’s like to not have a response to something for 4 hours lol.

Roblox should already by default have a team channel.

You would just want to make something to move them into the channel so they don’t have to do /team or /t first to join the team channel.

1 Like

I thought roblox already has it default by typing in chat /team

@TwyPlasma but yeah I think @TheBigC10 means channels instead of having people type in “/team”
Also, if one player on one team said something that they didn’t want the other team to see and spelled the team function “:team” or something like that it would make it visible to the other team.

I am more specifically talking about this, when a player says anything in chat, it’s only visible to their current team.

How to team chat in roblox
How can I make 2 different chats? Scripting Support

I recently started working on a Among Us inspired game on Roblox. I was working on chat when I came up with an idea to just make 2 chats, one for ghosts and one for the players alive. I tried to find a tutorial or post on devforum that could help me but I haven’t found anything. I need a script that makes 2 different chats and also makes it so specific players (players dead) can see but can’t type in one , and so that the other players (players alive) can’t even see the other chat. Can anyone gi…

This Platform uses cookies to offer you a better experience, to personalize content, to provide social media features and to analyse the traffic on our site. For further information, including information on how to prevent or manage the use of cookies on this Platform, please refer to our Privacy and Cookie Policy.

Help and Feedback Scripting Support

How would I make team chat for multiple teams? So Team1 and Team2 have the same team chat while Team3 and Team 4 have a different chat. Any help would be appriciated!

Roblox already has this implemented. You just have to use “/team” or “/t” before typing your chat message. However, if you want to customize this behavior then you will have to learn more about customizing the Lua Chat System.

2 Likes

what script have u tried for this

1 Like

no script, I’m just genuinely confused on how to do this

1 Like

try doin

local Player = game.Players.LocalPlayer

if Player.TeamColor == “the team color in rgb” then Chat1.Visible = true Chat2.Visible = false

end

if Player.TeamColor == “other team” then Chat2.Visible = true Chat1.Visible = false

end

1 Like

is chat one meant to be team chat?

1 Like

chat one is the chat for both 1 and 2, and 3 and 4 is for chat 2

1 Like

If you don’t understand the chat system then you can start by reading some community tutorials on the subject. They can help introduce you to the concept and features.

Here’s a few I found on the subject:

If you’re new here, I encourage reading through the preface introducing the method of changing chat settings. If not and you want to skip to the settings, here’s a list of all the sections! Chat Behaviour: General settings for using the chat. Chat Text Size Settings: Most text sizes. Does not affect old bubble chat. Font Settings: Overall font. Does not affect old bubble chat. Color Settings: Chat window and bar colours. Window Settings: Chat window size settings. Fading Settings: Determ…

You should also read the above link I provided about the lua chat system.

Now, for your problem regarding team chat. The easiest way to implement this would be to separate the team chats into their own channels. You can read the Adding Channels section on the lua chat system page.

You can also check out this earlier asked question about adding chat channels.

How to team chat in roblox
Attempting to create a Chat channel Scripting Support

Hello. I am trying to create a channel using the Chat modules, however, when I try to create one, it does not work. The module script that I made does run though because my print statements ran while I was doing previous testing. [Channel] [Chat] Any help would be appreciated. Thank you.

1 Like

the script i told u wont work unless u were making a custom chat gui
if it doesnt work either way, im sorry but i cant help

1 Like

Team chat is a feature built-in to Roblox, you can read more about it here:

How to team chat in roblox
Roblox Wiki
How to team chat in roblox

Team chat is a feature of public in-game chat which allows a user to only send messages towards team members, while ignoring other players. It is activated by entering % as the first character of a message. It can also be accessed using the "/t" or...

https://developer.roblox.com/en-us/api-reference/function/Players/TeamChat