Weapon functions in module scripts

I wanted to ask here is it ok to put functions like function wich plays anims enables hitboxes etc. or humanoid detection only in 1 module instead of putting it to every single tool

Yes, it’s actually a good practice to encapsulate reusable functionality, like functions that play animations, enable hitboxes, or perform humanoid detection, into a single module. This promotes code reusability and maintainability, reduces redundancy, and makes your scripts easier to manage and debug.

In theory that is what a module is for …