raderde 1
raderde
Cannn6161 1
Cannn6161
noisiv 1
noisiv
Manwe Work 1
Manwe Work
Mt2Hizmet 1
Mt2Hizmet
melankolıa18 1
melankolıa18
romegames 1
romegames
Krutzo 1
Krutzo
shrpnl 1
shrpnl
Hikaye Ekle
Reklam vermek için turkmmo@gmail.com

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

azrailkadir27

Moderatör
TM Üye
Katılım
17 Nis 2011
Konular
2,171
Mesajlar
6,362
Çözüm
45
Reaksiyon Skoru
1,041
Altın Konu
0
TM Yaşı
15 Yıl 1 Ay 22 Gün
Başarım Puanı
340
MmoLira
1,054
DevLira
0
Ticaret - 0%
0   0   0

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]
 
Paylaşım için teşekkürler.
 
Teşekkürler.
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst