on leftclick on command block:
if {ay-tasi-guncelleme.%player%} is 1:
set boss bar of player to "&f&lAy Tasi &a%{metin-hp.%player%}% &f/ &c10000"
play 30 of effect "magicCrit" with data 1 at target block
if {metin-hp.%player%} is between -100 and 1:
set targeted block to air
play 100 of effect "reddust" with data 1 at target block
broadcast "&l%player% &eAy Tasini basariyla kirdi!"
drop wood hoe
drop leather chestplate
drop 5 diamond at target block
drop 4 paper named "&f&lKutsal Parsomen" with lore "&7Bu Parsomenle esyanizi||&7gelistirebilirsiniz." at the target block
delete {cikis-sure.%player%}
delete {cikis-sure-2.%player%}
delete {cikis-sure-3.%player%}
delete {cikis-sure-4.%player%}
delete {cikis-sure-5.%player%}
wait 2 seconds
set {metin-hp.%player%} to 10000
delete boss bar of player
wait 1 hours
set block to command block
if {metin-hp.%player%} is between 9900 and 10000:
if {cikis-sure.%player%} is not set:
set {cikis-sure.%player%} to 0
set bar volume of player to 80
play 30 of effect "reddust" with data 1 at target block
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
if {metin-hp.%player%} is between 8900 and 9000:
if {cikis-sure-2.%player%} is not set:
set {cikis-sure-2.%player%} to 0
set bar volume of player to 70
play 30 of effect "reddust" with data 1 at target block
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
if {metin-hp.%player%} is between 6000 and 6100:
if {cikis-sure-3.%player%} is not set:
set {cikis-sure-3.%player%} to 0
set bar volume of player to 40
play 30 of effect "reddust" with data 1 at target block
spawn 1 skeleton at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
equip last spawned entity with skeleton head
spawn 1 skeleton at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
equip last spawned entity with skeleton head
spawn 1 skeleton at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
equip last spawned entity with skeleton head
spawn 1 skeleton at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
equip last spawned entity with skeleton head
spawn 1 skeleton at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
equip last spawned entity with skeleton head
spawn 1 skeleton at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
equip last spawned entity with skeleton head
spawn 1 skeleton at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
equip last spawned entity with skeleton head
spawn 1 skeleton at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
equip last spawned entity with skeleton head
spawn 1 skeleton at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
equip last spawned entity with skeleton head
spawn 1 skeleton at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
equip last spawned entity with skeleton head
if {metin-hp.%player%} is between 3000 and 3100:
if {cikis-sure-4.%player%} is not set:
set {cikis-sure-4.%player%} to 0
set bar volume of player to 20
play 30 of effect "reddust" with data 1 at target block
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
spawn 1 zombie at the target block
set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
equip last spawned entity with zombie head
if {metin-hp.%player%} is between 1000 and 1100:
if {cikis-sure-5.%player%} is not set:
set {cikis-sure-5.%player%} to 0
set bar volume of player to 5
play 30 of effect "reddust" with data 1 at target block
spawn 20 zombie at the target block
spawn 2 giant at the target block
player is holding diamond sword, iron sword, golden sword
tool of the player is enchanted with sharpness 1:
subtract 4 from {metin-hp.%player%}
tool of the player is enchanted with sharpness 2:
subtract 6 from {metin-hp.%player%}
tool of the player is enchanted with sharpness 3:
subtract 8 from {metin-hp.%player%}
tool of the player is enchanted with sharpness 4:
subtract 10 from {metin-hp.%player%}
tool of the player is enchanted with sharpness 5:
subtract 12 from {metin-hp.%player%}
tool of the player is enchanted with sharpness 6:
subtract 14 from {metin-hp.%player%}
tool of the player is enchanted with sharpness 7:
subtract 16 from {metin-hp.%player%}
tool of the player is enchanted with sharpness 8:
subtract 18 from {metin-hp.%player%}
tool of the player is enchanted with sharpness 9:
subtract 20 from {metin-hp.%player%}
tool of the player is enchanted with sharpness 10:
subtract 22 from {metin-hp.%player%}
command /asd:
trigger:
set {metin-hp.%player%} to 100
on rightclick on command block:
cancel event
open chest with 1 rows named " &f&lAy Tasi" to player