。
Don't be a nuisance.
Literal
Trouble-[to-に-not-なら-so-that-ように] do-[command-なさい].
迷惑にならないように ('so as not to become troublesome') is a hedged negative command using the ~ないように + します/しなさい frame. になる ('become') is the change-of-state link for the na-adjective 迷惑. Parental/teacherly admonishment, standard in Japanese child-rearing.