I like the idea of a heist game as a platformer, and it was nice to incorporate story into it with the e button. On a presentation note, why did you rotate the guards (so that they were upside down) instead of just flipping them?
They rotated naturaly in the the path2d I used for them, but for some reason didn't want to flip. So they technicaly shouldn't but I didn't find out how to fix it.