Can you edit messages that players send in chat?

Not sure if the title is that well made but what I’m trying to do is

if a user says “x” it would replace it and the message that is sent would be “v” or something, I have seen this done in some games but I’m not sure how to do it, does anyone know how and can help me?

1 Like

To do that you need to use the Chat interface you make and script because Core UI Chat cannot be overridden so turn it off first.
Then, before chatting, check and modify it to your liking
string.find(),string.replace() and more in string class can help you!
Tell me to explain some more parts! :grinning:

1 Like