We will use a Timer to sequence the firing of projectiles
Add a Timer as a child of Turret
Turn on the Timer's Autostart property
Connect the timeout() signal
Now modify the Turret script
Choose which part of the Turret
you want to shoot from and create
an onready variable for it
move the code from the ready function
into the timeout function
Delete the ready function
set the global position of the projectile to the global position of the part of the turret which will shoot projectiles
We need another timer to control the lifetime of the projectiles
add a Timer node as a child
Set the wait time to 2 seconds
Connect the timeout signal