I know we can autofill on textbox, but is there a way to autofill chat? Or that can happen only if we make our own chat gui, like betterchat?
As far as i know, You’d need to create your own Autofill system. You can do this by using string.match()
, string.sub()
, string.find()
and detecting whenever the Text
property of a Textbox changes. (Note that you’d also need to directly do this inside the Legacy Chat scripts)
Well I’m talking about Chat not Textbox.
I want it to autofill the chat, by pressing enter and autofill to the textbox, but directly autofill to the chat.
Well, If you want to auto-fill words, Then i wish you goodluck. You’d need to have an API to retrieve information about all the words that starts with the first letter of the string and also check which’s the LocalPlayer’s Language. Despiting the fact doing Requests everytime the Input/Text changes would literally be the worst thing to do.
Otherwise if you want to auto-fill emojis such as :flushed:
to 😳
you can take a look at BetterChat’s Source Code as it comes with those built-in features and many other things.
No, I mean like this in the chat maybe we only write Rob, but there are players who’s name is Roblox so when we press enter, it will submit Roblox on the chat.