Hi, I was skripting for my server and I am making a skript that if someone dies it spawns a custom mob by a command (/summon) and the custom NBT's interfere with the variables and it marks it all as a variable and the skript gives error of quotes(better explained in the photo attached) is there any way to summon the mob?
Command:
/summon minecraft:zombie 0 100 0 {PersistenceRequired:1b,CanPickUpLoot:0b,Silent:1,ArmorItems:[{Count:1,tag:{Enchantments:[{id:unbreaking,lvl:5},{id:soul_speed,lvl:4}],display:{color:0}},id:"minecraft:leather_boots"},{},{Count:1,tag:{Enchantments:[{id
rotection,lvl:7},{id:thorns,lvl:5}],display:{color:0}},id:"minecraft:leather_chestplate"},{id:"minecraft:leather_helmet",tag:{display:{color:0},Enchantments:[{id
rotection,lvl:4},{id:thorns,lvl:3}]},Count:1}],ArmorDropChances:[2F,0F,0.1F,2F]}
Skript
Image:
Thanks
[doublepost=1621532216,1621532145][/doublepost]The command is
Idk why the text made happy faces lol
Command:
/summon minecraft:zombie 0 100 0 {PersistenceRequired:1b,CanPickUpLoot:0b,Silent:1,ArmorItems:[{Count:1,tag:{Enchantments:[{id:unbreaking,lvl:5},{id:soul_speed,lvl:4}],display:{color:0}},id:"minecraft:leather_boots"},{},{Count:1,tag:{Enchantments:[{id
Skript
Code:
on death of player:
execute console command "/summon minecraft:zombie 0 100 0 {PersistenceRequired:1b,CanPickUpLoot:0b,Silent:1,ArmorItems:[{Count:1,tag:{Enchantments:[{id:unbreaking,lvl:5},{id:soul_speed,lvl:4}],display:{color:0}},id:"minecraft:leather_boots"},{},{Count:1,tag:{Enchantments:[{id:protection,lvl:7},{id:thorns,lvl:5}],display:{color:0}},id:"minecraft:leather_chestplate"},{id:"minecraft:leather_helmet",tag:{display:{color:0},Enchantments:[{id:protection,lvl:4},{id:thorns,lvl:3}]},Count:1}],ArmorDropChances:[2F,0F,0.1F,2F]}"
Image:
Thanks
[doublepost=1621532216,1621532145][/doublepost]The command is
Code:
/summon minecraft:zombie 0 100 0 {PersistenceRequired:1b,CanPickUpLoot:0b,Silent:1,ArmorItems:[{Count:1,tag:{Enchantments:[{id:unbreaking,lvl:5},{id:soul_speed,lvl:4}],display:{color:0}},id:"minecraft:leather_boots"},{},{Count:1,tag:{Enchantments:[{id:protection,lvl:7},{id:thorns,lvl:5}],display:{color:0}},id:"minecraft:leather_chestplate"},{id:"minecraft:leather_helmet",tag:{display:{color:0},Enchantments:[{id:protection,lvl:4},{id:thorns,lvl:3}]},Count:1}],ArmorDropChances:[2F,0F,0.1F,2F]}
Idk why the text made happy faces lol