Complex sentence: The script is used primarily to write Nepal Bhasa, though sometimes also used to write Sanskrit.
Split into simpler sentences: The script is used to write Nepal Bhasa primarily. Besides Nepal Bhasa, it is also used to write Sanskrit.