We will reuse and modify the bullet scene for the enemy bullets
Choose Save Scene As (Ctrl+Shift+S)
Name it enemy_bullet.tscn
Rename the Bullet node to EnemyBullet
Change the Texture to use
Add a new script to the EnemyBullet node
Add a variable for the bullet speed
In the correct position and
Create the body entered function
Connect the signal in code
Connect the screen exited signal
Save the EnemyBullet scene
Add it to the Bullet property of the Enemy
Add a variable for some variation of the bullet
If the player is dead, then exit
Pass it to bullet start function
Add a take damage function to
Create the required explode function
Code the body entered function
To explode if the enemy hits the player
Connect the body entered signal
Return to the bullet script
Code the area entered function
To detect and damage enemies
Connect the area entered signal