Kod:
command /asdasdasd1:
permission: sk.boss
permission message: &cBunu yapmak icin yetkiniz yok!
trigger:
set {zombie.boss.can} to true
send "&bZombi Boss'un Kaç Canı Olacağını Sohbete Yazınız."
delete {BossCan}
command /asdasdasd2:
permission: sk.boss
permission message: &cBunu yapmak icin yetkiniz yok!
trigger:
set {zombie.boss.sure} to true
send "&bZombi Boss'un Kaç Saniyede 1 Spawnlancağını Sohbete Yazınız."
delete {Boss.sure}
command /bosstime:
permission: sk.boss
permission message: &cBunu yapmak icin yetkiniz yok!
trigger:
send "&b%{boss.time}%"
command /bosstimesifirla:
permission: sk.boss
permission message: &cBunu yapmak icin yetkiniz yok!
trigger:
delete {boss.time}
on load:
if {boss.time} is not set:
delete {boss.time}
kill all zombies
spawn 1 zombie at {boss.dogma.zombie}
set name of spawned zombie to "&0&fKing &f&lZombie"
equip the last spawned zombie with all diamond armor
set maximum health of last spawned zombie to {BossCan}
set health of last spawned zombie to {BossCan}
on chat:
{zombie.boss.can} is true:
cancel event
set {BossCan} to message
send "&b%{BossCan}% Olarak Can Ayarlandı."
set {zombie.boss.can} to false
execute player command "asdasdasd"
stop
{zombie.boss.sure} is true:
cancel event
set {Boss.sure} to message
send "&b%{Boss.sure}% Olarak Süre Ayarlandı."
set {zombie.boss.sure} to false
execute player command "asdasdasd"
stop
command /asdasdasd:
permission: sk.boss
permission message: &cBunu yapmak icin yetkiniz yok!
trigger:
open chest with 1 rows named "&a&l[&4Zombie Boss Ayarları&a&l]" to player
wait a tick
format slot 0 of player with diamond named "&4&lSpawn Yeri" with lore "&bZombinin Doğacağı Yer (sizin durduğunuz nokta[x y z])" to close then run [make player execute command "boss sec zombie"]
format slot 1 of player with diamond named "&4&lCan" with lore "&bZombinin Canını Belirler (Chata Yaz)" to close then run [make player execute command "asdasdasd1"]
format slot 2 of player with diamond named "&4&lSüre" with lore "&bZombinin Süresini Belirler(Saniye) (Chata Yaz)" to close then run [make player execute command "asdasdasd2"]
command /boss [<text>] [<text>]:
permission: sk.boss
permission message: &cBunu yapmak icin yetkiniz yok!
trigger:
arg 1 isn't set:
open chest with 1 rows named "&a&l[&4Boss Ayarları&a&l]" to player
wait a tick
format slot 3 of player with zombie head named "&4&lZombi Boss Öldür" with lore "&bZombi Boss Öldürür." to close then run [make player execute command "boss oldur zombie"]
format slot 4 of player with zombie head named "&4&lZombi Boss Oluştur" with lore "&bZombi Boss Oluşturur." to run [make player execute command "asdasdasd"]
format slot 5 of player with zombie head named "&4&lZombi Boss Spawnla" with lore "&bZombi Boss Spawnlar." to close then run [make player execute command "boss spawn zombie"]
if arg 1 is "sec":
if arg 2 is "zombie":
set {boss.dogma.zombie} to location of player
send " &f&lBelirtilen Nokta Seçildi"
execute player command "asdasdasd"
if arg 1 is "spawn":
if arg 2 is "zombie":
kill all zombies
spawn 1 zombie at {boss.dogma.zombie}
set name of spawned zombie to "&0&fKing &f&lZombie"
equip the last spawned zombie with all diamond armor
set maximum health of last spawned zombie to {BossCan}
set health of last spawned zombie to {BossCan}
send " &f&lBoss spawnlandı"
if arg 1 is "oldur":
if arg 2 is "zombie":
kill all zombies
send " &f&lBoss öldürüldü"
delete {boss.time}
on death of zombie:
name of victim is "&0&fKing &f&lZombie":
clear drops
wait 1 second
drop 1 diamond sword of Sharpness 10 named "&eBoss Kilici" at victim's location
drop 1 diamond helmet of protection 5 named "&eBoss Armor" at victim's location
drop 1 diamond boots of protection 5 named "&eBoss Armor" at victim's location
drop 1 diamond chestplate of protection 5 named "&eBoss Armor" at victim's location
drop 1 diamond leggings of protection 5 named "&eBoss Armor" at victim's location
delete {boss.time}
every 1 second:
add 1 to {boss.time}
if {boss.time} is "%{Boss.sure}%":
kill all zombies
spawn 1 zombie at {boss.dogma.zombie}
set name of spawned zombie to "&0&fKing &f&lZombie"
equip the last spawned zombie with all diamond armor
set maximum health of last spawned zombie to {BossCan}
set health of last spawned zombie to {BossCan}
set {boss.time} to "0"
Son düzenleme: