I wrote a small animate class that PARTIALLY follows SOLID and OOP principles. It works for both R6 and R15 rig types.
You can adjust any transition value in this module to suit your needs (since it’s configured for my game). Also, don’t forget to add the animation IDs that you plan to use.
I removed Emotes and Dances because they aren’t needed in my game through chat commands. I will add a complement to this module in the form of an animation (emote) player. And of course, if you evaluate this module, I’ll share the code and make it perfect XD
So weird bug, it will NOT stop playing the default animations. Any other animations are ovveridden I think…
I have a sprint mechanic, Animation works fine with normal animate, but with this my character is now steve from minecraft in creative mode.
Im too lazy to look into the code and bother you, so if you could tell me a possible reason that would be lovely.
Also like god they need to remake the animate script bro
Edit: There is a public method called “ChangeMovementSpeed”. Is this supposed to replace functionality? im not sure, i just drank coffee and feel like a squirrel on steriods.
Well, as I already mentioned above, if people give feedback on this module, I’ll definitely improve it by adding convenient animation (emote) playback, preset with animations for R6 and R15 characters.
For now, this module is just a rework of the existing ‘Animate’ script, but in a better, more comprehensive form.
Edit: The public methods are created simply to demonstrate that you can use the module’s functions externally. They are not intended for any specific functionality at the moment, just for demonstration purposes
I have updated the module. All of the above has been taken into account.
I haven’t done the emotion playback module yet XD
Maybe someone will push me towards it, but I built the structure so that it wouldn’t be an issue for someone else to implement it, but the module is unlikely to receive any updates from me.
Preloading the Animations does allow for loading the animations faster. But it still has the same “Bug” look when first loaded.
When you first load, the animate module does not seem to recognize the character and does not load or connect to any events. It gets stuck in the “ToolNone” pose.
All animations that are played and connected to the different humanoid events cannot be ovveridden. Their “AnimationPriority” is not set therefore its established that they are “Action4” or the highest priority action.
*Ill be fixing these for my games manually and sending it back here.
If I do change it substantially ill be creating a new topic and crediting you (Ill make it very clear your the original creator).*
It seems unusual in your case.
Yes, there is an issue with the Tool animation resetting during the looping idle animation, but this can be resolved by simply changing the AnimationPriority in the Tools script.
However, the script cannot fully reset the animation, as some animation will always play unless influenced by external functions.
Perhaps the item’s animation was set for the whole body, and because of this, when the idle animation repeats, there’s a conflict with AnimationPriority, which can be fixed by changing it in the Tools script.
If the issue persists, please provide additional information, as I was unable to replicate this exact bug