Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

TextBoxFocusReleased not working..?

Asked by 8 years ago

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)
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 TheeDeathCaster 2368 — 8y
0
Unless, these both code boxes are two different scripts. Nickoakz 231 — 8y
0
They are in the same script, any ideas on what I can do? UnleashedGamers 257 — 8y
0
Make 2 different scripts. HungryJaffer 1246 — 8y

1 answer

Log in to vote
-1
Answered by 8 years ago

the number 2 is whats wrong

0
What...? UnleashedGamers 257 — 8y
Ad

Answer this question