Skip to content

Instantly share code, notes, and snippets.

@mrsprinkler
Last active July 7, 2022 05:08
Show Gist options
  • Save mrsprinkler/74b9cb16153d1ec3581dc101d325291d to your computer and use it in GitHub Desktop.
Save mrsprinkler/74b9cb16153d1ec3581dc101d325291d to your computer and use it in GitHub Desktop.
for i,v in next, game.Workspace:GetChildren() do
if not v:IsA("Terrain") then
v:Destroy()
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment