Animation Load Problem

im working on an animation framework especially to preload anims upon spawn n i got this function here

local function Load(Character:Model, Animator:Animator)
    
    for _, Animation:Animation in AnimationsFolder:GetDescendants() do
        
        if Animation:isA("Animation") then
            
            local LoadedAnim:AnimationTrack = Animator:LoadAnimation(Animation)
            
            repeat task.wait() warn("waiting on", LoadedAnim.Name, LoadedAnim.Length) until LoadedAnim.Length > 0
            
            if not Animations[Character] then
                Animations[Character] = {}
            end
            
            Animations[Character][Animation.Name] = LoadedAnim
            
        end
        
    end
    
end

but it always ends up getting stuck on an anim like this
image