Hi guys! I've created an animation that will play when opening a menu. Because the length of the animation depends on how long the menu is kept open by the client, I made the animation pause after it is finished playing:

animtrack:Play()
wait(animtrack.Length)
animtrack:AdjustSpeed(0)
animtrack.TimePosition = animtrack.Length

This script seems to only work sometimes. I believe the problem is that the player's idle animation plays while this animation is paused. What do you suggest I do to fix this? I've tried setting the animation's priority to "Action" as well as stopping all other player animations before playing the animation. Any help is appreciated. Thanks!

1 comment

0

How I overcome this issue was using a while for loop. Although I to am having some problems but it seems you ran into the same problem I had not that long ago but I fixed it. So try a while loop.