Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Is it possible to controll terrain in scripts?

Basically, my question is this:

For the purposes of loading maps, is it possible to load a terrain map using serverstorage or something? Basically my idea was to have a maze that would spawn in. I think my only other option would be to have them pre-made and already in the Workspace and have players teleported there.

1 comment

0

I am trying to figure out the same thing... :/

1 answer

✓ Accepted answer

Yes.

You can store chunks of terrain in a TerrainRegion.

Use the CopyRegion method of workspace.Terrain to create a terrain region. You can store the terrain region somewhere, e.g., in ServerStorage.

Use the PasteRegion method of workspace.Terrain to put a terrain region back into the world.

1 comment

0

Thank you so much!

This discussion is preserved as it was. New answers, comments, and votes are closed.