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 or
How hard would this be to do and how would I go about doing it?
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 or
How hard would this be to do and how would I go about doing it?
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"
end
end
local function runChatModule(ChatService)
ChatService:RegisterFilterMessageFunction(functionId, doFilter)
end
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!
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: