[Düzeldi]Otomatik Chest doldurma

Dul Bırakan

Ďℍ₰ ƐXƬΛSY ☠™ //// ƵŦ|☪ Naked™
En iyi cevaplar
0
Beyler Hunger Games İcin Ototmaik Chest Doldurmayı Çözdüm Alın

Kod:
on right click on chest:
    if {sandikk2::%block%} is true:
        stop
    chance of 1%:
        set slot random integer between 0 and 26 of clicked block to Diamond Sword
    chance of 35%:
        set slot random integer between 0 and 26 of clicked block to Stone Sword
    chance of 30%:
        set slot random integer between 0 and 26 of clicked block to 5 Arrow
    chance of 30%:
        set slot random integer between 0 and 26 of clicked block to Bow
    chance of 50%:
        set slot random integer between 0 and 26 of clicked block to Leather Cap
    chance of 50%:
        set slot random integer between 0 and 26 of clicked block to Leather Tunic
    chance of 50%:
        set slot random integer between 0 and 26 of clicked block to Leather Pants
    chance of 50%:
        set slot random integer between 0 and 26 of clicked block to Leather Boots
    chance of 20%:
        set slot random integer between 0 and 26 of clicked block to Chain Helmet
    chance of 20%:
        set slot random integer between 0 and 26 of clicked block to Chain Chestplate
    chance of 20%:
        set slot random integer between 0 and 26 of clicked block to Chain Leggings
    chance of 20%:
        set slot random integer between 0 and 26 of clicked block to Chain Boots
    chance of 4%:
        set slot random integer between 0 and 26 of clicked block to Iron Helmet
    chance of 4%:
        set slot random integer between 0 and 26 of clicked block to Iron Chestplate
    chance of 4%:
        set slot random integer between 0 and 26 of clicked block to Iron Boots
    chance of 4%:
        set slot random integer between 0 and 26 of clicked block to Iron Leggings
    chance of 2%:
        set slot random integer between 0 and 26 of clicked block to Diamond Helmet
    chance of 2%:
        set slot random integer between 0 and 26 of clicked block to Diamond Chestplate
    chance of 2%:
        set slot random integer between 0 and 26 of clicked block to Diamond Leggings
    chance of 2%:
        set slot random integer between 0 and 26 of clicked block to Diamond Boots
    chance of 20%:
        set slot random integer between 0 and 26 of clicked block to Golden Helmet
    chance of 20%:
        set slot random integer between 0 and 26 of clicked block to Golden Chestplate
    chance of 20%:
        set slot random integer between 0 and 26 of clicked block to Golden Leggings
    chance of 20%:
        set slot random integer between 0 and 26 of clicked block to Golden Boots
    chance of 3%:
        set slot random integer between 0 and 26 of clicked block to Flint And Steel
    chance of 5%:
        set slot random integer between 0 and 26 of clicked block to Apple
    chance of 5%:
        set slot random integer between 0 and 26 of clicked block to Mushroom Stew  
    chance of 5%:
        set slot random integer between 0 and 26 of clicked block to Bread  
    chance of 5%:
        set slot random integer between 0 and 26 of clicked block to Cooked Porkchop
    chance of 3%:
        set slot random integer between 0 and 26 of clicked block to Golden Apple
    chance of 5%:
        set slot random integer between 0 and 26 of clicked block to Raw Fish
    chance of 2%:
        set slot random integer between 0 and 26 of clicked block to Cooked Fish
    chance of 2%:
        set slot random integer between 0 and 26 of clicked block to cake
    chance of 2%:
        set slot random integer between 0 and 26 of clicked block to Cookie
    chance of 2%:
        set slot random integer between 0 and 26 of clicked block to 2 Melon
    chance of 2%:
        set slot random integer between 0 and 26 of clicked block to Raw Beef
    chance of 2%:
        set slot random integer between 0 and 26 of clicked block to Steak
    chance of 2%:
        set slot random integer between 0 and 26 of clicked block to rotten flesh
    chance of 2%:
        set slot random integer between 0 and 26 of clicked block to pumpkin pie  
    chance of 2%:
        set slot random integer between 0 and 26 of clicked block to carrot
    chance of 5%:
        set slot random integer between 0 and 26 of clicked block to boat
    chance of 5%:
        set slot random integer between 0 and 26 of clicked block to ender pearl
    chance of 5%:
        set slot random integer between 0 and 26 of clicked block to diamond
    chance of 20%:
        set slot random integer between 0 and 26 of clicked block to iron ingot
    chance of 20%:
        set slot random integer between 0 and 26 of clicked block to gold ingot
    chance of 15%:
        set slot random integer between 0 and 26 of clicked block to stick
    chance of 15%:
        set slot random integer between 0 and 26 of clicked block to Flint
    set {sandikk2::%block%} to true
  
command /chest:
    permission: sandik.admin
    trigger:
        delete {sandikk2::*}
        broadcast "&4&l[&4&lxxxxCraft&4&l] - &6&lBütün Sandiklar Yenilendi."
on game start:      
    wait 6 minutes
    execute console command "/chest"
  
on skript start:
    delete {sandikk2::*}
 
Son düzenleme:

qlawing

Kızıltaş Madencisi
En iyi cevaplar
0
eklermisin ben anlamadım o kodu
on rightclick on chest:
doesn't second click
if {hg-sure.%player%} is not set:
set {%player%.hg-sure} to 0
clear inventory of clicked block
chance of 23%:
set slot 0 of clicked block to steak
chance of 23%:
set slot 6 of clicked block to iron sword
chance of 23%:
set slot 10 of clicked block to soup
chance of 35%:
set slot 2 of clicked block to stone sword
chance of 35%:
set slot 13 of clicked block to lava
chance of 35%:
set slot 4 of clicked block to pumpkin pie
chance of 33%:
set slot 10 of clicked block to iron boots
chance of 35%:
set slot 17 of clicked block to lava bucket
chance of 35%:
set slot 23 of clicked block to fish
chance of 35%:
set slot 23 of clicked block to stone sword
chance of 10%:
set slot 8 of clicked block to diamond chestplate
chance of 10%:
set slot 8 of clicked block to diamond boots
chance of 10%:
set slot 8 of clicked block to diamond leggings
chance of 10%:
set slot 8 of clicked block to diamond helmet
chance of 35%:
set slot 16 of clicked block to diamond
chance of 35%:
set slot 20 of clicked block to iron boots
chance of 35%:
set slot 23 of clicked block to gold helmet
chance of 100%:
set slot 27 of clicked block to bread
chance of 100%:
set slot 15 of clicked block to apple
chance of 100%:
set slot 23 of clicked block to steak
chance of 35%:
set slot 8 of clicked block to iron chestplate
chance of 35%:
set slot 8 of clicked block to iron boots
chance of 35%:
set slot 8 of clicked block to iron leggings
chance of 35%:
set slot 8 of clicked block to iron helmet
delete {%player%.hg-sure}
 

Dul Bırakan

Ďℍ₰ ƐXƬΛSY ☠™ //// ƵŦ|☪ Naked™
En iyi cevaplar
0
on rightclick on chest:
doesn't second click
if {hg-sure.%player%} is not set:
set {%player%.hg-sure} to 0
clear inventory of clicked block
chance of 23%:
set slot 0 of clicked block to steak
chance of 23%:
set slot 6 of clicked block to iron sword
chance of 23%:
set slot 10 of clicked block to soup
chance of 35%:
set slot 2 of clicked block to stone sword
chance of 35%:
set slot 13 of clicked block to lava
chance of 35%:
set slot 4 of clicked block to pumpkin pie
chance of 33%:
set slot 10 of clicked block to iron boots
chance of 35%:
set slot 17 of clicked block to lava bucket
chance of 35%:
set slot 23 of clicked block to fish
chance of 35%:
set slot 23 of clicked block to stone sword
chance of 10%:
set slot 8 of clicked block to diamond chestplate
chance of 10%:
set slot 8 of clicked block to diamond boots
chance of 10%:
set slot 8 of clicked block to diamond leggings
chance of 10%:
set slot 8 of clicked block to diamond helmet
chance of 35%:
set slot 16 of clicked block to diamond
chance of 35%:
set slot 20 of clicked block to iron boots
chance of 35%:
set slot 23 of clicked block to gold helmet
chance of 100%:
set slot 27 of clicked block to bread
chance of 100%:
set slot 15 of clicked block to apple
chance of 100%:
set slot 23 of clicked block to steak
chance of 35%:
set slot 8 of clicked block to iron chestplate
chance of 35%:
set slot 8 of clicked block to iron boots
chance of 35%:
set slot 8 of clicked block to iron leggings
chance of 35%:
set slot 8 of clicked block to iron helmet
delete {%player%.hg-sure}
hatalı offffffffffffffffffff
olmadı yani :/
 

Secret_wither

Bedrock Kaşifi
En iyi cevaplar
0
ya dur 2dk de yapım hemen acıdım
Edit: Al böyle Olacak
Kod:
on rightclick on chest:
    if {hg-sure.%player%} is not set:
        set {%player%.hg-sure} to 0
        clear inventory of clicked block
        chance of 23%:
            set slot 0 of clicked block to steak
        chance of 23%:
            set slot 6 of clicked block to iron sword
        chance of 23%:
            set slot 10 of clicked block to soup
        chance of 35%:
            set slot 2 of clicked block to stone sword
        chance of 35%:
            set slot 13 of clicked block to lava
        chance of 35%:
            set slot 4 of clicked block to pumpkin pie
        chance of 33%:
            set slot 10 of clicked block to iron boots
        chance of 35%:
            set slot 17 of clicked block to lava bucket
        chance of 35%:
            set slot 23 of clicked block to fish
        chance of 35%:
            set slot 23 of clicked block to stone sword
        chance of 10%:
            set slot 8 of clicked block to diamond chestplate
        chance of 10%:
            set slot 8 of clicked block to diamond boots
        chance of 10%:
            set slot 8 of clicked block to diamond leggings
        chance of 10%:
            set slot 8 of clicked block to diamond helmet
        chance of 35%:
            set slot 16 of clicked block to diamond
        chance of 35%:
            set slot 20 of clicked block to iron boots
        chance of 35%:
            set slot 23 of clicked block to gold helmet
        chance of 100%:
            set slot 27 of clicked block to bread
        chance of 100%:
            set slot 15 of clicked block to apple
        chance of 100%:
            set slot 23 of clicked block to steak
        chance of 35%:
            set slot 8 of clicked block to iron chestplate
        chance of 35%:
            set slot 8 of clicked block to iron boots
        chance of 35%:
            set slot 8 of clicked block to iron leggings
        chance of 35%:
            set slot 8 of clicked block to iron helmet
            wait 300 second
            delete {%player%.hg-sure}
Sorunu:

wait 300 second => Bu eksikti ekledim. Chest 10 dakikada bir dolar.
delete {%player%.hg-sure}
 

Dul Bırakan

Ďℍ₰ ƐXƬΛSY ☠™ //// ƵŦ|☪ Naked™
En iyi cevaplar
0
ya dur 2dk de yapım hemen acıdım
Edit: Al böyle Olacak
Kod:
on rightclick on chest:
    if {hg-sure.%player%} is not set:
        set {%player%.hg-sure} to 0
        clear inventory of clicked block
        chance of 23%:
            set slot 0 of clicked block to steak
        chance of 23%:
            set slot 6 of clicked block to iron sword
        chance of 23%:
            set slot 10 of clicked block to soup
        chance of 35%:
            set slot 2 of clicked block to stone sword
        chance of 35%:
            set slot 13 of clicked block to lava
        chance of 35%:
            set slot 4 of clicked block to pumpkin pie
        chance of 33%:
            set slot 10 of clicked block to iron boots
        chance of 35%:
            set slot 17 of clicked block to lava bucket
        chance of 35%:
            set slot 23 of clicked block to fish
        chance of 35%:
            set slot 23 of clicked block to stone sword
        chance of 10%:
            set slot 8 of clicked block to diamond chestplate
        chance of 10%:
            set slot 8 of clicked block to diamond boots
        chance of 10%:
            set slot 8 of clicked block to diamond leggings
        chance of 10%:
            set slot 8 of clicked block to diamond helmet
        chance of 35%:
            set slot 16 of clicked block to diamond
        chance of 35%:
            set slot 20 of clicked block to iron boots
        chance of 35%:
            set slot 23 of clicked block to gold helmet
        chance of 100%:
            set slot 27 of clicked block to bread
        chance of 100%:
            set slot 15 of clicked block to apple
        chance of 100%:
            set slot 23 of clicked block to steak
        chance of 35%:
            set slot 8 of clicked block to iron chestplate
        chance of 35%:
            set slot 8 of clicked block to iron boots
        chance of 35%:
            set slot 8 of clicked block to iron leggings
        chance of 35%:
            set slot 8 of clicked block to iron helmet
            wait 300 second
            delete {%player%.hg-sure}
Sorunu:

wait 300 second => Bu eksikti ekledim. Chest 10 dakikada bir dolar.
delete {%player%.hg-sure}
olmadı yine sag tıklıo itemleri alıyor bidaha sag tiklio yine item alıyo sınırsız item Qeyf Yapıo Offfffffffffff
 

Dul Bırakan

Ďℍ₰ ƐXƬΛSY ☠™ //// ƵŦ|☪ Naked™
En iyi cevaplar
0
#Secret_wither parasini verdim dedigim gibi yapabilirmissin dedin fakat istedigim gibi yapamadin Ve bana şu an lazım Bunu Yap
 

Pr1sonsoul

Lapis Toplayıcısı
En iyi cevaplar
0
Olum söylemiyim söylemiyim diyorum da bir değişkene bloğun lokasyonunu verip değişken eğer belirlenmemişse(is not set) yapmak bu kadar mı zor ?
Skripterim diye ortalıkta geziniyor çaylaklar.
Amaan neden geliyon mübarek :D Neyse Skript den anlamam ama tıklandığı zaman chest yok olsun 10 DK sonra geri yerine koysun bu kadar mı zor ?
Bence bendeki daha mantıklı usta ^-^ (Ben Skript den ANLAMAM kısmına dikkat PLS :D)
 
Üst