(Tools / Attributes)
My normal process
Tool > FireServer:
Remote.OnServerEvent:Connect(function(Player)
-- Call the modulescript which does the combo and hitbox stuff
end)
(Module script gets the player’s combo and weapon attribute then gets the weapon data from another module script which holds the damage, Hitbox size, etc. Does everything with that stuff. Comment if I need more details)
I’m wondering if I should stick to what I’m doing and have one big module script handle everything from combo changing and hitbox spawning, or should I make separate modules for EACH weapon in the game (would this be unnecessary and take up memory?).
Normally I have one big module (big is a exaggerated) that handles combo’s and how much damage it should do and whatnot. But I kind of feel like just making separate module scripts would serve the same purpose while allowing for more customization options like if I wanted each swing to do status effects or something.
Can someone tell me how they normally do it, how I can improve mine, or if better methods exist?