0

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

2
execute unless @a[distance=..10] run say There is no player within a 10 block spherical radius
2
  • Thank you, it worked. Commented 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
    Commented Feb 17, 2021 at 17:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.