Lua script: what happen when a script fail?

Hello everyone,

I have a question that can be a absurd, but what happen when a lua script fail ?
From what I saw, it will restart the script core/engine. However, if this script controls a mission (for example it controls the velocity of the vehicle), what will happen if the execution fails in flight ? Will it crash ?

Thank you in advance and have a nice day all :wink: