
# -> Remove var
$scoreboard players reset @s $(score)

# -> Add hydration
$scoreboard players add @s OverlyRealistic.Player.Stats.Thirst $(thirst)

# -> Clamp
execute if score @s OverlyRealistic.Player.Stats.Thirst matches 101.. run \
    scoreboard players set @s OverlyRealistic.Player.Stats.Thirst 100
