I was working on a script and I got this error Script Error on LAtoFirestation Script ~ Script on line 589 I get this when going to the firestation When I go to the the script line 589 says this if (math::dist(pos. x,pos. y cp1. getposition().x, cp1. getposition().y)>math::dist(pos. x, pos. y, cp2.getposition().x, cp2 getposition().y)) Could someone please explain this to me. I am confused. It only happens when I want the firetrucks to go to the firestation but won't go back.