HakanK1905
Odunlara Vur Vur Vur!
- Katılım
- 7 Haziran 2017
- Mesajlar
- 27
- Elmaslar
- 4
- Puan
- 13.210
- Yaş
- 28
Ben demir sp vermesi için ayarladım ve veriyor fakat 1 tanede sünger vermesini istiyorum bide yapabilirseniz &6&l[&4&lMetintaşı&6&l] yazılı bir blaze rod versin.
Kod:
options:
p: &3MetinTasi &6»
command /tasayarla:
trigger:
executor has permission "admin":
targeted block is sponge:
{tas::%location of targeted block%} isn't set:
set {tas::%location of targeted block%} to location of targeted block
set {tas::can} to 150
set {mt} to location of targeted block
send "{@p} &aSunger metin tasina cevirildi"
else:
delete {tas::%location of targeted block%}
send "{@p} &cBaktığın metin taşı artık metin taşı değil !"
else:
send "{@p} &cBunu yapabilmen icin bir sungere bakman gerekiyor"
break:
event-block is sponge:
{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 tasinin cani&8: &e%{tas::can}%"
cancel event
{taskırma::%player%} is equal to 150:
execute console command "sp ver demir 1 %player%"
remove 1 from {tas::can}
wait a second
set {taskırma::%player%} to 0
send "{@p} &aTebrikler,150 kere metin tasi kirdigin icin odullendirildin !"
else if {tas::can} is equal to 0:
wait 2 ticks
send "{@p} &eTebrikler metin tasini kırdın !"
set {tas::can} to 150
broadcast "{@p} &a%player% adlı oyuncu metin tasi kirdi !%nl%{@p} &a3 dakika sonra otomatik olarak tekar çıkacak !"
set {beklenen.zaman} to 3
set block to air
send "{@p} &eBuyuk odule kalan &8(&a%{taskırma::%player%}%&8/&a150&8)"
every 1 minute:
{beklenen.zaman} is set:
remove 1 from {beklenen.zaman}
{beklenen.zaman} is less than 1:
loop blocks within {mt} to {mt}:
set block at loop-block to sponge
delete {beklenen.zaman}
broadcast "{@p} &aMetin tasi tekrar olustu !"