Then I immediately return to the other window and I do not see the message in his head. The problem will be because a window is afk?
Btw, Is the client-side script even loaded?
You can check that by sending a message to the console when script loads.