This is a question that has been stuck in my mind for quite a while now. I used Module scripts basically everytime and I never used local scripts or normal scripts unless for just requiring the module scripts. Is there ever a time I should use normal and local scripts or should I just only use them to require my Module Scripts?
#When should I *not* use Module Scripts
1 messages · Page 1 of 1 (latest)
Up to you bro
Yeah uhh
honestly
no one cares
Modules are just that fundamental
for more basic stuff you can avoid using them
but it'll prob be harder
u should use module scripts to store important information, such as, lvl stats, shop items, weapon stats, or even gamepasses!
aswell as to store whole ass functions
which is convenient when you make battleground games
where you can have a single input script that runs functions depending on the charachter of the player
which you get from the chars respective module
yeah i know its kinda hard to understand but its just an example usage
which you only need for educational purposes atm
unless your plan is to make a char based fighting game, like a battlegrounds
I usual use regular script and local script easy simple kept organising
Oh okay, so don't ever stop using module scripts if you can?
it's possible to make an entire game comprised of only one script with one line in it require(modulescript) but why would you? that's for you to learn