,
    "rewards": {
        "function": "test:death_sword/teleport/teleport"
    }

    
advancement revoke @a only test:used_deathsword