Orco
Yay Yok, İskelet Yok
- Katılım
- 2 Aralık 2017
- Mesajlar
- 283
- Elmaslar
- 62
- Puan
- 13.680
- Yaş
- 27
Discord:
orcununal#5644
Çantayı yere koyup aniden esc yapınca eşyalar siliniyor forumdan aldım skripti yardım edin :(
Kod:
on drop of chest:
player's world is "conconcraft":
tool's name is "&e&lÖzel Çanta":
cancel event
else:
stop
on place of chest:
player's world is "conconcraft":
tool's name is "&e&lÖzel Çanta":
cancel event
on rightclick with chest:
player's world is "conconcraft":
tool's name is "&e&lÖzel Çanta":
open chest with 6 row named "&e&lÖzel Çanta" to player
set {c.cc.%player%} to true
wait 5 tick
loop {c.canta1::%player%::*}:
add loop-value to slot loop-index parsed as integer of current inventory of player
on inventory close:
if player's world is "conconcraft":
if {c.cc.%player%} is true:
clear {c.canta1::%player%::*}
set {c.cc.%player%} to false
loop 250 times:
set {c.canta1::%player%::%loop-number - 1%} to slot "%loop-number - 1%" parsed as an integer of current inventory of player
command /canta [<text>]:
trigger:
if player's world is "conconcraft":
if argument is not set:
send "&7[&c&lIors&f&lNetwork&7] &e» &aKullanım &b: &e/canta al"
if arg 1 is "al":
if player's balance is bigger than 99:
remove 100 from player's balance
give chest named "&e&lÖzel Çanta" to player
send "&7[&c&lIors&f&lNetwork&7] &e» &aÇanta 100 dolara alindi!"
else:
send "&7[&c&lIors&f&lNetwork&7] &e» &aYetersiz bakiye"
else:
send "&7[&c&lIors&f&lNetwork&7] &e» &aBu komut ConconCraft sunucusuna ozeldir, bu komutu /conconcraft 'da Kullan"