I'm trying to make a map like the new Among Us game pooping about but I'm running into a problem: I cant make a delay between commands.
I tried on my own, but changed to looking up tutorials but their only for Minecraft Java Edition. I tried many things like using the scoreboard command but it uses repeating commands which you cant do in a mcfunction file. I have also tried making a command that sets a delay but I cant use it in a .mcfunction file due to it being a 'custom' command.
Use schedule
.
To create one:
schedule function <function> <time> [append|replace]
To clear one:
schedule clear <function>