Skript Paylaşımı Şans Sandığı ve Şanslı İtem

Devamı Gelsinmi?


  • Kullanılan toplam oy
    7
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

KanakanTR

Bir Kömür Göründü Kaptanım!
Katılım
31 Mart 2016
Mesajlar
133
Elmaslar
34
Puan
0
Merhaba Arkadaşlar bu benim ilk skriptim o yüzden kötü olabilir kusura bakmayın ama işe yarar bir skript

Dikkat: %1 şansla lapis kazarken kömür kutu kazanılır.

Komutlar ve Permler:

/komurkutu
perm: komur.kutu

/kiziltaskutu

perm: kizil.kutu

/demirkutu

perm: demir.kutu

/elmaskutu

perm: elmas.kutu

Şanslı item için almak için
/itemkart
perm: item.kart

Elmas Kutudan 3 Türlü Tılsım Çıkar

Bunlar güç tılsımı,dayanıklılık tılsımı,hız tılsımı

Bunlardan herhangi birini kit olarak ayarlamak isterseniz...
sadece kitler için geçerlidir kitlere bunları ekleyebilirsiniz

Kömür Kutu için

- chest 1 name:&c&lKomur &a&lKutu
- tripwire hook 1 name:&c&lKomur &a&lKutu &f&lAnahtari

Kiziltas Kutu için
- chest 1 name:&c&lKiziltas &a&lKutu
- tripwire hook 1 name:&c&lKiziltas &a&lKutu &f&lAnahtari

Demir Kutu için
- chest 1 name:&a&lDemir &2&lKutu
- tripwire hook 1 name:&a&lDemir &2&lKutu &e&lAnahtari

Elmas Kutu için
- chest 1 name:&e&lElmas &5&lKutu
- tripwire hook 1 name:&e&lElmas &5&lKutu &f&lAnahtari

Şans kağıdı için
- paper 1 name:&6&l//&bRasGele&6&l//

Kendinize göre geliştirebilirsiniz.

Şimdide Kod a geçelim :D

Kod:
# Bu Skript KanakanTR'ye aittir
# Skype: kral2fatih42
command /komurkutu:
    permission: komur.kutu
    permission message: &2&lYeterli İzne Sahip Değilsin
    trigger:
        give 1 chest named "&c&lKomur &a&lKutu" to player
        give 1 tripwire hook named  "&c&lKomur &a&lKutu &f&lAnahtari" to player
        send "&7Komur Kutu ver Anahtar Alindi" to player
       
command /kiziltaskutu:
    permission: kizil.kutu
    permission message: &2&lYeterli İzne Sahip Değilsin
    trigger:
        give 1 chest named "&c&lKiziltas &a&lKutu" to player
        give 1 tripwire hook named "&c&lKiziltas &a&lKutu &f&lAnahtari" to player
        send "&7Kiziltas Kutu ve Anahtar Alindi" to player
       
command /demirkutu:
    permission: demir.kutu
    permission message: &2&lYeterli İzne Sahip Değilsin
    trigger:
        give 1 chest named "&a&lDemir &2&lKutu" to player
        give 1 tripwire hook named "&a&lDemir &2&lKutu &e&lAnahtari" to player
        send "&7Demir Kutu ve Anahtar Alindi" to player
       
command /elmaskutu:
    permission: elmas.kutu
    permission message: &2&lYeterli İzne Sahip Değilsin
    trigger:
        give 1 chest named "&e&lElmas &5&lKutu" to player
        give 1 tripwire hook named "&e&lElmas &5&lKutu &f&lAnahtari" to player
        send "&7Elmas Kutu ve Anahtar Alindi" to player
       
       
on rightclick holding a chest:
    if tool's name is "&c&lKomur &a&lKutu":
        if player have 1 tripwire hook named "&c&lKomur &a&lKutu &f&lAnahtari":
            cancel event
            remove 1 chest named "&c&lKomur &a&lKutu" from player
            remove 1 tripwire hook named "&c&lKomur &a&lKutu &f&lAnahtari" from player
            apply slowness 999 to player for 3 seconds
            apply jump 999 to player for 3 seconds
            send "&4&l[&f&lSandik&4&l] &8&lKomur Sandigi aciliyor..." to player
            wait 3 seconds
            chance of 10%:
                give 10 iron ingot to player
                send "&4&l[&f&lSandik&4&l] &710 demir kulcesi kazanildi!" to player
            else:
                chance of 3%:
                    give 1 diamond to player
                    send "&4&l[&f&lSandik&4&l] &b2 elmas kazandiniz!" to player
                else:
                    chance of 7%:
                        give 5 gold ingot to player
                        send "&4&l[&f&lSandik&4&l] &b5 altin kazandiniz!" to player
                    else:
                        chance of 1%:
                            give 1 diamond block to player
                            send "&4&l[&f&lSandik&4&l] &b1 elmas block kazandiniz!" to player
                        else:
                            send "&4&l[&f&lSandik&4&l] &cUzgunum birsey kazanamadiniz." to player
    else:
        if tool's name is "&c&lKiziltas &a&lKutu":
            if player have 1 tripwire hook named "&c&lKiziltas &a&lKutu &f&lAnahtari":
                cancel event
                remove 1 chest named "&c&lKiziltas &a&lKutu" from player
                remove 1 tripwire hook named "&c&lKiziltas &a&lKutu &f&lAnahtari" from player
                apply slowness 999 to player for 3 seconds
                apply jump 999 to player for 3 seconds
                send "&4&l[&f&lSandik&4&l] &8&lKiziltas Sandigi aciliyor..." to player
                wait 3 seconds
                chance of 90%:
                    give 32 redstone to player
                    send "&4&l[&f&lSandik&4&l] &732 kiziltas kazandin!" to player
                else:
                    chance of 50%:
                        give 32 coal to player
                        send "&4&l[&f&lSandik&4&l] &732 komur kazandin" to player
                    else:
                        chance of 10%:
                            give 1 diamond to player
                            send "&4&l[&f&lSandik&4&l] &71 elmas kazandin" to player
                        else:
                            send "Uzgunum birsey kazanamadiniz" to player
        else:
            if tool's name is "&a&lDemir &2&lKutu":
                if player have 1 tripwire hook named "&a&lDemir &2&lKutu &e&lAnahtari":
                    cancel event
                    remove 1 chest named "&a&lDemir &2&lKutu" from player
                    remove 1 tripwire hook named "&a&lDemir &2&lKutu &e&lAnahtari" from player
                    apply slowness 999 to player for 3 seconds
                    apply jump 999 to player for 3 seconds
                    send "&4&l[&f&lSandik&4&l] &8&lDemir Sandigi aciliyor..." to player
                    wait 3 seconds
                    chance of 75%:
                        give 5 diamond to player
                        send "&4&l[&f&lSandik&4&l] &b5 elmas kazanildi!" to player
                    else:
                        chance of 5%:
                            give diamond sword of sharpness 2 to player
                            send "&4&l[&f&lSandik&4&l] &bKeskinlik 2 Elmas Kilic kazandiniz!" to player
                        else:
                            chance of 5%:
                                give diamond helmet of protection 2 to player
                                send "&4&l[&f&lSandik&4&l] &bKoruma 2 Elmas Kask kazandiniz!" to player
                            else:
                                chance of 5%:
                                    give diamond chestplate of protection 2 to player
                                    send "&4&l[&f&lSandik&4&l] &bKoruma 2 Elmas Zirh kazandiniz!" to player
                                else:   
                                    chance of 5%:
                                        give diamond leggings of protection 2 to player
                                        send "&4&l[&f&lSandik&4&l] &bKoruma 2 Elmas Paltolon kazandiniz!" to player
                                    else:
                                        chance of 5%:
                                            give diamond boots of protection 2 to player
                                            send "&4&l[&f&lSandik&4&l] &bKoruma 2 Elmas Bot kazandiniz!" to player
                                        else:
                                            chance of 5%:
                                                execute console command "money give %player% 1000"
                                                send "&4&l[&f&lSandik&4&l] &b1000 para kazandiniz!" to player
                                            else:
                                                send "&4&l[&f&lSandik&4&l] &cUzgunum birsey kazanamadiniz." to player
            else:
                if tool's name is "&e&lElmas &5&lKutu":
                    if player have 1 tripwire hook named "&e&lElmas &5&lKutu &f&lAnahtari":
                        cancel event
                        remove 1 chest named "&e&lElmas &5&lKutu" from player
                        remove 1 tripwire hook named "&e&lElmas &5&lKutu &f&lAnahtari" from player
                        apply slowness 999 to player for 3 second
                        apply jump 999 to player for 3 second
                        send "&4&l[&f&lSandik&4&l] &8&lElmas Sandigi aciliyor..."
                        wait 3 second
                        chance of 50%:
                            give 20 red dye named "&4&lGuc Tilsimi" to player
                            send "Bir Guc Tilsimi Kazandin" to player
                        else:
                            chance of 75%:
                                give 30 gray dye named "&6&lDayaniklilik Tilsimi" to player
                                send "Dayaniklilik Tilsimi Kazandin" to player
                            else:
                                chance of 90%:
                                    give 40 light blue dye named "&b&lHiz Tilsimi" to player
                                    send "Hiz Tilsimi Kazandin" to player
   
on rightclick:
    if player is holding a red dye named "&4&lGuc Tilsimi":
        if {gucetkin.%player%} is greater than 0:
            send "Guc Bitmeden guc etkinlestiremezsin"
        else:
            remove 1 red dye named "&4&lGuc Tilsimi" from player
            set {gucetkin.%player%} to 1
            send "Guc Tilsimi Gucu Acildi" to player
            apply strength 2 to player for 60 second
            wait 1 minute
            send "Guc Tilsimi Guc Kapandi"
            set {gucetkin.%player%} to 0
           
on rightclick:
    if player is holding a gray dye named "&6&lDayaniklilik Tilsimi":
        if {dayanikliliketkin.%player%} is greater than 0:
            send "&c&lDayaniklilik bitmeden guc etkinlestiremezsin!" to player
        else:
            remove 1 gray dye named "&8&lDayaniklilik Tilsimi" from player
            set {dayanikliliketkin.%player%} to 1
            send "&8&lDayaniklilik Tilsimi &7gucu Acildi" to player
            apply resistance 2 to player for 60 second
            wait 1 minute
            send "&8&lDayaniklilik Tilsimi &7gucu Kapandi" to player
            set {dayanikliliketkin.%player%} to 0
on rightclick:
    if player is holding a light blue dye named "&b&lHiz Tilsimi":
        if {hizetkin.%player%} is greater than 0:
            send "&c&lHiz bitmeden guc etkinlestiremezsin!" to player
        else:
            remove 1 light blue dye named "&b&lHiz Tilsimi" from player
            set {hizetkin.%player%} to 1
            send "&b&lHiz Tilsimi &bgucu aktif!" to player
            apply speed 2 to player for 60 second
            wait 1 minute
            send "&b&lHiz Tilsimi &bgucu deaktif!" to player
            set {hizetkin.%player%} to 0
           
on break of lapis lazuli ore:
    chance of 1%
    give 1 chest named "&c&lKomur &a&lKutu" to player
    give 1 tripwire hook named "&c&lKomur &a&lKutu &f&lAnahtari" to player
    send "&7Komur Kutu Kazandin" to player
   
command /itemkart:
    permission: item.kart
    permission message: &2&lYeterli İzne Sahip Değilsin
    trigger:
        give 1 paper named "&6&l//&bRasGele&6&l//" to player
        send "&c&l Rasgele Item Kagidini aldin" to player
       
on rightclick with a paper:
    if display name of player's tool contains "&6&l//&bRasGele&6&l//":
        cancel event
        remove 1 paper named "&6&l//&bRasGele&6&l//" from player
        send "&3Acaba ne Cikcak"
        wait 3 second
        chance of 5%:
            give 5 diamond to player
            send "&e&l5 Elmas Cikti" to player
        else:
            chance of 15%:
                give 5 emerald to player
                send "&e&l5 Zumrut cikti" to player
            else:
                chance of 50%:
                    give 1 iron ingot to player
                    send "&e&l1 Demir Kulcesi Cikti" to player
                else:
                    chance of 25%:
                        give 2 gold ingot to player
                        send "&e&f2 Altin Kulcesi Cikti"
                    else:
                        chance of 1%:
                            give 1 paper named "&6&l//&bRasGele&6&l//" to player
                            send "&3&lSans Karti Cikti"
 
Mantık güzel tebrik ederim.Umarım senden daha iyi skriptler görebiliriz !
 
Bu skript boyle ise digerlerinde dahada gelisecegine inanıyorum
 
Bu skript boyle ise ileride yapacagin skriptlerde gelisecegine eminim
 
Alıntı Yaptıgın skriptleride söylesen kredi and coin market , Lapis Hammadde ViP Kutulari?
 
Alıntı Yaptıgın skriptleride söylesen kredi and coin market , Lapis Hammadde ViP Kutulari?
kardeş bu benim ilk skriptim hem kredi and coin market skriptine bakmadım ve bu skripti kendi serverim için hazırlamıştım ama argumentleri öğrenince fikrim değişti o yüzden paylaştım bunu
 
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