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)