#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#
#    This function has been created by Skilendarz Group.
#             https://skilendarz.com
#
#      GIVE MAP MAKERS THE CREDIT THEY DESERVE!
#             COPYING IS PROHIBITED!
#
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

scoreboard players add @s[tag=!goldmultiplier] gold 1
scoreboard players add @s[tag=goldmultiplier] gold 5
particle minecraft:happy_villager ~ ~0.7 ~ 0.3 0.5 0.3 1 7
scoreboard players set @s goldmined 0

tag @s add no_sensor
execute if score @s milk_time matches 0 as @a[scores={activity_sensor=0,kill-timer=..0},tag=!no_sensor,tag=player] run function f:game/activity_sensor/info
execute if score @s milk_time matches 0 as @a[scores={activity_sensor=4,kill-timer=..0},tag=!no_sensor,tag=player] run function f:game/activity_sensor/info
execute if score @s milk_time matches 0 run title @a[scores={activity_sensor=0,kill-timer=..0},tag=!no_sensor,tag=player] actionbar ["",{"selector":"@s","bold":true},{"translate":"game.gold.found","color":"gray"}]
execute if score @s milk_time matches 0 run title @a[scores={activity_sensor=4,kill-timer=..0},tag=!no_sensor,tag=player] actionbar ["",{"selector":"@s","bold":true},{"translate":"game.gold.found","color":"gray"}]
tag @s remove no_sensor

give @s[tag=!goldmultiplier] minecraft:gold_ingot{display:{Name:'{"translate":"game.gold","color":"gold","bold":true,"italic":false}'}} 1
give @s[tag=goldmultiplier] minecraft:gold_ingot{display:{Name:'{"translate":"game.gold","color":"gold","bold":true,"italic":false}'}} 5

execute positioned -8 147 49 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -4 147 60 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -4 147 61 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -7 147 34 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -13 147 43 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 2 150 22 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -9 152 21 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 11 147 33 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 20 150 23 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 26 148 34 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 29 149 27 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 24 148 38 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 17 147 40 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 41 151 20 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 58 149 24 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 67 147 38 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 69 152 21 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 74 149 25 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 77 147 28 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 83 151 23 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 85 147 34 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 90 151 38 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 90 151 47 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 90 151 55 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 91 152 65 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 89 150 71 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 77 147 74 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 85 149 84 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 91 152 99 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 92 152 106 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 90 151 117 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 77 147 126 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 89 149 134 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 80 152 147 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 74 153 152 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 65 152 148 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 59 151 148 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 53 147 137 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 46 152 149 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 37 154 150 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 35 147 137 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 26 147 136 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 25 149 147 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 15 147 138 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 14 147 139 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 12 151 148 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 0 154 151 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -6 147 137 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -9 153 150 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -22 150 149 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -34 153 134 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -33 150 138 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -34 153 129 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -33 152 115 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -21 147 111 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -32 149 103 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -32 149 89 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -23 147 86 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -17 144 77 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -34 151 73 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -35 152 61 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -33 153 45 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -33 153 35 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -29 149 29 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -24 151 22 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -15 151 22 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 59 147 41 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 72 147 46 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 63 148 58 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 69 147 111 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 68 147 112 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 73 147 120 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 64 147 129 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 60 147 132 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 61 150 123 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 62 150 123 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 61 149 122 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 62 149 122 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 61 150 122 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 62 150 122 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 31 148 126 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -8 147 126 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -2 148 119 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -10 148 113 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 6 147 110 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -1 147 88 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -11 147 85 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -10 147 84 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -6 148 75 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -14 144 71 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -11 146 72 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -10 148 69 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 20 148 70 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 27 148 65 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 28 148 66 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 43 148 84 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 59 148 78 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 61 148 70 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 58 148 87 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 64 148 94 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 65 148 102 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 62 148 119 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 62 148 120 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 63 149 120 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 62 149 121 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 61 148 119 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 61 149 120 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 61 149 121 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 61 150 121 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 35 148 96 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 41 148 91 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 41 148 90 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 32 147 101 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 23 148 98 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 24 148 98 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 23 148 99 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 28 147 107 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 14 147 101 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 12 148 83 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 31 148 121 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 35 132 89 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 31 132 92 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 28 132 101 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 32 132 104 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 24 134 83 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 34 131 81 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 17 133 80 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 15 136 86 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 26 137 78 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 27 137 78 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 29 138 78 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 35 131 77 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 26 137 77 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 28 137 77 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 25 138 77 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 37 130 77 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 39 132 84 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 38 134 98 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 34 132 105 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 38 128 107 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 29 125 108 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 44 130 109 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 35 125 111 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 44 132 111 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 29 125 114 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 45 135 104 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 47 132 107 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 52 132 113 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 53 132 113 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 58 132 111 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 64 132 115 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 64 132 117 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 68 132 121 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 70 129 106 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 69 132 123 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 71 131 110 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 73 132 125 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 72 132 127 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 72 132 128 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 70 132 133 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 70 137 140 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 69 129 102 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 73 129 102 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 74 128 97 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 69 124 89 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 61 118 83 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 67 122 80 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 59 124 75 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 69 127 69 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 64 127 64 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 55 132 64 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 53 134 65 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 64 131 59 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 59 130 56 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 52 132 74 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 55 131 53 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 55 131 48 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 60 132 45 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 55 131 43 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 56 131 38 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 64 131 36 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 61 131 34 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 58 135 32 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 66 133 29 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 37 133 63 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 35 130 64 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 32 132 71 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 29 139 76 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 28 139 75 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 27 139 75 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 27 138 76 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 26 138 76 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 29 130 59 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 23 130 57 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 21 130 65 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 19 130 63 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 15 131 67 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 10 129 65 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 11 131 72 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 4 132 60 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 4 135 73 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 0 129 60 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -2 126 65 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -5 126 60 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -8 125 63 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -12 125 68 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -15 129 55 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -15 128 56 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -16 129 55 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -22 141 70 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -23 139 71 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -22 141 71 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -23 139 72 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -23 140 72 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -22 138 75 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -18 128 76 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -15 126 78 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -24 139 78 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -19 127 87 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -7 131 89 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -15 127 94 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -4 128 95 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -2 132 85 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -5 129 100 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 0 132 82 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -7 133 101 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -2 130 104 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 4 128 111 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -3 129 113 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 7 128 115 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 2 129 119 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -7 128 120 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -8 130 125 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -7 132 125 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -12 129 117 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -11 128 123 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -18 135 123 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 12 128 120 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 17 127 119 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 23 125 114 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 14 133 84 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 7 132 75 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 5 132 81 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -25 139 78 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -25 140 78 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -26 139 68 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -26 140 68 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -26 138 70 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -26 139 73 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -26 140 73 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -26 139 77 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -27 139 75 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -27 139 76 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned -27 140 76 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 4 138 99 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 5 139 99 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 5 140 99 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 4 138 100 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 5 139 100 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 6 140 100 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 5 138 101 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 6 139 101 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 6 140 101 if block ~ ~ ~ air run function f:game/gold/destroy
execute positioned 6 139 102 if block ~ ~ ~ air run function f:game/gold/destroy