That's an easy fix.
In 1971 I had just left Little Rock AFB after filling up my 70 H1 500 triple with gas, I was cruising along at 60 mph when it started missing out. I looked down at the motor and all I saw was flames. Discretion being the better part of valor, I bailed off the bike.
It rolled on down the road for a couple hundred yards, fell over on it's side and burned until a friend came along driving a base fuel truck and put the fire out with a powder fire extinguisher. That left a truly ugly mess.
It melted everything that was not metal, even the tires.
I rebuilt that bike in the parking lot outside the barracks where I was living.
The petcock vibrated loose from the bottom of the tank while I was riding, letting a full tank of gas pour right on top the motor.
That bike was a thousand times worse than yours, and I was just a poor E2 making about $75 a week at the time.
Yours is an easy fix. won't take much at all to fix, although I do understand wanting to throw up your hands in frustration and walk away, don't do it, you will feel an awful lot better after you fix it up again.