if Input.is_action_just_pressed("spell"):
if animation_player.current_animation != "Armature|Shoot":
animation_player.play("Armature|Shoot")
if Input.is_action_just_pressed("spell"):
if animation_player.current_animation != "Armature|Shoot":
animation_player.play("Armature|Shoot")