Very rushed project! Only one room is safe move yourself (the green guy) by click adjacent squares.

The orange guys will look left if the safe room is in one of the columns to the left, and right if it's in one of the columns to the right. If it's looking forward, it means the safe room is in the same column.

The yellow guys will look up if the safe room is in one of the rows above it, down if it's in one of the rows below it, and forward if it's in the same column.

The red guys will turn blue if they are in a room touching the safe room (including diagonals), or in the safe room itself.

Use those clues to make your way to the safe room by the last round!