Help with optimisation

just wondering if it is okay to have scripts with only small amount on lines in them like 8 lines? or should i have a module script with everything inside?

Optimisation here isn’t your biggest concern. As far as I know, the only time having a ton of scripts would effect performance is if there were tens of thousands of them, however that’s most likely due to the duplicated code.

When you use a module script, all your work is nice and centralised, and if you want to make a change you don’t have to go through hundreds of scripts. It also makes managing systems a lot easier.

3 Likes

thank you i was just worried and wanted to make sure thanks for your feedback.