scoreboard objectives add timer dummy
scoreboard players add @a timer 1
execute as @a[scores={timer=800..840, hydration=!100},m=!c] positioned ~ ~ ~ run scoreboard players add @a hydration 1
execute as @a[scores={timer=800..840},m=!c] positioned ~ ~ ~ run scoreboard players set @a timer 0
title @a[scores={hydration=0..5},m=!c] actionbar ½½½½½½½½½½      
title @a[scores={hydration=6..10},m=!c] actionbar ¼½½½½½½½½½      
title @a[scores={hydration=11..20},m=!c] actionbar ¼¼½½½½½½½½      
title @a[scores={hydration=21..30},m=!c] actionbar ¼¼¼½½½½½½½      
title @a[scores={hydration=31..40},m=!c] actionbar ¼¼¼¼½½½½½½      
title @a[scores={hydration=41..50},m=!c] actionbar ¼¼¼¼¼½½½½½      
title @a[scores={hydration=51..60},m=!c] actionbar ¼¼¼¼¼¼½½½½      
title @a[scores={hydration=61..70},m=!c] actionbar ¼¼¼¼¼¼¼½½½      
title @a[scores={hydration=71..80},m=!c] actionbar ¼¼¼¼¼¼¼¼½½      
title @a[scores={hydration=81..90},m=!c] actionbar ¼¼¼¼¼¼¼¼¼½      
title @a[scores={hydration=91..99},m=!c] actionbar ¼¼¼¼¼¼¼¼¼¼      
effect @a[scores={hydration=91..99},m=!c] nausea 5 5 true
kill @a[scores={hydration=100},m=!c]
