while True: if blocks.test_for_block(STONE, pos(0, -1, 0)): gameplay.title(mobs.target(NEAREST_PLAYER), "Aktywowano pułapkę", "Pokonaj szkielety") for i in range(10): loops.pause(1000) while True: spawn = randpos(positions.add(start, pos(bok, 1, bok)), positions.add(start, pos(-bok,1,-bok))) if spawn not in kaktusy: mobs.spawn(SKELETON, spawn) break break