Minor illusion cantrip is already in the game. In D&D it simply compels anything with senses to go look at "something", once investigated they roll an INT saving throw per round until they realise it is bogus. Then, depending on the circumstances may investigate a wider area to find the caster or simply go back to whatever they were doing.