Drone crash help!

hello, first I want to thank everyone who has helped me with my threads, thank you for that! you have helped a lot! I’ve had a problem with my drone so I’m asking for help again! after its ascent it went sideways and down and crashed by itself, I have downloaded the log files from the flight and the settings if anyone has time and desire to look at where I went wrong… thanks for that to everyone who took the time to look!
krash.param (18.5 KB)

Start by setting these

ATC_RAT_PIT_P,0.1
ATC_RAT_PIT_I,0.1
ATC_RAT_PIT_D,0.005
ATC_RAT_RLL_P,0.1
ATC_RAT_RLL_I,0.1
ATC_RAT_RLL_D,0.005
DISARM_DELAY,5
EK2_ENABLE,0
INS_ACCEL_FILTER,10
INS_HNTCH_MODE,1
INS_HNTCH_BW,23
INS_HNTCH_FREQ,45
INS_HNTCH_FM_RAT,0.7
INS_HNTCH_REF,0.125
INS_LOG_BAT_MASK,1
INS_LOG_BAT_OPT,4
SERVO6_FUNCTION,0  // was motor6 which is invalid for a quad

Now use MissionPlanner motor test to verify the motors respond as per this diagram.
Notice how the test letters map to the servo/motor numbers
image

If that tests OK, then go try to fly again in Stabilise mode for take off. If that works out OK change to AltHold mode and hover for a while and try some gentle pitch/roll movements.

Post that log!