Edit Player's Message

Hi! I’m planning to make a script that automatically gives the player perfect grammar.
(E.G “hello” becomes “Hello.”)

I’ve tried finding any sources on the internet for changing the player’s chat message, and I can’t find anything. Can anyone help?

I’m sure auto correct is ai driven?(so it’s hard on Roblox cause it sucks)

Look at solution.

No, I’m just using things like string.sub to change the first message to capitals and the last message to lower case, etc, but my main issue is actually editing the player’s message

It’s not practical since you’d have to manually enter all the auto corrects.

Oh, thanks! Didn’t see that. Sorry for any issues.

Does messaging service not work?

Couldn’t have been better. If he wants to achieve it take the route