added respawn mechanic + pathfinding