Gate node doesn't close in multiplayer

Hey, everyone.

I’m having trouble with a multiplayer prototype.

Apparently, when I’m firing, it all goes smoothly. But as soon as I release the button, the gate that’s supposed to stop the projectiles from spawning isn’t closing on the client when firing on the server and viceversa, on the server when I’m firing on the server. Locally, they stop.

When releasing the button, the Print String which says “stop” executes correctly, but the gate stays opened.

Here’s the Blueprint:

bp1.png