This idea is by James (ign: MinecraftM3rcy) and is to be credited to him. Twitter: @MayorOwel This is the outline to a code that the map maker might use in order to control a mob arena. This specific mob arena would allow for a leveling system according to how many skeletons thet player had killed. This code would be written in this easier format, then sent through a program that converts this type of code into the commandblock language, arranges the command blocks to a 20Hz clock, and exports the schematic. List of variables used in this example: title - This would be the name of the schematic exported user - This would be the closest person # # # - These are locations, in the order of XYZ set - This sets the scoreboard number, the creator must make the scoreboard if - Uses a scoreboard test command to see if a user has done specific things clear - Clears specific things from the users inventory, if "inventory" is set then it will clear all spawn - Spawns the specified mob, the specific amount of times teleport - Teleports the user to a specific location heal - Heals specified player, or user repair - Repairs specified items, use "armor" for all armor or "tools" for all tools (including swords) add user to - This adds the user to a scoreboard objective or team title MyCommandBlockSchematic if user at 20 20 20 -- If user is at a specific location, perform the following, this loops the entire time they are in the arena set skeletonsKilled = 0 if skeletonsKilled == 0 -- If the user is at the location and has killed no skeletons, do this set level = 1 -- Updates the users level with scoreboard clear inventory -- Clears the inventory so that the user cant cheat give user iron sword -- Give the user their sword spawn 5 skeleton -- Spawns five skeletons inside the arena if skeletonsKilled == 5 set level = 2 give user diamond chestplate spawn 10 skeleton if skeletonsKilled == 15 set level = 3 give user diamond pants spawn 15 skeleton if skeletonsKilled == 30 set level = 4 give user diamond boots spawn 20 skeleton if skeletonsKilled == 50 set level = 5 give user diamond helmet spawn 25 skeleton if skeletonsKilled == 75 give user diamond sword { enchants: knockback5, fireaspect1 } teleport user 10 10 10 heal user repair user armor if user at 10 10 10 -- Checks to see if the user has been teleported to the winner location if user wins > 0 -- Tests to see if the user has won before set wins = wins + 1 --Increases how many times the user has won teleport user to spawn -- Teleports the user to spawn so that they don't get indinite wins if user wins == 0 --Tests to see if this is the first time the user won add user to winList -- Adds the user to the winners list set wins = wins + 1 -- Increases how many times the user has won teleport user to spawn -- Teleports the user to spawn so that they don't get infinite wins