My skript looks like this, but I cannot figure out how to show their inventory after event happens, if it is even possible
on damage:
if attacker is holding a golden sword of sharpness 1000:
if victim is a player:
set {_item} to attacker's tool
add {_item} to {_items::*}
broadcast ""
broadcast "&e%attacker% &6has slain &e%victim%"
broadcast "&6using {_item}"
broadcast "%victims inventory%"
broadcast ""
if it is possible please do not change the skript unless it is needed to show the inventory
on damage:
if attacker is holding a golden sword of sharpness 1000:
if victim is a player:
set {_item} to attacker's tool
add {_item} to {_items::*}
broadcast ""
broadcast "&e%attacker% &6has slain &e%victim%"
broadcast "&6using {_item}"
broadcast "%victims inventory%"
broadcast ""
if it is possible please do not change the skript unless it is needed to show the inventory