If String.Find is always true?

No success :frowning: is there another way to commit a similar function to string.find? I found that you can do text.find(v, 1, true) but I wanted the number one to be anything.

Wait I want to know what script throw output
Can you sent me that pls :smiley:

image

Oh… What text you put in to that

I put hello

Output:
image

I put the text hello, I dont ever put anything else

you should try this in script

image

If It’s work so you can try add

text = tostring(text)

below of

local function searchlistai(text)

1 Like

I understand and tried it. It works! So I have no idea how the text is changing. Mabye its being cleared before it can be read. But it should be getting cleared after read and verified

I’m sorry I can’t test in studio I should restart pc I brb

kk sounds good no need to be sorry

Use string.lower on both the text and for variable this way it doesnt matter if the string is lower or uppercase

string.find(string.lower(text), string.lower(v))

Sadly I learned this fact after I always made all the words with capitalization variety. So I will do this soon

1 Like

Oh no

I need help too lol

Go to view and enable the big icons

Place tab Not render bruh T_T

(Is my pc tried of me lol I use it almost 22 hours)

wth thats weird im sorry man :frowning:

Um… So~~~~ Roblox help me pls LOL

I used to seen this before and I leave about 3 - 5 hours and It’s back
I think this will ok but I’m unable to test the code so sorry :frowning:

I think It’s cause by network or my pc files IDK

So you should make the textbox not clear text and add
if code is checked text then
delete text in textbox

something like that :3

1 Like

mk sounds good, but what if I just remove the delete tactic for now. Maybe that will fix it?

Ummm you mean you want to make text to check is less (Eng not my main language so I’m not understand sometime so sorry)

It worked. But it always responds witha greeting instead of the one correlating to the list. Thanks for the help

I removed this piece here:

ChatBox.Text = ""

And placed it after the search list function sees its true