I did it some crappy way with:
If KeyHit(29) And EntityY(camera_pivot) = 10
jump = 5
EndIf
If jump > -6
MoveEntity camera_pivot,0,jump,0
jump = jump - 1
EndIf
If KeyHit(29) And EntityY(camera_pivot) = 10
jump = 5
EndIf
If jump > -6
MoveEntity camera_pivot,0,jump,0
jump = jump - 1
EndIf