I’m currently working on reworking my combat system for an upcoming game me and a friend are creating (going to be heavily inspired by combat warriors, criminality, mortem metallum etc.) and I saw a previous devforum post where someone was asking how he could optimize his combat, and someone suggested handling all the animations on one module script in replicated storage, so I decided to try it. Previously all animations were handled in one server script and when you equipped the weapon it would check if a variable named after the specified animation was nil and if it was it would define the variable as the loaded animation (which prevents the animation from loading more than once I think)
I want to control the animations and the stamina through just one localscript using the modules, but I’m having doubts on whether or not this would be worth it? I feel like its unnecessary work when I could just get the children of the folder the animations are stored in and load them once like I did in my previous script, am I just overthinking this? I’m very sorry if this post is too confusing I honestly have no idea what I’m doing.