How do I delete the terrain that selects a part

Hello developers, I recently finished a story game so I wanted to optimize it in several ways, one of them was by removing a terrain that would no longer be used after a certain time, so I would like to ask if it is possible to remove the terrain that selects a part through a script (sorry if something is misspelled, I actually speak little English)

If you have a Part like that already defined, you can set the terrain inside the block volume to “Air”.

game.Workspace.Terrain:FillBlock(game.Workspace.Part.CFrame, game.Workspace.Part.Size, Enum.Material.Air)
2 Likes

Wow, it really worked, thanks!!

2 Likes