That worked for part fan, hotend fan is still not working for some reason. I also have dual extrusion. The only change i made was adding H1:2
; Fans
M950 F0 C"fan0" ;Part Cooling Fan
M106 P0 H-1
;
M950 F1 C"fan1" Q500 ;Hotend Fan
M106 P1 S1 H1:2 T40
EDIT: ah nevermind, im dumb. I had the fan plugged into the fan2 the entire time