scoreboard players add @e[name=ResetGame,tag=Reset] Reset 1
function main:reset/resetfunctions/stopgameclocks if @e[name=ResetGame,score_Reset_min=1,score_Reset=1]
function main:reset/resetfunctions/selectwinner if @e[name=ResetGame,score_Reset_min=1,score_Reset=1]
function main:reset/resetfunctions/resetmurdertimer if @e[name=ResetGame,score_Reset_min=1,score_Reset=1]
function main:reset/resetfunctions/killzombie if @e[name=ResetGame,score_Reset_min=1,score_Reset=1]
function main:reset/resetfunctions/removetags if @e[name=ResetGame,score_Reset_min=1,score_Reset=1]
function main:scoreboard/display if @e[name=ResetGame,score_Reset_min=1,score_Reset=1]
function main:reset/resetfunctions/resetscores if @e[name=ResetGame,score_Reset_min=1,score_Reset=1]
function main:reset/resetfunctions/title1 if @e[name=ResetGame,score_Reset_min=1,score_Reset=1]

function main:reset/resetfunctions/winner if @e[name=ResetGame,score_Reset_min=5,score_Reset=5]
function main:reset/resetfunctions/winnerscorereset if @e[name=ResetGame,score_Reset_min=5,score_Reset=5]
function main:reset/resetfunctions/killentity if @e[name=ResetGame,score_Reset_min=5,score_Reset=5]

function main:reset/resetfunctions/playerreset if @e[name=ResetGame,score_Reset_min=10,score_Reset=10]
function main:scoreboard/lobby if @e[name=ResetGame,score_Reset_min=10,score_Reset=10]
execute @e[name=ResetGame,score_Reset_min=10,score_Reset=10] ~ ~ ~ summon minecraft:area_effect_cloud 0 102 0 {CustomName:"ReplaceSign",Duration:2000000000}

execute @e[name=ResetGame,score_Reset_min=30,score_Reset=30] ~ ~ ~ summon area_effect_cloud 0 102 0 {CustomName:"FireworksReset",Duration:41}

scoreboard players tag @e[name=ResetGame,score_Reset_min=30,score_Reset=30] remove Reset
scoreboard players set @e[name=ResetGame,score_Reset_min=30,score_Reset=30] Reset 0