You can flash the official firmware using the LG tool, a PC and the KDZ file from XDA (I can't post URLs from my account yet so just Google XDA LG G3 Marshmallow).
My phone is no longer rooted but I do have a custom recovery (TWRP) which allows me to flash without a PC which is easier, but both...