Bulundu iksir market

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

01selim

Zombi Geldi, Beni Yedi
Katılım
20 Ekim 2014
Mesajlar
265
Elmaslar
30
Puan
13.670
Yaş
58
istediğim skript şu şekilde /iksir yazılacak ve
1 slotluk ekran çıkacak güç iksiri içmek için sıçrama iksiri içmek için geçe görüş iksiri içmek için görünmezlik iksiri içmek için iyleştirme iksiri içmek için patlayıcı zarar iksiri atmak için patlayıcı zehir iksiri atmak için patlayıcı zayıflık iksiri atmak için bunların hepsi 1 lik olucak ve bunları almak içinde 1 tane elmas istiycek elmasın adı &7Modarafek olacak

@bertek41
 
envanterine gelsin
 
Buyrun, TuSKe ve SkRayfall gerektirir.
Kod:
command /iksir:
    trigger:
        if player has a diamond named "&7Modarafek":
            open virtual chest with size 1 named "Iksırler" to player
            make gui slot 0 of player with potion of:8201 named "&aKuvvet" to close then run function iksirAl(player, 373:8201)
            make gui slot 1 of player with potion of:8198 named "&aGece Görüşü" to close then run function iksirAl(player, 373:8198)
            make gui slot 2 of player with potion of:16459 named "&aSıçrama" to close then run function iksirAl(player, 373:16459)
            make gui slot 3 of player with potion of:8206  named "&aGörünmezlik" to close then run function iksirAl(player, 373:8206)
            make gui slot 4 of player with potion of:8197 named "&aIyileştirme" to close then run function iksirAl(player, 373:8197)
            make gui slot 5 of player with potion of:16396 named "&aPatlayıcı Hasar" to close then run function iksirAl(player, 373:16396)
            make gui slot 6 of player with potion of:16388 named "&aPatlayıcı Zehir" to close then run function iksirAl(player, 373:16388)
            make gui slot 7 of player with potion of:16392 named "&aPatlayıcı Zayıflık" to close then run function iksirAl(player, 373:16392)
        else:
            message "&fEnvanterinizde en az 1 adet &7Modarafek &folması gerekiyor."
           
function iksirAl(p: player, i: item):
    remove a diamond named "&7Modarafek" from {_p}
    give {_i} to {_p}
    send {_p} title "&aBaşarılı" with subtitle "&fIksir satın alındı" for 4 seconds
 
Buyrun, TuSKe ve SkRayfall gerektirir.
Kod:
command /iksir:
    trigger:
        if player has a diamond named "&7Modarafek":
            open virtual chest with size 1 named "Iksırler" to player
            make gui slot 0 of player with potion of:8201 named "&aKuvvet" to close then run function iksirAl(player, 373:8201)
            make gui slot 1 of player with potion of:8198 named "&aGece Görüşü" to close then run function iksirAl(player, 373:8198)
            make gui slot 2 of player with potion of:16459 named "&aSıçrama" to close then run function iksirAl(player, 373:16459)
            make gui slot 3 of player with potion of:8206  named "&aGörünmezlik" to close then run function iksirAl(player, 373:8206)
            make gui slot 4 of player with potion of:8197 named "&aIyileştirme" to close then run function iksirAl(player, 373:8197)
            make gui slot 5 of player with potion of:16396 named "&aPatlayıcı Hasar" to close then run function iksirAl(player, 373:16396)
            make gui slot 6 of player with potion of:16388 named "&aPatlayıcı Zehir" to close then run function iksirAl(player, 373:16388)
            make gui slot 7 of player with potion of:16392 named "&aPatlayıcı Zayıflık" to close then run function iksirAl(player, 373:16392)
        else:
            message "&fEnvanterinizde en az 1 adet &7Modarafek &folması gerekiyor."
          
function iksirAl(p: player, i: item):
    remove a diamond named "&7Modarafek" from {_p}
    give {_i} to {_p}
    send {_p} title "&aBaşarılı" with subtitle "&fIksir satın alındı" for 4 seconds
Adam zeki. Rizeli diye rizeli :D
 
Kod:
[21:28:58 INFO]: [Skript] Reloading iksir.sk...
[21:28:58 ERROR]: ':8201 named "&aKuvvet" to close then run function iksirAl(player, 373:8201)' is not a valid item data (iksir.sk, line 5: make gui slot 0 of player with potion of:8201 named "&aKuvvet" to close then run function iksirAl(player, 373:8201)')
[21:28:58 ERROR]: ':8198 named "&aGece G?r???" to close then run function iksirAl(player, 373:8198)' is not a valid item data (iksir.sk, line 6: make gui slot 1 of player with potion of:8198 named "&aGece G?r???" to close then run function iksirAl(player, 373:8198)')
[21:28:58 ERROR]: ':16459 named "&aS??rama" to close then run function iksirAl(player, 373:16459)' is not a valid item data (iksir.sk, line 7: make gui slot 2 of player with potion of:16459 named "&aS??rama" to close then run function iksirAl(player, 373:16459)')
[21:28:58 ERROR]: ':8206  named "&aG?r?nmezlik" to close then run function iksirAl(player, 373:8206)' is not a valid item data (iksir.sk, line 8: make gui slot 3 of player with potion of:8206  named "&aG?r?nmezlik" to close then run function iksirAl(player, 373:8206)')
[21:28:58 ERROR]: ':8197 named "&aIyile?tirme" to close then run function iksirAl(player, 373:8197)' is not a valid item data (iksir.sk, line 9: make gui slot 4 of player with potion of:8197 named "&aIyile?tirme" to close then run function iksirAl(player, 373:8197)')
[21:28:58 ERROR]: ':16396 named "&aPatlay?c? Hasar" to close then run function iksirAl(player, 373:16396)' is not a valid item data (iksir.sk, line 10: make gui slot 5 of player with potion of:16396 named "&aPatlay?c? Hasar" to close then run function iksirAl(player, 373:16396)')
[21:28:58 ERROR]: ':16388 named "&aPatlay?c? Zehir" to close then run function iksirAl(player, 373:16388)' is not a valid item data (iksir.sk, line 11: make gui slot 6 of player with potion of:16388 named "&aPatlay?c? Zehir" to close then run function iksirAl(player, 373:16388)')
[21:28:59 ERROR]: ':16392 named "&aPatlay?c? Zay?fl?k" to close then run function iksirAl(player, 373:16392)' is not a valid item data (iksir.sk, line 12: make gui slot 7 of player with potion of:16392 named "&aPatlay?c? Zay?fl?k" to close then run function iksirAl(player, 373:16392)')
[21:28:59 INFO]: [Skript] Encountered 8 errors while reloading iksir.sk!
 
Hatalar düzeldi ama oyuncuda eyer hiç elmas yoksa o menüyü açmıyor elmas olmasda menüyü açsın iksir alması için elmas gerektirsin sadece teşekkürler şimdiden
 
Kod:
command /iksir [<text>]:
    trigger:
        if arg 1 is not set:
            open chest with 1 row named "İksir" to player
            format slot 0 of player with 373:8201 named "Kuvvet" to close then run [make player execute command "/iksir kuvvet"]
            format slot 1 of player with 373:8198 named "Gece Görüşü" to close then run [make player execute command "/iksir gece"]
            format slot 3 of player with 373:16459 named "Sıçrama" to close then run [make player execute command "/iksir sicrama"]
        if arg 1 is set:
            if player has a diamond named "&7Modarefek":
                remove a diamond named "&7Modarefek" from player's inventory
                if arg 1 is "kuvvet":
                    give 373:8201 to player
                if arg 1 is "gece":
                    give 373:8198 to player
                if arg 1 is "sicrama":
                    give 373:16459 to player
            else:
                send "Elmasınız yok."
 
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