Voici un qui marche:
command /freeze:
permission: freeze.zombie
trigger:
spawn a zombie at location of player
set {nodamage::%last spawned zombie%} to true
apply slowness 1000 to last spawned entity for 9999 days
command /deletefreeze:
permission: freeze.zombie
trigger:
if {nodamage::%target of player%} is true:
set {nodamage::%target of player%} to false
kill target of player
on damage:
if {nodamage::%victim%} is true:
cancel event
if {nodamage::%attacker%} is true:
cancel event
On peut malheureusement déplacer le zombie, c'est pourquoi je te conseille si ça te conviens pas de prendre le plugin citizen pour faire spawn un zombie qui ne pourra pas être bouger.