summon item ~ ~ ~ {Tags:[removemsg],Item:{id:skeleton_spawn_egg,components:{item_model:crossbow,custom_data:{nospawner:tag},item_name:"Ballista Sentry",lore:[{"text":"Targets hostile mobs slowly","italic":false,"color":"gray"},{"text":"Place to setup","italic":false,"color":"gray"},{"text":"Requires supporting block","italic":false,"color":"red"}],entity_data:{id:armor_stand,CustomName:"Ballista Sentry",NoGravity:1b,Pose:{Head:[180f,0f,0f],LeftArm:[272f,91f,0f],RightArm:[270f,270f,0f]},ShowArms:1b,DisabledSlots:4144959,Tags:[ballista_stand,trap,special,balsetup,reloading],equipment:{chest:{id:leather_chestplate,components:{trim:{material:gold,pattern:bolt},custom_data:{del:tag,delballista:tag}}},legs:{id:leather_leggings,components:{trim:{material:copper,pattern:bolt},custom_data:{del:tag}}},feet:{id:leather_boots,components:{trim:{material:gold,pattern:bolt},custom_data:{del:tag}}},mainhand:{id:spyglass,components:{custom_data:{del:tag}}},offhand:{id:spyglass,components:{custom_data:{del:tag}}}},drop_chances:{feet:2f,legs:0f,chest:0f,head:0f,mainhand:0f}}}},CustomName:{"text":"Invalid support/space"},CustomNameVisible:1b}
particle minecraft:block{block_state:{Name:oak_planks}} ~ ~1.5 ~ .1 .4 .1 0 15
playsound minecraft:entity.zombie.attack_wooden_door neutral @a ~ ~ ~ 1 .8
schedule function survivalplus:tools/trap/removemsg 2s append
tag @s remove ballista_stand
kill @s