Sleep
Examples:
MCFunction('explosive', () => {
say('explod in 5')
for (let i = 4; i != 0; i--) {
sleep('1s')
say(i)
}
kill('herobrine')
})
MCFunction('explod_me', () => {
say('explod in 5')
for (let i = 4; i != 0; i--) {
sleep('1s')
say(i)
}
kill('@s')
}, {
asyncContext: true
})