Anyway to get the length of an animation without loading it to a humanoid?

So I am working on a system that loads animations via the client but I need to get the length of it in the server. And I feel like that loading the animation again on the server is going to start using up memory.

And I dont really want to send the length of it via an event cause well anyone could just change how long it lasts.

So uh is there anyway to do this?

2 Likes

Get Animation Length without Loading the Animation - Help and Feedback / Scripting Support - Developer Forum | Roblox

I don’t think it’s possible, but if you already know the animation length you can store it somewhere beforehand. It’ll be a bit more work, but it’ll be easy to access. You can even store it in a number value under the Animation object.

1 Like