--For running in command bar


local function setLayeredClothingOrder(obj)
	if obj:IsA("WrapLayer") then
		if obj.Order ~= 1 then
			obj.Order = 1
			print(obj.Name)
		end
	end
	for _, child in ipairs(obj:GetChildren()) do
		setLayeredClothingOrder(child)
	end
end

setLayeredClothingOrder(game:GetService("ReplicatedStorage"))
