tellraw @s {"text":"Behold! Pant upgrade!","color":"aqua"}

execute store result score #random2 temp run random value 1..3

execute if score #random2 temp matches 1..2 run item replace entity @s armor.legs with golden_leggings[item_name=[{"color":"#FFA114","text":"U"},{"color":"#FF9D24","text":"n"},{"color":"#FE9933","text":"l"},{"color":"#FE9543","text":"u"},{"color":"#FE9053","text":"c"},{"color":"#FD8C62","text":"k"},{"color":"#FD8872","text":"y "},{"color":"#FD8482","text":"L"},{"color":"#FC8091","text":"e"},{"color":"#FC7CA1","text":"g"},{"color":"#FC78B1","text":"g"},{"color":"#FB74C0","text":"i"},{"color":"#FB6FD0","text":"n"},{"color":"#FB6BE0","text":"g"},{"color":"#FA63FF","text":"s"}],lore=[{"color":"gray","italic":false,"text":"These suck!"}],enchantments={"minecraft:binding_curse":1},attribute_modifiers=[{id:"max_health",type:"max_health",amount:-6,operation:"add_value",slot:"legs"},{id:"armor",type:"armor",amount:3,operation:"add_value",slot:"legs"}]] 1
execute if score #random2 temp matches 3 run item replace entity @s armor.legs with golden_leggings[item_name=[{"color":"#FFA114","text":"S"},{"color":"#FF9E20","text":"u"},{"color":"#FF9B2C","text":"p"},{"color":"#FE9837","text":"e"},{"color":"#FE9543","text":"r "},{"color":"#FE924F","text":"U"},{"color":"#FE8E5B","text":"n"},{"color":"#FD8B66","text":"l"},{"color":"#FD8872","text":"u"},{"color":"#FD857E","text":"c"},{"color":"#FD828A","text":"k"},{"color":"#FC7F95","text":"y "},{"color":"#FC7CA1","text":"L"},{"color":"#FC79AD","text":"e"},{"color":"#FC76B9","text":"g"},{"color":"#FB73C4","text":"g"},{"color":"#FB6FD0","text":"i"},{"color":"#FB6CDC","text":"n"},{"color":"#FB69E8","text":"g"},{"color":"#FA63FF","text":"s"}],lore=[{"color":"gray","italic":false,"text":"These suck even more!"}],enchantments={"minecraft:binding_curse":1},attribute_modifiers=[{id:"max_health",type:"max_health",amount:-12,operation:"add_value",slot:"legs"},{id:"armor",type:"armor",amount:3,operation:"add_value",slot:"legs"}]] 1