The script bullet.gd, which is attached to the Bullet node in the Bullet scene, is trying to create an instance of itself when space is pressed?
I don't think that makes sense. I saw that player.gd is also handling shooting.
I removed func _physics_process() from bullet.gd, and that removes the error.
I can't tell if shooting is working correctly because I don't know how the game works.