Çok eski bir web tarayıcısı kullanıyorsunuz. Bu veya diğer siteleri görüntülemekte sorunlar yaşayabilirsiniz.. Tarayıcınızı güncellemeli veya alternatif bir tarayıcı kullanmalısınız.
ROHAN2 WORLD 1-120 TR TİPİ OFFICIAL YOHARA, BALATHOR VE AMON! 80. GÜNÜNDE! +10.000 ONLİNE! HİLE VE BOT %100 ENGELLİ HEMEN TIKLA!
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.
[CODE title="Kodlar"]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[/CODE]