Why is my animation for my chest not playing?

I am attempting to animate a chest which is anchored but for some reason the animation does not play at all with no errors whatsoever.

local crate = ReplicatedStorage.CosmeticChests[label.Name]:Clone()
                    crate.Parent = workspace
                    crate.Chest.HumanoidRootPart.CFrame = Camera.CFrame + (Camera.CFrame.LookVector * 15) 
                    crate.Chest.HumanoidRootPart.CFrame = crate.Chest.HumanoidRootPart.CFrame * CFrame.Angles(0, math.rad(-90), 0)

                    local animCrateController = Instance.new("AnimationController")
                    animCrateController.Parent = crate.Chest

                    local crateAnimation = Instance.new("Animation")
                    crateAnimation.AnimationId = "rbxassetid://6066080652"

                    local crateAnimation = animCrateController:LoadAnimation(crateAnimation)

                    crateAnimation:Play()

I think it’s because there are 2 variables named crateAnimation, I would suggest renaming the loaded version to loadedCrateAnimation.