summon2.mcfunction 222 B

12345
  1. spreadplayers 1030 6030 20 20 false @e[tag=new_phantom]
  2. execute as @e[tag=new_phantom] at @s run tp @s ~ 35 ~
  3. attribute @e[tag=new_phantom,limit=1] generic.max_health base set 8
  4. tag @e[tag=new_phantom] remove new_phantom