I have a feeling that this mod is AI-generated.
For one, it uses a very convoluted method for thrusting the player forwards and upwards. This is weird because P_InstaThrust and P_SetObjectMomZ exist.
Secondly, it uses some very weird syntax. Like using the "then" keyword and directly checking...