I've always liked keeping defeated enemy tokens around on the map for players to get a sense of change and achievement in a battle. But it can be a bit annoying having tokens move on top of bodies, having issues clicking, or not knowing which is dead. Unfortunately, I have no backend coding background but there are some real good tutorials and examples in this community and I had some time to burn post-exam. CorpseCart (click to play gif) CorpseCart is a simple script that does 2.5 things. You can either tell it to: move all dead NPCs to the map (and tint them) remove all dead NPCs entirely You can also ask it to flag all NPCs with HP of 0 or lower to be tagged with the "dead" status marker (for other reasons or so that the two options above can detect them). It's designed to only work on tokens that represent a character but that players don't have control of (so they don't get their bleeding out characters buried). Automatic By default corpse cart will automatically bury corpses that are marked as dead and at or below 0 health, to change this simply change the line "const autoBury = true;" at the top of the script to false. Note that this does not allow corpse cart to bury tokens killed by other scripts bring them to 0hp. Roll20 prevents one script detecting a change made by another script. Hint: You may undo the burial of a token (or tokens) by clicking the message in chat! Command structure !corpsecart [command] [tag - optional] The commands are: del/delete/remove/rem : this removes dead NPCs from the map map/bury/dig : this places dead NPCs on the map layer and tints them tag/look/find/search/flag : this looks for NPCs that are at 0 or lower health but who haven't been marked dead and marks them as such Example: "!corpsecart del" deletes dead NPCs on the map you are on. You can also include tag and its aliases as an extra parameter so that it will tag and then remove or bury NPCs in the same command. Example: "!corpsecart map tag" tags untagged dead NPCs and then places all dead NPCs on the map later. I apologise for the state of the code. I literally have almost no idea what I am doing, when I did webdev I never touched the backend (and I ain't done that in a decade). Critique appreciated! Code link. Version History v0.01 - Workable release v0.02 - Tag and del now working on map layer (bugs introduced in release version) v0.03 - Added undo functionality, prettier chat messages, and automatic burying.