@r in action bar

I'm making a Lifesteal Assassins datapack. (you have to kill a specific person before the end of the session) How do I do @r in action bar? Along with that, how would the @r not include yourself??
Continue to help post