{
	"name": {
		"text": "Prototype Omnitrix"
	},

	"icon": {
		"type": "texture",
		"texture": "ben_10_addon:textures/gui/logo.png"
	},

	"creative_tab": "ben_10_addon",
	
	"max_level": 40,
	
	"capsule_color": 33333,
	
    "effects": [
    ],
	
	"abilities": {
	"Omnitrix control_3": {
		"ability": "lucraftcore:command_loop",	
			"show_in_bar": false,	
			"icon": { "type": "internal" },		
			"commands": ["/scoreboard objectives add Omni:BoomBoom dummy",
"/scoreboard players set @s[tag=!SelfDestruct] Omni:BoomBoom 0",
"/scoreboard players add @s[tag=SelfDestruct] Omni:BoomBoom 1",
"execute @s[score_Omni:BoomBoom_min=12000,score_Omni:BoomBoom=12000] ~ ~ ~ /summon creeper ~ ~ ~ {ExplosionRadius:2,Fuse:0}",
"/replaceitem entity @s[score_Omni:BoomBoom_min=12000,score_Omni:BoomBoom=12000] slot.weapon.offhand ben_10_addon:self_destruct_p2_chest",

"execute @s[score_Omni:BoomBoom_min=24000,score_Omni:BoomBoom=24000] ~ ~ ~ /summon creeper ~ ~ ~ {ExplosionRadius:5,Fuse:0}",
"/replaceitem entity @s[score_Omni:BoomBoom_min=24000,score_Omni:BoomBoom=24000] slot.weapon.offhand ben_10_addon:self_destruct_p3_chest",

"execute @s[score_Omni:BoomBoom_min=36000,score_Omni:BoomBoom=36000] ~ ~ ~ /summon creeper ~ ~ ~ {ExplosionRadius:7,Fuse:0}",
"/replaceitem entity @s[score_Omni:BoomBoom_min=36000,score_Omni:BoomBoom=36000] slot.weapon.offhand ben_10_addon:self_destruct_p4_chest",

"execute @s[score_Omni:BoomBoom_min=48000,score_Omni:BoomBoom=48000] ~ ~ ~ /summon creeper ~ ~ ~ {ExplosionRadius:10,Fuse:0}",
"/replaceitem entity @s[score_Omni:BoomBoom_min=48000,score_Omni:BoomBoom=48000] slot.weapon.offhand ben_10_addon:self_destruct_p5_chest",

"execute @s[score_Omni:BoomBoom_min=60000,score_Omni:BoomBoom=60000] ~ ~ ~ /summon creeper ~ ~ ~ {ExplosionRadius:14,Fuse:0}",
"/replaceitem entity @s[score_Omni:BoomBoom_min=60000,score_Omni:BoomBoom=60000] slot.weapon.offhand ben_10_addon:self_destruct_p6_chest",

"execute @s[score_Omni:BoomBoom_min=72000,score_Omni:BoomBoom=72000] ~ ~ ~ /summon creeper ~ ~ ~ {ExplosionRadius:20,Fuse:0}",
"/replaceitem entity @s[score_Omni:BoomBoom_min=72000,score_Omni:BoomBoom=72000] slot.weapon.offhand ben_10_addon:self_destruct_p7_chest",

"execute @s[score_Omni:BoomBoom_min=84000,score_Omni:BoomBoom=84000] ~ ~ ~ /summon creeper ~ ~ ~ {ExplosionRadius:30,Fuse:0}",
"/replaceitem entity @s[score_Omni:BoomBoom_min=84000,score_Omni:BoomBoom=84000] slot.weapon.offhand ben_10_addon:self_destruct_p8_chest",


"execute @s[score_Omni:BoomBoom_min=96000,score_Omni:BoomBoom=96000] ~ ~ ~ /summon creeper ~ ~ ~ {ExplosionRadius:60,Fuse:0}",
"execute @s[score_Omni:BoomBoom_min=96000,score_Omni:BoomBoom=96000] ~ ~ ~ /summon creeper ~5 ~ ~ {ExplosionRadius:60,Fuse:0}",
"execute @s[score_Omni:BoomBoom_min=96000,score_Omni:BoomBoom=96000] ~ ~ ~ /summon creeper ~-5 ~ ~ {ExplosionRadius:60,Fuse:0}",
"execute @s[score_Omni:BoomBoom_min=96000,score_Omni:BoomBoom=96000] ~ ~ ~ /summon creeper ~ ~ ~5 {ExplosionRadius:60,Fuse:0}",
"execute @s[score_Omni:BoomBoom_min=96000,score_Omni:BoomBoom=96000] ~ ~ ~ /summon creeper ~ ~ ~-5 {ExplosionRadius:60,Fuse:0}",


"/replaceitem entity @s[score_Omni:BoomBoom_min=96000,score_Omni:BoomBoom=96000] slot.weapon.offhand ben_10_addon:self_destruct_p9_chest",


"execute @s[score_Omni:BoomBoom_min=108000,score_Omni:BoomBoom=108000] ~ ~ ~ /summon creeper ~ ~ ~ {ExplosionRadius:120,Fuse:0}",
"execute @s[score_Omni:BoomBoom_min=108001,score_Omni:BoomBoom=108001] ~ ~ ~ /summon creeper ~5 ~ ~ {ExplosionRadius:120,Fuse:0}",
"execute @s[score_Omni:BoomBoom_min=108002,score_Omni:BoomBoom=108002] ~ ~ ~ /summon creeper ~-5 ~ ~ {ExplosionRadius:120,Fuse:0}",
"execute @s[score_Omni:BoomBoom_min=108003,score_Omni:BoomBoom=108003] ~ ~ ~ /summon creeper ~ ~ ~5 {ExplosionRadius:120,Fuse:0}",
"execute @s[score_Omni:BoomBoom_min=108004,score_Omni:BoomBoom=108004] ~ ~ ~ /summon creeper ~ ~ ~ -5{ExplosionRadius:120,Fuse:0}",


"execute @s[score_Omni:BoomBoom_min=108008,score_Omni:BoomBoom=108008] ~ ~ ~ /replaceitem entity @s slot.weapon.offhand air",
"execute @s[score_Omni:BoomBoom_min=108008,score_Omni:BoomBoom=108008] ~ ~ ~ /superpower @s remove","execute @s[score_Omni:BoomBoom_min=108008,score_Omni:BoomBoom=108008] ~ ~ ~ /superpower @s remove","/scoreboard players tag @s[score_DestructDev_min=1,score_NoMagic_min=1,score_MutatonActivate_min=1score_MaterilMutation=0,score_AnnoditeDisable=0,score_NoApleshere_min=1,score_CurseForge_min=8] add MasterControl",
"/playsound ben_ten:prototype_master_control master @s[score_DestructDev_min=1,score_NoMagic_min=1,score_MutatonActivate_min=1score_MaterilMutation=0,score_AnnoditeDisable=0,score_NoApleshere_min=1,score_CurseForge_min=8]",
"execute @s[score_DestructDev_min=1,score_NoMagic_min=1,score_MutatonActivate_min=1score_MaterilMutation=0,score_AnnoditeDisable=0,score_NoApleshere_min=1,score_CurseForge_min=8] ~ ~ ~ /scoreboard players set @s UltimatrixDet 650","/scoreboard objectives add OmnitrixOn dummy",
"/scoreboard players tag @s[score_Omni:BoomBoom_min=108009,score_Omni:BoomBoom_min=108009] add StopDe", "/clear @s[score_OmnitrixOn=0,score_OmnitrixOn=3] ben_10_addon:dialed_xlr8_chest", "/replaceitem entity @s[score_OmnitrixOn=0,score_OmnitrixOn=3] slot.weapon.offhand ben_10_addon:dialed_xlr8_chest","/scoreboard objectives add OsmosianDet dummy","/scoreboard objectives add UltimatrixDet dummy","/scoreboard objectives add AnnoditeDet dummy","/scoreboard players set @s[score_UltimatrixDet_min=650] CurseForge 0","/scoreboard objectives add ManaDet dummy","execute @s[score_OsmosianDet_min=1] ~ ~ ~ /scoreboard players add @s ManaDet 1","execute @s[score_AnnoditeDet_min=1] ~ ~ ~ /scoreboard players add @s ManaDet 1","scoreboard objectives add DestructDev dummy","scoreboard objectives add NoMagic dummy","scoreboard objectives add MutationActivate dummy","scoreboard objectives add MaterialMutation dummy","scoreboard objectives add AnnoditeDisable dummy","scoreboard objectives add NoAppleshere dummy","execute @s[score_ManaDet_min=60,score_OsmosianDet_min=5,score_OsmosianDet=5] ~ ~ ~ /scoreboard players set @s DestructDev 1","execute @s[score_ManaDet_min=60,score_OsmosianDet_min=7,score_OsmosianDet=7] ~ ~ ~ /scoreboard players set @s NoMagic 1","execute @s[score_ManaDet_min=60,score_OsmosianDet_min=1,score_OsmosianDet=1] ~ ~ ~ /scoreboard players set @s MutationActivate 1","execute @s[score_ManaDet_min=60,score_AnnoditeDet_min=11,score_AnnoditeDet=11] ~ ~ ~ /scoreboard players set @s MaterialMutation 1","execute @s[score_ManaDet_min=60,score_AnnoditeDet_min=4,score_AnnoditeDet=4] ~ ~ ~ /scoreboard players set @s AnnoditeDisable 1","execute @s[score_ManaDet_min=60,score_AnnoditeDet_min=3,score_AnnoditeDet=3] ~ ~ ~ /scoreboard players set @s NoAppleshere 1","execute @s[score_ManaDet_min=60] ~ ~ ~ /scoreboard players set @s OsmosianDet 0","execute @s[score_ManaDet_min=60] ~ ~ ~ /scoreboard players set @s AnnoditeDet 0","execute @s[score_ManaDet_min=60] ~ ~ ~ /scoreboard players set @s ManaDet 0","execute @s[score_DestructDev_min=1] ~ ~ ~ scoreboard players add @s UltimatrixDet 1","execute @s[score_NoMagic_min=1] ~ ~ ~ scoreboard players add @s UltimatrixDet 1","execute @s[score_CurseForge_min=1] ~ ~ ~ scoreboard players add @s UltimatrixDet 1","execute @s[score_MutationActivate_min=1] ~ ~ ~ scoreboard players add @s UltimatrixDet 1","execute @s[score_MaterialMutation_min=1] ~ ~ ~ scoreboard players add @s UltimatrixDet 1","execute @s[score_AnnoditeDisable_min=1] ~ ~ ~ scoreboard players add @s UltimatrixDet 1","execute @s[score_NoAppleshere_min=1] ~ ~ ~ scoreboard players add @s UltimatrixDet 1","execute @s[score_DestructDev=0,score_NoMagic_min=1,score_MutationActivate=0,score_MaterialMutation_min=1,score_AnnoditeDisable=0,score_NoAppleshere_min=1] ~ ~ ~ /scoreboard players set @s UltimatrixDet 650","/scoreboard players tag @s[score_DestructDev_min=1,score_NoMagic=0,score_MutationActivate_min=1,score_MaterialMutation=0,score_AnnoditeDisable=0,score_NoAppleshere_min=1] add SelfDestruct","replaceitem entity @s[score_DestructDev=0,score_NoMagic=0,score_MutationActivate_min=1,score_MaterialMutation_min=1,score_AnnoditeDisable_min=1,score_NoAppleshere=0,score_CurseForge_min=3] slot.weapon.offhand air","superpower @s[score_DestructDev=0,score_NoMagic=0,score_MutationActivate_min=1,score_MaterialMutation_min=1,score_AnnoditeDisable_min=1,score_NoAppleshere=0,score_CurseForge_min=3] remove","/give @s[score_DestructDev=0,score_NoMagic=0,score_MutationActivate_min=1,score_MaterialMutation_min=1,score_AnnoditeDisable_min=1,score_NoAppleshere=0,score_CurseForge_min=3] ben_ten:prototype_omnitrix_chest",
"/scoreboard players set @s[score_DestructDev=0,score_NoMagic=0,score_MutationActivate_min=1,score_MaterialMutation_min=1,score_AnnoditeDisable_min=1,score_NoAppleshere=0,score_CurseForge_min=3] WatchOn 0","execute @s[score_DestructDev=0,score_NoMagic=0,score_MutationActivate_min=1,score_MaterialMutation_min=1,score_AnnoditeDisable_min=1,score_NoAppleshere=0,score_CurseForge_min=3] ~ ~ ~ /scoreboard players set @s UltimatrixDet 650","execute @s[score_UltimatrixDet_min=650] ~ ~ ~ /scoreboard players set @s DestructDev 0","execute @s[score_UltimatrixDet_min=650] ~ ~ ~ /scoreboard players set @s NoMagic 0","execute @s[score_UltimatrixDet_min=650] ~ ~ ~ /scoreboard players set @s MutationActivate 0","execute @s[score_UltimatrixDet_min=650] ~ ~ ~ /scoreboard players set @s MaterialMutation 0","execute @s[score_UltimatrixDet_min=650] ~ ~ ~ /scoreboard players set @s AnnoditeDisable 0","execute @s[score_UltimatrixDet_min=650] ~ ~ ~ /scoreboard players set @s NoAppleshere 0","execute @s[score_UltimatrixDet_min=650] ~ ~ ~ /scoreboard players set @s UltimatrixDet 0","superpower @s[score_DestructDev_min=1,score_NoMagic=0,score_MutationActivate=0,score_MaterialMutation=0,score_AnnoditeDisable=0,score_NoAppleshere_min=1,score_CurseForge_min=3] ben_10_addon:nocore",
"give @s[score_DestructDev_min=1,score_NoMagic=0,score_MutationActivate=0,score_MaterialMutation=0,score_AnnoditeDisable=0,score_NoAppleshere_min=1,score_CurseForge_min=3] ben_10_addon:protocore_chest","scoreboard players set @s[score_DestructDev_min=1,score_NoMagic=0,score_MutationActivate=0,score_MaterialMutation=0,score_AnnoditeDisable=0,score_NoAppleshere_min=1,score_CurseForge_min=3] UltimatrixDet 650","/kill @e[name=item.item.ben_10_addon:dialed_xlr8_chestplate,r=5]","execute @s[score_UltimatrixDet_min=650] ~ ~ ~ /scoreboard players set @s DestructDev 0","execute @s[score_UltimatrixDet_min=650] ~ ~ ~ /scoreboard players set @s NoMagic 0","execute @s[score_UltimatrixDet_min=650] ~ ~ ~ /scoreboard players set @s MutationActivate 0","execute @s[score_UltimatrixDet_min=650] ~ ~ ~ /scoreboard players set @s MaterialMutation 0","execute @s[score_UltimatrixDet_min=650] ~ ~ ~ /scoreboard players set @s AnnoditeDisable 0","execute @s[score_UltimatrixDet_min=650] ~ ~ ~ /scoreboard players set @s NoAppleshere 0", "/scoreboard players remove @s[score_OmnitrixOn_min=1] OmnitrixOn 1", 
"/scoreboard players tag @s remove xlr8",
"/scoreboard players tag @s remove fourarms",
"/scoreboard players tag @s remove stinkfly",
"/scoreboard players tag @s remove greymatter",
"/scoreboard players tag @s remove ripjaws",
"/scoreboard players tag @s remove upgrade",
"/scoreboard players tag @s remove ghostfreak",
"/scoreboard players tag @s remove cannonbolt",
"/scoreboard players tag @s remove blitzwolfer",
"/scoreboard players tag @s remove frankenstrike",
"/scoreboard players tag @s remove upchuck",
"/scoreboard players tag @s remove ditto",
"/scoreboard players tag @s remove eyeguy",
"/scoreboard players tag @s remove waybig"]
		},
	"NO INJECTIONS": {
		"ability": "lucraftcore:command_loop",	
			"show_in_bar": false,	
 			"conditions": [{
             	 	"type": "lucraftcore:held_item",
              		"item": "lucraftcore:injection",
              		"hand": "main_hand"}],
			"icon": { "type": "internal" },		
			"commands": ["/replaceitem entity @s slot.weapon.mainhand lucraftcore:injection"]
		},
	"Randomizer": {
		"ability": "lucraftcore:command_loop",	
			"show_in_bar": false,		
			"commands": ["/scoreboard players add @s Randomizer 1", "/scoreboard players set @s[score_Randomizer_min=44] Randomizer -1"]
		},
	"no omnitrix check_3": {
		"ability": "lucraftcore:command_loop",	
			"show_in_bar": false,	
 			"conditions": [{
             	 	"type": "lucraftcore:held_item",
              		"item": "ben_10_addon:dialed_xlr8_chest",
              		"hand": "off_hand"}],
			"icon": { "type": "internal" },		
			"commands": ["/scoreboard players set @s OmnitrixOn 5"]
		
		},
	"Transform_3": {
		"ability": "lucraftcore:command",
			"title": {"translate": "Transform"},	
			"icon": {
						"type": "texture",
						"texture": "ben_10_addon:textures/gui/logo.png"
					},
			"show_in_bar": true,
			"bar_color": "green",		
			"commands": ["/scoreboard players add @s Omni:BoomBoom 3600",


"stopsound @s",
			"/clear @s ben_10_addon:dialed_xlr8_chest", "/superpower @s ben_ten:kineceleran","playsound ben_ten:prototype_transformation master @a ~ ~ ~","particle totem ~ ~1.2 ~ 0.3 0.3 0.3 0 6500","scoreboard players tag @s[tag=!MasterControl] add Transform", 
			"/superpower @s[score_Randomizer=15,score_Randomizer=0,tag=Transform] ben_ten:kineceleran",
			"/superpower @s[score_Randomizer=17,score_Randomizer_min=16,tag=Transform] ben_ten:diamondhead",
			"/superpower @s[score_Randomizer=19,score_Randomizer_min=18,tag=Transform] ben_ten:pyronite",
			"/superpower @s[score_Randomizer=21,score_Randomizer_min=20,tag=Transform] ben_ten:galvan",
			"/superpower @s[score_Randomizer=23,score_Randomizer_min=22,tag=Transform] ben_ten:tetramand",				
			"/superpower @s[score_Randomizer=25,score_Randomizer_min=24,tag=Transform] ben_ten:lepidopterran",
			"/superpower @s[score_Randomizer=27,score_Randomizer_min=26,tag=Transform] ben_ten:piscciss_volann",
			"/superpower @s[score_Randomizer=29,score_Randomizer_min=28,tag=Transform] ben_ten:upgrade",
			"/superpower @s[score_Randomizer=31,score_Randomizer_min=30,tag=Transform,score_ECTDNA=0,score_ECTDNA_min=0] ben_ten:ectonurite",
			"/superpower @s[score_Randomizer=33,score_Randomizer_min=32,tag=Transform] ben_ten:cannonbolt",
			"/superpower @s[score_Randomizer=35,score_Randomizer_min=34,tag=Transform,score_Loboan_min=1] ben_ten:loboan",
			"/superpower @s[score_Randomizer=37,score_Randomizer_min=36,tag=Transform] ben_ten:transylian",
			"/superpower @s[score_Randomizer=39,score_Randomizer_min=38,tag=Transform] ben_ten:upchuck",
			"/superpower @s[score_Randomizer=41,score_Randomizer_min=40,tag=Transform] ben_ten:opticoid",
			"/superpower @s[score_Randomizer=43,score_Randomizer_min=42,tag=Transform] ben_ten:ditto",
			"scoreboard players tag @s remove Transform",
			"scoreboard players set @s Randomizer 0",
			"effect @s[tag=MasterControl] minecraft:luck 1 0 true"]
		},
	    "suit_shrink_1": {
            "ability": "pymtech:shrink_suit",
	    "parent_ability": "Transform_3",
            "show_in_bar": false,
	    "advanced": false
		},
	"unlock_alien_3": {
		"ability": "lucraftcore:command_loop",
			"required_level": 6,
			"show_in_bar": false,		
			"commands": ["scoreboard players tag @s add xlr8"]
		},

	"Next alien_3": {
		"ability": "lucraftcore:command",
			"title": {"translate": "Next alien"},	
			"icon": {
						"type": "texture",
						"texture": "ben_10_addon:textures/gui/right.png"
					},
			"show_in_bar": true,
			"bar_color": "green",		
			"commands": [ "/scoreboard players add @s OsmosianDet 1","stopsound @s",
			"/superpower @s[tag=!xlr8] ben_10_addon:dial_1",
			"/playsound ben_ten:prototype_dial_forward master @s[tag=!xlr8] ~ ~ ~",
			"/superpower @s[tag=LoboanDNA] ben_10_addon:dial_11",
			"/playsound ben_ten:prototype_dial_forward master @s[tag=LoboanDNA] ~ ~ ~",
			"/superpower @s[tag=xlr8] ben_10_addon:dial_4",
			"/superpower @s[tag=MasterControl] ben_10_addon:dial_4",
			"/playsound ben_ten:prototype_dial_forward master @s[tag=MasterControl] ~ ~ ~",
			"/playsound ben_ten:prototype_dial_forward master @s[tag=xlr8] ~ ~ ~"]
		},


	"previous alien_3": {
		"ability": "lucraftcore:command",
			"title": {"translate": "previous alien"},	
			"icon": {
						"type": "texture",
						"texture": "ben_10_addon:textures/gui/left.png"
					},
			"show_in_bar": true,
			"bar_color": "green",		
			"commands": ["/scoreboard players add @s AnnoditeDet 1","stopsound @s",
			"/superpower @s ben_10_addon:dial_2", "/playsound ben_ten:prototype_dial_backwards master @a ~ ~ ~"]
		},
	"close faceplate_16": {
		"ability": "lucraftcore:command",
			"title": {"translate": "Deactivate"},	
			"icon": {
						"type": "texture",
						"texture": "ben_10_addon:textures/gui/logo.png"
					},
			"show_in_bar": true,
			"bar_color": "light_gray",		
			"commands": ["stopsound @s",
			"/playsound ben_ten:prototype_deactivate master @a ~ ~ ~", "/superpower @s ben_10_addon:prototype_Omnitrix"]
		}
	}
}