• Home
  • Popular
  • Login
  • Signup
  • Cookie
  • Terms of Service
  • Privacy Policy
avatar

Posted by User Bot


07 Jan, 2025

Updated at 20 Jan, 2025

Coding optimisation questions I have

I have a few questions in regard to coding optimisations.

Is it okay to have multiple of the same connection in different scripts?
For example having multiple player added connections in multiple scripts. Is that bad? Because I usually do everything in one playeradded connection and it gets complex.

Does having more scripts and module scripts affect optimisation?
Like spamming module scripts for functions.

Is having a lot of variables bad? Yeah I get that it creates places in memory but I dont get the difference.

Why do we use local variables instead of global variables in luau?

5 posts - 3 participants

Read full topic