2 Button to 1 PWM output

I'm getting no output. from the mosfet. I can manual switch the mosfet with a high pwm signal then it works (12v) also with half level pwm I get 5 volts.