Depends. I'm supposing the bullet goes from left to right. So:
[blocks]PLAYER SCRIPTS:
<when[ KEY USED TO SHOOT ]key pressed>
<broadcast[ shoot
BULLET SCRIPTS:
<when I receive[ shoot
<show>
<go to[ Player
<repeat until><touching[ enemy
<change x by( 20
<end>
<hide>
ENEMY SCRIPTS:
<when green flag clicked>
<forever>
<if><touching[ bullet
[DAMAGE INFLICTING OR KILLING SCRIPTS]
<end>
<end>[/blocks]
Offline