Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

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

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

✓ Accepted answer

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!

2 comments

0

That did it, thanks a bunch!

0

:)

This discussion is preserved as it was. New answers, comments, and votes are closed.