#summon armor_stand ~ ~ ~ {Pose:{LeftArm:[0f,0f,0f],RightArm:[0f,0f,0f],LeftLeg:[0f,0f,0f],RightLeg:[0f,0f,0f]},ShowArms:1b,Tags:[gold,goldstand],NoBasePlate:1b}
summon armor_stand ~ ~ ~ {NoGravity:1b,DisabledSlots:4013373,Pose:{LeftArm:[0f,0f,0f],RightArm:[0f,0f,0f],LeftLeg:[0f,0f,0f],RightLeg:[0f,0f,0f]},ShowArms:1b,equipment:{feet:{id:golden_boots,components:{custom_data:{del:tag}}},legs:{id:golden_leggings,components:{custom_data:{del:tag}}},chest:{id:golden_chestplate,components:{custom_data:{del:tag}}},head:{id:golden_helmet,components:{custom_data:{del:tag}}}},Rotation:[125f,0f],Tags:[gold,goldstand],NoBasePlate:1b}
#summon armor_stand ~ ~ ~ {NoGravity:1b,Pose:{LeftArm:[0f,0f,0f],RightArm:[0f,0f,0f],LeftLeg:[0f,0f,0f],RightLeg:[0f,0f,0f]},ShowArms:1b,equipment:{feet:{id:golden_boots,components:{custom_data:{del:tag}}},legs:{id:golden_leggings,components:{custom_data:{del:tag}}}},Rotation:[125f,0f],Tags:[gold,goldstand],NoBasePlate:1b}
execute as @e[tag=goldstand,limit=1,sort=nearest] run data modify entity @s Rotation[0] set from entity @p Rotation[0]
#execute if entity @s[tag=turngold,type=player] run function survivalplus:finale/goldstatue/player
#execute if entity @s[tag=turngold,type=!player] run function survivalplus:finale/goldstatue/nonplayer
execute at @e[tag=goldstand,limit=1,sort=nearest] run summon minecraft:item_display ~ ~1.75 ~ {item:{"id":"minecraft:gold_block"},Tags:[goldhead,gold]}
execute at @e[tag=goldstand,limit=1,sort=nearest] run summon minecraft:item_display ^-.4 ^1.15 ^ {item:{"id":"minecraft:gold_block"},Tags:[goldarm,gold]}
execute at @e[tag=goldstand,limit=1,sort=nearest] run summon minecraft:item_display ^.4 ^1.15 ^ {item:{"id":"minecraft:gold_block"},Tags:[goldarm,gold]}
execute at @e[tag=goldstand,limit=1,sort=nearest] run summon minecraft:item_display ^ ^1.15 ^ {item:{"id":"minecraft:gold_block"},Tags:[goldtorso,gold]}
execute at @e[tag=goldstand,limit=1,sort=nearest] run summon minecraft:item_display ^-.12 ^.4 ^ {item:{"id":"minecraft:gold_block"},Tags:[goldleg,gold]}
execute at @e[tag=goldstand,limit=1,sort=nearest] run summon minecraft:item_display ^.12 ^.4 ^ {item:{"id":"minecraft:gold_block"},Tags:[goldleg,gold]}
execute as @e[tag=goldhead] run data modify entity @s transformation.scale set value [.5f,.5f,.5f]
#execute as @e[tag=goldhead] run data modify entity @s Rotation[1] set from entity @p Rotation[1]
execute as @e[tag=goldarm] run data modify entity @s transformation.scale set value [.3f,.8f,.3f]
execute as @e[tag=goldtorso] run data modify entity @s transformation.scale set value [.5f,.8f,.3f]
execute as @e[tag=goldleg] run data modify entity @s transformation.scale set value [.25f,.7f,.3f]
execute as @e[tag=gold] at @s run data modify entity @s Rotation[0] set from entity @e[tag=goldstand,limit=1,sort=nearest] Rotation[0]