Double door issue

Hello I was doing a double door script, Iactually also want it to be able to reuse aleswhere in the level , my issue is that I want to make them close after I leave the area but also reverse the opening if I go the other side … so duble side opening doors …

Any hint on what I should change to prevent this strange error?

thanks a lot…

On beginoverlap I see you go from Z=0 to Z=110, then on end you have to go from 110 to 0.

Also might try checking the ‘shortest path’ box.