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
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
Unless, these both code boxes are two different scripts.
They are in the same script, any ideas on what I can do?
Make 2 different scripts.