Hello,
i was wondering how i can remove the target npc of the player using skellet. and I've checked on the documentation. PS: my skript already works, the only issue with it is this:
on player create npc:
give event-player golden axe named "&cRemove npc"
on rightclick:
if name of player's held item is "&cRemove npc":
execute player command "/npc sel %name of target entity%"
execute player command "npc remove"
this is the code I have so far.
i was wondering how i can remove the target npc of the player using skellet. and I've checked on the documentation. PS: my skript already works, the only issue with it is this:
on player create npc:
give event-player golden axe named "&cRemove npc"
on rightclick:
if name of player's held item is "&cRemove npc":
execute player command "/npc sel %name of target entity%"
execute player command "npc remove"
this is the code I have so far.
Last edited: