Is there a way where players can only see their team chat in the classic chat, but they can see everybody else’s bubble chat?
Think of it kind of like the chat system in-game is set to bubble (global), but I’m using the classic chat as a radio system between team members ONLY (cannot see global chat in classic chat).
@sebi210 Not true at all, ChatService is readily available under ServerScriptService for manipulation.
For your case, I’d say, take a look at the following code:
local Players = game:GetService('Players')
local Chat = game:GetService('Chat')
function handle(player)
player.Chatted:Connect(function(msg)
if player.Character then
Chat:Chat(player.Character.Head, msg, 'White')
end
end)
end
for _,v in next, Players:GetPlayers() do
handle(v)
end
Players.PlayerAdded:Connect(handle)
Do be careful though, ensure that it all gets filtered (this was merely a code sample).