I don't want the command block to "scan" me

I don't want the command block to "scan" me - An Encouragement Quotes on Brown Paper

I need a command block to scan people on a certain range, but I don't want the command block to detect me is that possible?

I'm using this command:

/gamemode 2 @p[r=2]





Pictures about "I don't want the command block to "scan" me"

I don't want the command block to "scan" me - Blonde Girl in White T-shirt Leaning on White Block
I don't want the command block to "scan" me - I Hate Nothing About You With Red Heart Light
I don't want the command block to "scan" me - Brown Steel Letter B Wall Decor



How do I stop command block commands?

"commandblocksenabled" To quickly enable or disable command blocks in the world, the "commandblocksenabled" can be toggled on and off. This can be especially helpful if a repeating command block is repeatedly teleporting you.



Johnny Orlando, DVBBS - I Don't (Official Video)




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: RODNAE Productions, Ruslan Alekso, Designecologist, cottonbro