tag @s[tag=maxdown20] add maxdown21
#tellraw @s[tag=maxdown21] {"text": "You pushed your limit","color": "red"}
damage @s[tag=maxdown21] 6 survivalplus:null
tag @s[tag=maxdown19] add maxdown20
attribute @s[tag=maxdown20] max_health modifier add 12b9a2e2-9369-4e63-8c8d-f8d56c4e77b1 -4 add_value
tag @s[tag=maxdown18] add maxdown19
attribute @s[tag=maxdown19] max_health modifier add 1b96826b-68f6-44ae-8026-42e5debbe9df -4 add_value
tag @s[tag=maxdown17] add maxdown18
attribute @s[tag=maxdown18] max_health modifier add 248887aa-2c2d-4f65-a8b7-dfa6d32e689a -4 add_value
tag @s[tag=maxdown16] add maxdown17
attribute @s[tag=maxdown17] max_health modifier add e4726b8a-5ca6-41f5-8ec7-7045f332d4b7 -4 add_value
tag @s[tag=maxdown15] add maxdown16
attribute @s[tag=maxdown16] max_health modifier add d74f182f-0258-4d07-9bc5-1a97792b92af -4 add_value
tag @s[tag=maxdown14] add maxdown15
attribute @s[tag=maxdown15] max_health modifier add 545f3995-549c-4b1b-a0c4-f0627611ddbe -4 add_value
tag @s[tag=maxdown13] add maxdown14
attribute @s[tag=maxdown14] max_health modifier add 99d8b9dc-afd6-4d62-80e5-a406e0e1beec -4 add_value
tag @s[tag=maxdown12] add maxdown13
attribute @s[tag=maxdown13] max_health modifier add e9039011-f0d5-4efe-a3f2-c4039b629310 -4 add_value
tag @s[tag=maxdown11] add maxdown12
attribute @s[tag=maxdown12] max_health modifier add c9a91b26-ccbb-4538-b3ab-80211e9b73d8 -4 add_value
tag @s[tag=maxdown10] add maxdown11
attribute @s[tag=maxdown11] max_health modifier add fc33fe81-303f-45a5-8d77-e0bbc775c606 -4 add_value
tag @s[tag=maxdown9] add maxdown10
attribute @s[tag=maxdown10] max_health modifier add 9b68548c-3de1-408c-97d6-fa13a7ba4a4f -4 add_value
tag @s[tag=maxdown8] add maxdown9
attribute @s[tag=maxdown9] max_health modifier add 1206832e-9523-4271-b666-e3e786166586 -4 add_value
tag @s[tag=maxdown7] add maxdown8
attribute @s[tag=maxdown8] max_health modifier add 9e6a7936-54da-4db8-a5d4-791fdf089158 -4 add_value
tag @s[tag=maxdown6] add maxdown7
attribute @s[tag=maxdown7] max_health modifier add da188a89-b8e8-4919-97af-783bf2196cbf -4 add_value
tag @s[tag=maxdown5] add maxdown6
attribute @s[tag=maxdown6] max_health modifier add 3bda0fb0-41bf-44d7-b4d7-69ed0fd4ba00 -4 add_value
tag @s[tag=maxdown4] add maxdown5
attribute @s[tag=maxdown5] max_health modifier add cd2873d4-d7e2-4288-b7d2-107a60e1eb9d -4 add_value
tag @s[tag=maxdown3] add maxdown4
attribute @s[tag=maxdown4] max_health modifier add 170f2cbc-b7f3-447a-9fe2-6f96e6cd2ad0 -4 add_value
tag @s[tag=maxdown2] add maxdown3
attribute @s[tag=maxdown3] max_health modifier add 045027f3-7a22-4933-aad3-d170c37d865e -4 add_value
tag @s[tag=maxdown1] add maxdown2
attribute @s[tag=maxdown2] max_health modifier add c4eb6a53-32c5-437e-a8f8-77dfb3aaa843 -4 add_value
tag @s add maxdown1
attribute @s[tag=maxdown1] max_health modifier add c537b5cb-aef4-4cda-8059-242822213dd8 -4 add_value
playsound minecraft:block.beacon.power_select player @a ~ ~1 ~ .4 2
advancement revoke @s only survivalplus:tools/gethit/maxhpdown