How to work with chat modules?

Hey, so I’m trying to make mainly design edits to the chat, and I know I’m supposed to work with ChatModules but I could not find a proper guide or tutorial how to properly work with them, baiscally what I need is:

Color the player’s username to a pre-set color by me
Change the font of a player to a pre-set font by me
Animate the chat with the typewriter effect
Any ideas?
Thanks alot.

1 Like

Note: This is NOT bubble chat but normal chat

Here this should answer your question directly.

Thank you, but I want each player to have a different font.

Then you might consider doing a custom chat with a custom gui, i don’t think changing the font of singular messages is possible

I do not want that, as I already have alot of stuff connected to this one.

Nevermind sorry for my previous wrong answer, this should help you link
EDIT: You can make it so when a player speaks they don’t send a message but a secondary script writes for them instead choosing the font.

Thanks, this looks helpful but any idea how to color the players name to a different color for each player?

local ChatService = require(game:GetService("ServerScriptService"):WaitForChild("ChatServiceRunner").ChatService)

local speaker = ChatService:GetSpeaker(player.Name)

if speaker then
    speaker:SetExtraData("ChatColor", Color3.new(1, 0, 0))
end

From this post

Thank you, that solves one problem, but creates another, I’m trying to color the player’s name but this instead colors the color of the message

Speaker:SetExtraData('NameColor', Color3.fromRGB(255, 52, 52))
Speaker:SetExtraData('ChatColor', Color3.fromRGB(255, 130, 130))
Speaker:SetExtraData('Tags', {{TagText = '🚨Mod', TagColor = Color3.fromRGB(255, 52, 52)}})

You can NameColor for that matter.

2 Likes