цикличный / cyclical 1 /execute if block coordinates of the button minecraft:warped_button[powered=true] run scoreboard players add "door" open 1 все цепной / chain all 2 /execute if block (coordinates of the button) minecraft:warped_button[powered=true] run setblock (coordinates of the button) minecraft:warped_button[ powered= false, facing= south] 3 /execute if score "door" open matches 1 run fill (coordinate of the door) (coordinate of the door) air 4 /execute if score "door" open matches 1 run function project:a/open/play 5 /execute if score "door" open matches 3 run fill (coordinate of the door) (coordinate of the door) minecraft:barrier 6 /execute if score "door" open matches 3 run function project:a/close/play 7 /execute if score "door" open matches 3.. run scoreboard players set "door" open 0 цикличный / cyclical 8 /execute if score "door" open matches 1 run scoreboard players set "door" open 2 Additional / дополнительные 1 /scoreboard objectives add open dummy ВЫ ДОЛЖНЫ ИСПОЛЬЗОВАТЬ ИСКАЖЁННУЮ КНОПКУ YOU HAVE TO USE A WARPED BUTTON Minecraft 1.21.1 by vsakoe