So dont know if its just me but you cant get any animations you’ve loaded so I made a module for this!
Its not very complicated but I like it and so here I am to share it!
Features
SetHumanoid | Params (Humanoid) | This allows you to set the humanoid you want it to use, this isnt needed if the parent of the module is a humanoid. By default it uses the parent if its a humanoid, if it isnt one make sure to call this function before calling the others.
LoadAnimations | Params (AnimationID,Name | This function allows you to load an animation based on its ID. The name parameter allows you to use this name in order to retrieve set animation
GetAnimation | Params (Name) | This function allows you to get any loaded animation based on the Name value.
Okay so, I used this to periodically load animations that need to be called on a server event.
Bad idea ik
Just enter my game and press left click to m1.
It used to have to load the animation every time the server was called but now…! Idk how this works but it doesn’t have to load it every time! Prelude (WIP) - Roblox
Plus it’s just cleaner code and it’s out of a module that’s honestly quite easy to configure, for me I had to use this to get already synced animations then load them into a module I have in the humanoid that stored all loaded anims. Then I retrieved that table on every left click to a server script that fired a remote function to start the animation
You can always Play the animations and put their weight to absolutely nothing (so that you do not see them) (you can always loop the animations / set the animation speed to zero) and then proceed to use: