scoreboard players tag @e[tag=Dead] remove Freezed
scoreboard players reset @a[tag=Dead] TimerFreezed
scoreboard players reset @a[tag=Dead] Resurrecting
execute @e[tag=Dead] ~ ~ ~ scoreboard players tag @s[tag=SpawnAI] remove SpawnAI

execute @e[tag=Dead,c=1] ~ ~ ~ tellraw @a[tag=InGame] ["",{"text":"Freezun","color":"aqua","bold":"true"},{"text":" » ","color":"dark_gray"},{"selector":"@e[tag=Dead]","color":"dark_aqua"},{"text":" ","color":"dark_gray"},{"text":"is now eliminated.","color":"red"}]
title @a[tag=Dead] times 5 50 20
title @a[tag=Dead] title {"text":"You're dead","color":"red"}
title @a[tag=Dead] subtitle {"text":" "}

execute @e[tag=Dead] ~ ~ ~ particle blockcrack ~ ~1.2 ~ 0.2 0.5 0.2 1 100 normal @a 79
execute @e[tag=Dead] ~ ~ ~ playsound minecraft:block.glass.break ambient @a[r=50] ~ ~ ~ 1
execute @e[tag=Dead] ~ ~ ~ playsound minecraft:block.glass.break ambient @a[r=50] ~ ~ ~ 1
execute @e[tag=Dead] ~ ~ ~ playsound minecraft:block.glass.break ambient @a[r=50] ~ ~ ~ 1

execute @e[tag=Dead] ~ ~ ~ tp @e[type=zombie,tag=InnocentAI,c=1] ~ ~-256 ~
execute @e[tag=Dead] ~ ~ ~ scoreboard players tag @e[tag=Follower,r=10] remove Follower

execute @a[tag=Dead,c=1] ~ ~ ~ scoreboard players remove @e[name=GamePlayerB,type=armor_stand] DisconnectGTest 1
execute @e[tag=Dead,c=1] ~ ~ ~ scoreboard players add @e[name=CurrentlyEliminated,type=armor_stand] FreezunGameCount 1
function main:scoreboard/game if @e[tag=Dead]

tp @e[type=villager,tag=Dead] ~ ~-256 ~
kill @e[type=villager,tag=Dead]

scoreboard players tag @a[tag=Dead] add SpectatorInit
scoreboard players tag @e[tag=Dead] remove Dead