Hello, I'm a making a holographic training center. The script below is suppose to end the maps. (Remove them.) However I am having trouble with the Terrain child. Please help!
elseif message == "!end" then
for i,v in pairs(workspace:GetChildren()) do
if v.Name ~= "Terrain" or "Lobby" or "Player" then
v:destroy()
end
end
This script should take away every child of Workspace besides the Terrain, Players, and Lobby. But however the output always comes up with the same error.
19:54:50.142 - Cannot Destroy() Terrain
Please help!
