Bulundu KILIÇ TILSIM SKRIPT

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

benim5

Birisi mi Spawnlandı?
Yasaklandı
Katılım
24 Temmuz 2023
Mesajlar
4
Elmaslar
0
Puan
70
Yaş
26
Konum
adana
İstediğim skript:
Sadece elmas kılıçda çalışacak bir tılsım skript'i
belirli bir şans ile oyuncu vurduğu kişiye zehir 2 büyüsünü 1 saniye boyunca verecek ve saldıran kişiye ve saldırılan kişiye bilgi mesajı gönderilecek
 
JavaScript:
on damage:
    attacker is player
    victim is player
    attacker's event-item is diamond sword:
        chance of 20%:
            apply poison 1 for 1 second to victim
            send "%attacker% sana saldırdığı için %%20 şans ile zehirlendin!" to victim
            send "%victim% adlı oyuncuyu %%20 şans ile zehirledin!" to attacker
 
1.16.5 denemesin :D
 
JavaScript:
on damage:
    attacker is player
    victim is player
    attacker's event-item is diamond sword:
        chance of 20%:
            apply poison 1 for 1 second to victim
            send "%attacker% sana saldırdığı için %%20 şans ile zehirlendin!" to victim
            send "%victim% adlı oyuncuyu %%20 şans ile zehirledin!" to attacker
attacker's event-item is diamond sword kısmı hata atıyor
 
ayrıca efektide verilmiyo
JavaScript:
on damage:
    attacker is player
    victim is player
    attacker's event-item is diamond sword:
        chance of 20%:
            apply poison 1 for 1 second to victim
            send "%attacker% sana saldırdığı için %%20 şans ile zehirlendin!" to victim
            send "%victim% adlı oyuncuyu %%20 şans ile zehirledin!" to attacker
 
on damage:
attacker is player
victim is player
if lore of attacker's held item contains "&bElmas Kılıç":
chance of 100%:
apply poison 1 to victim for 5 second
send "%attacker% sana saldırdığı için %%20 şans ile zehirlendin!" to victim
send "%victim% adlı oyuncuyu %%20 şans ile zehirledin!" to attacker
böyle yaparak düzelttim ancak apply posion 1 to victim for 5 seconds kısmı hatalı efekti vermiyor
 
on damage:
attacker is player
victim is player
if lore of attacker's held item contains "&bElmas Kılıç":
chance of 100%:
apply poison 1 to victim for 5 second
send "%attacker% sana saldırdığı için %%20 şans ile zehirlendin!" to victim
send "%victim% adlı oyuncuyu %%20 şans ile zehirledin!" to attacker
böyle yaparak düzelttim ancak apply posion 1 to victim for 5 seconds kısmı hatalı efekti vermiyor
skript sürümünüz eski olduğu için olabilir aşağıdaki kod ile tekrar deneyin

JavaScript:
on damage:
    attacker is player
    victim is player
    attacker's held item is diamond sword:
        chance of 20%:
            apply poison 2 to the victim for 1 second
            send "%attacker% sana saldırdığı için %%20 şans ile zehirlendin!" to victim
            send "%victim% adlı oyuncuyu %%20 şans ile zehirledin!" to attacker
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst