How to make an autofill system in a TextBox

So I am trying to add an autofill system to a textbox from an array of items and I was wondering how I could do this?

Quickest way to go about it would be to get a text match from the TextBox and fill in the rest using string.gsub.

A more meticulous approach is to have a textbox underneath (with correct ZIndex) and have PlaceholderText (which will have the queried word), then wait for some key to be pressed to fill in the word.

1 Like