Yardım Boss skript doğmuyor

Sorcha0747

Taş Madencisi
Mesajlar
80
En iyi cevaplar
1
Beğeniler
11
Puanları
70
Ruh hali
Merhaba sorun tam olarak şu şimdi boss doğuyor ama bossun doğması için bossun doğcağı dünyada bir oyuncu olması lazım mesala boss doğması için pvpmaden dünyasını seçtim bossun doğma zamanı gelince eger oyuncu lapis dünyasında ise chatta kingwars boss doğdu yazıyor ama warp bossa gidiyorum boss doğmamış çözermisiniz
Kod:
options:
    prefix: &3Factions &8>

command /boss [<text>] [<text>]:
    permission: sk.boss
    permission message: &cBunu yapmak icin yetkiniz yok!
    trigger:
        if arg 1 is not set:
            send "&a/boss" to player
        if arg 1 is "sec":
            if arg 2 is "Cabbar":
                set {boss.dogma.cabbar} to location of player
                send " {@prefix} &aCabbar &badlı bosun dogma yeri secildi!"
            if arg 2 is "zombie":
                set {boss.dogma.yorgo} to location of player
                send " {@prefix} &aYorgo &badlı bosun dogma yeri secildi!"
        if arg 1 is "spawn":
            if arg 2 is "Yorgo":
                loop all entities in radius 50 of {boss.dogma.yorgo}:
                    if loop-entity's name is "&6&lKing Wars Boss":
                        set {_iptal} to true
                        stop loop
                if {_iptal} is set:
                    send "&7Yakında bir boss olduğu için boss spawnlanamadı."
                    stop
                spawn 1 zombie at {boss.dogma.yorgo}
                set name of spawned zombie to "&6&lKing Wars Boss"
                set maximum health of last spawned zombie to 500
                set health of last spawned zombie to 500
                set last spawned zombie's walking speed to 7
                set last spawned zombie's tool to diamond sword of sharpness 4 and unbreaking 1000
                make last spawned zombie wear a diamond helmet of protection 4 and unbreaking 1000
                make last spawned zombie wear a diamond chestplate of protection 4 and unbreaking 1000
                make last spawned zombie wear a diamond leggings of protection 4 and unbreaking 1000
                make last spawned zombie wear a diamond boots of protection 4 and unbreaking 1000
                broadcast "{@prefix} &aKing Wars Boss &eBasarıyla dogdu bossu öldüren kişi ödüllendirilecektir &aCan: &c500*"
            if arg 2 is "Cabbar":
                loop all entities in radius 50 of {boss.dogma.cabbar}:
                    if loop-entity's name is "&6&lKing Wars Boss":
                        set {_iptal} to true
                        stop loop
                if {_iptal} is set:
                    send "&7Yakında bir boss olduğu için boss spawnlanamadı."
                    stop
                spawn 1 skeleton at {boss.dogma.cabbar}
                set name of spawned skeleton to "&6&lKing Wars Boss"
                set maximum health of last spawned skeleton to 1024
                set health of last spawned skeleton to 1024
                set last spawned skeleton's walking speed to 10
                set last spawned skeleton's tool to bow of power 5 and unbreaking 1000
                make last spawned skeleton wear a diamond chestplate of protection 4 and unbreaking 1000
                make last spawned skeleton wear a diamond leggings of protection 4 and unbreaking 1000
                make last spawned skeleton wear a diamond boots of protection 4 and unbreaking 1000
                broadcast "{@prefix} &aKing Wars Boss &eBasarıyla dogdu bossu öldüren kişi ödüllendirilecektir &aCan: &c1.024*"               

    
on death of zombie:
    attacker is a player
    victim is a zombie
    attacker's world is "pvpmaden":
        victim's name is "&6&lKing Wars Boss":
            clear drops
            execute console command "cc give p blok 2 %attacker%"
            execute console command "cc give p para 2 %attacker%"
            execute console command "eco give %attacker% 4000000"
            broadcast "{@prefix} &a%attacker% &eAdlı oyuncu &aKing Wars Boss &eöldürerek ödülleri kazandı"
            wait 3 second
            broadcast "{@prefix} &aKing Wars Boss &A20dakika &ESonra tekrar doğacaktır"
            
on death of skeleton:
    attacker is a player
    victim is a skeleton
    attacker's world is "pvpmaden":
        victim's name is "&6&lKing Wars Boss":
            clear drops
            execute console command "cc give p blok 2 %attacker%"
            execute console command "eco give %attacker% 2000000"
            broadcast "{@prefix} &a%attacker% &eAdlı oyuncu &AKing Wars Boss &Eöldürerek ödülleri kazandı"
            wait 3 second
            broadcast "{@prefix} &AKing Wars Boss &A2SAAT &ESonra tekrar doğacaktır"
    
            
on damage of entity:
    attacker is a player
    victim is a zombie
    attacker's world is "pvpmaden":
        victim's name is "&6&lKing Wars Boss":
            send "{@prefix} &AKing Wars Boss &EKalan Canı &C%health of victim%*" to attacker
            chance of 15%:
                add 50 to health of entity
            chance of 30%:
                push the attacker upward at speed 4


                
on damage of entity:
    attacker is a player
    victim is a skeleton
    attacker's world is "pvpmaden":
        victim's name is "&6&lKing Wars Boss":
            send "{@prefix} &AKing Wars Boss &EKalan Canı &C%health of victim%*" to attacker
            chance of 15%:
                add 50 to health of entity
            chance of 30%:
                push the attacker upward at speed 4


            
every 20 minutes:
    execute console command "boss spawn Yorgo"
 


COBBLEMC

Marangoz
Mesajlar
42
En iyi cevaplar
2
Beğeniler
5
Puanları
70
O Dünyada olmadan komut ile doğurmayı dener misin ayrıca difficulty'i kontrol eder misin ?
 

Üst