r/MinecraftCommands • u/Grand_Photograph_557 • 7h ago
Help | Bedrock Is there a way to activate a command after a certain amount of mobs in a certain area have been killed?
Again, for my ULTRAKILL map. I could of course leave this out, but I REALLY want to include how ULTRAKILL has rooms that spawn enemies and then lock the doors, and you have to kill all the enemies in the room to unlock the door. It's cool, makes sure players actually engage in combat, and also prevents numerous bugs, like enemies walking through doors when they shouldn't.
Just a simple command to load a certain structure and undo it by placing the previous structure will do. I've been using tripwire hooks to open doors so far, so I'll delete those and also change the way the door looks so show that it's locked. I'm just gonna place red concrete where lights normally are on the door, to simulate ULTRAKILL's skull lock that shows up when this event happens. (Various examples of this have been provided, including the actual skull lock texture itself.)
I was thinking of using scoreboards, but idk how to use those, and I'm not even sure if you CAN on Bedrock edition.
But if that's what I have to do, please provide instructions so I actually know what I'm doing.