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

How do you disable/enable terrain decoration (realistic grass) through a script?

Asked by
EmK530 143
4 years ago

The title kinda says it all. Basically I'm trying to do:

game.Workspace.Terrain.Decoration = false

But then I get hit with:

23:27:12.884 - Decoration is not a valid member of Terrain

That's basically all I can tell you, any solution?

1 answer

Log in to vote
1
Answered by 4 years ago

Decoration cannot be accessed by any Lua code. Please read here.

Ad

Answer this question