Cannot load animation clip provider service

i have 4 different anims inside of a tool inside of StarterPack and they all have valid id’s

this is how im loading the anims:
(local script ofc)

local function createAnimation(id)
	local animObject = Instance.new("Animation")
	animObject.AnimationId = 'rbxassetid://'..id
	local animator = Humanoid:FindFirstChildOfClass("Animator") or Humanoid:WaitForChild("Animator")
	return animator:LoadAnimation(animObject)
end

local idle = createAnimation(config.IdleAnimation)
local swing1 = createAnimation(config.Attack1Animation)
local swing2 = createAnimation(config.Attack2Animation)
local swing3 = createAnimation(config.Attack3Animation)

adding waits() dont help

btw config is a module also in the tool

local module = {
	["IdleAnimation"] = "13805337822", 
	["Attack1Animation"] = "13805418910",
	["Attack2Animation"] = "13805452720", 
	["Attack3Animation"] = "13805480421", 
	

maybe try to use Humaoid:LoadAnimation() instead of using their animator?

thats the deprecated version of loading off the animator so that would make it worse