Weak
Zombi Katili
- Mesajlar
- 203
- En iyi cevaplar
- 0
- Beğeniler
- 29
- Puanları
- 0
Altta gördüğünüz skript'te taş'ı ayarlıyorsun ve taş ayarlandıktan sonra kırılıyor 20 kere kırınca taş gidiyor ve ayarlanan itemler düşüyor.Bu blok belirli zamanlarda location değiştirecek bunu nasıl ayarlayabilirim.
PHP:
options:
Prefix: &6&lMETINTAŞI &f&l>&7
command /taşayarla:
trigger:
if player has permission "taş.admin":
if targeted block is obsidian:
if {ozeltas::%location of targeted block%} is not set:
set {_loc} to location of targeted block
set {ozeltas::%{_loc}%} to {_loc}
send "{@Prefix} Önünüzdeki obsidyen artık metintaşı, metintaşının özelliğini kaldırmak için /taşayarla yazabilirsin."
stop
else if {ozeltas::%location of targeted block%} is set:
clear {ozeltas::%location of targeted block%}
send "{@Prefix} Önünüzdeki obsidyen artık metintaşı değil, tekrar metintaşı yapmak için /taşayarla yazabilirsin."
else:
send "{@Prefix} Bunu kullanabilmek için bir obsidyene bakman gerek!"
else:
send "{@Prefix} Bunun için iznin yok"
on break of obsidian:
if {ozeltas::%location of event-block%} is set:
if {ozeltas::can} is equal to 20:
send "&f[&a%{ozeltas::can}% &7x &c❤&f]"
remove 1 from {ozeltas::can}
cancel event
stop
else if {ozeltas::can} is equal to 19:
send "&f[&a%{ozeltas::can}% &7x &c❤&f]"
remove 1 from {ozeltas::can}
cancel event
stop
else if {ozeltas::can} is equal to 18:
send "&f[&a%{ozeltas::can}% &7x &c❤&f]"
remove 1 from {ozeltas::can}
cancel event
stop
else if {ozeltas::can} is equal to 17:
send "&f[&a%{ozeltas::can}% &7x &c❤&f]"
remove 1 from {ozeltas::can}
cancel event
stop
else if {ozeltas::can} is equal to 16:
send "&f[&a%{ozeltas::can}% &7x &c❤&f]"
remove 1 from {ozeltas::can}
cancel event
stop
else if {ozeltas::can} is equal to 15:
send "&f[&a%{ozeltas::can}% &7x &c❤&f]"
remove 1 from {ozeltas::can}
spawn 3 zombie at event-block
cancel event
stop
else if {ozeltas::can} is equal to 14:
send "&f[&a%{ozeltas::can}% &7x &c❤&f]"
remove 1 from {ozeltas::can}
cancel event
stop
else if {ozeltas::can} is equal to 13:
send "&f[&a%{ozeltas::can}% &7x &c❤&f]"
remove 1 from {ozeltas::can}
cancel event
stop
else if {ozeltas::can} is equal to 12:
send "&f[&a%{ozeltas::can}% &7x &c❤&f]"
remove 1 from {ozeltas::can}
cancel event
stop
else if {ozeltas::can} is equal to 11:
send "&f[&a%{ozeltas::can}% &7x &c❤&f]"
remove 1 from {ozeltas::can}
cancel event
stop
else if {ozeltas::can} is equal to 10:
send "&f[&a%{ozeltas::can}% &7x &c❤&f]"
remove 1 from {ozeltas::can}
cancel event
spawn 3 zombie at event-block
stop
else if {ozeltas::can} is equal to 9:
send "&f[&a%{ozeltas::can}% &7x &c❤&f]"
remove 1 from {ozeltas::can}
cancel event
stop
else if {ozeltas::can} is equal to 8:
send "&f[&a%{ozeltas::can}% &7x &c❤&f]"
remove 1 from {ozeltas::can}
cancel event
stop
else if {ozeltas::can} is equal to 7:
send "&f[&a%{ozeltas::can}% &7x &c❤&f]"
remove 1 from {ozeltas::can}
cancel event
stop
else if {ozeltas::can} is equal to 6:
send "&f[&a%{ozeltas::can}% &7x &c❤&f]"
remove 1 from {ozeltas::can}
cancel event
stop
else if {ozeltas::can} is equal to 5:
send "&f[&a%{ozeltas::can}% &7x &c❤&f]"
remove 1 from {ozeltas::can}
cancel event
spawn 6 zombie at event-block
stop
else if {ozeltas::can} is equal to 4:
send "&f[&a%{ozeltas::can}% &7x &c❤&f]"
remove 1 from {ozeltas::can}
cancel event
stop
else if {ozeltas::can} is equal to 3:
send "&f[&a%{ozeltas::can}% &7x &c❤&f]"
remove 1 from {ozeltas::can}
cancel event
spawn 6 zombie at event-block
stop
else if {ozeltas::can} is equal to 2:
send "&f[&a%{ozeltas::can}% &7x &c❤&f]"
remove 1 from {ozeltas::can}
cancel event
spawn 9 zombie at event-block
stop
else if {ozeltas::can} is equal to 1:
send "&f[&a%{ozeltas::can}% &7x &c❤&f]"
remove 1 from {ozeltas::can}
cancel event
spawn 12 zombie at event-block
stop
else if {ozeltas::can} is equal to 0:
send "&f[&a%{ozeltas::can}% &7x &c❤&f]"
drop 2 diamond
drop 4 iron ingot
drop 5 redstone
drop 1 coal block
set {ozeltas::can} to 20
clear {ozeltas::%location of targeted block%}
stop
set {ozeltas::can} to 20