Kill on collison

I trie to do a UI that will kill me at collison but if the UI walks over a Box collision I die ! How can I fix this?