on quit:
if {actplus.time.%player's uuid%} exists:
if player's tool is "totem of undying" parsed as item type:
set player's tool to air
kill player
broadcast " %player%&3 logged out while fighting &l%{actplus.combatant.%player's uuid%}%"
if player's offhand tool is "totem of undying" parsed as item type:
if player's tool is "totem of undying" parsed as item type:
set player's offhand tool to air
set player's tool to air
kill player
broadcast " %player%&3 logged out while fighting &l%{actplus.combatant.%player's uuid%}%"
else:
kill player
broadcast " %player%&3 logged out while fighting &l%{actplus.combatant.%player's uuid%}%"
I still dont die when i hold double totem