What I'm looking to do is make it so you don't lose any items upon dying. But, if you have a redskull, you lose 1 item at random (but still not your bp). Kind of a confusing script for me and I'm not sure where to start :P
Here's my droploot.lua
function onDeath(player, corpse, killer...