#Loadout related replaceitem entity @p[score_selectclass_min=1,score_selectclass=1,score_class=0] slot.hotbar.0 carrot_on_a_stick 1 2 {display:{Name:"§c§lFireworks Gun§r",Lore:["§7Right-click to launch a Firework.","§7Fireworks, depending on the selected type, will deal","§7either focused damage or splash damage.","§7Fireworks do not respond to gravity and explode after","§71 second of flight or on impact with a player or surface.","§7Press your drop key to reload.§r"]},HideFlags:127,Gun:1,noDrop:1b,Unbreakable:1} replaceitem entity @p[score_selectclass_min=1,score_selectclass=1,score_class=0] slot.hotbar.8 tipped_arrow 4 0 {display:{Name:"§6Burst Fireworks§r",Lore:["§7Fireworks move at medium speed and are not affected","§7by gravity. They detonate after 1 second of flight time","§7or on impact with a surface or player.","§7Deals 3 hearts of damage to players on direct hit.","§7Has no splash.","§7Right-click to switch to this ammunition type, requires","§7a reload.§r"]},ench:[{id:1,lvl:1}],HideFlags:127,AmmoType:1,noDrop:1b,Potion:"fire_resistance"} replaceitem entity @p[score_selectclass_min=1,score_selectclass=1,score_class=0] slot.hotbar.7 tipped_arrow 4 0 {Potion:"strength",display:{Name:"§4Small Blast Fireworks§r",Lore:["§7Fireworks move at medium speed and are not affected","§7by gravity. They detonate after 1 second of flight time","§7or on impact with a surface or player.","§7Has a 3 block splash radius which deals 2 hearts","§7of damage to all caught in the radius.","§7Right-click to switch to this ammunition type, requires","§7a reload.§r"]},ench:[{id:1,lvl:1}],HideFlags:127,AmmoType:2,noDrop:1b} replaceitem entity @p[score_selectclass_min=1,score_selectclass=1,score_class=0] slot.hotbar.1 carrot_on_a_stick 1 1 {display:{Name:"§e§lConcussion Grenade§r",Lore:["§7Right-click to throw","Explodes after 1s, inducing slowness and nausea unto","anyone caught in the radius for a short time.","Deals no damage.§r"]},HideFlags:127,noDrop:1b,ConcussionBomb:1,Unbreakable:1} replaceitem entity @p[score_selectclass_min=1,score_selectclass=1,score_class=0] slot.hotbar.2 firework_charge 1 0 {display:{Name:"§f§lFireworks Sprint§r",Lore:["§7Use to begin sprinting, gaining a speed effect, and","§7immunity to damage.","§7Taking an attack or attempting to attack will remove this","§7ability instantly or after 10 seconds.","§7Recharge begins after ability ends. 15 Second recharge.§r"]},ench:[{id:1,lvl:1}],HideFlags:127,Explosion:{Colors:[15790320]},noDrop:1b,SpeedAbility:1} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_class=0] slot.armor.head leather_helmet 1 0 {display:{color:10066329},AttributeModifiers:[],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_class=0] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_class=0] slot.armor.legs leather_leggings 1 0 {display:{color:10066329},AttributeModifiers:[],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_class=0] slot.armor.feet leather_boots 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.movementSpeed",Name:"movespd",Slot:feet,Operation:1,Amount:0.25,UUIDLeast:-1000,UUIDMost:1000}],Unbreakable:1b} scoreboard players set @a[score_selectclass_min=1,score_selectclass=1,score_class=0] hp 26 scoreboard players set @a[score_selectclass=1,score_selectclass_min=1,score_class=0] Ammotype 1 scoreboard players set @a[score_selectclass_min=1,score_selectclass=1,score_class=0] class 1 #SpecialItem related scoreboard players set @a[score_class_min=1,score_class=1] SpecialItem 0 scoreboard players set @a[score_class_min=1,score_class=1] SpecialItem 1 {SelectedItem:{tag:{Gun:1}}} scoreboard players set @a[score_class_min=1,score_class=1] SpecialItem 2 {SelectedItem:{tag:{ConcussionBomb:1}}} scoreboard players set @a[score_class_min=1,score_class=1] SpecialItem 3 {SelectedItem:{tag:{SpeedAbility:1}}} scoreboard players set @a[score_class_min=1,score_class=1,score_Ammotype_min=2,score_Ammotype=2] SpecialItem 4 {SelectedItem:{tag:{AmmoType:1}}} scoreboard players set @a[score_class_min=1,score_class=1,score_Ammotype_min=1,score_Ammotype=1] SpecialItem 5 {SelectedItem:{tag:{AmmoType:2}}} scoreboard players set @a[score_class_min=1,score_class=1,score_SpecialItem_min=2] reload 0 #Fireworks Gun related execute @a[score_class_min=1,score_class=1,score_fire_min=1,score_firedelay=0,score_arrowdetect=1,score_SpecialItem_min=1,score_SpecialItem=1] ~ ~ ~ setblock 47 1 48 redstone_block scoreboard players add @e[type=item,name=FireworksPellet] lifetime 1 scoreboard players set @e[type=item,name=FireworksPellet,score_InGround_min=1] lifetime 20 execute @a[score_class_min=2] ~ ~0.5 ~ /scoreboard players set @e[type=item,name=FireworksPellet,r=1] lifetime 20 scoreboard players set @e[type=item,name=FireworksPellet] Bounced 1 execute @e[type=item,name=FireworksPellet] ~ ~ ~ detect ~0.5 ~ ~ air -1 scoreboard players set @e[type=item,name=FireworksPellet] Bounced 0 scoreboard players set @e[type=item,name=FireworksPellet,score_Bounced_min=1] lifetime 20 scoreboard players set @e[type=item,name=FireworksPellet] Bounced 1 execute @e[type=item,name=FireworksPellet] ~ ~ ~ detect ~-0.5 ~ ~ air -1 scoreboard players set @e[type=item,name=FireworksPellet] Bounced 0 scoreboard players set @e[type=item,name=FireworksPellet,score_Bounced_min=1] lifetime 20 scoreboard players set @e[type=item,name=FireworksPellet] Bounced 1 execute @e[type=item,name=FireworksPellet] ~ ~ ~ detect ~ ~ ~0.5 air -1 scoreboard players set @e[type=item,name=FireworksPellet] Bounced 0 scoreboard players set @e[type=item,name=FireworksPellet,score_Bounced_min=1] lifetime 20 scoreboard players set @e[type=item,name=FireworksPellet] Bounced 1 execute @e[type=item,name=FireworksPellet] ~ ~ ~ detect ~ ~ ~-0.5 air -1 scoreboard players set @e[type=item,name=FireworksPellet] Bounced 0 scoreboard players set @e[type=item,name=FireworksPellet,score_Bounced_min=1] lifetime 20 scoreboard players set @e[type=item,name=FireworksPellet] Bounced 1 execute @e[type=item,name=FireworksPellet] ~ ~ ~ detect ~ ~0.5 ~ air -1 scoreboard players set @e[type=item,name=FireworksPellet] Bounced 0 scoreboard players set @e[type=item,name=FireworksPellet,score_Bounced_min=1] lifetime 20 execute @e[type=item,name=FireworksPellet,score_lifetime_min=20,score_Ammotype_min=1,score_Ammotype=1] ~ ~ ~ summon fireworks_rocket ~ ~ ~ {LifeTime:0,FireworksItem:{id:fireworks,Count:1,tag:{Fireworks:{Explosions:[{Type:4,Flicker:0,Trail:0,Colors:[16748800],FadeColors:[16777215]}]}}}} execute @e[type=item,name=FireworksPellet,score_lifetime_min=20,score_Ammotype_min=2,score_Ammotype=2] ~ ~ ~ summon fireworks_rocket ~ ~ ~ {LifeTime:0,FireworksItem:{id:fireworks,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Flicker:0,Trail:0,Colors:[11534336],FadeColors:[16711680]}]}}}} execute @e[type=item,name=FireworksPellet,score_lifetime_min=20,score_Ammotype_min=2,score_Ammotype=2] ~ ~ ~ effect @a[r=3] absorption 1 1 true execute @e[type=item,name=FireworksPellet,score_lifetime_min=20,score_Ammotype_min=2,score_Ammotype=2] ~ ~ ~ effect @a[r=3] instant_damage 1 1 true execute @e[type=item,name=FireworksPellet,score_lifetime_min=20,score_Ammotype_min=1,score_Ammotype=1] ~ ~ ~ effect @a[rm=2,r=4] absorption 1 1 true execute @e[type=item,name=FireworksPellet] ~ ~ ~ particle fireworksSpark ~ ~ ~ 0.1 0.1 0.1 0.01 4 kill @e[type=item,name=FireworksPellet,score_lifetime_min=20] #Concussion Grenade related execute @a[score_fire_min=1,score_class_min=1,score_class=1,score_SpecialItem_min=2,score_SpecialItem=2] ~ ~ ~ setblock 47 1 -16 redstone_block scoreboard players add @e[type=item,name=CaltropBomb] lifetime 1 execute @e[type=item,name=CaltropBomb,score_lifetime_min=20] ~ ~ ~ particle largeexplode ~ ~ ~ 2 0.1 2 1 50 execute @e[type=item,name=CaltropBomb,score_lifetime_min=20] ~ ~ ~ playsound entity.generic.explode neutral @a ~ ~ ~ 0.5 1.5 execute @e[type=item,name=CaltropBomb,score_lifetime_min=20] ~ ~ ~ effect @a[r=5] nausea 10 10 true execute @e[type=item,name=CaltropBomb,score_lifetime_min=20] ~ ~ ~ effect @a[r=5] slowness 10 0 true execute @e[type=item,name=CaltropBomb,score_lifetime_min=20] ~ ~ ~ particle crit ~ ~ ~ 2 0.1 2 1 150 kill @e[type=item,name=CaltropBomb,score_lifetime_min=20] #Fireworks Sprint related scoreboard players set @a[score_class_min=1,score_class=1,score_Sprinting_min=1,score_SpecialItem_min=3,score_SpecialItem=3] SprintTime 200 effect @a[score_class_min=1,score_class=1,score_SprintTime_min=2] speed 1 0 scoreboard players remove @a[score_class_min=1,score_class=1,score_SprintTime_min=1] SprintTime 1 scoreboard players set @a[score_class_min=1,score_class=1,score_IsHurt_min=1,score_SprintTime_min=1] SprintTime 2 replaceitem entity @a[score_class_min=1,score_class=1,score_Sprinting_min=1,score_SpecialItem_min=3,score_SpecialItem=3] slot.hotbar.2 minecraft:firework_charge 1 0 {display:{Name:"§f§lFireworks Sprint§r",Lore:["§7Use to begin sprinting, gaining a speed effect, and","§7immunity to damage.","§7Taking an attack or attempting to attack will remove this","§7ability instantly or after 10 seconds.","§7Recharge begins after ability ends. 20 Second recharge.§r"]},HideFlags:127,noDrop:1b} execute @a[score_class_min=1,score_class=1,score_Sprinting_min=1,score_SpecialItem_min=3,score_SpecialItem=3] ~ ~ ~ playsound entity.blaze.ambient player @a ~ ~ ~ 0.5 1.5 scoreboard players set @a[score_class_min=1,score_class=1,score_fire_min=1,score_SpecialItem_min=3,score_SpecialItem=3] fire 0 execute @a[score_class_min=1,score_class=1,score_SprintTime_min=1,score_SprintTime=1] ~ ~ ~ playsound entity.blaze.death player @a ~ ~ ~ 0.5 2.0 effect @a[score_class_min=1,score_class=1,score_SprintTime_min=1,score_SprintTime=1] speed 0 0 scoreboard players set @a[score_class_min=1,score_class=1,score_Sprinting_min=1] Sprinting 0 #Switching ammo types execute @a[score_class_min=1,score_class=1,score_SpecialItem_min=4,score_SpecialItem=4,score_Ammotype_min=2,score_Ammotype=2,score_fire_min=1,score_arrowdetect=1] ~ ~ ~ playsound entity.blaze.hurt player @a ~ ~ ~ 0.5 1 execute @a[score_class_min=1,score_class=1,score_SpecialItem_min=5,score_SpecialItem=5,score_Ammotype_min=1,score_Ammotype=1,score_fire_min=1,score_arrowdetect=1] ~ ~ ~ playsound entity.blaze.hurt player @a ~ ~ ~ 0.5 1 scoreboard players set @a[score_class_min=1,score_class=1,score_SpecialItem_min=5,score_SpecialItem=5,score_Ammotype_min=1,score_Ammotype=1,score_fire_min=1,score_arrowdetect=1] Ammotype 2 scoreboard players set @a[score_class_min=1,score_class=1,score_SpecialItem_min=4,score_SpecialItem=4,score_Ammotype_min=2,score_Ammotype=2,score_fire_min=1,score_arrowdetect=1] Ammotype 1 scoreboard players set @a[score_class_min=1,score_class=1,score_SpecialItem_min=4,score_fire_min=1] fire 0 #Item regen related replaceitem entity @a[score_class_min=1,score_class=1,score_bombdetect_min=1,score_bombdetect=1,score_bombregen_min=400,score_selectclass_min=1,score_selectclass=1] slot.hotbar.2 firework_charge 1 0 {display:{Name:"§f§lFireworks Sprint§r",Lore:["§7Use to begin sprinting, gaining a speed effect, and","§7immunity to damage.","§7Taking an attack or attempting to attack will remove this","§7ability instantly or after 10 seconds.","§7Recharge begins after ability ends. 15 Second recharge.§r"]},ench:[{id:1,lvl:1}],HideFlags:127,Explosion:{Colors:[15790320]},noDrop:1b,SpeedAbility:1} execute @a[score_class_min=1,score_class=1,score_bombregen_min=300] ~ ~ ~ playsound minecraft:entity.experience_orb.pickup voice @a[score_class_min=1,score_class=1,score_bombregen_min=400,score_selectclass_min=1,score_selectclass=1] ~ ~ ~ 0.2 1 scoreboard players set @a[score_class_min=1,score_class=1,score_selectclass_min=1,score_selectclass=1] bombdetect 1 scoreboard players set @a[score_class_min=1,score_class=1,score_selectclass_min=1,score_selectclass=1] bombdetect 0 {Inventory:[{id:"minecraft:firework_charge",Count:1b,tag:{SpeedAbility:1}}]} scoreboard players set @a[score_class_min=1,score_class=1,score_selectclass_min=1,score_selectclass=1] bombdetect2 1 scoreboard players set @a[score_class_min=1,score_class=1,score_selectclass_min=1,score_selectclass=1] bombdetect2 0 {Inventory:[{tag:{ConcussionBomb:1}}]} replaceitem entity @a[score_class_min=1,score_class=1,score_bombdetect2_min=1,score_bombdetect2=1,score_bombregen2_min=300,score_selectclass_min=1,score_selectclass=1] slot.hotbar.1 carrot_on_a_stick 1 1 {display:{Name:"§e§lConcussion Grenade§r",Lore:["§7Right-click to throw","§7Explodes after 1s, inducing slowness and nausea unto","§7anyone caught in the radius for a short time.","§7Deals no damage.§r"]},HideFlags:127,noDrop:1b,ConcussionBomb:1,Unbreakable:1b} execute @a[score_class_min=1,score_class=1,score_bombregen2_min=300] ~ ~ ~ playsound minecraft:entity.experience_orb.pickup voice @a[score_class_min=1,score_class=1,score_bombregen2_min=300,score_selectclass_min=1,score_selectclass=1] ~ ~ ~ 0.2 1 scoreboard players set @a[score_class_min=1,score_class=1] arrowdetect 2 scoreboard players set @a[score_class_min=1,score_class=1,score_Ammotype_min=1,score_Ammotype=1] arrowdetect 1 {Inventory:[{tag:{AmmoType:1}}]} scoreboard players set @a[score_class_min=1,score_class=1,score_Ammotype=1] arrowdetect 0 {Inventory:[{Count:4b,tag:{AmmoType:1}}]} scoreboard players set @a[score_class_min=1,score_class=1,score_Ammotype_min=2,score_Ammotype=2] arrowdetect 1 {Inventory:[{tag:{AmmoType:2}}]} scoreboard players set @a[score_class_min=1,score_class=1,score_Ammotype_min=2] arrowdetect 0 {Inventory:[{Count:4b,tag:{AmmoType:2}}]} clear @a[score_class_min=1,score_class=1,score_reload_min=1,score_arrowdetect_min=1,score_arrowregen_min=40,score_Ammotype_min=1,score_Ammotype=1] tipped_arrow 0 64 {AmmoType:1} clear @a[score_class_min=1,score_class=1,score_reload_min=1,score_arrowdetect_min=1,score_arrowregen_min=40,score_Ammotype_min=2,score_Ammotype=2] tipped_arrow 0 64 {AmmoType:2} replaceitem entity @p[score_class_min=1,score_class=1,score_arrowdetect_min=1,score_reload_min=1,score_arrowregen_min=40,score_Ammotype_min=1,score_Ammotype=1] slot.hotbar.8 tipped_arrow 4 0 {display:{Name:"§6Burst Fireworks§r",Lore:["§7Fireworks move at medium speed and are not affected","§7by gravity. They detonate after 1 second of flight time","§7or on impact with a surface or player.","§7Deals 3 hearts of damage to players on direct hit.","§7Has no splash.","§7Right-click to switch to this ammunition type, requires","§7a reload.§r"]},ench:[{id:1,lvl:1}],HideFlags:127,AmmoType:1,noDrop:1b,Potion:"fire_resistance"} replaceitem entity @p[score_class_min=1,score_class=1,score_reload_min=1,score_arrowdetect_min=1,score_arrowregen_min=40,score_Ammotype_min=2,score_Ammotype=2] slot.hotbar.7 tipped_arrow 4 0 {Potion:"strength",display:{Name:"§4Small Blast Fireworks§r",Lore:["§7Fireworks move at medium speed and are not affected","§7by gravity. They detonate after 1 second of flight time","§7or on impact with a surface or player.","§7Has a 3 block splash radius which deals 2 hearts","§7of damage to all caught in the radius.","§7Right-click to switch to this ammunition type, requires","§7a reload.§r"]},ench:[{id:1,lvl:1}],HideFlags:127,AmmoType:2,noDrop:1b} execute @a[score_class_min=1,score_class=1,score_arrowregen_min=40,score_arrowdetect_min=1,score_reload_min=1] ~ ~ ~ playsound entity.blaze.hurt voice @a[r=1] ~ ~ ~ 0.5 1.5 effect @a[score_class_min=1,score_class=1,score_arrowdetect_min=1,score_arrowregen_min=40,score_reload_min=1] mining_fatigue 0 0 scoreboard players set @a[score_selectclass_min=1,score_selectclass=1,score_arrowregen_min=40,score_arrowdetect_min=1,score_reload_min=1] reload 0 scoreboard players set @a[score_selectclass_min=1,score_selectclass=1,score_arrowregen_min=40,score_arrowdetect=0] arrowregen 0 #Dropping weapon & body on death execute @a[score_dropweapon_min=1,score_class_min=1,score_class=1,score_selectclass_min=1,score_selectclass=1] ~ ~ ~ summon item ~0.5 ~ ~ {Item:{id:carrot_on_a_stick,Damage:2s,Count:1b,tag:{display:{Name:"§c§lFireworks Gun§r",Lore:["§7Right-click to launch a Firework.","§7Fireworks, depending on the selected type, will deal","§7either focused damage or splash damage.","§7Fireworks do not respond to gravity and explode after","§71 second of flight or on impact with a player or surface.","§7Press your drop key to reload.§r"]},HideFlags:127,Gun:1,Unbreakable:1,DroppedWeapon:1}},PickupDelay:201s,Age:5800s,CustomName:"FireworksGun",Tags:["DroppedItem"]} execute @a[score_dropweapon_min=1,score_class_min=1,score_class=1,score_selectclass_min=1,score_selectclass=1,score_Ammotype_min=1,score_Ammotype=1] ~ ~ ~ scoreboard players set @e[type=item,name=FireworksGun,r=1] Ammotype 1 execute @a[score_dropweapon_min=1,score_class_min=1,score_class=1,score_selectclass_min=1,score_selectclass=1,score_Ammotype_min=2,score_Ammotype=2] ~ ~ ~ scoreboard players set @e[type=item,name=FireworksGun,r=1] Ammotype 2 execute @a[score_dropweapon_min=1,score_class_min=1,score_class=1,score_selectclass_min=1,score_selectclass=1] ~ ~ ~ summon villager ~-0.5 ~ ~ {ActiveEffects:[{Id:14b,Duration:221,Amplifier:1b,ShowParticles:0b}],CustomName:"Body",NoAI:1,Silent:1,Offers:{}} execute @a[score_dropweapon_min=1,score_class_min=1,score_class=1,score_selectclass_min=1,score_selectclass=1] ~ ~ ~ summon item ~-0.5 ~ ~ {PickupDelay:201s,Age:5800s,CustomName:"Body",Item:{id:skull,Damage:3s,Count:1b}} scoreboard players set @a[score_class_min=1,score_class=1,score_selectclass_min=1,score_selectclass=1] dropweapon 0 #Health system scoreboard players set @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=27] hp 26 replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=40,score_hp=40] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:20,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=38,score_hp=38] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:18,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=37,score_hp=37] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:17,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=36,score_hp=36] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:16,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=35,score_hp=35] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:15,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=34,score_hp=34] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:14,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=33,score_hp=33] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:13,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=32,score_hp=32] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:12,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=31,score_hp=31] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:11,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=30,score_hp=30] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:10,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=29,score_hp=29] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:9,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=28,score_hp=28] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:8,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=27,score_hp=27] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:7,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=26,score_hp=26] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:6,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=25,score_hp=25] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:5,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=24,score_hp=24] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:4,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=23,score_hp=23] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:3,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=22,score_hp=22] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:2,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=21,score_hp=21] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:1,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=20,score_hp=20] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:0,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=19,score_hp=19] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:-1,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=18,score_hp=18] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:-2,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=17,score_hp=17] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:-3,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=16,score_hp=16] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:-4,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=15,score_hp=15] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:-5,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=14,score_hp=14] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:-6,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=13,score_hp=13] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:-7,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=12,score_hp=12] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:-8,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=11,score_hp=11] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:-9,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=10,score_hp=10] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:-10,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=9,score_hp=9] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:-11,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=8,score_hp=8] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:-12,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=7,score_hp=7] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:-13,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=6,score_hp=6] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:-14,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=5,score_hp=5] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:-15,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=4,score_hp=4] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:-16,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=3,score_hp=3] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:-17,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=2,score_hp=2] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:-18,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=1,score_hp=1] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:-19,Slot:chest}],Unbreakable:1b} replaceitem entity @a[score_selectclass_min=1,score_selectclass=1,score_hp_min=39,score_hp=39] slot.armor.chest leather_chestplate 1 0 {display:{color:10066329},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"maxhealth",UUIDLeast:3,UUIDMost:3,Amount:19,Slot:chest}],Unbreakable:1b} scoreboard players tag @a[score_selectclass_min=1,score_selectclass=1,tag=updatehp] remove updatehp