Other way to damage/ cut out terrain in a script rather than using explosions?

I know I could use explosions and set them to non visible. But would there be a different way let’s say using a part as a reference on how much to cut out? To summarize, how would I cut out terrain without using explosions?

You may want to look into this article: Terrain Editor | Roblox Creator Documentation

Where does it say about cutting terrain in a script I read all of it.

It there.

is this the only way if so I can just use this but I want to know?