
# -> Increase/decrease value
$scoreboard players $(type) @s OverlyRealistic.Player.Stats.MentalHealth $(value)

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