So I am making a thing where you right click on a player's head, that player gets revived. I've made the revive skript but I need help with finding the owner of a skull. I was thinking I could use metadata but that gets reset on a server restart. Could I use NBT to store some data?
Would this work?
Code:
loop all players:
set metadata value "%victim%" of loop-player to victim's skull
Would this work?