She told me to be kind.

Literal

She [topic-は] kind [to-に] do [so that-ように] said.

The pattern ~ように言う reports an indirect command: 'told (someone) to do X.' Unlike the direct quotative ~と言う ('said "..."'), ~ように言う softens the instruction into a request or guideline. 親切にする means 'to act kindly, to be kind (in one's behavior),' using the na-adjective 親切 with にする to express deliberate behavior.