Even if the culprit erases the dying message, there might still be a chance of recovering it, depending on the circumstances.
Messages written in blood could be revealed using luminol or UV light for example.
If written on a paper notepad or book, rubbing pencil lead on the next page to reveal...