AloneX#1832
options:
p: &3MetinTaşı &6»
command /tasayarla:
trigger:
executor has permission "admin":
targeted block is obsidian:
{tas::%location of targeted block%} isn't set:
set {tas::%location of targeted block%} to location of targeted block
set {tas::can} to 500
set {mt} to location of targeted block
send "{@p} &aObsidian metin taşına çevirildi"
else:
delete {tas::%location of targeted block%}
send "{@p} &cBaktığın metin taşı artık metin taşı değil !"
else:
send "{@p} &cBunu yapabilmen için bir obsidiana bakman gerekiyor"
break:
event-block is obsidian:
{tas::%location of targeted block%} is set:
player's tool is diamond pickaxe of efficiency 5:
add 1 to {taskırma::%player%}
remove 1 from {tas::can}
send "{@p} &aMetin taşının canı&8: &e%{tas::can}%&4"
cancel event
{taskırma::%player%} is equal to 500:
give 640 diamond block to player
remove 1 from {tas::can}
execute command "dspver %player% 1"
wait a second
set {taskırma::%player%} to 0
send "{@p} &aTebrikler,500 kere metin taşı kırdğın için ödüllendirildin !"
else if {tas::can} is equal to 0:
wait 2 ticks
send "{@p} &eTebrikler metin taşını kırdın !"
set {tas::can} to 500
broadcast "{@p} &a%player% adlı oyuncu metin taşı kırdı !%nl%{@p} &a3 dakika sonra otomatik olarak tekar çıkacak !"
set {beklenen.zaman} to 3
cancel event
set block to air
send "{@p} &eBüyük ödüle kalan &8(&a%{taskırma::%player%}%&8/&a500&8)"
else:
cancel event
send "{@p} &cBu taşı kırabilmek için verimlilik 5 elmas kazma gerekiyor !"
every 1 minute:
{beklenen.zaman} is set:
remove 1 from {beklenen.zaman}
{beklenen.zaman} is 0:
loop blocks within {mt} to {mt}:
set block at loop-block to obsidian
delete {beklenen.zaman}
broadcast "{@p} &aMetin taşı tekrar oluştu !"
tm bıda arastırırım saolBunları forumda araştırarak bulabilirsin. MC-TR Platforumu üzerinde bulamayacağın hiçbir şey yok neredeyse fakat yinede bunu kullanabilirsin.
Kod:options: p: &3MetinTaşı &6» command /tasayarla: trigger: executor has permission "admin": targeted block is obsidian: {tas::%location of targeted block%} isn't set: set {tas::%location of targeted block%} to location of targeted block set {tas::can} to 500 set {mt} to location of targeted block send "{@p} &aObsidian metin taşına çevirildi" else: delete {tas::%location of targeted block%} send "{@p} &cBaktığın metin taşı artık metin taşı değil !" else: send "{@p} &cBunu yapabilmen için bir obsidiana bakman gerekiyor" break: event-block is obsidian: {tas::%location of targeted block%} is set: player's tool is diamond pickaxe of efficiency 5: add 1 to {taskırma::%player%} remove 1 from {tas::can} send "{@p} &aMetin taşının canı&8: &e%{tas::can}%&4" cancel event {taskırma::%player%} is equal to 500: give 640 diamond block to player remove 1 from {tas::can} execute command "dspver %player% 1" wait a second set {taskırma::%player%} to 0 send "{@p} &aTebrikler,500 kere metin taşı kırdğın için ödüllendirildin !" else if {tas::can} is equal to 0: wait 2 ticks send "{@p} &eTebrikler metin taşını kırdın !" set {tas::can} to 500 broadcast "{@p} &a%player% adlı oyuncu metin taşı kırdı !%nl%{@p} &a3 dakika sonra otomatik olarak tekar çıkacak !" set {beklenen.zaman} to 3 cancel event set block to air send "{@p} &eBüyük ödüle kalan &8(&a%{taskırma::%player%}%&8/&a500&8)" else: cancel event send "{@p} &cBu taşı kırabilmek için verimlilik 5 elmas kazma gerekiyor !" every 1 minute: {beklenen.zaman} is set: remove 1 from {beklenen.zaman} {beklenen.zaman} is 0: loop blocks within {mt} to {mt}: set block at loop-block to obsidian delete {beklenen.zaman} broadcast "{@p} &aMetin taşı tekrar oluştu !"
Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!