#Animations have delay and preloading isn't working

1 messages · Page 1 of 1 (latest)

ionic knoll
#

So I have animations playing for a tool I'm making and there's always a delay before the animation starts. I tried preloading & setting the transition time to 0 but nothing seems to work. I'm getting really tired of the delay and I don't know if I'm even properly preloading since it doesn't seem to do anything.

an example of executing the animations:

tool.Equipped:Connect(function()
    print("Equipping")
    Equipping = true
    
    Anim.Unequipped:Stop(0)
    Anim.Equip:Play(0)
    
    --First Sound
    local EquipSound = SoundFolder.General.Equip:Clone()
    EquipSound.Parent = Character
    EquipSound:Play()
    game.Debris:AddItem(EquipSound,2)
    
    Anim.Equip.Ended:Connect(function()
        if Equipping == false then
            return
        end
        
        Anim.Equipped:Play(0)
        
        Equipped = true
        Equipping = false
        
        --Fully Equipped Sound
        local Equip2Sound = SoundFolder.General.Equip2:Clone()
        Equip2Sound.Parent = Character
        Equip2Sound:Play()
        game.Debris:AddItem(Equip2Sound,2)
        
        print("Equipped")
    end)
end)
#

More examples ^

high phoenix
#

is Anim.Unequipped ur idle animation?

ionic knoll
high phoenix
#

which animation is before that

#

the one where it has it behind

ionic knoll
#

oh sorry unequipped is when it's on the back and equipped is when the musket is in one hand

high phoenix
#

Could u send a file of ur place