execute store result score keepInventory jjc_main run gamerule keepInventory
execute store result score doImmediateRespawn jjc_main run gamerule doImmediateRespawn
execute if score keepInventory jjc_main matches 0 if score keepInventory jjc_main matches 0 positioned ~ ~-1.32 ~ run function colosseum_of_fools:player/death/2