#How do I check a text box text for specific text?
36 messages · Page 1 of 1 (latest)
you check either on focus lost
or on whatever interaction, but yeah you just ask what the text property is
How would i use focus lost
How
Show us the full code. We don't know what input is
Input is the textbox.text
still, can you post the entire code or we cannot help
Their
might have to do with the type of input, you could try
if Input == tonumber(code) then
...
since it seems like you are comparing a number to a string
Alrigh I'll try it
It didnt work
I did
still not working
gimme a sec in a meeting
does it print?
thats your issue then, backtrack and look at why Input is nothing
why would it be empty tho bc im typing into it
do you ever update it after its been typed into? use the focusended event
it prints but its not working
While wait() do
If script.Parent.Text == "Hor*y" theb
Plr:Kick("20 Pushups soldier!!!)
Its not working
Game cannot detect your text without reupdating like renderstepped,while wait,or changed