Ok maybe this will work do /testfor <Name> at the x y z of the bed and use a comparator and connect one to an another commandblock and do /say this is not <Name> and the bed will disappear you can make it disappear by adding another command block and use /setblock <x y z> air then add two repeaters and delay it to its maximum and add another command block and use /setblock x y z bed and your done hope this worked