swingAnim.KeyframeReached:connect(function(name)
print(name)
end)
> swing1
It prints out the first keyframe every time the animation is played, but none of the others.
swingAnim.KeyframeReached:connect(function(name)
print(name)
end)
> swing1
It prints out the first keyframe every time the animation is played, but none of the others.
You should include the repro file to your post.
Okay, my bad. The print code turned out to be within a conditional statement; I couldn’t tell because of the way my code was tabbed.
Script analyzer used to include a warning for cases like this but I had to remove it since too many people wrote their scripts without any indentation
How the heck can you even read your code without indents?
I can’t, but for some people it’s apparently not a problem! (or they don’t read code)
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.