Animations doesn't want to work?

Hi there, I am using the code provided below and the animations do NOT work at all either in studio or in-game.

Yes, the animations are set to action.
Yes, I own the animations.
There are no errors/warnings or any outputs at all.

The animation does not work at all. I’ve also tried using Humanoid.Animator:LoadAnimation() and Humanoid:LoadAnimation() with neither of them working

local player = game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()

local function PlayAnimation(bool, anim)
        if bool == true then
            anim:Play()
        else
            anim:Stop()
        end
    end

local animations = {
        Hold = char.Humanoid.Animator:LoadAnimation(tool.Animations.Hold),
        Reload = char.Humanoid.Animator:LoadAnimation(tool.Animations.Reload),
        Shoot = char.Humanoid.Animator:LoadAnimation(tool.Animations.Shoot),
        Pump = char.Humanoid.Animator:LoadAnimation(tool.Animations.Pump),
    }

PlayAnimation(true, animations.Hold)
3 Likes

Quick solution, wait until roblox fixes it.