How do i make a command block delay in minecraft 1.16 [duplicate]
You can use Scoreboards! You can make a timer that runs when something happens like another scoreboard changes value. You can use this with functions, Example: setup file: scoreboard objectives add timer dummy scoreboard objectives add starttimer dummy something that runs at every tick: execute if entity @a[scores={starttimer=1}] run scoreboard players add @a timer 1 execute if entity @a[scores={timer=(some numbers as tick) }] run (Commands)
20 ticks = 1 second