Leap of Faith

Standing on the edge of a platform

Jump from the platform into the pool!

Try the code:

player.onChat("lof", function () {
    blocks.fill(
        WATER,
        pos(-1, -3, -1),
        pos(1, -1, 1)
    )
    blocks.fill(
        STONE,
        pos(-1, 128, -1),
        pos(1, 128, 1)
    )
    player.teleport(pos(0, 130, 0))
    gameplay.setGameMode(
        SURVIVAL,
        mobs.target(NEAREST_PLAYER)
    )
})