Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

TextBoxFocusReleased not working..?

The script below works fine..

function check()
	script.Disabled = true
end
game:GetService("UserInputService").TextBoxFocused:connect(check)

but this one doesn't work at all..? There is no errors in the output.

function check2()
	script.Disabled = false
end
game:GetService("UserInputService").TextBoxFocusReleased:connect(check2)

4 comments

0

Your problem is that when the first code is fired, the Script disables itself,and when so, the Script can not re-enable itself, thus why the second code listed is not working. :P

0

Unless, these both code boxes are two different scripts.

0

They are in the same script, any ideas on what I can do?

0

Make 2 different scripts.

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.