The script is highly responsive, like every 50-200 ms the states gets checked.
I don't know what causes this delay for you, but it works fine for me.
Did you try restarting the client?
If you still have this issue, add my skype so I determine the issue and fix it for you.
Khaleesi