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

Terrain is locked, could I use a script to permanantly remove it?

Asked by 8 years ago

So for some reason when I try to delete this water terrain, I get an error and it won't delete.

error

The Parent property of Workspace.Terrain is locked, current parent: Workspace, new parent NULL

I get this error whenever I try to delete it. I went in to properties and tried to untick "Locked" but it wouldn't let me.

Now I'm thinking the only option I have is to some how remove it with a script.

something like this?

for _, v in pairs(game.Workspace) do
    if v ~= nil  and v.Name = "Terrain" then
        v.Destroy()
end

Something among those lines. I really have no idea what else I can do so here's hoping. So how can I get a script to delete something out of the workspace forever?

Is there a way this can be done without scripting?

1 answer

Log in to vote
0
Answered by 8 years ago

You could just do it the "Harder" Method! I encountered this Situation and I realized the Easiest Way to get rid of it is go to Terrain on the Top bar, then Select a Reigon, then Highlight your area, and click delete! Its the Eisiest but most time taking method!

0
That did it, thanks a bunch! Dekadrachm 50 — 8y
0
:) PartyScripters 20 — 8y
Ad

Answer this question