how can i remove/add maximum health from a player?
im trying to make a shrine that removes hearts from the player each time they use it but i need it to actually remove them instead of setting it as a number, as if each time they use it 2 hearts disappear. when i use the attribute command i can only set it to a specific number but im sure theres some way to do that since i can make it so armor removes a specific amount of max hp instead of set it to an amount. just dont know how to do it with a normal attribute command