#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#
#    This function has been created by Skilendarz Group.
#             https://skilendarz.com
#
#      GIVE MAP MAKERS THE CREDIT THEY DESERVE!
#             COPYING IS PROHIBITED!
#
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

execute if entity @a[team=hider] run title @a subtitle ["",{"translate":"game.end.hiders","color":"aqua","bold":true},{"translate":"game.end.win","color":"gray"}]
execute unless entity @a[team=hider] run title @a subtitle ["",{"translate":"game.end.seekers","color":"dark_purple","bold":true},{"translate":"game.end.win","color":"gray"}]
tag @a[team=hider] add win
execute unless entity @a[team=hider] run tag @a[team=seeker,scores={kill-timer=0},tag=original_seeker] add win
