How Easy Is This To Do(Roblox Chat Design)

I want to make a game which when you chat each letter is changed into a certain symbol based on what it is.

For example a would become AVariation or AVariation2

How hard would this be to do and how would I go about doing it?

1 Like

Here’s a headstart.

Use RegisterFilterMessageFunction to change a player’s chat message.
Example code: (Paste this into a ModuleScript within the ChatModules folder.)

local functionId = "editText"

local function doFilter(speaker, messageObject, channelName)

    if messageObject.Message == "ez" then
        messageObject.Message = "gg" 
local function runChatModule(ChatService)
	ChatService:RegisterFilterMessageFunction(functionId, doFilter)
return runChatModule

This changes a player’s message from “ez” to “gg”.

DevHub link: Lua Chat System — Server API — ChatService
Another post for more info: How Would I Edit a Players Message?


Does your code change “ez” to “gg”? I’m totally using it!

Yep, here’s a video of this script changing the text: change ez to gg

1 Like

How could I do this for individual letters in a message but changes them to symbols I designed and uploaded as decals?

Sorry but at first I thought you could just switch the message into a rbxassetid but you can’t so you should try to make your own custom chat box that would allow you to use decals as messages.
AlvinBlox made a pretty good video on how to do so that should help you on your goal:

Another post related to custom chat boxes: