This is your choice. Members of an LLC may be paid "via payroll", but you must withhold Social Security, Medicare, Federal, State, unemployment taxes and more. Additionally, your LLC must pay for the company's share of Social Security & Medicare, making this a more expensive option for your LLC.
If you pay via a distribution, you do not have to withhold or pay the employer portion. However, all members must get pro-rata distributions based on their ownership %'s.
Finally, paying via payroll shows as an expense to your LLC & weakens your P&L (harder to borrow money, etc). A distribution happens after your P&L.