Run this in the command bar:
local surfaceType = "SmoothNoOutlines"
function recurse(root,callback)
for i,v in pairs(root:GetChildren()) do
callback(i,v)
if #v:GetChildren() > 0 then
recurse(v,callback)
end
end
end
recurse(workspace, function(_,part)
if part:IsA("BasePart") then
part.BottomSurface = surfaceType
part.TopSurface = surfaceType
part.LeftSurface = surfaceType
part.RightSurface = surfaceType
part.FrontSurface = surfaceType
part.BackSurface = surfaceType
end
end) |