#BOMBS #Seting Score For Inventory scoreboard players set @a bombCraft 1 {Inventory:[{Slot:17b,id:"minecraft:fire_charge",Count:1b},{Slot:26b,id:"minecraft:gunpowder",Count:1b}]} #Replacing Inventory replaceitem entity @a[score_bombCraft_min=1,score_bombCraft=1] slot.inventory.8 firework_charge 1 0 {display:{Name:"§2§lSmall Grenade §7(Throw)",Lore:["§7Explosion Radius: 3","§7Detonation Timer: 3s","§7Explode On Impact: No"]},HideFlags:32} replaceitem entity @a[score_bombCraft_min=1] slot.inventory.17 air 1 0 #Particles/Sounds execute @a[score_bombCraft_min=1] ~ ~ ~ /particle largesmoke ~ ~1 ~ 0.01 0.01 0.01 0.1 20 force @a execute @a[score_bombCraft_min=1,score_bombCraft=3] ~ ~ ~ playsound minecraft:block.anvil.fall master @a ~ ~ ~ 1 1 #Reseting Score scoreboard players set @a bombCraft 0 advancement revoke @a only bomb:bombcraft/bombcraft