Protein has the necessary amino acid building blocks your body needs to build and repair muscle. You can't get these from carbs or fats.

If you want to build muscle you need to increase your protein intake to .75 to 1.0 grams per pound of lean body weight. (So if you weight 200 pounds and have 20% body fat your lean body weight is 180 and you need between 135 and 180 grams of protein per day.) Build the rest of your daily calories around protein and you will be able to see consistent results.