Is there something wrong with this!?!?!? I'm trying to make whether an armor_stand called goldGen has a yellow stained glass block underneath it, and I've got the whole mechanism but this /kill command isn't working. I'm on a server that isn't developed yet so when it's done I'll give out an IP. I've got essentials plugins and many others, and I'm trying to make a gold generator. You get a blaze spawn egg and when you summon the blaze, it dies and summons the armor stand there and places the yellow stained glass. Then when the player breaks the glass, the armor stand dissapears... Please help!
The "minecraft:"(namespace) at the front is need to let it run as a vanilla command.
I believe the problem occurs because of the way how his command block connected, perhaps wrong testforblock coordinate, as well as the missing namespace for his first command. Also, try not to use testfor, repeater and comparator, they are not that great. Keep in mind that since you are using spawn egg, you may want to avoid player spawning blaze on non-air block(buttons, torch...)
So I tried that, and the first part worked, it did kill the blaze and summon the armor stand and place the glass, but as soon as I broke the glass, the armor stand didn't dissapear! I copy and pasted the commands, I put 'minecraft:' in front of all the commands, including the execute sub commands. Please help! If you need me to attach a picture, I can.
If the chicken is gone but the armor stand is still here, it means there are plugins preventing you from killing armor stands. If that's the case, either find out and change the setting of that plugin, or use area_effect_clouds to replace armor_stand.