Bulundu metin taşı

  • Konuyu Başlatan Konuyu Başlatan Ahmetpro31
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 358
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Ahmetpro31

Odunlara Vur Vur Vur!
Katılım
30 Eylül 2017
Mesajlar
25
Elmaslar
0
Puan
8.755
Yaş
26
Kod:
Kod:
# HOLOGRAMLI METİN TAŞI SKRİPTİ - THREDON
# ÖDÜLÜ 30. SATIRDAN AYARLAYABİLİRSİNİZ.



options:
    Prefix: &e&lMETİN TAŞI &f▶

command /metintaşıayarla:
    trigger:
        if player has permission "metintasi.admin":
            if targeted block is obsidian:
                if {metintasi::%location of targeted block%} is not set:
                    set {_loc} to location of targeted block
                    set {metintasi::%{_loc}%} to {_loc}
                    message "{@Prefix} &7Önünüzdeki obsidyeni metin taşına çevirdiniz. Normale çevirmek için &a/metintaşıayarla &7yazınız!"
                    stop
                else if {metintasi::%location of targeted block%} is set:
                    clear {metintasi::%location of targeted block%}
                    message "{@Prefix} &7Metin taşını normal obsidyene çevirdiniz tekrar metin taşı yapmak için &a/metintaşıayarla &7yazınız!"
            else:
                message "{@Prefix} &7Bloğun metin taşı olması için obsidyen olması gerekir"
        else:
            message "{@Prefix} &cBunu yapabilmek için gerekli yetkiye sahip değilsin!"


on break of obsidian:
    if {metintasi::can} is smaller than 2:
        execute console command "itemsp give %player% demirblock"
        set {metintasi::can} to 501
        execute console command "hd setline metintasi 2 &e&n10 Dakika &7içinde doğacak!"
        set event-block to bedrock
        message "&e&lMETİN TAŞI &f▶ &7Oyuncular &aMetin Taşı&7'nı parçaladı , &e10 Dakika  &7içinde tekrar doğacak!" to players
        wait 10 minutes
        execute console command "hd setline metintasi 2 &6| &eKALAN CAN &7x&f%{metintasi::can}% &6|"
        set event-block to obsidian
        message "&e&lMETİN TAŞI &f▶ &eMetin Taşı&7 tekrar doğdu!" to players
    if {metintasi::%location of event-block%} is set:
        chance of 20%:
            damage player by 1 hearts
        remove 1 from {metintasi::can}
        execute console command "hd setline metintasi 2 &7| &eKALAN CAN &7x&f%{metintasi::can}% &7|"
        cancel event
        stop
command /metinholo:
    permission: *.admin
    permission message: &cGerekli yetkiye sahip değilsiniz.
    trigger:
        execute player command "hd create metintasi &a&lMETİN TAŞI"
        execute player command "hd addline metintasi &7| &eKALAN CAN &7x&f%{metintasi::can}% &7|"


yukarıdaki metin taşı skritptini kullaniyorum fakat oyuncular arasında anlaşmazlık çıkıyor birden fazla kişi kırmaya başladığında rastgele gidiyor ödül bunu sadece bir kişinin vurmasına izin vericek şekilde nasıl ayarlayabilirim
 
Ücretli plugin satın alabilirsin, iletişim profilimde yazıyor
 
JavaScript:
options:
    Prefix: "&e&lMETİN TAŞI &f▶"

command /metintaşıayarla:
    trigger:
        if player has permission "metintasi.admin":
            if targeted block is obsidian:
                if {metintasi::%location of targeted block%} is not set:
                    set {_loc} to location of targeted block
                    set {metintasi::%{_loc}%} to {_loc}
                    send "{@Prefix} &7Önünüzdeki obsidyeni metin taşına çevirdiniz. Normale çevirmek için &a/metintaşıayarla &7yazınız!"
                    stop
                else if {metintasi::%location of targeted block%} is set:
                    clear {metintasi::%location of targeted block%}
                    send "{@Prefix} &7Metin taşını normal obsidyene çevirdiniz tekrar metin taşı yapmak için &a/metintaşıayarla &7yazınız!"
            else:
                send "{@Prefix} &7Bloğun metin taşı olması için obsidyen olması gerekir"
        else:
            send "{@Prefix} &cBunu yapabilmek için gerekli yetkiye sahip değilsin!"

on break of obsidian:
    if {metintasi::can} is smaller than 2:
        execute console command "itemsp give %player% demirblock"
        set {metintasi::can} to 501
        execute console command "hd setline metintasi 2 &e&n10 Dakika &7içinde doğacak!"
        set event-block to bedrock
        send "&e&lMETİN TAŞI &f▶ &7Oyuncular &aMetin Taşı&7'nı parçaladı , &e10 Dakika  &7içinde tekrar doğacak!" to all players
        wait 10 minutes
        execute console command "hd setline metintasi 2 &6| &eKALAN CAN &7x&f%{metintasi::can}% &6|"
        set event-block to obsidian
        send "&e&lMETİN TAŞI &f▶ &eMetin Taşı&7 tekrar doğdu!" to all players
    if {metintasi::%location of event-block%} is set:
        chance of 20%:
            damage player by 1 hearts
        remove 1 from {metintasi::can}
        execute console command "hd setline metintasi 2 &7| &eKALAN CAN &7x&f%{metintasi::can}% &7|""
 
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