Metin Taşı skripti

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

jossian

jossianNWTR
Katılım
25 Nisan 2017
Mesajlar
369
Elmaslar
46
Puan
9.155
Minecraft
jossian

Discord:

jossian#7521

Merhaba, sizden söyle bir skript istiyorum:
Bir obsidyeni metin taşı yapıyoruz (/taşayarla).
Bu taşın 50 canı oluyor ve 50 kere kırılması lazım.
Oyuncular taşı her 1 kere kırdıklarında farklı yaratıklar olacak. Mesela ilk kırdıklarında 10 zombi daha sonra 5 iskelet ve 20 zombi gibi.
50 kere kırıldıktan sonra 64 elmas blok 64 zümrüt blok gibi şeyler atacak ve 1 saat boyunca doğmayacak 1 saat sonra tekrardan doğacak ve tekrar kırılmayı bekleyecek.

[Metin taşı kırıldı, Metin taşı doğdu gibi sohbete yazılar yazarsa ve canı üstte bar olarak gözükürse güzel olur.]​
 
Hemen konu açmak yerine azcık araştırma yapsaydın keşke;

Kod:
options:
    Prefix: &e| &7- &cMetinTASI &7- &e| &7

command /tasayarla:
    trigger:
        if player has permission "tas.admin":
            if targeted block is obsidian:
                if {ozeltas::%location of targeted block%} is not set:
                    set {_loc} to location of targeted block
                    set {ozeltas::%{_loc}%} to {_loc}
                    message "{@Prefix} &7Onunuzdeki obsidyeni metin tasina cevirdiniz normale cevirmek icin tekrar &c/tasayarla &7yaziniz..!"
                    stop
                else if {ozeltas::%location of targeted block%} is set:
                    clear {ozeltas::%location of targeted block%}
                    message "{@Prefix} &7Metin tasini normal obsidyene cevirdiniz tekrar metin tasi yapmak icin &c/tasayarla &7yaziniz..!"
            else:
                message "{@Prefix} &7Bu komutu gerceklestirebilmek icin bir &cobsidyene &7dogru bakiyor olmaniz gerekmektedir..!"
        else:
            message "{@Prefix} &7Bunun icin gerekli yetkiye sahip degilsin.."

on break of obsidian:
    if {ozeltas::can} is smaller than 0:
        message "&f[&a%{ozeltas::can}% &7x &cMetin Tasini Kirdin !i&f]"
        drop 30 Gray dye named "&c&lTas Parcasi"
        drop 20 Rose red named "&c&lPet Parcasi"
        drop 2 diamond helmet of protection 75, unbreaking 75 named "&c&lYildiz Kask"
        drop 2 diamond chestplate of protection 75, unbreaking 75 named "&c&lYildiz Zirh"
        drop 2 diamond leggings of protection 75, unbreaking 75 named "&c&lYildiz Pantolon"
        drop 2 diamond boots of protection 75, unbreaking 75 named "&c&lYildiz Ayakkabi"
        drop 2 diamond sword of sharpness 90, unbreaking 90, smite 90 named "&c&lYildiz Silah"
        set {ozeltas::can} to 400
        set event-block to air
        message "&e| &7- &cMetinTASI &7- &e| &7Oyuncular &cmetin tasini &7parcaladi , &c3 dakika &7icinde tekrar cikacaktir..!" to players
        wait 180 seconds
        set event-block to obsidian
        message "&e| &7- &cMetinTASI &7- &e| &cMetin tasi &7yeniden dustu , &c/warp metintasi &7giderek metin tasini kesebilirsiniz..!" to players
    if {ozeltas::%location of event-block%} is set:
        message "&f[ &cCAN &7x &a%{ozeltas::can}% &7x &f]"
        remove 1 from {ozeltas::can}
        chance of 20%:
            damage the player by 3 heart
            chance of 20%:
                damage the player by 6 heart
                message "&e| &7- &cMetinTASI &7- &e| &7Metin tasina &4Kritik Vurus &7yaptin .. !!" to player
            chance of 5%:
                damage the player by 8 heart
                message "&e| &7- &cMetinTASI &7- &e| &7Metin tasina &cDelici Vurus &7yaptin .. !!" to player
            chance of 70%:
                spawn 50 zombie at player's location
            chance of 50%:
                spawn 80 zombie at player's location
            chance of 30%:
                spawn 90 zombie at player's location
                spawn 12 skeleton at player's location
            chance of 15%:
                spawn 100 zombie at player's location
                spawn 24 skeleton at player's location
                spawn 12 creeper at player's location
        cancel event
        stop
        set {ozeltas::can} to 400
Alıntıdır.
 
Hemen konu açmak yerine azcık araştırma yapsaydın keşke;

Kod:
options:
    Prefix: &e| &7- &cMetinTASI &7- &e| &7

command /tasayarla:
    trigger:
        if player has permission "tas.admin":
            if targeted block is obsidian:
                if {ozeltas::%location of targeted block%} is not set:
                    set {_loc} to location of targeted block
                    set {ozeltas::%{_loc}%} to {_loc}
                    message "{@Prefix} &7Onunuzdeki obsidyeni metin tasina cevirdiniz normale cevirmek icin tekrar &c/tasayarla &7yaziniz..!"
                    stop
                else if {ozeltas::%location of targeted block%} is set:
                    clear {ozeltas::%location of targeted block%}
                    message "{@Prefix} &7Metin tasini normal obsidyene cevirdiniz tekrar metin tasi yapmak icin &c/tasayarla &7yaziniz..!"
            else:
                message "{@Prefix} &7Bu komutu gerceklestirebilmek icin bir &cobsidyene &7dogru bakiyor olmaniz gerekmektedir..!"
        else:
            message "{@Prefix} &7Bunun icin gerekli yetkiye sahip degilsin.."

on break of obsidian:
    if {ozeltas::can} is smaller than 0:
        message "&f[&a%{ozeltas::can}% &7x &cMetin Tasini Kirdin !i&f]"
        drop 30 Gray dye named "&c&lTas Parcasi"
        drop 20 Rose red named "&c&lPet Parcasi"
        drop 2 diamond helmet of protection 75, unbreaking 75 named "&c&lYildiz Kask"
        drop 2 diamond chestplate of protection 75, unbreaking 75 named "&c&lYildiz Zirh"
        drop 2 diamond leggings of protection 75, unbreaking 75 named "&c&lYildiz Pantolon"
        drop 2 diamond boots of protection 75, unbreaking 75 named "&c&lYildiz Ayakkabi"
        drop 2 diamond sword of sharpness 90, unbreaking 90, smite 90 named "&c&lYildiz Silah"
        set {ozeltas::can} to 400
        set event-block to air
        message "&e| &7- &cMetinTASI &7- &e| &7Oyuncular &cmetin tasini &7parcaladi , &c3 dakika &7icinde tekrar cikacaktir..!" to players
        wait 180 seconds
        set event-block to obsidian
        message "&e| &7- &cMetinTASI &7- &e| &cMetin tasi &7yeniden dustu , &c/warp metintasi &7giderek metin tasini kesebilirsiniz..!" to players
    if {ozeltas::%location of event-block%} is set:
        message "&f[ &cCAN &7x &a%{ozeltas::can}% &7x &f]"
        remove 1 from {ozeltas::can}
        chance of 20%:
            damage the player by 3 heart
            chance of 20%:
                damage the player by 6 heart
                message "&e| &7- &cMetinTASI &7- &e| &7Metin tasina &4Kritik Vurus &7yaptin .. !!" to player
            chance of 5%:
                damage the player by 8 heart
                message "&e| &7- &cMetinTASI &7- &e| &7Metin tasina &cDelici Vurus &7yaptin .. !!" to player
            chance of 70%:
                spawn 50 zombie at player's location
            chance of 50%:
                spawn 80 zombie at player's location
            chance of 30%:
                spawn 90 zombie at player's location
                spawn 12 skeleton at player's location
            chance of 15%:
                spawn 100 zombie at player's location
                spawn 24 skeleton at player's location
                spawn 12 creeper at player's location
        cancel event
        stop
        set {ozeltas::can} to 400
Alıntıdır.
Deniyorum
 
Kod:
command /metin:
    permission: yetkili.sk
    trigger:
        set targeted block to obsidian
        set {metin.can} to 50
        broadcast "&6Metin canı %{metin.can}% oldu!"
        set {_loc} to location of targeted block
        set {metin::%{_loc}%} to {_loc}
        
command /metinsil:
    permission: yetkili.sk
    trigger:
        set targeted block to air
        delete {metin.can}
        delete {_loc}
        set {metinloc} to location of targeted block
        delete {metin::%{metinloc}%}

on break of obsidian:
    if {metin::%location of event-block%} is set:
        if {metin.can} is bigger than 1:
            cancel event
            remove 1 from {metin.can}
            broadcast "&6Metin Canı: %{metin.can}%"
            if chance of 50%:
                spawn 20 zombie at event-block
                spawn 5 skeleton at event-block
            else:
                spawn 30 zombie at event-block
        else if {metin::%location of event-block%} is set:
            set block to air
            drop 64 diamond block at event-block
            drop 64 emerald block at event-block
            drop 64 gold block at event-block
            drop 64 iron block at event-block
            broadcast "&6Metin Kırıldı!"
            wait 1 hour
            set block to obsidian
            set {metin.can} to 50
    else:
        set event-block to air
        delete {metin::%location of event-block%}

Bunu kendim yapmıştım, isteklerine göre düzenledim.

Kullanımı:
Herhangi bir bloğa doğru bakarak " /metin " komutunu kullanırsan, o blok obsidyen olur ve bir metin özelliği taşır.
Metin silme işlemi için, bir metine doğru bakarak " /metinsil " komutunu kullan ve o metine bir kere vur, metin orada bir daha çıkmayacaktır.
 
Hemen konu açmak yerine azcık araştırma yapsaydın keşke;

Kod:
options:
    Prefix: &e| &7- &cMetinTASI &7- &e| &7

command /tasayarla:
    trigger:
        if player has permission "tas.admin":
            if targeted block is obsidian:
                if {ozeltas::%location of targeted block%} is not set:
                    set {_loc} to location of targeted block
                    set {ozeltas::%{_loc}%} to {_loc}
                    message "{@Prefix} &7Onunuzdeki obsidyeni metin tasina cevirdiniz normale cevirmek icin tekrar &c/tasayarla &7yaziniz..!"
                    stop
                else if {ozeltas::%location of targeted block%} is set:
                    clear {ozeltas::%location of targeted block%}
                    message "{@Prefix} &7Metin tasini normal obsidyene cevirdiniz tekrar metin tasi yapmak icin &c/tasayarla &7yaziniz..!"
            else:
                message "{@Prefix} &7Bu komutu gerceklestirebilmek icin bir &cobsidyene &7dogru bakiyor olmaniz gerekmektedir..!"
        else:
            message "{@Prefix} &7Bunun icin gerekli yetkiye sahip degilsin.."

on break of obsidian:
    if {ozeltas::can} is smaller than 0:
        message "&f[&a%{ozeltas::can}% &7x &cMetin Tasini Kirdin !i&f]"
        drop 30 Gray dye named "&c&lTas Parcasi"
        drop 20 Rose red named "&c&lPet Parcasi"
        drop 2 diamond helmet of protection 75, unbreaking 75 named "&c&lYildiz Kask"
        drop 2 diamond chestplate of protection 75, unbreaking 75 named "&c&lYildiz Zirh"
        drop 2 diamond leggings of protection 75, unbreaking 75 named "&c&lYildiz Pantolon"
        drop 2 diamond boots of protection 75, unbreaking 75 named "&c&lYildiz Ayakkabi"
        drop 2 diamond sword of sharpness 90, unbreaking 90, smite 90 named "&c&lYildiz Silah"
        set {ozeltas::can} to 400
        set event-block to air
        message "&e| &7- &cMetinTASI &7- &e| &7Oyuncular &cmetin tasini &7parcaladi , &c3 dakika &7icinde tekrar cikacaktir..!" to players
        wait 180 seconds
        set event-block to obsidian
        message "&e| &7- &cMetinTASI &7- &e| &cMetin tasi &7yeniden dustu , &c/warp metintasi &7giderek metin tasini kesebilirsiniz..!" to players
    if {ozeltas::%location of event-block%} is set:
        message "&f[ &cCAN &7x &a%{ozeltas::can}% &7x &f]"
        remove 1 from {ozeltas::can}
        chance of 20%:
            damage the player by 3 heart
            chance of 20%:
                damage the player by 6 heart
                message "&e| &7- &cMetinTASI &7- &e| &7Metin tasina &4Kritik Vurus &7yaptin .. !!" to player
            chance of 5%:
                damage the player by 8 heart
                message "&e| &7- &cMetinTASI &7- &e| &7Metin tasina &cDelici Vurus &7yaptin .. !!" to player
            chance of 70%:
                spawn 50 zombie at player's location
            chance of 50%:
                spawn 80 zombie at player's location
            chance of 30%:
                spawn 90 zombie at player's location
                spawn 12 skeleton at player's location
            chance of 15%:
                spawn 100 zombie at player's location
                spawn 24 skeleton at player's location
                spawn 12 creeper at player's location
        cancel event
        stop
        set {ozeltas::can} to 400
Alıntıdır.
Teşekkürler, işime yaradı.
Kod:
command /metin:
    permission: yetkili.sk
    trigger:
        set targeted block to obsidian
        set {metin.can} to 50
        broadcast "&6Metin canı %{metin.can}% oldu!"
        set {_loc} to location of targeted block
        set {metin::%{_loc}%} to {_loc}
       
command /metinsil:
    permission: yetkili.sk
    trigger:
        set targeted block to air
        delete {metin.can}
        delete {_loc}
        set {metinloc} to location of targeted block
        delete {metin::%{metinloc}%}

on break of obsidian:
    if {metin::%location of event-block%} is set:
        if {metin.can} is bigger than 1:
            cancel event
            remove 1 from {metin.can}
            broadcast "&6Metin Canı: %{metin.can}%"
            if chance of 50%:
                spawn 20 zombie at event-block
                spawn 5 skeleton at event-block
            else:
                spawn 30 zombie at event-block
        else if {metin::%location of event-block%} is set:
            set block to air
            drop 64 diamond block at event-block
            drop 64 emerald block at event-block
            drop 64 gold block at event-block
            drop 64 iron block at event-block
            broadcast "&6Metin Kırıldı!"
            wait 1 hour
            set block to obsidian
            set {metin.can} to 50
    else:
        set event-block to air
        delete {metin::%location of event-block%}

Bunu kendim yapmıştım, isteklerine göre düzenledim.

Kullanımı:
Herhangi bir bloğa doğru bakarak " /metin " komutunu kullanırsan, o blok obsidyen olur ve bir metin özelliği taşır.
Metin silme işlemi için, bir metine doğru bakarak " /metinsil " komutunu kullan ve o metine bir kere vur, metin orada bir daha çıkmayacaktır.
Çok teşekkürler fakat arkadaşın attığı skript işimi gördü =).
Eğer bir sıkıntı olur ise seninkini kullanacağım.
 
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