
# -> Add to time
scoreboard players add @s OverlyRealistic.Player.IllnessEffectTimer_Poison 1

# -> If time < max then return
execute unless score @s OverlyRealistic.Player.IllnessEffectTimer_Poison matches 8.. run \
    return fail

# -> Add effect
effect give @s poison 8 0 true

# -> Reset time
scoreboard players reset @s OverlyRealistic.Player.IllnessEffectTimer_Poison
