exitWith only exists the current scope, using it doesnt guarantee to exit any script.
As an example:
SCOPE 0
while {true} do
{
SCOPE 1
while {player in truck1} do
{
SCOPE 2
if (damage truck1 > 0.5) exitWith {hint "Too much damage"};
}
RETURN POINT OF EXITWITH INSIDE SCOPE 2
if (damage truck1 > 0.5) exitWith {};
}
RETURN POINT OF EXITWITH INSIDE SCOPE 1