The dropped item's lore works, but the NBT didn't work, can someone tell me how to fix it?
Script:
on death:
victim is wither
chance of 100%:
drop diamond helmet named "&6Death's Helmet" with lore "&6&lLEGENDARY HELMET" at event-location
add "{AttributeModifiers:[{AttributeName:""generic.armor"",Amount:5,Slot:head,Name:""generic.armor"",UUID:[I;-12213,29947,174646,-59894]},{AttributeName:""generic.armor_toughness"",Amount:2,Slot:head,Name:""generic.armor_toughness"",UUID:[I;-12213,30047,174646,-60094]},{AttributeName:""generic.movement_speed"",Amount:0.03,Slot:head,Name:""generic.movement_speed"",UUID:[I;-12213,30147,174646,-60294]},{AttributeName:""generic.max_health"",Amount:5,Slot:head,Name:""generic.max_health"",UUID:[I;-12213,30247,174646,-60494]},Enchantments:[{id
rotection,lvl:10}],HideFlags:3}" to nbt of last spawned entity
Script:
on death:
victim is wither
chance of 100%:
drop diamond helmet named "&6Death's Helmet" with lore "&6&lLEGENDARY HELMET" at event-location
add "{AttributeModifiers:[{AttributeName:""generic.armor"",Amount:5,Slot:head,Name:""generic.armor"",UUID:[I;-12213,29947,174646,-59894]},{AttributeName:""generic.armor_toughness"",Amount:2,Slot:head,Name:""generic.armor_toughness"",UUID:[I;-12213,30047,174646,-60094]},{AttributeName:""generic.movement_speed"",Amount:0.03,Slot:head,Name:""generic.movement_speed"",UUID:[I;-12213,30147,174646,-60294]},{AttributeName:""generic.max_health"",Amount:5,Slot:head,Name:""generic.max_health"",UUID:[I;-12213,30247,174646,-60494]},Enchantments:[{id