How do I make a map changer for terrain maps?

I am making a RTS and each map is mostly roblox terrain. I don’t know how to make a map changer for terrain. I can easily do it for parts, meshparts, anything that’s not terrain.

Anyways the players join the game, and vote for a map. Then the terrain map loads in along with all my meshparts. I am basically wondering, if there is a way to store terrain in replicated storage, or a script and then load it in when necessary.

There is an object called TerrainRegion that is a saved instance of Roblox terrain and can be loaded in using Terrain:PasteRegion(RegionInstance)

@Crazyman32 Made a plugin with a handy module inside for loading/saving

9 Likes

Thanks. If anybody in the future is looking at this post watch this video on youtube I found.

4 Likes

Wrong category. Move to #development-support:scripting-support

It’s not hard to check if you’re posting in the right category.

Oh oops. I swear I went into that catagory. How do I move it?
I flagged it.

https://devforum.roblox.com/t/psa-you-can-move-your-own-threads-to-different-categories-if-you-post-it-in-the-wrong-one/19965