#execute as @a[scores={Timer=0}] run fill 3 69 -1 -2 64 4 lucky:lucky_block
#execute as @a[scores={Timer=0.2}] run tp @a 2 71 3


# Define el temporizador
scoreboard players remove Ticks Timer 1



  
# Ejecuta el comando fill para llenar el área con bloques
execute if score Ticks Timer matches 0 run fill 3 69 -1 -2 64 4 lucky:lucky_block
execute if score Ticks Timer matches 0 run fill 1 64 2 0 64 1 minecraft:bedrock  
execute if score Ticks Timer matches 0 run title @a actionbar ["",{"text":"The Mega","bold":true,"color":"white"},{"text":" LuckyBlock","bold":true,"color":"gold"},{"text":" was reset!","bold":true,"color":"white"}]
execute if score Ticks Timer matches 0 run playsound minecraft:block.note_block.bell master @a

# Teletransporta a todos los jugadores a la posición deseada
execute if score Ticks Timer matches 0 positioned 3 69 -1 if entity @a[x=3,y=69,z=-1,dx=-5,dy=-5,dz=5] run tp @a 2 71 3

execute if score Ticks Timer matches 0 run scoreboard players set Ticks Timer 1200

