How do I make an enemy who randomly shoots

I am making a rocket game and one level i want and enemy to try and shoot at me. How do I randomly get this to shoot?

Ok use the RANDOM set at like 10 or something then have a filter that is equal to a number (1-10) and then have that into emit. (also have a timer on like 5 secs on REPEAT FOREVER)