I created a terrain generator that generates terrain based on where the player is with parts. But it lags when there are lots of parts in the game. Would converting my generator to create terrain instead of parts be worth it?
what ever you want. I’ve created infinite smooth worlds and infinite blocky minecraft worlds. You do need to do a bit more to get procedurally generated part based terrain to run smooth. When making a small minecraft demo i spawned the terrain in as chunks using a seed delivered by the server so everyone generated the same map and replicated any changes made to the terrain to other players so the server wouldnt die from generating and unloading terrain for everyone. lol. Im sure there are plenty of ways to get either running smooth, so i think its based off preference.
Voxels work best out of the box especially if you can combine streaming with it.
Roblox does a lot of optimizations for it under the hood.
Parts will always be a slower alternative but it can work at the cost of more effort.