Files
zombiiattack-datapack/data/protect_villagers/functions/entities/spawn/request.mcfunction
T
Darto KLoning 0a22196ea6 Initial import
2026-06-20 20:58:13 +07:00

7 lines
406 B
MCFunction

scoreboard players set #button pv_button_lock 1
execute if score @s pv_spawn_cd matches 1.. run tellraw @s {"text":"Villager spawn masih cooldown. Tunggu sebentar...","color":"red"}
execute if score @s pv_spawn_cd matches 1.. run playsound minecraft:block.note_block.bass player @s ~ ~ ~ 0.8 0.7
execute unless score @s pv_spawn_cd matches 1.. run function protect_villagers:entities/spawn/check_payment