Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

:Destroying() terrain doesn't work?

Asked by 5 years ago
game['Workspace']['Terrain']:Destroy()

It drops an error HELP!

How can I remove terrain using a script!!!

1 answer

Log in to vote
0
Answered by 5 years ago

Hello,

To remove terrain you need to use :Clear() .

game['Workspace']['Terrain']:Clear()

This will remove all terrain voxels from your place!

~Frag

0
Thank's for the anwser! ExploitInstance 30 — 5y
0
No problem it is really simple. Fragmentation123 226 — 5y
0
Why not: game.Workspace.Terrain:Clear() ,You only use [" "] if it has a space in the name. PastDays 108 — 5y
0
because I like it more lol. Fragmentation123 226 — 5y
Ad

Answer this question