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)