function rng:percentage

data merge entity @s {Invulnerable:1b,ShowArms:1b,CustomName:'{"bold":true,"color":"red","text":"Coming soon"}',HandItems:[{id:"barrier",Count:1b,tag:{Armory:1b}},{}],Pose:{RightArm:[-20.0f,0.0f,5.0f],LeftArm:[-15f,0.0f,-5.0f],Head:[0.1f,0.0f,0.0f]}}

# D: 32%
execute if score out rng matches ..31 run data modify entity @s[tag=!no_d] Tags append value D
execute if score out rng matches ..31 run data merge entity @s[tag=!no_d] {ArmorItems:[{id:"leather_boots",Count:1b},{id:"leather_leggings",Count:1b},{id:"leather_chestplate",Count:1b},{id:"player_head",tag:{SkullOwner:"Jarofdirt"},Count:1b}]}

# C: 27%
execute if score out rng matches 32..58 run data modify entity @s[tag=!no_c] Tags append value C
execute if score out rng matches 32..58 run data merge entity @s[tag=!no_c] {ArmorItems:[{id:"chainmail_boots",Count:1b},{id:"chainmail_leggings",Count:1b},{id:"chainmail_chestplate",Count:1b},{id:"player_head",tag:{SkullOwner:"Jarofdirt"},Count:1b}]}

# B: 20%
execute if score out rng matches 59..78 run data modify entity @s[tag=!no_b] Tags append value B
execute if score out rng matches 59..78 run data merge entity @s[tag=!no_b] {ArmorItems:[{id:"iron_boots",Count:1b},{id:"iron_leggings",Count:1b},{id:"iron_chestplate",Count:1b},{id:"player_head",tag:{SkullOwner:"Jarofdirt"},Count:1b}]}

# A: 13%
execute if score out rng matches 79..93 run data modify entity @s[tag=!no_a] Tags append value A
execute if score out rng matches 79..93 run data merge entity @s[tag=!no_a] {ArmorItems:[{id:"golden_boots",Count:1b},{id:"golden_leggings",Count:1b},{id:"golden_chestplate",Count:1b},{id:"player_head",tag:{SkullOwner:"Jarofdirt"},Count:1b}]}

# S: 8%
execute if score out rng matches 93..100 run data modify entity @s[tag=!no_s] Tags append value S
execute if score out rng matches 93..100 run data merge entity @s[tag=!no_s] {ArmorItems:[{id:"diamond_boots",Count:1b},{id:"diamond_leggings",Count:1b},{id:"diamond_chestplate",Count:1b},{id:"player_head",tag:{SkullOwner:"Jarofdirt"},Count:1b}]}

tag @s[tag=no_s,tag=no_a,tag=no_b,tag=no_c,tag=no_d] add more_soon
