Buying a franchise does not automatically provide you with limited liability.  The franchisor may be a corporation or LLC but that does not make your own franchise business a corporation or LLC.  You must still form your own corporation or LLC in order to obtain the benefits of limited liability.  Otherwise, you will have a