execute store result score @s pv_emeralds run clear @s minecraft:emerald 0 execute if score @s pv_emeralds matches ..49 run tellraw @s [{"text":"Emerald tidak cukup. Butuh ","color":"red"},{"text":"50 Emerald","color":"green","bold":true},{"text":" untuk spawn Villager.","color":"red"}] execute if score @s pv_emeralds matches ..49 run playsound minecraft:block.note_block.bass player @s ~ ~ ~ 0.8 0.8 execute if score @s pv_emeralds matches 50.. run function protect_villagers:entities/spawn/try_slots