Skript Paylaşımı Seç-Beğen Kutusu Skripti

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

OFEZA

MÜSLÜMAN
Yasaklandı
Katılım
5 Temmuz 2014
Mesajlar
653
Elmaslar
1.984
Puan
16.070
Yaş
54
Konum
Afyon
Minecraft
byfatih

Discord:

ofez #6281

X90JGR.png

Bu kutu sayesinde oyuncular kutu içeriğinden eşya seçebilecek. Bildiğiniz üzde kutuların %90'ı şans ile eşya çıkarmak için yazılmış. Bende oyuncular kendileri seçmesini istedim. Ortaya da böyle bir skript çıkardım.
Eşyaları değiştirile bilir şekilde sundum.
Tek bir komut var;
/kutu » Kutuyu verir.

qjbRzR.png




adL064.png

Kod:
options:
    1item: 3 diamond
    2item: 1 diamond sword
    3item: 15 iron ingot
    4item: 20 gold ingot
    5item: 1 diamond boots
    prefix:    &c&l[ &eKutu &c&l] &r&9»&c
on rightclick with chest:
    if {kutuac1.%player%} isn't set:
        if name of player's tool is "&lSeç-Beğen Kutusu":
            set {sbitem.%player%} to "1"
            remove 1 chest named "&lSeç-Beğen Kutusu" from player
            set {kutuac1.%player%} to "1"
            cancel event
            wait 3 tick
            open chest with 3 rows named "&lSeç-Beğen Kutusu" to player
            wait 1 tick
            play raw sound "random.click" at player with pitch 1 volume 0.5
            format slot 11 of player with {@1item} to be unstealable
            wait 5 tick
            play raw sound "random.click" at player with pitch 2 volume 0.5
            format slot 12 of player with {@2item} to be unstealable
            wait 5 tick
            play raw sound "random.click" at player with pitch 1 volume 0.5
            format slot 13 of player with {@3item} to be unstealable
            wait 5 tick
            play raw sound "random.click" at player with pitch 2 volume 0.5
            format slot 14 of player with {@4item} to be unstealable
            wait 5 tick
            play raw sound "random.click" at player with pitch 1 volume 0.5
            format slot 15 of player with {@5item} to be unstealable
            wait 5 tick
            delete {kutuac1.%player%}
            wait 1 tick
            close player's inventory
            set {kutuac1.%player%} to "1"
            wait 1 tick
            open chest with 3 rows named "&lSeç-Beğen Kutusu" to player
            wait 1 tick
            format slot 11 of player with {@1item} to close then run [execute player command "/sbitem 1"]
            format slot 12 of player with {@2item} to close then run [execute player command "/sbitem 2"]
            format slot 13 of player with {@3item} to close then run [execute player command "/sbitem 3"]
            format slot 14 of player with {@4item} to close then run [execute player command "/sbitem 4"]
            format slot 15 of player with {@5item} to close then run [execute player command "/sbitem 5"]
            stop
            play raw sound "random.click" at player with pitch 1 volume 0.5
            delete {kutuac1.%player%}
command /sbitem <text>:
    trigger:
        if arg-1 is "1":
            if {sbitem.%player%} is set:
                delete {kutuac1.%player%}
                close player's inventory
                close player's inventory
                give {@1item} to player
                send "{@prefix} Kutudan:&e {@1item} &cçıktı." to player
                wait 3 tick
                open chest with 3 rows named "&lSeç-Beğen Kutusu" to player
                wait 1 tick
                format slot 13 of player with {@1item} to be unstealable
                play raw sound "random.successful_hit" at player with pitch 1 volume 10
                wait 0.5 second
                play raw sound "fireworks.twinkle" at player with pitch 1 volume 5
                delete {sbitem.%player%}
                delete {kutuac1.%player%}
                wait 1 tick
                close player's inventory
        if arg-1 is "2":
            if {sbitem.%player%} is set:
                delete {kutuac1.%player%}
                close player's inventory
                close player's inventory
                give {@2item} to player
                send "{@prefix} Kutudan:&e {@2item} &cçıktı." to player
                wait 3 tick
                open chest with 3 rows named "&lSeç-Beğen Kutusu" to player
                wait 1 tick
                format slot 13 of player with {@2item} to be unstealable
                play raw sound "random.successful_hit" at player with pitch 1 volume 10
                wait 0.5 second
                play raw sound "fireworks.twinkle" at player with pitch 1 volume 5
                delete {sbitem.%player%}
                delete {kutuac1.%player%}
                wait 1 tick
                close player's inventory
        if arg-1 is "3":
            if {sbitem.%player%} is set:
                delete {kutuac1.%player%}
                close player's inventory
                close player's inventory
                give {@3item} to player
                send "{@prefix} Kutudan:&e {@3item} &cçıktı." to player
                wait 3 tick
                open chest with 3 rows named "&lSeç-Beğen Kutusu" to player
                wait 1 tick
                format slot 13 of player with {@3item} to be unstealable
                play raw sound "random.successful_hit" at player with pitch 1 volume 10
                wait 0.5 second
                play raw sound "fireworks.twinkle" at player with pitch 1 volume 4
                delete {sbitem.%player%}
                delete {kutuac1.%player%}
                wait 1 tick
                close player's inventory
        if arg-1 is "4":
            if {sbitem.%player%} is set:
                delete {kutuac1.%player%}
                close player's inventory
                close player's inventory
                give {@4item} to player
                send "{@prefix} Kutudan:&e {@4item} &cçıktı." to player
                wait 3 tick
                open chest with 3 rows named "&lSeç-Beğen Kutusu" to player
                wait 1 tick
                format slot 13 of player with {@4item} to be unstealable
                play raw sound "random.successful_hit" at player with pitch 1 volume 10
                wait 0.5 second
                play raw sound "fireworks.twinkle" at player with pitch 1 volume 5
                delete {sbitem.%player%}
                delete {kutuac1.%player%}
                wait 1 tick
                close player's inventory
        if arg-1 is "5":
            if {sbitem.%player%} is set:
                delete {kutuac1.%player%}
                close player's inventory
                close player's inventory
                give {@5item} to player
                send "{@prefix}Kutudan:&e {@5item} &cçıktı." to player
                wait 3 tick
                open chest with 3 rows named "&lSeç-Beğen Kutusu" to player
                wait 1 tick
                format slot 13 of player with {@5item} to be unstealable
                wait 1 tick
                play raw sound "random.successful_hit" at player with pitch 1 volume 10
                wait 0.5 second
                play raw sound "fireworks.twinkle" at player with pitch 1 volume 5
                delete {sbitem.%player%}
                delete {kutuac1.%player%}
                wait 1 tick
                close player's inventory
on inventory close:
    if {kutuac1.%player%} is set:
        wait 2 tick
        open chest with 3 rows named "&lSeç-Beğen Kutusu" to player
        wait 1 tick
        format slot 11 of player with {@1item} to close then run [execute player command "/sbitem 1"]
        format slot 12 of player with {@2item} to close then run [execute player command "/sbitem 2"]
        format slot 13 of player with {@3item} to close then run [execute player command "/sbitem 3"]
        format slot 14 of player with {@4item} to close then run [execute player command "/sbitem 4"]
        format slot 15 of player with {@5item} to close then run [execute player command "/sbitem 5"]
        stop
command /kutu:
    trigger:
        if player is op:
            give 1 chest named "&lSeç-Beğen Kutusu" to player

 
Baya başarılı :)
 
Değerli yorumun için teşekkürler...
 
Ellerine sağlık :)
 
Değerli yorumun için teşekkürler.
 
Videoda Beyen yazıyor. Acaba sırf Türkçe desteklemesi için mi yoksa öyle mi yazdın :)
 
Güzel açık buldun tebrik ederim :D
 
ByFatih Size Nasıl Ulaşabilirim Bir KOnu Hakkında Yardım Destek İstiyordumda Lütfen Yanıtlarsanız Sevinirim :) (skript)
 
ByFatih Size Nasıl Ulaşabilirim Bir KOnu Hakkında Yardım Destek İstiyordumda Lütfen Yanıtlarsanız Sevinirim :) (skript)
Beni forumdan yada skype adresimden bulabilirsin. (muhammedisik03)
 
X90JGR.png

Bu kutu sayesinde oyuncular kutu içeriğinden eşya seçebilecek. Bildiğiniz üzde kutuların %90'ı şans ile eşya çıkarmak için yazılmış. Bende oyuncular kendileri seçmesini istedim. Ortaya da böyle bir skript çıkardım.
Eşyaları değiştirile bilir şekilde sundum.
Tek bir komut var;
/kutu » Kutuyu verir.

qjbRzR.png




adL064.png

Kod:
options:
    1item: 3 diamond
    2item: 1 diamond sword
    3item: 15 iron ingot
    4item: 20 gold ingot
    5item: 1 diamond boots
    prefix:    &c&l[ &eKutu &c&l] &r&9»&c
on rightclick with chest:
    if {kutuac1.%player%} isn't set:
        if name of player's tool is "&lSeç-Beğen Kutusu":
            set {sbitem.%player%} to "1"
            remove 1 chest named "&lSeç-Beğen Kutusu" from player
            set {kutuac1.%player%} to "1"
            cancel event
            wait 3 tick
            open chest with 3 rows named "&lSeç-Beğen Kutusu" to player
            wait 1 tick
            play raw sound "random.click" at player with pitch 1 volume 0.5
            format slot 11 of player with {@1item} to be unstealable
            wait 5 tick
            play raw sound "random.click" at player with pitch 2 volume 0.5
            format slot 12 of player with {@2item} to be unstealable
            wait 5 tick
            play raw sound "random.click" at player with pitch 1 volume 0.5
            format slot 13 of player with {@3item} to be unstealable
            wait 5 tick
            play raw sound "random.click" at player with pitch 2 volume 0.5
            format slot 14 of player with {@4item} to be unstealable
            wait 5 tick
            play raw sound "random.click" at player with pitch 1 volume 0.5
            format slot 15 of player with {@5item} to be unstealable
            wait 5 tick
            delete {kutuac1.%player%}
            wait 1 tick
            close player's inventory
            set {kutuac1.%player%} to "1"
            wait 1 tick
            open chest with 3 rows named "&lSeç-Beğen Kutusu" to player
            wait 1 tick
            format slot 11 of player with {@1item} to close then run [execute player command "/sbitem 1"]
            format slot 12 of player with {@2item} to close then run [execute player command "/sbitem 2"]
            format slot 13 of player with {@3item} to close then run [execute player command "/sbitem 3"]
            format slot 14 of player with {@4item} to close then run [execute player command "/sbitem 4"]
            format slot 15 of player with {@5item} to close then run [execute player command "/sbitem 5"]
            stop
            play raw sound "random.click" at player with pitch 1 volume 0.5
            delete {kutuac1.%player%}
command /sbitem <text>:
    trigger:
        if arg-1 is "1":
            if {sbitem.%player%} is set:
                delete {kutuac1.%player%}
                close player's inventory
                close player's inventory
                give {@1item} to player
                send "{@prefix} Kutudan:&e {@1item} &cçıktı." to player
                wait 3 tick
                open chest with 3 rows named "&lSeç-Beğen Kutusu" to player
                wait 1 tick
                format slot 13 of player with {@1item} to be unstealable
                play raw sound "random.successful_hit" at player with pitch 1 volume 10
                wait 0.5 second
                play raw sound "fireworks.twinkle" at player with pitch 1 volume 5
                delete {sbitem.%player%}
                delete {kutuac1.%player%}
                wait 1 tick
                close player's inventory
        if arg-1 is "2":
            if {sbitem.%player%} is set:
                delete {kutuac1.%player%}
                close player's inventory
                close player's inventory
                give {@2item} to player
                send "{@prefix} Kutudan:&e {@2item} &cçıktı." to player
                wait 3 tick
                open chest with 3 rows named "&lSeç-Beğen Kutusu" to player
                wait 1 tick
                format slot 13 of player with {@2item} to be unstealable
                play raw sound "random.successful_hit" at player with pitch 1 volume 10
                wait 0.5 second
                play raw sound "fireworks.twinkle" at player with pitch 1 volume 5
                delete {sbitem.%player%}
                delete {kutuac1.%player%}
                wait 1 tick
                close player's inventory
        if arg-1 is "3":
            if {sbitem.%player%} is set:
                delete {kutuac1.%player%}
                close player's inventory
                close player's inventory
                give {@3item} to player
                send "{@prefix} Kutudan:&e {@3item} &cçıktı." to player
                wait 3 tick
                open chest with 3 rows named "&lSeç-Beğen Kutusu" to player
                wait 1 tick
                format slot 13 of player with {@3item} to be unstealable
                play raw sound "random.successful_hit" at player with pitch 1 volume 10
                wait 0.5 second
                play raw sound "fireworks.twinkle" at player with pitch 1 volume 4
                delete {sbitem.%player%}
                delete {kutuac1.%player%}
                wait 1 tick
                close player's inventory
        if arg-1 is "4":
            if {sbitem.%player%} is set:
                delete {kutuac1.%player%}
                close player's inventory
                close player's inventory
                give {@4item} to player
                send "{@prefix} Kutudan:&e {@4item} &cçıktı." to player
                wait 3 tick
                open chest with 3 rows named "&lSeç-Beğen Kutusu" to player
                wait 1 tick
                format slot 13 of player with {@4item} to be unstealable
                play raw sound "random.successful_hit" at player with pitch 1 volume 10
                wait 0.5 second
                play raw sound "fireworks.twinkle" at player with pitch 1 volume 5
                delete {sbitem.%player%}
                delete {kutuac1.%player%}
                wait 1 tick
                close player's inventory
        if arg-1 is "5":
            if {sbitem.%player%} is set:
                delete {kutuac1.%player%}
                close player's inventory
                close player's inventory
                give {@5item} to player
                send "{@prefix}Kutudan:&e {@5item} &cçıktı." to player
                wait 3 tick
                open chest with 3 rows named "&lSeç-Beğen Kutusu" to player
                wait 1 tick
                format slot 13 of player with {@5item} to be unstealable
                wait 1 tick
                play raw sound "random.successful_hit" at player with pitch 1 volume 10
                wait 0.5 second
                play raw sound "fireworks.twinkle" at player with pitch 1 volume 5
                delete {sbitem.%player%}
                delete {kutuac1.%player%}
                wait 1 tick
                close player's inventory
on inventory close:
    if {kutuac1.%player%} is set:
        wait 2 tick
        open chest with 3 rows named "&lSeç-Beğen Kutusu" to player
        wait 1 tick
        format slot 11 of player with {@1item} to close then run [execute player command "/sbitem 1"]
        format slot 12 of player with {@2item} to close then run [execute player command "/sbitem 2"]
        format slot 13 of player with {@3item} to close then run [execute player command "/sbitem 3"]
        format slot 14 of player with {@4item} to close then run [execute player command "/sbitem 4"]
        format slot 15 of player with {@5item} to close then run [execute player command "/sbitem 5"]
        stop
command /kutu:
    trigger:
        if player is op:
            give 1 chest named "&lSeç-Beğen Kutusu" to player


Yabancı gelişmiş bir sunucuda görmüştüm bu skript'ti survival games.
Arayan arkadaşlar için çok yararlı bir skript.
 
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