{
	"name": {
		"text": "Cryptosapien Selector"
	},
	
	"icon": {
		"type": "texture",
		"texture": "ben_ten:textures/gui/omnitrix/recalibrated_omnitrix.png"
	},
	
	"creative_tab": "ben10",
	
	"max_level": 40,
	
	"capsule_color" : 33333,
	
	"effects": [		
		{
		"type": "skin_change",
        "texture": "ben_ten:textures/models/transformations/cryptosapien.png"
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/basalt_om.png",
            "size": 0,
            "glow": false
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/overlays/glow/basalt_glow.png",
            "size": 0,
            "glow": true
		}
	],
	
	"abilities": {
		"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"]
		},
		"deselectcrypto": {	
	        "ability": "lucraftcore:command",		
			"cooldown": 0,
            "show_in_bar": true,	
            "title": {"text":"Deselect"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/recalibrated_omnitrix.png" },
            "bar_color": "green",				
			"commands": ["/superpower @s ben_ten:cryptosapien"]
		},
		"u_cannonbolt": {	
	        "ability": "lucraftcore:command",		
			"required_level": 12,
            "show_in_bar": true,	
            "title": {"text":"Arburian Pelarota"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/recalibrated_cannonbolt_selection.png" },
            "bar_color": "green",				
			"commands": ["superpower @s ben_ten:u_cannonbolt",
			"playsound ben_ten:recalibrated_transformation master @a ~ ~ ~",
			"particle totem ~ ~1.2 ~ 0.3 0.5 0.3 0 3000",
			"scoreboard players add @s Timer 200"]
		},
		"u_upchuck": {	
	        "ability": "lucraftcore:command",		
			"required_level": 14,
            "show_in_bar": true,	
            "title": {"text":"Murk Gourmand"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/recalibrated_upchuck_selection.png" },
            "bar_color": "green",				
			"commands": ["superpower @s ben_ten:u_upchuck",
			"playsound ben_ten:recalibrated_transformation master @a ~ ~ ~",
			"particle totem ~ ~1.2 ~ 0.3 0.5 0.3 0 3000",
			"scoreboard players add @s Timer 200"]
		},
		"u_to'kustar": {	
	        "ability": "lucraftcore:command",		
			"required_level": 16,
            "show_in_bar": true,	
            "title": {"text":"To'Kustar"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/ultimatrix_to'kustar_selection.png" },
            "bar_color": "green",				
			"commands": ["superpower @s ben_ten:u_to'kustar",
			"playsound ben_ten:recalibrated_transformation master @a ~ ~ ~",
			"particle totem ~ ~1.2 ~ 0.3 0.5 0.3 0 3000",
			"scoreboard players add @s Timer 200"]
		},
		"biosovortian": {	
	        "ability": "lucraftcore:command",		
			"required_level": 18,
            "show_in_bar": true,	
            "title": {"text":"Biosovortian"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/recalibrated_biosovortian_selection.png" },
            "bar_color": "green",				
			"commands": ["superpower @s ben_ten:biosovortian",
			"playsound ben_ten:recalibrated_transformation master @a ~ ~ ~",
			"particle totem ~ ~1.2 ~ 0.3 0.5 0.3 0 3000",
			"scoreboard players add @s Timer 200"]
		},
		"citrakayah": {	
	        "ability": "lucraftcore:command",		
			"required_level": 20,
            "show_in_bar": true,	
            "title": {"text":"Citrakayah"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/ultimatrix_citrakayah_selection.png" },
            "bar_color": "green",				
			"commands": ["superpower @s ben_ten:citrakayah",
			"playsound ben_ten:recalibrated_transformation master @a ~ ~ ~",
			"particle totem ~ ~1.2 ~ 0.3 0.5 0.3 0 3000",
			"scoreboard players add @s Timer 200"]
		},
		"appoplexian": {	
	        "ability": "lucraftcore:command",		
			"required_level": 22,
            "show_in_bar": true,	
            "title": {"text":"Appoplexian"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/recalibrated_appoplexian_selection.png" },
            "bar_color": "green",				
			"commands": ["superpower @s ben_ten:appoplexian",
			"playsound ben_ten:recalibrated_transformation master @a ~ ~ ~",
			"particle totem ~ ~1.2 ~ 0.3 0.5 0.3 0 3000",
			"scoreboard players add @s Timer 200"]
		},
		"u_upgrade": {	
	        "ability": "lucraftcore:command",		
			"required_level": 26,
            "show_in_bar": true,	
            "title": {"text":"Galvanic Mechamorph"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/ultimatrix_galvanic_mechamorph_selection.png" },
            "bar_color": "green",				
			"commands": ["superpower @s ben_ten:u_upgrade",
			"playsound ben_ten:recalibrated_transformation master @a ~ ~ ~",
			"particle totem ~ ~1.2 ~ 0.3 0.5 0.3 0 3000",
			"scoreboard players add @s Timer 200"]
		},
		"rocks": {	
	        "ability": "lucraftcore:command",		
			"required_level": 28,
            "show_in_bar": true,	
            "title": {"text":"Basalt"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/recalibrated_rocks_selection.png" },
            "bar_color": "green",				
			"commands": ["superpower @s ben_ten:basalt",
			"playsound ben_ten:recalibrated_transformation master @a ~ ~ ~",
			"particle totem ~ ~1.2 ~ 0.3 0.5 0.3 0 3000",
			"scoreboard players add @s Timer 200"]
		},
		"u_ectonurite": {	
	        "ability": "lucraftcore:command",		
			"required_level": 30,
            "show_in_bar": true,	
            "title": {"text":"Ectonurite"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/ultimatrix_ectonurite_selection.png" },
            "bar_color": "green",				
			"commands": ["superpower @s[tag=!NOECTDNA] ben_ten:u_ectonurite",
			"tellraw @s[tag=NOECTDNA] [\"\",{\"text\":\"ERROR:\",\"bold\":true,\"color\":\"red\"},{\"text\":\" DNA SAMPLE NOT FOUND\",\"bold\":true,\"color\":\"green\"}]",
			"playsound ben_ten:recalibrated_transformation master @a[tag=!NOECTDNA] ~ ~ ~",
			"particle totem ~ ~1.2 ~ 0.3 0.3 0.3 0 6500 normal @s[tag=!NOECTDNA]",
			"scoreboard players add @s Timer 200"]
		},
		"timer_crypto":{
			"ability": "lucraftcore:command_loop",
			"show_in_bar": false,
			"cooldown": 0,
			"title": {"text":"Timer"},			
			"icon": {"type": "texture",
				"texture": "ben_ten:textures/gui/omnitrix/recalibrated_omnitrix_red.png"},
			"commands": ["/sizechange @s 1.2 lucraftcore:default",
			"scoreboard objectives add constructs dummy", "scoreboard players add @s[score_constructs_min=-100,score_constructs=3] constructs 1", "execute @s[score_constructs_min=3,score_constructs=3] ~ ~ ~ fill ~-6 ~-6 ~-6 ~6 ~6 ~6 air 0 replace stained_glass",
"scoreboard players remove @s Omni_pod 1",
"scoreboard players set @s[score_Omni_pod_min=2] Omni:Jump 2",
"kill @e[name=item.item.ben_10_addon_af:crypto_blade_chestplate]",
"scoreboard objectives add crypto_blade dummy",
"scoreboard players remove @s[score_crypto_blade_min=1] crypto_blade 2",
"clear @s[score_crypto_blade=0] ben_10_addon_af:crypto_blade_chest",

"execute @s ~ ~ ~ detect ~ ~-1 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-2 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-3 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-4 ~ air 0 execute @s[score_Omni:Jump_min=1,tag=Wings] ~ ~ ~ execute @s[ry=-21,rym=-69] ~ ~ ~ particle blockdust ~0.13 ~-0.1 ~-0.13 0.03 0.03 0.03 0 100 normal @s 222",
"execute @s ~ ~ ~ detect ~ ~-1 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-2 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-3 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-4 ~ air 0 execute @s[score_Omni:Jump_min=1,tag=Wings] ~ ~ ~ execute @s[ry=-21,rym=-69] ~ ~ ~ particle blockdust ~-0.13 ~-0.1 ~0.13 0.03 0.03 0.03 0 100 normal @s 222",


 "execute @s ~ ~ ~ detect ~ ~-1 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-2 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-3 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-4 ~ air 0 execute @s[score_Omni:Jump_min=1,tag=Wings] ~ ~ ~ execute @s[ry=-70,rym=-110] ~ ~ ~ particle blockdust ~ ~-0.1 ~0.18 0.03 0.03 0.03 0 100 normal @s 222",
 "execute @s ~ ~ ~ detect ~ ~-1 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-2 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-3 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-4 ~ air 0 execute @s[score_Omni:Jump_min=1,tag=Wings] ~ ~ ~ execute @s[ry=-70,rym=-110] ~ ~ ~ particle blockdust ~ ~-0.1 ~-0.18 0.03 0.03 0.03 0 100 normal @s 222",



 "execute @s ~ ~ ~ detect ~ ~-1 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-2 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-3 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-4 ~ air 0 execute @s[score_Omni:Jump_min=1,tag=Wings] ~ ~ ~ execute @s[ry=-111,rym=-159] ~ ~ ~ particle blockdust ~0.13 ~-0.1 ~0.13 0.03 0.03 0.03 0 100 normal @s 222", 
 "execute @s ~ ~ ~ detect ~ ~-1 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-2 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-3 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-4 ~ air 0 execute @s[score_Omni:Jump_min=1,tag=Wings] ~ ~ ~ execute @s[ry=-111,rym=-159] ~ ~ ~ particle blockdust ~-0.13 ~-0.1 ~-0.13 0.03 0.03 0.03 0 100 normal @s 222", 



 "execute @s ~ ~ ~ detect ~ ~-1 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-2 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-3 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-4 ~ air 0 execute @s[score_Omni:Jump_min=1,tag=Wings] ~ ~ ~ execute @s[ry=-160,rym=160] ~ ~ ~ particle blockdust ~0.18 ~-0.1 ~ 0.03 0.03 0.03 0 100 normal @s 222",
 "execute @s ~ ~ ~ detect ~ ~-1 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-2 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-3 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-4 ~ air 0 execute @s[score_Omni:Jump_min=1,tag=Wings] ~ ~ ~ execute @s[ry=-160,rym=160] ~ ~ ~ particle blockdust ~-0.18 ~-0.1 ~ 0.03 0.03 0.03 0 100 normal @s 222",


 
 "execute @s ~ ~ ~ detect ~ ~-1 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-2 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-3 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-4 ~ air 0 execute @s[score_Omni:Jump_min=1,tag=Wings] ~ ~ ~ execute @s[ry=159,rym=109] ~ ~ ~ particle blockdust ~-0.18 ~-0.1 ~0.13 0.03 0.03 0.03 0 100 normal @s 222", 
 "execute @s ~ ~ ~ detect ~ ~-1 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-2 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-3 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-4 ~ air 0 execute @s[score_Omni:Jump_min=1,tag=Wings] ~ ~ ~ execute @s[ry=159,rym=109] ~ ~ ~ particle blockdust ~0.18 ~-0.1 ~-0.13 0.03 0.03 0.03 0 100 normal @s 222", 


"execute @s ~ ~ ~ detect ~ ~-1 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-2 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-3 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-4 ~ air 0 execute @s[score_Omni:Jump_min=1,tag=Wings] ~ ~ ~ execute @s[ry=110,rym=70] ~ ~ ~ particle blockdust ~ ~-0.1 ~0.18 0.03 0.03 0.03 0 100 normal @s 222",
"execute @s ~ ~ ~ detect ~ ~-1 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-2 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-3 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-4 ~ air 0 execute @s[score_Omni:Jump_min=1,tag=Wings] ~ ~ ~ execute @s[ry=110,rym=70] ~ ~ ~ particle blockdust ~ ~-0.1 ~-0.18 0.03 0.03 0.03 0 100 normal @s 222",


 "execute @s ~ ~ ~ detect ~ ~-1 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-2 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-3 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-4 ~ air 0 execute @s[score_Omni:Jump_min=1,tag=Wings] ~ ~ ~ execute @s[ry=71,rym=19] ~ ~ ~ particle blockdust ~0.13 ~-0.1 ~0.13 0.03 0.03 0.03 0 100 normal @s 222",
 "execute @s ~ ~ ~ detect ~ ~-1 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-2 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-3 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-4 ~ air 0 execute @s[score_Omni:Jump_min=1,tag=Wings] ~ ~ ~ execute @s[ry=71,rym=19] ~ ~ ~ particle blockdust ~-0.13 ~-0.1 ~-0.13 0.03 0.03 0.03 0 100 normal @s 222",


 "execute @s ~ ~ ~ detect ~ ~-1 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-2 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-3 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-4 ~ air 0 execute @s[score_Omni:Jump_min=1,tag=Wings] ~ ~ ~ execute @s[ry=20,rym=-20] ~ ~ ~ particle blockdust ~0.13 ~-0.1 ~ 0.03 0.03 0.03 0 100 normal @s 222",
 "execute @s ~ ~ ~ detect ~ ~-1 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-2 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-3 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-4 ~ air 0 execute @s[score_Omni:Jump_min=1,tag=Wings] ~ ~ ~ execute @s[ry=20,rym=-20] ~ ~ ~ particle blockdust ~-0.13 ~-0.1 ~ 0.03 0.03 0.03 0 100 normal @s 222",
			"scoreboard objectives add Omni:Sneak stat.sneakTime",
			"scoreboard players tag @s[score_Omni:Sneak_min=1] add Sneaking",
			"scoreboard players tag @s[score_Omni:Sneak=0] remove Sneaking",
			"scoreboard players set @s[score_Omni:Sneak_min=1] Omni:Sneak 0",

"scoreboard players tag @s remove Wings",
"scoreboard players tag @s add Wings {Inventory:[{Slot:102b,id:\"ben_ten:cryptosapien_wings_chest\"}]}",

		"scoreboard players add @s Timer 1",
			"clear @s ben_10_addon_af:dial_basalt_chest",
			"scoreboard players add @s[score_Timer=12000,score_Timer_min=12000,tag=!MasterControl] NoArmor 1",
			"replaceitem entity @s[score_Timer=11998,score_Timer_min=0] slot.armor.head ben_ten:u_invis_suit_helmet 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			
			"replaceitem entity @s[score_Timer=11998,score_Timer_min=0,score_Omni:Jump=0] slot.armor.chest ben_ten:u_invis_suit_chest 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[tag=MasterControl,score_Omni:Jump=0] slot.armor.chest ben_ten:u_invis_suit_chest 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
	
			"replaceitem entity @s[score_Timer=11998,score_Timer_min=0] slot.armor.legs ben_ten:u_invis_suit_legs 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[score_Timer=11998,score_Timer_min=0] slot.armor.feet ben_ten:u_invis_suit_boots 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[tag=MasterControl] slot.armor.head ben_ten:u_invis_suit_helmet 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[tag=MasterControl] slot.armor.legs ben_ten:u_invis_suit_legs 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[tag=MasterControl] slot.armor.feet ben_ten:u_invis_suit_boots 1 0 {ench:[{id:10,lvlc:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[score_NoArmor=1,score_NoArmor_min=1] slot.armor.head air",
			"replaceitem entity @s[score_NoArmor=1,score_NoArmor_min=1] slot.armor.chest air",
			"replaceitem entity @s[score_NoArmor=1,score_NoArmor_min=1] slot.armor.legs air",
			"replaceitem entity @s[score_NoArmor=1,score_NoArmor_min=1] slot.armor.feet air",
			"execute @s[score_Timer_min=12000,tag=!MasterControl] ~ ~ ~ /superpower @s ben_10_addon_af:recal_omnitrix_timedout", 
			"execute @s[score_Timer_min=12000,tag=!MasterControl] ~ ~ ~ particle totem ~ ~1.2 ~ 0.3 0.3 0.3 0 6500", 
			"execute @s[score_Timer=12000,score_Timer_min=12000,tag=!MasterControl] ~ ~ ~ /playsound ben_ten:recalibrated_detransform master @a ~ ~ ~",
			"superpower @s[score_DoD=1,score_DoD_min=1] ben_10_addon_af:recal_omnitrix",
			"scoreboard players set @s[score_DoD_min=1] DoD 0",
			"scoreboard objectives add polydisc dummy",
			"scoreboard players tag @s remove Jumped",
			"execute @s ~ ~ ~ detect ~ ~-0.1 ~ air 0 /scoreboard players set @s polydisc 3",
			"scoreboard players remove @s[score_polydisc_min=1] polydisc 1",
			"scoreboard players set @s[tag=!Jumped,score_Omni:Jump_min=1,score_polydisc=0] Omni:Jump 0",
			"replaceitem entity @s[score_Omni:Jump_min=1] slot.armor.chest ben_ten:cryptosapien_wings_chest 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}"], 
			"hidden": true
		},
			"Space": {
			"ability": "lucraftcore:tough_lungs",
			"show_in_bar": false,
			"title": {"translate":"Space Survivability"},
			"icon": { "type": "internal" },
			"bar_color": "light_gray"
		},
		"radiation immunity":{
			"ability": "the-fifth-world:potion_immunity",
			"show_in_bar": false,
			"potion": "lucraftcore:radiation",
			"title": {"text":"Radiation Immunity"},
			"icon": {"type": "internal"}
		},
		"Chitauri Virus immunity":{
			"ability": "the-fifth-world:potion_immunity",
			"show_in_bar": false,
			"potion": "heroesexpansion:chitauri_virus",
			"title": {"text":"Chitauri Virus Immunity"},
			"icon": {"type": "internal"}
		},
		"health_b": {
			"ability": "lucraftcore:health",			
            "show_in_bar": false,		
            "title": {"text":"Health"},					
			"amount": 20,
			"operation": 0
		},
		"enhanced strength_b": {	
			"ability": "lucraftcore:strength",				
            "show_in_bar": false,		
            "title": {"text":"Enhanced Strength"},							
			"amount": 16,
			"operation": 0,
			"uuid": "7d706001-8484-44fd-8fe3-ae93e2efe315"
		},
		"enhanced durability": {
			"ability": "lucraftcore:resistance",			
            "show_in_bar": false,		
            "title": {"text":"Enhanced Durability"},						
			"amount": 22,
			"operation": 0,
			"uuid": "87999726-5e99-42bd-b9ac-c979654ad090"	
		},
		"fall resistance": {
			"ability": "lucraftcore:fall_resistance",
			"show_in_bar": false,
			"title": {"text":"Fall Resistance"},
			"amount": 200,
			"operation": 0,
			"uuid": "645d2921-7a9a-4f5c-98b7-4d62933d9d53"
		}
	}
}