In regards to your issue - did you connect the animation_finished signal to your _on_animation_player_animation_finished callback somewhere? I don’t see it anywhere in the code snippet you presented here.
Please also make sure to always paste code between three ticks ```