-
Hello, I am trying to stop and animation from a seperate function from the one that initially loads it onto the players humanoid.
-
GetPlayingAnimationTracks() would be the go to but it has been deprecated and so im discouraged from using it.
using global variables is another suggestion i’ve seen but im unsure if i can assume that it would know the specific player i’m referencing. ( say my first function declares the global variables as player1 when they start the animation, then the same function repeats as player2 starts the animation, but then if player1 wanted to stop their animation using the stopAnimation function would it not just stop player2’s animation instead?) -
ive looked ofcourse on the developer hub, and ive looked all over devforum but im not sure what to look for.
Purhaps im just mis-interpreting global variables or maybe there is an entirely better moethod, either way if i can find one way to make it work its better than what ive got!
Thanks!