Any way to add the terrain editor in-game with restrictions?

Although I have scripting a placement system before, I am wondering if I can replicate something like this ingame:
Example

5 Likes

This article on Scripting Terrain might help you.

2 Likes

game.Workspace.Terrain:FillBlock(part_cframe, terrain_part_size, material) You can use that creating a cframe with mouse.hit.p, the size and the material.

1 Like