[SOLVED] Enemy Shooting Dilemma

Trying to get an enemy to shoot forward at random intervals but it just sits there without shooting when I run the code.