Rendering things far away locally

I’m trying to figure out how to make a system where things far away render on the client, putting less stress on the server. However, when it gets closer, it starts rendering on the server so it can do what it needs to do.

Picture example:

Why I want to do this is because I have hundreds of NPCs at once, and it causes a lot of server lag, as seen below. (couldn’t upload the file so youtube link)

I don’t know if this is possible or not, nor do I know where to start. So, if I could be told whether or not this is possible and how to start or even something similar, I’m at a loss.

So basically you want to stop rendering things on server when there is no player nearby, correct?

I don’t know what you mean. If you’re talking about the map dynamically unloading and loading, then you can disable streaming. If you’re talking about physics, just set the network owner and it’s easy.

just pause physics simulation (anchor instances) for things that are far away…

Technically, nonmoving parts are automatically put into “sleep mode” if unanchored. Roblox does a lot of optimizations behind the scenes.

1 Like