[İstek Skript]Kutu Sistemi

S

Switcher

Ziyaretçi
Kod:
command /sandik [<text>]:
    trigger:
        player is op
        arg 1 is set:
            give chest named "&a%arg 1% Sandığı" to player
            give tripwire hook named "&a%arg 1% Sandığı Anahtarı" to player
            send "&c[&bSandık&c] &a%arg 1% &6sandığı anahtarı ile verildi." to player
            stop
        else:
            send "&c/sandik <Kömür - Kızıltaş - Demir>" to player
            stop
on place of chest:
    name of event-item contains "Sandığı"
    cancel event
on rightclick with chest:
    tool's name is "&aKömür Sandığı":
        player has tripwire hook named "&aKömür Sandığı Anahtarı":
            remove chest named "&aKömür Sandığı" from player
            remove tripwire hook named "&aKömür Sandığı Anahtarı" from player
            invoke "sandik" from player and "Kömür"
        else:
            send "&c[&bSandık&c] &4Anahtara sahip değilsin."
        stop
    else if tool's name is "&aKızıltaş Sandığı":
        player has tripwire hook named "&aKızıltaş Sandığı Anahtarı":
            remove chest named "&aKızıltaş Sandığı" from player
            remove tripwire hook named "&aKızıltaş Sandığı Anahtarı" from player
            invoke "sandik" from player and "Kızıltaş"
        else:
            send "&c[&bSandık&c] &4Anahtara sahip değilsin."
        stop
    else if tool's name is "&aDemir Sandığı":
        player has tripwire hook named "&aDemir Sandığı Anahtarı":
            remove chest named "&aDemir Sandığı" from player
            remove tripwire hook named "&aDemir Sandığı Anahtarı" from player
            invoke "sandik" from player and "Demir"
        else:
            send "&c[&bSandık&c] &4Anahtara sahip değilsin."
        stop
sub "sandik":
    set {_meter1} to parameter-1
    set {_meter2} to parameter-2
    send "&c[&bSandık&c] &6Sandık açılıyor.." to {_meter1}
    wait 2 second
    send "&c[&bSandık&c] &6Sandık açıldı !" to {_meter1}
    "%{_meter2}%" is "Kömür":
        chance of 50%:
            give 10 coal to {_meter1}
        chance of 25%:
            give stone sword to {_meter1}
    else if "%{_meter2}" is "Kızıltaş":
        chance of 50%:
            give 10 redstone to {_meter1}
        chance of 25%:
            give iron sword to {_meter1}
    else if "%{_meter2}" is "Demir":
        chance of 50%:
            give 10 iron ingot to {_meter1}
        chance of 25%:
            give diamond sword to {_meter1}
    stop
Komut /sandik .
SkQuery gerektirir.
İtemleri pek ayarlamadım
 

EmirhanSyl

Zombi Katili
En iyi cevaplar
0
Kod:
on rightclick on chest or ender chest with Bone:
    player is op
    if player is holding a Bone named "&fDemirKasa &7&lAyar":
        cancel event
        if {demirkasa} is set:
            set the block behind {demirkasa} to air
        set {demirkasa} to location of targeted block
        spawn 10 of particle cloud at location of targeted block
        set the block behind event-block to iron block
        send "&fDemir &7kasa yeri ayarlandi!"
        if {demirkasa} is {altinkasa}:
            delete {altinkasa}
            set the block behind {altinkasa} to air
        if {demirkasa} is {elmaskasa}:
            delete {elmaskasa}
            set the block behind {elmaskasa} to air
        if {demirkasa} is {zumrutkasa}:
            delete {zumrutkasa}
            set the block behind {zumrutkasa} to air
    if player is holding a Bone named "&6AltinKasa &7&lAyar":
        cancel event
        if {altinkasa} is set:
            set the block behind {altinkasa} to air
        set {altinkasa} to location of targeted block
        spawn 10 of particle cloud at location of targeted block
        set the block behind event-block to gold block
        send "&6Altin &7kasa yeri ayarlandi!"
        if {altinkasa} is {demirkasa}:
            delete {demirkasa}
            set the block behind {demirkasa} to air
        if {altinkasa} is {elmaskasa}:
            delete {elmaskasa}
            set the block behind {elmaskasa} to air
        if {altinkasa} is {zumrutkasa}:
            delete {zumrutkasa}
            set the block behind {zumrutkasa} to air
    if player is holding a Bone named "&bElmasKasa &7&lAyar":
        cancel event
        if {elmaskasa} is set:
            set the block behind {elmaskasa} to air
        set {elmaskasa} to location of targeted block
        spawn 10 of particle cloud at location of targeted block
        set the block behind event-block to diamond block
        send "&bElmas &7kasa yeri ayarlandi!"
        if {elmaskasa} is {demirkasa}:
            delete {demirkasa}
            set the block behind {demirkasa} to air
        if {elmaskasa} is {altinkasa}:
            delete {altinkasa}
            set the block behind {altinkasa} to air
        if {elmaskasa} is {zumrutkasa}:
            delete {zumrutkasa}
            set the block behind {zumrutkasa} to air
    if player is holding a Bone named "&aZümrütKasa &7&lAyar":
        cancel event
        if {zumrutkasa} is set:
            set the block behind {zumrutkasa} to air
        set {zumrutkasa} to location of targeted block
        spawn 10 of particle cloud at location of targeted block
        set the block behind event-block to emerald block
        send "&aZümrüt &7kasa yeri ayarlandi!"
        if {zumrutkasa} is {demirkasa}:
            delete {demirkasa}
            set the block behind {demirkasa} to air
        if {zumrutkasa} is {altinkasa}:
            delete {altinkasa}
            set the block behind {altinkasa} to air
        if {zumrutkasa} is {elmaskasa}:
            delete {elmaskasa}
            set the block behind {elmaskasa} to air

on break of chest or ender chest:
    player is op
    if location of targeted block is {demirkasa}:
        delete {demirkasa}
        set the block behind event-block to air
        send "&7Basarili bir sekilde &fDemir &7kasa alanini kaldirdin!"
    if location of targeted block is {altinkasa}:
        delete {altinkasa}
        set the block behind event-block to air
        send "&7Basarili bir sekilde &6Altin &7kasa alanini kaldirdin!"
    if location of targeted block is {elmaskasa}:
        delete {elmaskasa}
        set the block behind event-block to air
        send "&7Basarili bir sekilde &bElmas &7kasa alanini kaldirdin!"
    if location of targeted block is {zumrutkasa}:
        delete {zumrutkasa}
        set the block behind event-block to air
        send "&7Basarili bir sekilde &aZumrut &7kasa alanini kaldirdin!"

command /suprizsandik [<text>] [<text>]:
    trigger:
        if arg 1 is set:
            if arg 1 is "ayaritem":
                if arg 2 is "demir":
                    give 1 Bone named "&fDemirKasa &7&lAyar" to player
                    send "&fDemir &7kasa cubugu verildi!" to player
                if arg 2 is "altin" or "altın":
                    give 1 Bone named "&6AltinKasa &7&lAyar" to player
                    send "&6Altin &7kasa cubugu verildi!"
                if arg 2 is "elmas":
                    give 1 Bone named "&bElmasKasa &7&lAyar" to player
                    send "&bElmas &7kasa cubugu verildi!"
                if arg 2 is "zumrut" or "zümrüt":
                    give 1 Bone named "&aZümrütKasa &7&lAyar" to player
                    send "&aZümrüt &7kasa cubugu verildi!"
            if arg 1 is "anahtar":
                if arg 2 is "demir":
                    give 1 tripwire hook named "&fDemir &7Anahtar" to player
                    send "&fDemir &7kasa cubugu verildi!" to player
                if arg 2 is "altin" or "altın":
                    give 1 tripwire hook named "&6Altin &7Anahtar" to player
                    send "&6Altin &7kasa cubugu verildi!"
                if arg 2 is "elmas":
                    give 1 tripwire hook named "&bElmas &7Anahtar" to player
                    send "&bElmas &7kasa cubugu verildi!"
                if arg 2 is "zumrut" or "zümrüt":
                    give 1 tripwire hook named "&aZümrüt &7Anahtar" to player
                    send "&aZümrüt &7kasa cubugu verildi!"
            if arg 1 is "isinlankasa" or "ikasa" or "isinlank":
                if arg 2 is "demir":
                    if {demirkasa} is set:
                        teleport player to {demirkasa}
                    else:
                        send "&fDemir &calani belli degil!"
                if arg 2 is "altin" or "altın":
                    if {altinkasa} is set:
                        teleport player to {altinkasa}
                    else:
                        send "&6Altin &calani belli degil!"
                if arg 2 is "elmas":
                    if {elmaskasa} is set:
                        teleport player to {elmaskasa}
                    else:
                        send "&bElmas &calani belli degil!"
                if arg 2 is "zumrut" or "zümrüt":
                    if {zumrutkasa} is set:
                        teleport player to {zumrutkasa}
                    else:
                        send "&aZümrüt &calani belli degil!"
        else:
            send "&cUsing : &e/suprizsandik &2<&3ayaritem&7-&3anahtar&7-&3isinlankasa&2> &2<&3demir&7-&3altin&7-&3elmas&7-&3zümrüt&2>"

on leftclick on chest or ender chest:
    player's gamemode is survival
    if location of targeted block is {demirkasa}:
        set {menu.durum.demir.%player%} to true
        open chest with 3 rows named "&f&lDemir&9&lKasa &cİcindekiler" to player
        format slot 0 of player with enchanted book named "&fKoruma 4 Kitap" with lore "&5Yüzde 4 Sans" to be unstealable
        format slot 1 of player with 2 tripwire hook named "&f2 Demir Anahtar" with lore "&5Yüzde 2 Sans" to be unstealable
        format slot 2 of player with tripwire hook named "&f1 Altin Anahtar" with lore "&5Yüzde 1 Sans" to be unstealable
        format slot 3 of player with diamond helmet named "&fKoruma 4 Elmas Kafalik" with lore "&5Yüzde 1 Sans" to be unstealable
        format slot 4 of player with diamond chestplate named "&fKoruma 4 Elmas Zirh" with lore "&5Yüzde 1 Sans" to be unstealable
        format slot 5 of player with diamond leggings named "&fKoruma 4 Elmas Pantolon" with lore "&5Yüzde 1 Sans" to be unstealable
        format slot 6 of player with diamond boots named "&fKoruma 4 Elmas Bot" with lore "&5Yüzde 1 Sans" to be unstealable
        format slot 7 of player with 64 emerald named "&f16 Zümrüt" with lore "&5Yüzde 6 Sans" to be unstealable
        format slot 8 of player with diamond sword named "&fKeskinlik 4 Elmas Kilic" with lore "&5Yüzde 1 Sans" to be unstealable
        format slot 13 of player with iron ingot named "&fDemir" with lore "&5Yüzde 7 Sans" to be unstealable
    else if location of targeted block is {altinkasa}:
        set {menu.durum.altin.%player%} to true
        open chest with 3 rows named "&6&lAltin&9&lKasa &cİcindekiler" to player
        format slot 0 of player with 2 tripwire hook named "&62 Demir Anahtar" with lore "&5Yüzde 2 Sans" to be unstealable
        format slot 1 of player with 2 tripwire hook named "&62 Altin Anahtar" with lore "&5Yüzde 1 Sans" to be unstealable
        format slot 2 of player with diamond helmet named "&6Koruma 4 Elmas Kafalik" with lore "&5Yüzde 1 Sans" to be unstealable
        format slot 3 of player with diamond chestplate named "&6Koruma 4 Elmas Zirh" with lore "&5Yüzde 1 Sans" to be unstealable
        format slot 4 of player with diamond leggings named "&6Koruma 4 Elmas Pantolon" with lore "&5Yüzde 1 Sans" to be unstealable
        format slot 5 of player with diamond boots named "&6Koruma 4 Elmas Bot" with lore "&5Yüzde 1 Sans" to be unstealable
        format slot 6 of player with 64 diamond named "&632 Elmas" with lore "&5Yüzde 4 Sans" to be unstealable
        format slot 7 of player with 2 gold nugget named "&6200K Oyun Parasi" with lore "&5Yüzde 1 Sans" to be unstealable
        format slot 8 of player with gold ingot named "&6Altin" with lore "&5Yüzde 7 Sans" to be unstealable
    else if location of targeted block is {elmaskasa}:
        set {menu.durum.elmas.%player%} to true
        open chest with 3 rows named "&b&lElmas&9&lKasa &cİcindekiler" to player
        format slot 0 of player with 3 tripwire hook named "&b2 Altin Anahtar" with lore "&5Yüzde 2 Sans" to be unstealable
        format slot 1 of player with 2 tripwire hook named "&b2 Elmas Anahtar" with lore "&5Yüzde 1 Sans" to be unstealable
        format slot 2 of player with 5 diamond block named "&b5 Stack Elmas Blok" with lore "&5Yüzde 1 Sans" to be unstealable
        format slot 3 of player with 5 gold nugget named "&b500K Oyun Parasi" with lore "&5Yüzde 1 Sans" to be unstealable
        format slot 4 of player with diamond named "&bElmas" with lore "&5Yüzde 7 Sans" to be unstealable
    else if location of targeted block is {zumrutkasa}:
        set {menu.durum.zümrüt.%player%} to true
        open chest with 3 rows named "&a&lZümrüt&9&lKasa &cİcindekiler" to player
        format slot 0 of player with 3 tripwire hook named "&a10 Altin Anahtar" with lore "&5Yüzde 2 Sans" to be unstealable
        format slot 1 of player with 2 tripwire hook named "&a3 Elmas Anahtar" with lore "&5Yüzde 1 Sans" to be unstealable
        format slot 2 of player with 5 emerald block named "&a5 Stack Zümrüt" with lore "&5Yüzde 1 Sans" to be unstealable
        format slot 3 of player with 1 gold nugget named "&a1M Oyun Parasi" with lore "&5Yüzde 1 Sans" to be unstealable
        format slot 4 of player with emerald named "&aZümrüt" with lore "&5Yüzde 7 Sans" to be unstealable



on inventory close:
    delete {menu.durum.demir.%player%}
    delete {menu.altin.demir.%player%}
    delete {menu.durum.elmas.%player%}
    delete {menu.durum.zümrüt.%player%}

on rightclick on chest or ender chest:
    if player is not holding a Bone named "&fDemir &7Anahtar":
        if player is not holding a Bone named "&6Altin &7Anahtar":
            if player is not holding a Bone named "&bElmas &7Anahtar":
                if player is not holding a Bone named "&aZümrüt &7Anahtar":
                    if location of event-block is {demirkasa}:
                        if player is not holding a Bone named "&fDemir &7Anahtar":
                            send "&7[&5SuprizSandik&7] &8: &cKasayı sadece Demir anahtar ile acabilirsin!"
                            cancel event
                        if player is holding a tripwire hook named "&fDemir &7Anahtar":
                            remove 1 tripwire hook named "&fDemir &7Anahtar" from the player's inventory
                            cancel event
                            play raw sound "random.chestopen" at player with pitch 1 volume 1
                            if chance of 7%:#10
                                execute console command "/give %player% iron_ingot 1 0"
                                send "&7{&fKasa&7} &aDemir Cikti!" to player
                            else:
                                if chance of 6%:#9
                                    execute console command "/give %player% emerald 16 0"
                                    send "&7{&fKasa&7} &a16 Adet Zümrüt Cikti!" to player
                                else:
                                    if chance of 1%:#8
                                        execute console command "/give %player% diamond_sword 1 0 {ench:[{id:16,lvl:4}]}"
                                        send "&7{&fKasa&7} &aKeskinlik 4 Elmas Kilic Cikti!" to player
                                    else:
                                        if chance of 1%:#7
                                            execute console command "/give %player% diamond_helmet 1 0 {ench:[{id:0,lvl:4}]}"
                                            send "&7{&fKasa&7} &aKoruma 4 Elmas Kafalik Cikti!" to player
                                        else:
                                            if chance of 1%:#6
                                                execute console command "/give %player% diamond_boots 1 0 {ench:[{id:0,lvl:4}]}"
                                                send "&7{&fKasa&7} &aKoruma 4 Elmas Bot Cikti!" to player
                                            else:
                                                if chance of 1%:#5
                                                    execute console command "/give %player% diamond_leggings 1 0 {ench:[{id:0,lvl:4}]}"
                                                    send "&7{&fKasa&7} &aKoruma 4 Elmas Pantolon Cikti!" to player
                                                else:
                                                    if chance of 1%:#4
                                                        execute console command "/give %player% diamond_chestplate 1 0 {ench:[{id:0,lvl:4}]}"
                                                        send "&7{&fKasa&7} &aKoruma 4 Elmas Zirh Cikti!" to player
                                                    else:
                                                        if chance of 2%:#3
                                                            give 2 tripwire hook named "&fDemir &7Anahtar" to player
                                                            send "&7{&fKasa&7} &a2 Adet Demir Anahtar Cikti!" to player
                                                        else:
                                                            if chance of 1%:#2
                                                                give 1 tripwire hook named "&6Altin &7Anahtar" to player
                                                                send "&7{&fKasa&7} &a1 Adet Altin Anahtar Cikti!" to player
                                                            else:
                                                                if chance of 4%:#1
                                                                    execute console command "/give %player% enchanted_book 1 0 {StoredEnchantments:[{id:0,lvl:4}]}"
                                                                    send "&7{&fKasa&7} &aKoruma 4 Kitap Cikti!" to player
                                                                else:
                                                                    send "&7{&fKasa&7} &cMaalesef bir şey çıkmadı." to player
                    if location of event-block is {altinkasa}:
                        if player is not holding a Bone named "&6Altin &7Anahtar":
                            send "&7[&5SuprizSandik&7] &8: &cKasayı sadece Altin Anahtar ile acabilirsin!"
                            cancel event
                        if player is holding a tripwire hook named "&6Altin &7Anahtar":
                            remove 1 tripwire hook named "&6Altin &7Anahtar" from the player's inventory
                            cancel event
                            play raw sound "random.chestopen" at player with pitch 1 volume 1
                            if chance of 7%:#9
                                execute console command "/give %player% gold_ingot 1 0"
                                send "&7{&6Kasa&7} &aAltin Cikti!" to player
                            else:
                                if chance of 6%:#8
                                    execute console command "/give %player% diamond 32 0"
                                    send "&7{&6Kasa&7} &a32 Adet Elmas Cikti!" to player
                                else:
                                    if chance of 1%:#7
                                        execute console command "/money give %player% 200000"
                                        send "&7{&6Kasa&7} &a200K Oyun Parasi Cikti!" to player
                                    else:
                                        if chance of 1%:#6
                                            execute console command "/give %player% diamond_helmet 1 0 {ench:[{id:0,lvl:4}]}"
                                            send "&7{&6Kasa&7} &aKoruma 4 Elmas Kafalik Cikti!" to player
                                        else:
                                            if chance of 1%:#5
                                                execute console command "/give %player% diamond_boots 1 0 {ench:[{id:0,lvl:4}]}"
                                                send "&7{&6Kasa&7} &aKoruma 4 Elmas Bot Cikti!" to player
                                            else:
                                                if chance of 1%:#4
                                                    execute console command "/give %player% diamond_leggings 1 0 {ench:[{id:0,lvl:4}]}"
                                                    send "&7{&6Kasa&7} &aKoruma 4 Elmas Pantolon Cikti!" to player
                                                else:
                                                    if chance of 1%:#3
                                                        execute console command "/give %player% diamond_chestplate 1 0 {ench:[{id:0,lvl:4}]}"
                                                        send "&7{&6Kasa&7} &aKoruma 4 Elmas Zirh Cikti!" to player
                                                    else:
                                                        if chance of 2%:#2
                                                            give 2 tripwire hook named "&fDemir &7Anahtar" to player
                                                            send "&7{&6Kasa&7} &a2 Adet Demir Anahtar Cikti!" to player
                                                        else:
                                                            if chance of 1%:#1
                                                                give 2 tripwire hook named "&6Altin &7Anahtar" to player
                                                                send "&7{&6Kasa&7} &a2 Adet Altin Anahtar Cikti!" to player
                                                            else:
                                                                send "&7{&6Kasa&7} &cMaalesef bir şey çıkmadı." to player
                    if location of event-block is {elmaskasa}:
                        if player is not holding a Bone named "&bElmas &7Anahtar":
                            send "&7[&5SuprizSandik&7] &8: &cKasayı sadece Elmas Anahtar ile acabilirsin!"
                            cancel event
                        if player is holding a tripwire hook named "&bElmas &7Anahtar":
                            remove 1 tripwire hook named "&bElmas &7Anahtar" from the player's inventory
                            cancel event
                            play raw sound "random.chestopen" at player with pitch 1 volume 1
                            if chance of 7%:#5
                                execute console command "/give %player% diamond 1 0"
                                send "&7{&bKasa&7} &aElmas Cikti!" to player
                            else:
                                if chance of 2%:#4
                                    give 3 tripwire hook named "&6Altin &7Anahtar" to player
                                    send "&7{&bKasa&7} &a3 Adet Altin Anahtar Cikti!" to player
                                else:
                                    if chance of 1%:#3
                                        give 2 tripwire hook named "&bElmas &7Anahtar" to player
                                        send "&7{&bKasa&7} &a2 Adet Elmas Anahtar Cikti!" to player
                                    else:
                                        if chance of 1%:#2
                                            execute console command "/give %player% diamond 64 0"
                                            execute console command "/give %player% diamond 64 0"
                                            execute console command "/give %player% diamond 64 0"
                                            execute console command "/give %player% diamond 64 0"
                                            execute console command "/give %player% diamond 64 0"
                                            send "&7{&bKasa&7} &a5 Stack Elmas Cikti!" to player
                                        else:
                                            if chance of 1%:#1
                                                execute console command "/money give %player% 500000"
                                                send "&7{&bKasa&7} &a500K Oyun Parasi Cikti!" to player
                                            else:
                                                send "&7{&bKasa&7} &cMaalesef bir şey çıkmadı." to player
                    if location of event-block is {zumrutkasa}:
                        if player is not holding a Bone named "&aZümrüt &7Anahtar":
                            send "&7[&5SuprizSandik&7] &8: &cKasayı sadece Zümrüt Anahtar ile acabilirsin!"
                            cancel event
                        if player is holding a tripwire hook named "&aZümrüt &7Anahtar":
                            remove 1 tripwire hook named "&aZümrüt &7Anahtar" from the player's inventory
                            cancel event
                            play raw sound "random.chestopen" at player with pitch 1 volume 1
                            if chance of 7%:#5
                                execute console command "/give %player% emerald 1 0"
                                send "&7{&bKasa&7} &aZümrüt Cikti!" to player
                            else:
                                if chance of 1%:#4
                                    give 10 tripwire hook named "&6Altin &7Anahtar" to player
                                    send "&7{&bKasa&7} &a10 Adet Altin Anahtar Cikti!" to player
                                else:
                                    if chance of 1%:#3
                                        give 3 tripwire hook named "&bElmas Anahtar" to player
                                        send "&7{&bKasa&7} &a3 Adet Elmas Anahtar Cikti!" to player
                                    else:
                                        if chance of 1%:#2
                                            execute console command "/give %player% emerald 64 0"
                                            execute console command "/give %player% emerald 64 0"
                                            execute console command "/give %player% emerald 64 0"
                                            execute console command "/give %player% emerald 64 0"
                                            execute console command "/give %player% emerald 64 0"
                                            send "&7{&bKasa&7} &a5 Stack Elmas Cikti!" to player
                                        else:
                                            if chance of 1%:#1
                                                execute console command "/money give %player% 1000000"
                                                send "&7{&bKasa&7} &a1M Oyun Parasi Cikti!" to player
                                            else:
                                                send "&7{&bKasa&7} &cMaalesef bir şey çıkmadı." to player

/suprizsandik
/suprizsandik ayaritem elmas,demir,altın,zümrüt
/suprizsandik anahtar elmas,demir,altın,zümrüt
Mesela Bi Sandıgın Arkasına Elmas Blok Koy ve /suprizsandik ayaritem elmas yaz eline gelin ayar itemi ile cheste sag tıkla

Iron Block,Gold Block İlede Yapabilirsin

Fakat Hangisini Yaparsan Ayarİtemine O Block'un İsmini Yazıcaksın
 

_ByEfeturkS_

Sudan Çıkmış
En iyi cevaplar
0
PHP:
#Şans Kutusu By Bay Gold :)
#Şans Kutusu Komutlar: şanskutusu
#Şans Kutusu Permler: şans.admin
#Şans Kutusu Özelliği: Anahtar İle Şans Kutusunu Açıp İtem Çıkarmak
#Şans Kutusu Nereden Düşer ?: Taş Kırınca Küçük Bir İhtimalle Şans Kutusu Veya Anahtar Çıkar
options:
    ss: &7&l[&a&lŞansKutusu&7&l]
command /şanskutusuver:
    permission: şans.admin
    permission message: &4Bu Komutu Kullanmak İçin Yeterli Yetkiye Sahip Değilsin!
    aliases: şanskutusual,şanskutusu
    trigger:
        give 64 gold nugget named "&6&lAnahtar" to player
        give 64 gold block named "&6&lŞans Kutusu" with lore "&a&lKeskinlik 3 Kılıç Şans:20||&a&lVerimlilik 3 Kazma Şans:20||&a&lKeskinlik 3,Alevden Çehre 2 Kılıç Şans:10||&a&l10 Elmas Blok Şans:5||&a&l10 Elmas Şans:10||&a&lİnşaat Malzemeleri Şans:15||&a&lElmas Set Şans:15||&a&lElmas Set Koruma 3 Şans:5||" to player
on rightclick with gold block:
    if name of player's tool contain "&6&lŞans Kutusu":
        if player has gold nugget named "&6&lAnahtar":
            cancel event
            remove 1 gold nugget named "&a&lAnahtar" from the player
            remove 1 gold block named "&6&lŞans Kutusu" with lore "&a&lKeskinlik 3 Kılıç Şans:20||&a&lVerimlilik 3 Kazma Şans:20||&a&lKeskinlik 3,Alevden Çehre 2 Kılıç Şans:10||&a&l10 Elmas Blok Şans:5||&a&l10 Elmas Şans:10||&a&lİnşaat Malzemeleri Şans:15||&a&lElmas Set Şans:15||&a&lElmas Set Koruma 3 Şans:5||" from the player
            send "&7&l>>>>   &a&lŞans Kutusu Açılıyor   &7&l<<<<" to player
            chance of 20%:
            send "{@ss} &7&lŞans Kutusundan &a&lKeskinlik 3 Kılıç &7&lÇıktı" to player
            give 1 diamond sword of sharpness 3 named "&a&lŞanslı Kılıç" to player
            chance of 15%:
                send "{@ss} &7&lŞans Kutusundan &a&lVerimlilik 3 Kazma &7&lÇıktı" to player
                give 1 diamond pickaxe of efficiency 3 named "&a&lŞanslı Kazma" to player
            chance of 10%:
                send "{@ss} &7&lŞans Kutusundan &a&lKeskinlik 3 Alevden Çehre 2 Kılıç &7&lÇıktı" to player
                give 1 diamond sword of sharpness 3 and fire aspect 2 named "&a&lŞanslı Kılıç" to player
            chance of 5%:
                send "{@ss} &7&lŞans Kutusundan &a&l10 Elmas Blok &7&lÇıktı" to player
                give 10 diamond block named "&a&lŞanslı Elmas Blok" to player
            chance of 10%:
                send "{@ss} &7&lŞans Kutusundan &a&l10 Elmas &7&lÇıktı" to player
                give 10 diamond named "&a&lŞanslı Elmas" to player
            chance of 20%:
                send "{@ss} &7&lŞans Kutusundan &a&lİnşaat Malzemeleri &7&lÇıktı" to player
                give 64 dirt named "&a&lToprak" to player
                give 64 stone named "&a&lTaş" to player
                give 32 quartz block named "&a&lQuartz Blok" to player
                give 16 wool named "&a&lYün" to player
                give 16 oak wood named "&a&lOdun" to player
            chance of 15%:
                send "{@ss} &7&lŞans Kutusundan &a&lElmas Set &7&lÇıktı" to player
                give diamond helmet named "&a&lŞanslı Kafalık" to player
                give diamond chestplate named "&a&lŞanslı Zırh" to player
                give diamond leggings named "&a&lŞanslı Pantolon" to player
                give diamond boots named "&a&lŞanslı Botlar" to player
            chance of 5%:
                send "{@ss} &7&lŞans Kutusundan &a&lElmas Set Koruma 3 &7&lÇıktı" to player
                give diamond helmet of protection 3 named "&a&lŞanslı Kafalık" to player
                give diamond chestplate of protection 3 named "&a&lŞanslı Zırh" to player
                give diamond leggings of protection 3 named "&a&lŞanslı Pantolon" to player
                give diamond boots of protection 3 named "&a&lŞanslı Botlar" to player
        else:
            send "{@ss} &a&lAnahtarın Olmadan Şans Kutusunu Açamassın" to player
            cancel event
on break of stone:
    chance of 2%:
        give gold block named "&6&lŞans Kutusu" with lore "&a&lKeskinlik 3 Kılıç Şans:20||&a&lVerimlilik 3 Kazma Şans:20||&a&lKeskinlik 3,Alevden Çehre 2 Kılıç Şans:10||&a&l10 Elmas Blok Şans:5||&a&l10 Elmas Şans:10||&a&lİnşaat Malzemeleri Şans:15||&a&lElmas Set Şans:15||&a&lElmas Set Koruma 3 Şans:5||" to player
        send "{@ss} &a&lTaş Kazarken Şans Kutusu Buldun Açmak İçin Sağ Tıkla" to player
    chance of 2%:
        give gold nugget named "&6&lAnahtar" to player
        send "{@ss} &a&lTaş Kazarken Anahtar Buldun Bununla Şans Kutusunu Açabilirsin" to player
on break of diamond ore:
    chance of 30%:
        give gold block named "&6&lŞans Kutusu" with lore "&a&lKeskinlik 3 Kılıç Şans:20||&a&lVerimlilik 3 Kazma Şans:20||&a&lKeskinlik 3,Alevden Çehre 2 Kılıç Şans:10||&a&l10 Elmas Blok Şans:5||&a&l10 Elmas Şans:10||&a&lİnşaat Malzemeleri Şans:15||&a&lElmas Set Şans:15||&a&lElmas Set Koruma 3 Şans:5||" to player

Forumda Zaten Paylaşılmış Araştırsan Bulabilirsin Tek Sorun Eşyaları Istediğin Gibi Değil.Onları Ayarlayabilirsiniz.
 
Üst