Well every tick that time = 40 seconds it will fire..
I'm pretty sure that is only 1 tick..
You could solve this by creating a sprite and giving it timer behaviour..
Give enemy3 a boolean variable and toggle the variable on timer
If enemy3 is boolean fire, if not don't fire bullets..
If you set the timer on timer you can set the wanted time for the spraying..