Make every part in your game smooth

Console code to make every part in your game smooth. (Every part in Workspace)

for i,v in game.Workspace:GetDescendants() do
	if v:IsA("Part") then
		v.BackSurface = ("Smooth")
		v.BackSurface = ("Smooth")
		v.BottomSurface = ("Smooth")
		v.FrontSurface = ("Smooth")
		v.LeftSurface = ("Smooth")
		v.RightSurface = ("Smooth")
		v.TopSurface = ("Smooth")
	end
end
9 Likes

uhh i think is could be easier make it like this

for i,v in game.Workspace:GetDescendants() do
	if v:IsA("BasePart") then
		v.Material = Enum.Material.SmoothPlastic
	end
end

btw whats the point of this script?

7 Likes

I left it like that so people can more easily edit it. I decided to post it because if your game has studded parts in it and you don’t want to manually change them all you can use this.

the code which @ianplus provided does better without having to setup too much enums