en 1.12 /execute Other Set this command in a repeating command block and have it on always active. Then, just walk.