I am trying to make a repeating command block that will run a command if a player is not within the set radius, but I don't know how. If anybody knows please help. I am running 1.16.5

1 Answer 1

execute unless @a[distance=..10] run say There is no player within a 10 block spherical radius
  • Thank you, it worked. Feb 17, 2021 at 16:13
  • @JeremyEarlBulmer if it worked you can show others this by clicking the grey checkmark to mark it as accepted. This both rewards the answerer and marks it as accepted so others know for sure it works.
    – Penguin
    Feb 17, 2021 at 17:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .