Optimization Help

Which would cause less lag and be most efficient?

  1. Using a script containing a loop for each player (Script for each player that loops)

  2. Using a loop that constantly searches through the players on one script (Single script that loops a Search function)

1 Like

It’s better you state your use case alongside the problem, as someone could have a better solution than just looping. Regardless, there’s a negligible performance difference in either of your proposed approaches.

5 Likes