Finding the owner of a skull

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

etheboi_

Active Member
Nov 9, 2023
87
1
8
23
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?

Code:
loop all players:
    set metadata value "%victim%" of loop-player to victim's skull

Would this work?
 
You will need MundoSK


Code:
command /getSkull:
    trigger:
        player's tool is a skull
        send owner of skull of player's tool
 
1708007748116.png

I put it into the parser and this appeared. Do yk how to fix this.