not a teacher
It depends what you're trying to say.
If you mean: "I genuinely love her money very much, but I don't love her", then the sentence is alright, although I might say "…, but not her".
However, perhaps you mean: "I am speaking the truth when I say that I love her money, not her", then there are other forms which might be more natural.
To be honest, I love her money, not her.
The truth is that I love her money, not her.
Student or Learner