- Katılım
- 14 Haziran 2017
- Mesajlar
- 292
- Elmaslar
- 67
- Puanlar
- 13.925
- Minecraft
- SaitoHajim
:mc_276-0:
Hepinize Merhabalar Arkadaşlar
Bugün Yapmış Olduğum Bir Event Türünü Paylaşıyorum.
Detaylı Bilgilendirme Alttaki Videoda Bulunmaktadır.
Ankete Katılmayı Unutmayınız :)
:mc_276-0: :mc_276-0:
Hepinize Merhabalar Arkadaşlar
Bugün Yapmış Olduğum Bir Event Türünü Paylaşıyorum.
Detaylı Bilgilendirme Alttaki Videoda Bulunmaktadır.
Ankete Katılmayı Unutmayınız :)
:mc_276-0: :mc_276-0:
Kod:
#Scripted By SaitoHajim / GamersYT
options:
p: &8&l[&a&lWave-Event&8&l]
mob1: wither skeleton
on skript load:
if {waveevent} isn't set:
set {waveevent} to false
else:
stop
on damage:
if victim is {@mob1}:
if {@mob1}s's name is "&c&lİskelet Kralı":
if attacker is set:
send "&c&lİskelet Kralın Kalan Canı &a&l%victim's health%&c&l♥" to attacker
chance of 10%:
add 10 to the victim's health
strike lightning effect at the victim
chance of 5%:
damage attacker by 5 hearts
chance of 5%:
create a safe explosion of power 10 at the victim
ignite the attacker
chance of 5%:
spawn 35 {@mob1} at victim's location
send "&c&lİskelet Kralı&4&l» &eİşte Ordum Geldi!" to attacker
chance of 5%:
poison the attacker for 5 seconds
chance of 10%:
push the attacker upwards
push the attacker backwards
chance of 5%:
teleport the victim to {wavespawn3}
chance of 2%:
apply health 5 to the victim for 3 second
else:
uncancel event
on death:
if victim is {@mob1}:
if {@mob1}'s name is "&c&lİskelet Kralı":
if attacker is set:
send "{@p} &2&l%attacker% &cİskelet Kralına Son Vuruşu Yaptı!" to all players
clear drops
strike lightning effect at the victim
wait 1 second
drop 128 diamond block at {wavespawn3}
chance of 50%:
give a diamond sword of sharpness 25 and smite 12 and unbreaking 30 named "&c&lİskelet Kralının Kılıcı" with lore "&cİntikam İçin Dünyaya Dönmüş Bir Kralın Kılıcı" to attacker
on death of spider:
if attacker is a player:
if {weventsavas} is true:
add 1 to {toplammob::%attacker%}
stop
on death of zombie:
if attacker is a player:
if {weventsavas} is true:
add 1 to {toplammob::%attacker%}
stop
on death of skeleton:
if attacker is a player:
if {weventsavas} is true:
add 1 to {toplammob::%attacker%}
stop
on death of wither skeleton:
if attacker is a player:
if {weventsavas} is true:
add 1 to {toplammob::%attacker%}
stop
on death of creeper:
if attacker is a player:
if {weventsavas} is true:
add 1 to {toplammob::%attacker%}
stop
on right click with paper:
if name of player's tool is "&4&lWave 1":
if {weventsavas} is true:
if {wavespawn1} and {wavespawn2} and {wavespawn3} and {wavespawn4} and {wavespawn5} is set:
if player has permission "wevent.wave":
remove 1 paper named "&4&lWave 1" from player
send player title "&e1. Dalganın Gelmesine" with subtitle "&b10 &eSaniye"
message "{@p} &e1. Dalganın Gelmesine &b&l10 &e&lSaniye!" to players
wait 7 real seconds
message "{@p} &e1. Dalganın Gelmesine &b&l3" to players
send player title "&e1. Dalganın Gelmesine" with subtitle "&b3"
wait 1 real seconds
message "{@p} &e1. Dalganın Gelmesine &b&l2" to players
send player title "&e1. Dalganın Gelmesine" with subtitle "&b2"
wait 1 real seconds
message "{@p} &e1. Dalganın Gelmesine &b&l1" to players
send player title "&e1. Dalganın Gelmesine" with subtitle "&b1"
wait 1 real seconds
message "{@p} &e1. Dalga Geliyor!" to players
spawn 10 zombie at {wavespawn1}
wait 2 real seconds
spawn 10 zombie at {wavespawn2}
wait 2 real seconds
spawn 10 zombie at {wavespawn3}
wait 2 real seconds
spawn 10 zombie at {wavespawn4}
wait 2 real seconds
spawn 10 zombie at {wavespawn5}
wait 3 real seconds
add 1 paper named "&4&lWave 1 ARA" to player
else:
message "{@p} &c&lBuna Yetkin Yok!"
else:
message "{@p} &c&lDoğma Bölgelerini Ayarlamadın!"
else:
message "{@p} &c&lSavaş Modunu Açmamışsın?"
else:
uncancel event
on right click with paper:
if name of player's tool is "&4&lWave 2":
if {wavespawn1} and {wavespawn2} and {wavespawn3} and {wavespawn4} and {wavespawn5} is set:
if player has permission "wevent.wave":
remove 1 paper named "&4&lWave 2" from player
send player title "&e2. Dalganın Gelmesine" with subtitle "&b10 &eSaniye"
message "{@p} &e2. Dalganın Gelmesine &b&l10 &e&lSaniye!" to players
wait 7 real seconds
message "{@p} &e2. Dalganın Gelmesine &b&l3" to players
send player title "&e2. Dalganın Gelmesine" with subtitle "&b3"
wait 1 real seconds
message "{@p} &e2. Dalganın Gelmesine &b&l2" to players
send player title "&e2. Dalganın Gelmesine" with subtitle "&b2"
wait 1 real seconds
message "{@p} &e2. Dalganın Gelmesine &b&l1" to players
send player title "&e2. Dalganın Gelmesine" with subtitle "&b1"
wait 1 real seconds
message "{@p} &e2. Dalga Geliyor!" to players
spawn 20 zombie at {wavespawn1}
wait 2 real seconds
spawn 10 zombie at {wavespawn2}
wait 2 real seconds
spawn 10 skeleton at {wavespawn3}
wait 2 real seconds
spawn 10 zombie at {wavespawn4}
wait 2 real seconds
spawn 10 spider at {wavespawn5}
wait 3 real seconds
add 1 paper named "&4&lWave 2 ARA" to player
else:
message "{@p} &c&lBuna Yetkin Yok!"
else:
message "{@p} &c&lDoğma Bölgelerini Ayarlamadın!"
else:
uncancel event
on right click with paper:
if name of player's tool is "&4&lWave 3":
if {wavespawn1} and {wavespawn2} and {wavespawn3} and {wavespawn4} and {wavespawn5} is set:
if player has permission "wevent.wave":
remove 1 paper named "&4&lWave 3" from player
send player title "&e3. Dalganın Gelmesine" with subtitle "&b10 &eSaniye"
send "{@p} &e3. Dalganın Gelmesine &b&l10 &e&lSaniye!" to players
wait 7 real seconds
send "{@p} &e3. Dalganın Gelmesine &b&l3" to players
send player title "&e3. Dalganın Gelmesine" with subtitle "&b3"
wait 1 real seconds
send "{@p} &e3. Dalganın Gelmesine &b&l2" to players
send player title "&e3. Dalganın Gelmesine" with subtitle "&b2"
wait 1 real seconds
message "{@p} &e3. Dalganın Gelmesine &b&l1!" to players
send player title "&e3. Dalganın Gelmesine" with subtitle "&b1"
wait 1 real seconds
message "{@p} &e3. Dalga Geliyor!" to players
spawn 20 zombie at {wavespawn1}
wait 2 real seconds
spawn 15 zombie at {wavespawn2}
wait 2 real seconds
spawn 15 skeleton at {wavespawn3}
wait 2 real seconds
spawn 10 creeper at {wavespawn4}
wait 2 real seconds
spawn 15 spider at {wavespawn5}
wait 3 real seconds
add 1 paper named "&4&lWave 3 ARA" to player
else:
message "{@p} &c&lBuna Yetkin Yok!"
else:
message "{@p} &c&lDoğma Bölgelerini Ayarlamadın!"
else:
uncancel event
on right click with paper:
if name of player's tool is "&4&lWave 4 FINAL":
if {wavespawn1} and {wavespawn2} and {wavespawn3} and {wavespawn4} and {wavespawn5} is set:
if player has permission "wevent.wave":
remove 1 paper named "&4&lWave 4 FINAL" from player
send player title "&e4. Dalganın Gelmesine" with subtitle "&b10 &eSaniye"
send "{@p} &e4. Dalganın Gelmesine &b&l10 &e&lSaniye!" to players
wait 7 real seconds
send "{@p} &e4. Dalganın Gelmesine &b&l3" to players
send player title "&e4. Dalganın Gelmesine" with subtitle "&b3"
wait 1 real seconds
send "{@p} &e4. Dalganın Gelmesine &b&l2" to players
send player title "&e4. Dalganın Gelmesine" with subtitle "&b2"
wait 1 real seconds
message "{@p} &e4. Dalganın Gelmesine &b&l1!"
send player title "&e4. Dalganın Gelmesine" with subtitle "&b1"
wait 1 real seconds
message "{@p} &e4. Dalga Geliyor!" to players
spawn 5 {@mob1} at {wavespawn1}
wait 2 real seconds
spawn 5 {@mob1} at {wavespawn2}
wait 2 real seconds
spawn 5 {@mob1} at {wavespawn4}
wait 2 real seconds
spawn 5 {@mob1} at {wavespawn5}
wait 2 real seconds
spawn {@mob1} at {wavespawn3}
set name of spawned {@mob1} to "&c&lİskelet Kralı"
set maximum health of last spawned {@mob1} to 1000
set health of last spawned {@mob1} to 1000
set last spawned {@mob1}'s walking speed to 7
set last spawned {@mob1}'s tool to diamond sword of sharpness 10 and unbreaking 1000
make last spawned {@mob1} wear a diamond helmet of protection 5 and unbreaking 1000
make last spawned {@mob1} wear a diamond chestplate of protection 5 and unbreaking 1000
make last spawned {@mob1} wear a diamond leggings of protection 5 and unbreaking 1000
make last spawned {@mob1} wear a diamond boots of protection 5 and unbreaking 1000
else:
message "{@p} &c&lBuna Yetkin Yok!"
else:
message "{@p} &c&lDoğma Bölgelerini Ayarlamadın!"
else:
uncancel event
on right click with paper:
if name of player's tool is "&4&lWave 1 ARA":
if player has permission "wevent.wave":
remove 1 paper named "&4&lWave 1 ARA" from player
send player title "&e1. Dalga Arası" with subtitle "&b15 &eSaniye"
message "{@p} &e1. Dalga Arası &b&l15 &e&lSaniye!" to players
wait 7 real seconds
message "{@p} &e1. Dalga Arası &b&l3" to players
send player title "&e1. Dalga Arası" with subtitle "&b3"
wait 1 real seconds
message "{@p} &e1. Dalga Arası &b&l2" to players
send player title "&e1. Dalga Arası" with subtitle "&b2"
wait 1 real seconds
message "{@p} &e1. Dalga Arası &b&l1" to players
send player title "&e1. Dalga Arası" with subtitle "&b1"
wait 1 real seconds
message "{@p} &e1. Dalga Arası Bitti!" to players
add 1 paper named "&4&lWave 2" to player
else:
message "{@p} &c&lBuna Yetkin Yok!"
else:
uncancel event
on right click with paper:
if name of player's tool is "&4&lWave 2 ARA":
if player has permission "wevent.wave":
remove 1 paper named "&4&lWave 2 ARA" from player
send player title "&e2. Dalga Arası" with subtitle "&b15 &eSaniye"
message "{@p} &e2. Dalga Arası &b&l15 &e&lSaniye!" to players
wait 7 real seconds
message "{@p} &e2. Dalga Arası &b&l3" to players
send player title "&e2. Dalga Arası" with subtitle "&b3"
wait 1 real seconds
message "{@p} &e2. Dalga Arası &b&l2" to players
send player title "&e2. Dalga Arası" with subtitle "&b2"
wait 1 real seconds
message "{@p} &e2. Dalga Arası &b&l1" to players
send player title "&e2. Dalga Arası" with subtitle "&b1"
wait 1 real seconds
message "{@p} &e2. Dalga Arası Bitti!" to players
add 1 paper named "&4&lWave 3" to player
else:
message "{@p} &c&lBuna Yetkin Yok!"
else:
uncancel event
on right click with paper:
if name of player's tool is "&4&lWave 3 ARA":
if player has permission "wevent.wave":
remove 1 paper named "&4&lWave 3 ARA" from player
send player title "&e3. Dalga Arası" with subtitle "&b15 &eSaniye"
message "{@p} &e3. Dalga Arası &b&l15 &e&lSaniye!" to players
wait 7 real seconds
message "{@p} &e3. Dalga Arası &b&l3" to players
send player title "&e3. Dalga Arası" with subtitle "&b3"
wait 1 real seconds
message "{@p} &e3. Dalga Arası &b&l2" to players
send player title "&e3. Dalga Arası" with subtitle "&b2"
wait 1 real seconds
message "{@p} &e3. Dalga Arası &b&l1" to players
send player title "&e3. Dalga Arası" with subtitle "&b1"
wait 1 real seconds
message "{@p} &e3. Dalga Arası Bitti!" to players
add 1 paper named "&4&lWave 4 FINAL" to player
else:
message "{@p} &c&lBuna Yetkin Yok!"
else:
uncancel event
command wevent [<text>] [<text>] [<integer>]:
trigger:
if arg-1 isn't set:
if player has permission "wevent.izin":
message "&cKullanım Bilgilendirme &a-Yetkili"
message "&a/wevent bölgeayarla <1-5> &eDalgaki Yaratıkların Doğma Bölgesini Ayarlar!"
message "&a/wevent bölgesil <1-5-hepsi> &eDalgaki Yaratıkların Doğma Bölgesini Siler!"
message "&a/wevent <aç/kapat> &eSavaş Modunu Ve Mob-Katletme İşlemesini Aç/Kapat!"
message "&a/wevent ver &eBaşlatma Kağıdını Verir!"
message "&a/wevent bilgi &eWave Event Hakkındaki Bilgi!"
else:
message "&c&lKullanım Bilgilendirme"
message "&a/wevent bilgi &eWave Event Hakkındaki Bilgi!"
else if arg-1 is "bilgi":
message " {@p}"
message "&eBu Eventte 4 Dalgadan Oluşan Yaratık Dalgaları Gelir."
wait 2 real seconds
message "&eHer Dalgadan Sonra 15 Saniye Ara Vardır."
wait 2 real seconds
message "&e4. Dalga Final Dalgasıdır. Boss Ortaya Çıkar."
wait 2 real seconds
message "&eBoss'a Son Vuruşu Yapan Kişiye 50%% Şansla Kılıç Düşer."
wait 2 real seconds
message "&eEn Fazla Mob Katledene Ödül Verilir."
wait 2 real seconds
message "&eÖdül İse Her Eventte Değişir."
message " {@p}"
else if arg-1 is "ver":
if player has permission "wevent.izin":
if player have paper named "&4&lWave 1":
message "{@p} &c&lSende Zaten Kağıt Var!"
else:
add 1 paper named "&4&lWave 1" to player
message "{@p} &e&lBaşlangıç Kağıdı Başarıyla Verildi!"
else:
message "{@p} &c&lBuna Yetkin Yok!"
else if arg-1 is "aç":
if player has permission "wevent.izin":
if {weventsavas} is false:
set {weventsavas} to true
message "{@p} &e&lArtık Kesilen Moblar Puan Olarak Yansıyacaktır."
else:
message "{@p} &c&lSavaş Modu Zaten Açık?"
else:
message "{@p} &c&lBuna Yetkin Yok!"
else if arg-1 is "kapat":
if player has permission "wevent.izin":
if {weventsavas} is true:
set {weventsavas} to false
message "{@p} &e&lArtık Kesilen Moblar Puan Olarak Yansımayacaktır."
delete {toplammob::*}
else:
message "{@p} &c&lSavaş Modu Zaten Kapalı?"
else:
message "{@p} &c&lBuna Yetkin Yok!"
else if arg-1 is "bölgeayarla":
if player has permission "wevent.izin":
if arg-2 isn't set:
message "{@p} &e&lBütün Bölgeleri Ayarlamalısın! Hepsini Ayarlamalısın!"
else if arg-2 is "1":
set {wavespawn1} to player's location
message "{@p} &e&l1. Doğma Bölgesi Başarıyla Ayarlandı!"
else if arg-2 is "2":
set {wavespawn2} to player's location
message "{@p} &e&l2. Doğma Bölgesi Başarıyla Ayarlandı!"
else if arg-2 is "3":
set {wavespawn3} to player's location
message "{@p} &e&l3. Doğma Bölgesi Başarıyla Ayarlandı!"
else if arg-2 is "4":
set {wavespawn4} to player's location
message "{@p} &e&l4. Doğma Bölgesi Başarıyla Ayarlandı!"
else if arg-2 is "5":
set {wavespawn5} to player's location
message "{@p} &e&l5. Doğma Bölgesi Başarıyla Ayarlandı!"
else:
message "{@p} &c&lBuna Yetkin Yok!"
else if arg-1 is "bölgesil":
if player has permission "wevent.izin":
if arg-2 isn't set:
message "{@p} &e&l<1-5-hepsi> 1 İle 5 Arasında İsteğini Seçip Silebilirsin Ya Da Hepsini Tekde Silebilirsin!"
else if arg-2 is "1":
delete {wavespawn1}
message "{@p} &e&lBaşarıyla 1. Doğum Bölgesi Silindi!"
else if arg-2 is "2":
delete {wavespawn2}
message "{@p} &e&lBaşarıyla 2. Doğum Bölgesi Silindi!"
else if arg-2 is "3":
delete {wavespawn3}
message "{@p} &e&lBaşarıyla 3. Doğum Bölgesi Silindi!"
else if arg-2 is "4":
delete {wavespawn4}
message "{@p} &e&lBaşarıyla 4. Doğum Bölgesi Silindi!"
else if arg-2 is "5":
delete {wavespawn5}
message "{@p} &e&lBaşarıyla 5. Doğum Bölgesi Silindi!"
else if arg-2 is "hepsi":
delete {wavespawn1}
delete {wavespawn2}
delete {wavespawn3}
delete {wavespawn4}
delete {wavespawn5}
message "{@p} &e&lBaşarıyla Bütün Doğum Bölgeleri Silindi!"
else:
message "{@p} &c&lBuna Yetkin Yok!"
else if arg-1 is "sıralama":
loop {toplammob::*}:
add 1 to {_size}
if {_low.to.high.list::%loop-value%} is not set:
set {_low.to.high.list::%loop-value%} to loop-index
else:
set {_n} to 0
loop {_size} times:
set {_n} to {_n}+1
{_low.to.high.list::%loop-value-1%.%{_n}%} is not set
set {_low.to.high.list::%loop-value-1%.%{_n}%} to loop-index
stop loop
wait 1 tick
set {_n} to size of {_low.to.high.list::*}
loop {_low.to.high.list::*}:
set {_high.to.low.list::%{_n}%} to loop-value
set {_n} to {_n}-1
wait 1 tick
open virtual chest with size 4 named "Mob-Katletme Sıralama" to player
make gui slot 32 of player with fire charge named "&aYenile" with lore "&7Sayfayı yenilemek için tıklayın" to close then run player command "wevent sıralama"
make gui slot 30 of player with book named "&aSenin Mob-Katletme Puanın" with lore "&7Mob-Katletme: &f%{toplammob::%player%}%" to nothing
loop {_high.to.low.list::*}:
add 1 to {_result}
make gui slot ({_result}-1) of player with skull of ("%loop-value%" parsed as offline player) named "&a&l%{_result}%. &e%loop-value% &7(%{toplammob::%loop-value%}%)" to nothing
if {_result} is 26:
stop