Reduce lag using Local scripts

Hello, I am making a game that has a giant map, and what I want to do is let the player choose quality settings when he joins, if the quality is set to low then I want all the little props to be removed using Destroy(). But can I reduce lag on low end devices by removing the little props locally ?

Thanks!

1 Like

If you use a local script and destroy parts, it only destroys for the client. The server will no longer show any of these destroyed parts.

Yeah but will it reduce lag ? Technically it is still in the server…

It will reduce lag because it won’t make those parts or whatever anymore, since its on the client. The server will still experience the possible lag from it, but the client wont. From what I know, this is a way to get rid of lag, but I don’t know if its efficient.

2 Likes

It’ll potentially increase the client’s framerate as there will be less work for the rendering engine but it won’t reduce network latency.

1 Like