Overriding damage de/buffs

if you increase x damage for a player(infinite), and then debuff for y damage (5 seconds), will the x damage buff still stand?

I’m not 100% sure I understood your question correctly.
but I think so

no. the Y overrides the X.

wait what do you mean that if someone has damage 4x and gets a debuff (2x for example) the will still have the 4x buff if that is so no because if you set someones damage to a lower number it will clear out the older affect meaning if you want the to regain the buff the have to obtain it again like what @PhoenixWander said the Y overrides the X