Nawet to moj kod xd
options:
item: emerald block named "&6Teleporter mobow"
block: emerald block
on script load:
wait 1 tick
register new shaped recipe for {@item} using diamond, diamond, diamond, diamond, egg, diamond, diamond, diamond, diamond
on place:
if player's tool is {@item}:
set {_l} to location of event-block
set block at {_l} to {@block}
while type of block at {_l} is {@block}:
loop all zombies in radius 15 around event-block:
If y-coord of loop-entity >= y-coord of {_l}:
if type of loop-entity is not player:
teleport zombies to block under {_l}
wait 2 second