How to build a command block machine that only allows YOU to be in a certain cord

//ads -- adsterra.com -- native banner
?>
i have been trying this:
hopper clock on here and then comparator
testfor @a[Dr_Weasel99!=DR_WEASEL99,r=5]
then if player is found in my place again, a comparator
/tp @p[Dr_Weasel99=!Dr_Weasel99] ~ 20 ~
they should fall to their death no matter what because bedrock is replaced with water
but idk. im trying to make it when someone else comes in my place they will get teleported away
Pictures about "How to build a command block machine that only allows YOU to be in a certain cord"



How do you make a command block trade system in Minecraft?
Add a Redstone Device In this example, we are going to use a lever and place it one block to the right of the command block. Select the lever in your hotbar. Then position your pointer (the plus sign) on the block where you want to place the lever. You should now see the lever on the ground next to the command block.Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: ready made, Ivan Samkov, Tatiana Syrikova, Ono Kosuki