This will probably cause players to stand still because a path couldn't be generated as the range for it is 0. I would prefer adding the attribute to the player than doing this.