Help troubleshoot my furnace

It's not getting voltage to the solenoid that opens the gas valve.
That wire burnt off.
I think it's a bad limit switch. This little project is kicking my ass. Plz try and help.
That wire burnt off.
I think it's a bad limit switch. This little project is kicking my ass. Plz try and help.