Model's attack animation does not render in game time

Godot Version

4.6 mono version

Question

Hello,

I am following this tutorial yesterday and got stuck. The skeleton_mage attack animation is not playing. I am also getting this error message in Godot: ERROR: Can’t add animation library twice with name:. This is where i am currently at tutorial video: https://youtu.be/AoGOIiBo4Eg?si=6I6idv0ET4IPsUsK&t=16436. This is the code script in skeleton_mage:

extends Enemy

func _ready() -> void:
	attack_radius = 10

func _physics_process(delta: float) -> void:
	move_to_player(delta)



func _on_attack_timer_timeout() -> void:
	$Timers/AttackTimer.wait_time = rng.randf_range(2.0, 3.0)
	if position.distance_to(player.position) < attack_radius:
		$AnimationTree.set("parameters/OneShot/request", AnimationNodeOneShot.ONE_SHOT_REQUEST_FIRE)

never mind I got it