#Init====================================================================#
scoreboard objectives remove FreezunGame
scoreboard objectives add FreezunGame dummy §3§lFreez§b§lun
#scoreboard objectives setdisplay sidebar FreezunGame
#=======================================================================#
scoreboard players set §1 FreezunGame 7
scoreboard players set §2 FreezunGame 2
#Operations=============================================================#
scoreboard players set @e[name=CurrentlyInnocent,type=armor_stand] FreezunGameCount 0
scoreboard players set @e[name=CurrentlyFreezed,type=armor_stand] FreezunGameCount 0
scoreboard players set @e[name=CurrentlyMurder,type=armor_stand] FreezunGameCount 0
execute @e[tag=Innocent] ~ ~ ~ scoreboard players add @e[name=CurrentlyInnocent,type=armor_stand] FreezunGameCount 1
execute @e[tag=Freezed] ~ ~ ~ scoreboard players add @e[name=CurrentlyFreezed,type=armor_stand] FreezunGameCount 1
execute @e[tag=Murder] ~ ~ ~ scoreboard players add @e[name=CurrentlyMurder,type=armor_stand] FreezunGameCount 1
scoreboard players operation @e[name=CurrentlyAlive,type=armor_stand] FreezunGameCount = @e[name=CurrentlyInnocent,type=armor_stand] FreezunGameCount
scoreboard players operation @e[name=CurrentlyAlive,type=armor_stand] FreezunGameCount += @e[name=CurrentlyFreezed,type=armor_stand] FreezunGameCount
scoreboard players operation @e[name=CurrentlyAlive,type=armor_stand] FreezunGameCount += @e[name=CurrentlyMurder,type=armor_stand] FreezunGameCount
#Alive==================================================================#
execute @e[name=CurrentlyAlive,type=armor_stand,score_FreezunGameCount_min=0,score_FreezunGameCount=0] ~ ~ ~ scoreboard players set §1§a0 FreezunGame 6
execute @e[name=CurrentlyAlive,type=armor_stand,score_FreezunGameCount_min=1,score_FreezunGameCount=1] ~ ~ ~ scoreboard players set §1§a1 FreezunGame 6
execute @e[name=CurrentlyAlive,type=armor_stand,score_FreezunGameCount_min=2,score_FreezunGameCount=2] ~ ~ ~ scoreboard players set §1§a2 FreezunGame 6
execute @e[name=CurrentlyAlive,type=armor_stand,score_FreezunGameCount_min=3,score_FreezunGameCount=3] ~ ~ ~ scoreboard players set §1§a3 FreezunGame 6
execute @e[name=CurrentlyAlive,type=armor_stand,score_FreezunGameCount_min=4,score_FreezunGameCount=4] ~ ~ ~ scoreboard players set §1§a4 FreezunGame 6
execute @e[name=CurrentlyAlive,type=armor_stand,score_FreezunGameCount_min=5,score_FreezunGameCount=5] ~ ~ ~ scoreboard players set §1§a5 FreezunGame 6
execute @e[name=CurrentlyAlive,type=armor_stand,score_FreezunGameCount_min=6,score_FreezunGameCount=6] ~ ~ ~ scoreboard players set §1§a6 FreezunGame 6
execute @e[name=CurrentlyAlive,type=armor_stand,score_FreezunGameCount_min=7,score_FreezunGameCount=7] ~ ~ ~ scoreboard players set §1§a7 FreezunGame 6
execute @e[name=CurrentlyAlive,type=armor_stand,score_FreezunGameCount_min=8,score_FreezunGameCount=8] ~ ~ ~ scoreboard players set §1§a8 FreezunGame 6
execute @e[name=CurrentlyAlive,type=armor_stand,score_FreezunGameCount_min=9,score_FreezunGameCount=9] ~ ~ ~ scoreboard players set §1§a9 FreezunGame 6
execute @e[name=CurrentlyAlive,type=armor_stand,score_FreezunGameCount_min=10,score_FreezunGameCount=10] ~ ~ ~ scoreboard players set §1§a10 FreezunGame 6
execute @e[name=CurrentlyAlive,type=armor_stand,score_FreezunGameCount_min=11,score_FreezunGameCount=11] ~ ~ ~ scoreboard players set §1§a11 FreezunGame 6
execute @e[name=CurrentlyAlive,type=armor_stand,score_FreezunGameCount_min=12,score_FreezunGameCount=12] ~ ~ ~ scoreboard players set §1§a12 FreezunGame 6
execute @e[name=CurrentlyAlive,type=armor_stand,score_FreezunGameCount_min=13,score_FreezunGameCount=13] ~ ~ ~ scoreboard players set §1§a13 FreezunGame 6
execute @e[name=CurrentlyAlive,type=armor_stand,score_FreezunGameCount_min=14,score_FreezunGameCount=14] ~ ~ ~ scoreboard players set §1§a14 FreezunGame 6
execute @e[name=CurrentlyAlive,type=armor_stand,score_FreezunGameCount_min=15,score_FreezunGameCount=15] ~ ~ ~ scoreboard players set §1§a15 FreezunGame 6
execute @e[name=CurrentlyAlive,type=armor_stand,score_FreezunGameCount_min=16,score_FreezunGameCount=16] ~ ~ ~ scoreboard players set §1§a16 FreezunGame 6
execute @e[name=CurrentlyAlive,type=armor_stand,score_FreezunGameCount_min=17,score_FreezunGameCount=17] ~ ~ ~ scoreboard players set §1§a17 FreezunGame 6
execute @e[name=CurrentlyAlive,type=armor_stand,score_FreezunGameCount_min=18,score_FreezunGameCount=18] ~ ~ ~ scoreboard players set §1§a18 FreezunGame 6
execute @e[name=CurrentlyAlive,type=armor_stand,score_FreezunGameCount_min=19,score_FreezunGameCount=19] ~ ~ ~ scoreboard players set §1§a19 FreezunGame 6
execute @e[name=CurrentlyAlive,type=armor_stand,score_FreezunGameCount_min=20,score_FreezunGameCount=20] ~ ~ ~ scoreboard players set §1§a20 FreezunGame 6
scoreboard teams join SpaceAlive §1§a0
scoreboard teams join SpaceAlive §1§a1
scoreboard teams join SpaceAlive §1§a2
scoreboard teams join SpaceAlive §1§a3
scoreboard teams join SpaceAlive §1§a4
scoreboard teams join SpaceAlive §1§a5
scoreboard teams join SpaceAlive §1§a6
scoreboard teams join SpaceAlive §1§a7
scoreboard teams join SpaceAlive §1§a8
scoreboard teams join SpaceAlive §1§a9
scoreboard teams join SpaceAlive §1§a10
scoreboard teams join SpaceAlive §1§a11
scoreboard teams join SpaceAlive §1§a12
scoreboard teams join SpaceAlive §1§a13
scoreboard teams join SpaceAlive §1§a14
scoreboard teams join SpaceAlive §1§a15
scoreboard teams join SpaceAlive §1§a16
scoreboard teams join SpaceAlive §1§a17
scoreboard teams join SpaceAlive §1§a18
scoreboard teams join SpaceAlive §1§a19
scoreboard teams join SpaceAlive §1§a20
#Innocent Left==========================================================#
execute @e[name=CurrentlyInnocent,type=armor_stand,score_FreezunGameCount_min=0,score_FreezunGameCount=0] ~ ~ ~ scoreboard players set §20 FreezunGame 5
execute @e[name=CurrentlyInnocent,type=armor_stand,score_FreezunGameCount_min=1,score_FreezunGameCount=1] ~ ~ ~ scoreboard players set §21 FreezunGame 5
execute @e[name=CurrentlyInnocent,type=armor_stand,score_FreezunGameCount_min=2,score_FreezunGameCount=2] ~ ~ ~ scoreboard players set §22 FreezunGame 5
execute @e[name=CurrentlyInnocent,type=armor_stand,score_FreezunGameCount_min=3,score_FreezunGameCount=3] ~ ~ ~ scoreboard players set §23 FreezunGame 5
execute @e[name=CurrentlyInnocent,type=armor_stand,score_FreezunGameCount_min=4,score_FreezunGameCount=4] ~ ~ ~ scoreboard players set §24 FreezunGame 5
execute @e[name=CurrentlyInnocent,type=armor_stand,score_FreezunGameCount_min=5,score_FreezunGameCount=5] ~ ~ ~ scoreboard players set §25 FreezunGame 5
execute @e[name=CurrentlyInnocent,type=armor_stand,score_FreezunGameCount_min=6,score_FreezunGameCount=6] ~ ~ ~ scoreboard players set §26 FreezunGame 5
execute @e[name=CurrentlyInnocent,type=armor_stand,score_FreezunGameCount_min=7,score_FreezunGameCount=7] ~ ~ ~ scoreboard players set §27 FreezunGame 5
execute @e[name=CurrentlyInnocent,type=armor_stand,score_FreezunGameCount_min=8,score_FreezunGameCount=8] ~ ~ ~ scoreboard players set §28 FreezunGame 5
execute @e[name=CurrentlyInnocent,type=armor_stand,score_FreezunGameCount_min=9,score_FreezunGameCount=9] ~ ~ ~ scoreboard players set §29 FreezunGame 5
execute @e[name=CurrentlyInnocent,type=armor_stand,score_FreezunGameCount_min=10,score_FreezunGameCount=10] ~ ~ ~ scoreboard players set §210 FreezunGame 5
execute @e[name=CurrentlyInnocent,type=armor_stand,score_FreezunGameCount_min=11,score_FreezunGameCount=11] ~ ~ ~ scoreboard players set §211 FreezunGame 5
execute @e[name=CurrentlyInnocent,type=armor_stand,score_FreezunGameCount_min=12,score_FreezunGameCount=12] ~ ~ ~ scoreboard players set §212 FreezunGame 5
execute @e[name=CurrentlyInnocent,type=armor_stand,score_FreezunGameCount_min=13,score_FreezunGameCount=13] ~ ~ ~ scoreboard players set §213 FreezunGame 5
execute @e[name=CurrentlyInnocent,type=armor_stand,score_FreezunGameCount_min=14,score_FreezunGameCount=14] ~ ~ ~ scoreboard players set §214 FreezunGame 5
execute @e[name=CurrentlyInnocent,type=armor_stand,score_FreezunGameCount_min=15,score_FreezunGameCount=15] ~ ~ ~ scoreboard players set §215 FreezunGame 5
execute @e[name=CurrentlyInnocent,type=armor_stand,score_FreezunGameCount_min=16,score_FreezunGameCount=16] ~ ~ ~ scoreboard players set §216 FreezunGame 5
execute @e[name=CurrentlyInnocent,type=armor_stand,score_FreezunGameCount_min=17,score_FreezunGameCount=17] ~ ~ ~ scoreboard players set §217 FreezunGame 5
execute @e[name=CurrentlyInnocent,type=armor_stand,score_FreezunGameCount_min=18,score_FreezunGameCount=18] ~ ~ ~ scoreboard players set §218 FreezunGame 5
execute @e[name=CurrentlyInnocent,type=armor_stand,score_FreezunGameCount_min=19,score_FreezunGameCount=19] ~ ~ ~ scoreboard players set §219 FreezunGame 5
execute @e[name=CurrentlyInnocent,type=armor_stand,score_FreezunGameCount_min=20,score_FreezunGameCount=20] ~ ~ ~ scoreboard players set §220 FreezunGame 5
scoreboard teams join SpaceInnocent §20
scoreboard teams join SpaceInnocent §21
scoreboard teams join SpaceInnocent §22
scoreboard teams join SpaceInnocent §23
scoreboard teams join SpaceInnocent §24
scoreboard teams join SpaceInnocent §25
scoreboard teams join SpaceInnocent §26
scoreboard teams join SpaceInnocent §27
scoreboard teams join SpaceInnocent §28
scoreboard teams join SpaceInnocent §29
scoreboard teams join SpaceInnocent §210
scoreboard teams join SpaceInnocent §211
scoreboard teams join SpaceInnocent §212
scoreboard teams join SpaceInnocent §213
scoreboard teams join SpaceInnocent §214
scoreboard teams join SpaceInnocent §215
scoreboard teams join SpaceInnocent §216
scoreboard teams join SpaceInnocent §217
scoreboard teams join SpaceInnocent §218
scoreboard teams join SpaceInnocent §219
scoreboard teams join SpaceInnocent §220
#Currently Freezed========================================================#
execute @e[name=CurrentlyFreezed,type=armor_stand,score_FreezunGameCount_min=0,score_FreezunGameCount=0] ~ ~ ~ scoreboard players set §30 FreezunGame 4
execute @e[name=CurrentlyFreezed,type=armor_stand,score_FreezunGameCount_min=1,score_FreezunGameCount=1] ~ ~ ~ scoreboard players set §31 FreezunGame 4
execute @e[name=CurrentlyFreezed,type=armor_stand,score_FreezunGameCount_min=2,score_FreezunGameCount=2] ~ ~ ~ scoreboard players set §32 FreezunGame 4
execute @e[name=CurrentlyFreezed,type=armor_stand,score_FreezunGameCount_min=3,score_FreezunGameCount=3] ~ ~ ~ scoreboard players set §33 FreezunGame 4
execute @e[name=CurrentlyFreezed,type=armor_stand,score_FreezunGameCount_min=4,score_FreezunGameCount=4] ~ ~ ~ scoreboard players set §34 FreezunGame 4
execute @e[name=CurrentlyFreezed,type=armor_stand,score_FreezunGameCount_min=5,score_FreezunGameCount=5] ~ ~ ~ scoreboard players set §35 FreezunGame 4
execute @e[name=CurrentlyFreezed,type=armor_stand,score_FreezunGameCount_min=6,score_FreezunGameCount=6] ~ ~ ~ scoreboard players set §36 FreezunGame 4
execute @e[name=CurrentlyFreezed,type=armor_stand,score_FreezunGameCount_min=7,score_FreezunGameCount=7] ~ ~ ~ scoreboard players set §37 FreezunGame 4
execute @e[name=CurrentlyFreezed,type=armor_stand,score_FreezunGameCount_min=8,score_FreezunGameCount=8] ~ ~ ~ scoreboard players set §38 FreezunGame 4
execute @e[name=CurrentlyFreezed,type=armor_stand,score_FreezunGameCount_min=9,score_FreezunGameCount=9] ~ ~ ~ scoreboard players set §39 FreezunGame 4
execute @e[name=CurrentlyFreezed,type=armor_stand,score_FreezunGameCount_min=10,score_FreezunGameCount=10] ~ ~ ~ scoreboard players set §310 FreezunGame 4
execute @e[name=CurrentlyFreezed,type=armor_stand,score_FreezunGameCount_min=11,score_FreezunGameCount=11] ~ ~ ~ scoreboard players set §311 FreezunGame 4
execute @e[name=CurrentlyFreezed,type=armor_stand,score_FreezunGameCount_min=12,score_FreezunGameCount=12] ~ ~ ~ scoreboard players set §312 FreezunGame 4
execute @e[name=CurrentlyFreezed,type=armor_stand,score_FreezunGameCount_min=13,score_FreezunGameCount=13] ~ ~ ~ scoreboard players set §313 FreezunGame 4
execute @e[name=CurrentlyFreezed,type=armor_stand,score_FreezunGameCount_min=14,score_FreezunGameCount=14] ~ ~ ~ scoreboard players set §314 FreezunGame 4
execute @e[name=CurrentlyFreezed,type=armor_stand,score_FreezunGameCount_min=15,score_FreezunGameCount=15] ~ ~ ~ scoreboard players set §315 FreezunGame 4
execute @e[name=CurrentlyFreezed,type=armor_stand,score_FreezunGameCount_min=16,score_FreezunGameCount=16] ~ ~ ~ scoreboard players set §316 FreezunGame 4
execute @e[name=CurrentlyFreezed,type=armor_stand,score_FreezunGameCount_min=17,score_FreezunGameCount=17] ~ ~ ~ scoreboard players set §317 FreezunGame 4
execute @e[name=CurrentlyFreezed,type=armor_stand,score_FreezunGameCount_min=18,score_FreezunGameCount=18] ~ ~ ~ scoreboard players set §318 FreezunGame 4
execute @e[name=CurrentlyFreezed,type=armor_stand,score_FreezunGameCount_min=19,score_FreezunGameCount=19] ~ ~ ~ scoreboard players set §319 FreezunGame 4
execute @e[name=CurrentlyFreezed,type=armor_stand,score_FreezunGameCount_min=20,score_FreezunGameCount=20] ~ ~ ~ scoreboard players set §320 FreezunGame 4
scoreboard teams join SpaceFreezed §30
scoreboard teams join SpaceFreezed §31
scoreboard teams join SpaceFreezed §32
scoreboard teams join SpaceFreezed §33
scoreboard teams join SpaceFreezed §34
scoreboard teams join SpaceFreezed §35
scoreboard teams join SpaceFreezed §36
scoreboard teams join SpaceFreezed §37
scoreboard teams join SpaceFreezed §38
scoreboard teams join SpaceFreezed §39
scoreboard teams join SpaceFreezed §310
scoreboard teams join SpaceFreezed §311
scoreboard teams join SpaceFreezed §312
scoreboard teams join SpaceFreezed §313
scoreboard teams join SpaceFreezed §314
scoreboard teams join SpaceFreezed §315
scoreboard teams join SpaceFreezed §316
scoreboard teams join SpaceFreezed §317
scoreboard teams join SpaceFreezed §318
scoreboard teams join SpaceFreezed §319
scoreboard teams join SpaceFreezed §320
#Currently Murder========================================================#
execute @e[name=CurrentlyMurder,type=armor_stand,score_FreezunGameCount_min=0,score_FreezunGameCount=0] ~ ~ ~ scoreboard players set §40 FreezunGame 3
execute @e[name=CurrentlyMurder,type=armor_stand,score_FreezunGameCount_min=1,score_FreezunGameCount=1] ~ ~ ~ scoreboard players set §41 FreezunGame 3
execute @e[name=CurrentlyMurder,type=armor_stand,score_FreezunGameCount_min=2,score_FreezunGameCount=2] ~ ~ ~ scoreboard players set §42 FreezunGame 3
execute @e[name=CurrentlyMurder,type=armor_stand,score_FreezunGameCount_min=3,score_FreezunGameCount=3] ~ ~ ~ scoreboard players set §43 FreezunGame 3
scoreboard teams join SpaceMurderGame §40
scoreboard teams join SpaceMurderGame §41
scoreboard teams join SpaceMurderGame §42
scoreboard teams join SpaceMurderGame §43
#Eliminated========================================================#
execute @e[name=CurrentlyEliminated,type=armor_stand,score_FreezunGameCount_min=0,score_FreezunGameCount=0] ~ ~ ~ scoreboard players set §60 FreezunGame 1
execute @e[name=CurrentlyEliminated,type=armor_stand,score_FreezunGameCount_min=1,score_FreezunGameCount=1] ~ ~ ~ scoreboard players set §61 FreezunGame 1
execute @e[name=CurrentlyEliminated,type=armor_stand,score_FreezunGameCount_min=2,score_FreezunGameCount=2] ~ ~ ~ scoreboard players set §62 FreezunGame 1
execute @e[name=CurrentlyEliminated,type=armor_stand,score_FreezunGameCount_min=3,score_FreezunGameCount=3] ~ ~ ~ scoreboard players set §63 FreezunGame 1
execute @e[name=CurrentlyEliminated,type=armor_stand,score_FreezunGameCount_min=4,score_FreezunGameCount=4] ~ ~ ~ scoreboard players set §64 FreezunGame 1
execute @e[name=CurrentlyEliminated,type=armor_stand,score_FreezunGameCount_min=5,score_FreezunGameCount=5] ~ ~ ~ scoreboard players set §65 FreezunGame 1
execute @e[name=CurrentlyEliminated,type=armor_stand,score_FreezunGameCount_min=6,score_FreezunGameCount=6] ~ ~ ~ scoreboard players set §66 FreezunGame 1
execute @e[name=CurrentlyEliminated,type=armor_stand,score_FreezunGameCount_min=7,score_FreezunGameCount=7] ~ ~ ~ scoreboard players set §67 FreezunGame 1
execute @e[name=CurrentlyEliminated,type=armor_stand,score_FreezunGameCount_min=8,score_FreezunGameCount=8] ~ ~ ~ scoreboard players set §68 FreezunGame 1
execute @e[name=CurrentlyEliminated,type=armor_stand,score_FreezunGameCount_min=9,score_FreezunGameCount=9] ~ ~ ~ scoreboard players set §69 FreezunGame 1
execute @e[name=CurrentlyEliminated,type=armor_stand,score_FreezunGameCount_min=10,score_FreezunGameCount=10] ~ ~ ~ scoreboard players set §610 FreezunGame 1
execute @e[name=CurrentlyEliminated,type=armor_stand,score_FreezunGameCount_min=11,score_FreezunGameCount=11] ~ ~ ~ scoreboard players set §611 FreezunGame 1
execute @e[name=CurrentlyEliminated,type=armor_stand,score_FreezunGameCount_min=12,score_FreezunGameCount=12] ~ ~ ~ scoreboard players set §612 FreezunGame 1
execute @e[name=CurrentlyEliminated,type=armor_stand,score_FreezunGameCount_min=13,score_FreezunGameCount=13] ~ ~ ~ scoreboard players set §613 FreezunGame 1
execute @e[name=CurrentlyEliminated,type=armor_stand,score_FreezunGameCount_min=14,score_FreezunGameCount=14] ~ ~ ~ scoreboard players set §614 FreezunGame 1
execute @e[name=CurrentlyEliminated,type=armor_stand,score_FreezunGameCount_min=15,score_FreezunGameCount=15] ~ ~ ~ scoreboard players set §615 FreezunGame 1
execute @e[name=CurrentlyEliminated,type=armor_stand,score_FreezunGameCount_min=16,score_FreezunGameCount=16] ~ ~ ~ scoreboard players set §616 FreezunGame 1
execute @e[name=CurrentlyEliminated,type=armor_stand,score_FreezunGameCount_min=17,score_FreezunGameCount=17] ~ ~ ~ scoreboard players set §617 FreezunGame 1
execute @e[name=CurrentlyEliminated,type=armor_stand,score_FreezunGameCount_min=18,score_FreezunGameCount=18] ~ ~ ~ scoreboard players set §618 FreezunGame 1
execute @e[name=CurrentlyEliminated,type=armor_stand,score_FreezunGameCount_min=19,score_FreezunGameCount=19] ~ ~ ~ scoreboard players set §619 FreezunGame 1
execute @e[name=CurrentlyEliminated,type=armor_stand,score_FreezunGameCount_min=20,score_FreezunGameCount=20] ~ ~ ~ scoreboard players set §620 FreezunGame 1
scoreboard teams join SpaceEliminated §60
scoreboard teams join SpaceEliminated §61
scoreboard teams join SpaceEliminated §62
scoreboard teams join SpaceEliminated §63
scoreboard teams join SpaceEliminated §64
scoreboard teams join SpaceEliminated §65
scoreboard teams join SpaceEliminated §66
scoreboard teams join SpaceEliminated §67
scoreboard teams join SpaceEliminated §68
scoreboard teams join SpaceEliminated §69
scoreboard teams join SpaceEliminated §610
scoreboard teams join SpaceEliminated §611
scoreboard teams join SpaceEliminated §612
scoreboard teams join SpaceEliminated §613
scoreboard teams join SpaceEliminated §614
scoreboard teams join SpaceEliminated §615
scoreboard teams join SpaceEliminated §616
scoreboard teams join SpaceEliminated §617
scoreboard teams join SpaceEliminated §618
scoreboard teams join SpaceEliminated §619
scoreboard teams join SpaceEliminated §620
#Display==============================================================# 
function main:scoreboard/display