on shoot:
if projectile is ender pearl:
while projectile is alive:
wait 1 tick
if block at location of projectile is tripwire:
play sound "entity.enderman.teleport" with volume 1 at location of projectile
teleport shooter to location of projectile
delete projectile
stop