I know of a novel called My Three Realms Lottery System. The main character Lin Jian's phone has a Three Realms Lottery System that can draw gold, silver, and bronze coins. By participating in missions and killing monsters, he could obtain gold, silver, and copper coins. Then, he could use these coins to exchange for various things, as well as pets. However, I haven't seen the details of the murder. Maybe I remembered it wrong, or I haven't seen the rest of the plot yet. I hope my answer will be helpful to you. If you like supernatural novels, I have other recommendations.