Don't try to keep her all to yourself.

Literal

Her monopolize try [prohibition-な].

一人占めしようとするな uses the negative imperative ~な: 'don't try to monopolize.' 一人占め means 'monopolizing, keeping all to oneself.'