scoreboard players reset @s builder.glass.all
scoreboard players reset @s builder.red_stained_glass
scoreboard players reset @s builder.red_stained_glass_pane
scoreboard players set @s builder.capital 2
function ws:work/misc/builder/pay/heightbonus
function ws:work/misc/builder/pay/x
execute store result storage ws:temp builder int 1 run scoreboard players get @s builder.capital
execute at @s run function ws:work/misc/builder/pay/display with storage ws:temp
execute at @s run playsound minecraft:entity.experience_orb.pickup player @s ~ ~ ~ 0.3 2
execute at @s run particle minecraft:happy_villager ~ ~2 ~
scoreboard players operation @s pay += @s builder.capital