Does using less scripts make the server lag/ping lower?

I recently converted about 2000 scripts to work in just 2 scripts, and I noticed that the server ping went down by a lot.

I originally tested how my game worked with higher ping by using a recording software and having things open to clog up the network. When I did that, the games ping averaged 200+. Now, after converting the scripts, I again clogged up the network, but this time the ping averaged at 50-70. I am not sure if all those scripts were making the servers ping high, or if my network was working extra good today.

2 Likes

If the scripts are all server-sided then no, not a real problem I suppose. If client-sided then there would be due to client-server replication. Also prevent using a lot of loops on client scripts and remote events.

1 Like

Gotcha, thank you so much!

…….

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.