I have a charging animation where the character will raise their arm, and keep it there until the weapon is thrown. This is the code for handling that:
CurrentTrack = Animator:LoadAnimation(ChargeAnimation)
CurrentTrack:Play()
wait(1)
if CurrentTrack.Animation.Name == 'ChargeAnimation' then
print('correct')
CurrentTrack:AdjustSpeed(0)
end
But sometimes, even when “correct” is printed, the player’s hand will still drop, and I can’t find a reason for this. Any help is appreciated!