bosstrap
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
olmadı line 6 hata falan diyorduKod: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
bu kodu deneyin işinize yarayacaktır denediğim skript sürümü 2.12.2
k4ranea
on projectile hit:
if projectile is an ender pearl:
if event-block is string:
cancel event
give 1 ender pearl to shooter
# BU kısmı isteğe bağlı ekleyebilirsin
send "&cEnder pearl ipe çarptığı için ışınlanma iptal edildi!" to shooter
delete projectile
Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!