The lift action is not performed when I press the lift key , any ideas.

function InitHook(){ // creates a hook that can lift up the car

while (!pChassis) { wait(1);}
pHook = my;
set(my, PASSABLE);
set(my, PASSABLE | INVISIBLE);
phent_settype(my, PH_RIGID, PH_SPHERE);
phent_setmass(my, 0.1, PH_SPHERE);
phent_setgroup(my, 2);
phent_setfriction(my, 0);
phent_setdamping(my, 1, 1);
phent_setelasticity(my, 0, 100); // bounciness
var handleHook;
handleHook = phcon_add(PH_BALL, my, pChassis );
phcon_setparams1(handleHook, my.x, 0, 0);
}


function EventLift()
{
//lift up the car ?
if (!handleLift && (KEY_LIFT ))
{

DoSteering = 0; // no accelerating allowed
handleLift = 1;
if (DoShutdown) {return;} // quitting?
// apply max. units brake torque
phcon_setmotor(hnd_wheelFL[0], nullvector, vector(0, torqueBrakeMax, 0), nullvector);
phcon_setmotor(hnd_wheelFR[0], nullvector, vector(0, torqueBrakeMax, 0), nullvector);
phcon_setmotor(hnd_wheelRL[0][0], nullvector, vector(0, torqueBrakeMax, 0), nullvector);
phcon_setmotor(hnd_wheelRR[0][0], nullvector, vector(0, torqueBrakeMax, 0), nullvector);
phcon_setmotor(hnd_wheelRL[0][1], nullvector, vector(0, torqueBrakeMax, 0), nullvector);
phcon_setmotor(hnd_wheelRR[0][1], nullvector, vector(0, torqueBrakeMax, 0), nullvector);
phcon_setmotor(hnd_wheelRL[0][2], nullvector, vector(0, torqueBrakeMax, 0), nullvector);
phcon_setmotor(hnd_wheelRR[0][2], nullvector, vector(0, torqueBrakeMax, 0), nullvector);
while(abs(angSpeed) > 5)
{
wait(1);
if (DoShutdown)
{
return;
}
}
phcon_setmotor(hnd_wheelFL[0], nullvector, nullvector, nullvector);
phcon_setmotor(hnd_wheelFR[0], nullvector, nullvector, nullvector);
phcon_setmotor(hnd_wheelRL[0][0], nullvector, nullvector, nullvector);
phcon_setmotor(hnd_wheelRR[0][0], nullvector, nullvector, nullvector);
phcon_setmotor(hnd_wheelRL[0][1], nullvector, nullvector, nullvector);
phcon_setmotor(hnd_wheelRR[0][1], nullvector, nullvector, nullvector);
phcon_setmotor(hnd_wheelRL[0][2], nullvector, nullvector, nullvector);
phcon_setmotor(hnd_wheelRR[0][2], nullvector, nullvector, nullvector);
// attach an invisible crane and pull up car the for 2 seconds
handleLift = phcon_add(PH_SLIDER, pHook, 0);
phcon_setparams1(handleLift, vector(0, 0, 1), 0, 0);
phcon_setparams2(handleLift, vector(0, 330, 0), 0, 0);
phcon_setmotor(handleLift, vector(50, (wheelMass * 4 + chassisMass) * 6000, 0), 0, 0);
wait(-4);
if (DoShutdown) {return;} // quitting?
phcon_setmotor(handleLift, vector(-50, (wheelMass * 4 + chassisMass) * 4000, 0), 0, 0);
wait(-2);
if (DoShutdown) {return;} // quitting?
phcon_remove(handleLift);
handleLift = 0;
DoSteering = 1; //resume control
wait(-1);

}
}