# Author: Plagiatus
#
# Called by: egg_hunt:end/look_for_winner

title @a times 5 60 5
title @a title ["",{"translate":"eh.winner.title","color":"gold","with":[{"selector":"@a[tag=eh_winner]"}]}]
tellraw @a ["",{"translate":"eh.winner.chat","color":"gold","with":[{"selector":"@a[tag=eh_winner]","color":"green"},{"score":{"name":"@a[tag=eh_winner,c=1]","objective":"eh_score"},"color":"green"}]}]