How do I make a render distance system?

I want to make a render distance system for my game. But I couldn’t find any solution that wouldnt get really laggy. So how would I do this?

Users can increase and decrease the render distance using robloxs built in settings

Another option is to use content-streaming the server will send only parts the player is close to and if they run out of memory they will unload parts

and another option is to design you workspace in folders then inside a localscript move folders into replicatedstorage if the player is to far away from that folder

and another option is to use places this video will show you how to teleport players to a new place