summon zombie ~ ~ ~ {Silent:1b,DeathTime:19,DeathLootTable:"manic:entities/spook",Team:"smithed.prevent_aggression",Health:25f,Tags:["nucleus.deletes_vehicles","smithed.entity","nucleus.entity","nucleus.living_entity","nucleus.hostile","nucleus.zombie_entity","nucleus.burns_in_daylight","manic.entity","manic.spook","manic.second_clock","manic.tick","manic.snareable","manic.spectre","manic.despawns"],CustomName:'{"translate":"entity.manic.spook"}',ArmorItems:[{},{},{},{id:"minecraft:leather_boots",Count:1b,tag:{Unbreakable:1b,CustomModelData:8360002,nucleus:{render:1b,damage_data:{idle:0,moving:7},anim_data:{spawn:20,spawn_frames:62}},display:{color:0}}}],ArmorDropChances:[0.085F,0.085F,0.085F,-327.670F],active_effects:[{id:"minecraft:invisibility",duration:-1,amplifier:0b,show_particles:0b}],Attributes:[{Name:generic.max_health,Base:25},{Name:generic.knockback_resistance,Base:0.2},{Name:generic.movement_speed,Base:0.38},{Name:generic.attack_damage,Base:3},{Name:generic.attack_knockback,Base:0.5},{Name:generic.armor,Base:2}],PersistenceRequired:1b,CanBreakDoors:0b,LeftHanded:0b,IsBaby:0b,HandDropChances:[-10000.0f,-10000.0f],CanPickUpLoot:0b}

execute if entity @s[type=minecraft:player] run scoreboard players set #persistent manic.dummy 1
execute as @e[type=minecraft:zombie,tag=manic.spook,tag=!manic.initiated,sort=nearest,limit=1] run function manic:entity/spook/init

execute store result score #debug manic.dummy run gamerule sendCommandFeedback
execute if score #debug manic.dummy matches 1 run tellraw @s {"translate":"commands.summon.success","with": [{"translate":"entity.manic.spook"}]}
execute if entity @s[type=minecraft:player] run function nucleus:entity/player/commands/no_feedback/main
