Hello i have a problem about NBT
how to give NBT to On Spawn of Zombie
but giving NBT using command succeeded
This is my script
this does not work and there is no error but, I try not to follow my NBT instead just like a regular zombie
while using the command succeeded
how to give NBT to On Spawn of Zombie
but giving NBT using command succeeded
This is my script
this does not work and there is no error but, I try not to follow my NBT instead just like a regular zombie
code_language.skript:
on spawn of zombie:
wait 1 ticks
set {_a} to spawned zombie
add "{Silent:1,NoAI:0,IsBaby:1,ActiveEffects:[{Id:14b,Duration:2147483647,ShowParticles:0b}]}" to nbt of {_a}
while using the command succeeded
code_language.skript:
command /zomb:
trigger:
wait 1 ticks
spawn zombie at location of player
set {_a} to spawned zombie
add "{Silent:1,NoAI:0,IsBaby:1,ActiveEffects:[{Id:1b,Duration:2147483647,ShowParticles:0b}]}" to nbt of {_a}