can you substitute butter for vegetable oil?

If the aim is the lose weight, you should perhaps not be eating brownies, which consists largely of starch and sugar with a little bit of protein, in the first place. You will want to avoid simple carbohydrates (eg., sugar) and reduce the intake of complex carbs (eg., pasta). Fat, especially the polyunsaturated fats of vegetable oils, is the least of your problems.