Puzzle help, can't understand why black wont take

Sort:
ResignOrMated
Because the black knight is checking the king plus white is one move away from checkmate with Rh8#
So it goes like this i guess Qxf2, Kxh7 and then Qxc5
ResignOrMated
You can’t really take the queen because there’s checkmate in 1
LongLiveTheMadKing

Oh man i didn't even see the mate in 1, was so focused on the bottom half. Thanks alot!