You nailed some core mechanics for being so new to Godot, well done :) It would be cool to have some visual feedback for when you are hit or when your attack is successful.