command /slayers: trigger: if {combatxpbuff.%player%} is not set: set {combatxpbuff.%player%} to 1 set {lvl6check.%player%} to "&c&lX &cLVL 6" set {tier7check.%player%} to "&c&lX &cLVL 7" set {highestrevslayer.%player%} to "&aTier I" set {zombieslayer.lvl.%player%} to "&e1" set metadata tag "bosses" of player to chest inventory with 4 rows named "BossesXS" set slot 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40 of metadata tag "bosses" of player to black stained glass pane named "&7" with lore "&7" set slot 10 of metadata tag "bosses" of player to rotten flesh named "&eRevenant Horror" with lore "&7Abhorrent Zombie stuck", "&7between life and death for", "&7an eternity.", "", "&7Zombie Slayer: &eLVL %{zombieslayer.lvl.%player%}%", "" and "&eClick to view boss!" set slot 11 of metadata tag "bosses" of player to coal block named "&cNot released yet!" with lore "&7This boss is still in" and "&7development!" set slot 12 of metadata tag "bosses" of player to coal block named "&cNot released yet!" with lore "&7This boss is still in" and "&7development!" set slot 13 of metadata tag "bosses" of player to coal block named "&cNot released yet!" with lore "&7This boss is still in" and "&7development!" set slot 14 of metadata tag "bosses" of player to coal block named "&cNot released yet!" with lore "&7This boss is still in" and "&7development!" set slot 15 of metadata tag "bosses" of player to coal block named "&cNot released yet!" with lore "&7This boss is still in" and "&7development!" set slot 16 of metadata tag "bosses" of player to coal block named "&cNot released yet!" with lore "&7This boss is still in" and "&7development!" set slot 28 of metadata tag "bosses" of player to red dye named "&cAuto-Slayer" with lore "&7Upon defeating a boss,", "&aautomatically &7completes the", "&7quest and starts another of the", "&7same type if you have enough", "&6coins &7in your purse or bank.", "" and "&cRequires LVL 6 in all bosses" set slot 29 of metadata tag "bosses" of player to experience bottle named "&bSlayer Leaderboards" with lore "&8Ultimate bragging rights", "" and "&7Revenant Horror: &cComing Soon" set slot 30 of metadata tag "bosses" of player to clock named "&aRandom Slayer Quest" with lore "&8Extra Rewards", "", "&7Start a slayer quest for a", "&7random boss.", "", "&7Quests started this way reward", "&7more items and &dXP&7.", "" and "&cSlay all Tier III bosses to unlock!" set slot 31 of metadata tag "bosses" of player to barrier named "&cClose" set slot 32 of metadata tag "bosses" of player to wheat named "&aGlobal Combat XP Buff" with lore "&8Slayer Bonus", "", "&7Total buff: &b+%{combatxpbuff.%player%}%%% Combat XP", "", "&7Earn extra Combat XP based on", "&7your unique slayer boss kills.", "", "&8Highest slain tiers", "&7Revenant Horror: %{highestrevslayer.%player%}%", "", "&7Tier I, II, III grants &b+1%% XP&7." and "&7Tier IV grants &b+2%% Combat XP&7." set slot 33 of metadata tag "bosses" of player to powered rail named "&aSlayer Bonus Rewards" with lore "&7Unlock bonuses by reaching a", "&7LVL on all bosses.", "", "%{lvl6check.%player%}%", "&7Earn &a+3 &7of any boss's main", "&7token drop when slaying its", "&7mini-bosses.", "", "%{tier7check.%player%}%" and "&7Slayers are &64%% cheaper&7." open (metadata tag "bosses" of player) to player on inventory click: if event-inventory = (metadata tag "revenanthorror" of player): cancel event if index of event-slot is 11: if player's balance is greater or equal to 1000: send "&2&lQUEST STARTED! &aSlay 20 zombies!" set {zombiesslayed.%player%} to 20 remove 1000 from player's balance else: send "&cYou do not have the required coins to start this slayer!" if index of event-slot is 12: if player's balance is greater or equal to 7500: send "&2&lQUEST STARTED! &aSlay 100 zombies!" set {zombiesslayed2.%player%} to 100 remove 7500 from player's balance else: send "&cYou do not have the required coins to start this slayer!" if index of event-slot is 13: if player's balance is greater or equal to 20000: send "&2&lQUEST STARTED! &aSlay 500 zombies!" set {zombiesslayed3.%player%} to 500 remove 20000 from player's balance else: send "&cYou do not have the required coins to start this slayer!" if index of event-slot is 49: open (metadata tag "bosses" of player) to player if event-inventory = (metadata tag "bosses" of player): cancel event if index of event-slot is 31: close player's inventory if index of event-slot is 10: set metadata tag "revenanthorror" of player to chest inventory with 6 rows named "Revanent Horror" set slot 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54 of metadata tag "revenanthorror" of player to black stained glass pane named "&7" with lore "&7" set slot 11 of metadata tag "revenanthorror" of player to rotten flesh named "&aRevenant Horror I" with lore "&8Beginner", "", "&7Health: &c500", "&7Damage: &c15 &7per second", "", "&cLife Drain", "&7Drains health every few seconds.", "", "&7Reward: &d6 Zombie Slayer XP", " &8+ Boss drops", "", "&7Cost to start: &61,000 coins", "" and "&eClick to slay!" set slot 12 of metadata tag "revenanthorror" of player to rotten flesh named "&eRevenant Horror II" with lore "&8Strong", "", "&7Health: &c20,000", "&7Damage: &c25 &7per second", "", "&cLife Drain", "&7Drains health every few seconds.", "", "&aPestilence", "&7Deals AOE damage every second,", "&7shredding armor by 25%%.", "", "&7Reward: &d25 Zombie Slayer XP", " &8+ Boss drops", "", "&7Cost to start: &67,500", "" and "&eClick to start" set slot 13 of metadata tag "revenanthorror" of player to rotten flesh named "&cRevenant Horror III" with lore "&8Challenging", "", "&7Health: &c400,000", "&7Damage: &c120 &7per second", "", "&cLife Drain", "&7Drains health every few seconds.", "", "&aPestilence", "&7Deals AOE damage every second,", "&7shredding armor by 25%%.", "", "&cEnrage", "&7Gets real mad once in a while.", "", "&7Reward: &d100 Zombie Slayer XP", " &8+ Boss drops", "", "&7Cost to start: &620,000", "" and "&eClick to start" set slot 14 of metadata tag "revenanthorror" of player to coal block named "&cComing Soon" with lore "&cThis slayer is coming soon!" set slot 15 of metadata tag "revenanthorror" of player to coal block named "&cComing Soon" with lore "&cThis slayer is coming soon!" set slot 28 of metadata tag "revenanthorror" of player to gold block named "&5Boss Leveling Rewards" with lore "&cComing Soon" set slot 30 of metadata tag "revenanthorror" of player to gold nugget named "&6Boss Drops" with lore "&cComing Soon" set slot 32 of metadata tag "revenanthorror" of player to book named "&aSlayer Recipes" with lore "&cComing Soon" set slot 34 of metadata tag "revenanthorror" of player to painting named "&dRNGesus Meter" with lore "&cComing Soon" set slot 49 of metadata tag "revenanthorror" of player to arrow named "&aGo Back" with lore "&7To Slayer" open (metadata tag "revenanthorror" of player) to player on death of zombie: if attacker is a player: if {zombiesslayed.%attacker%} > 0: set {zombiesslayed.%attacker%} to {zombiesslayed.%attacker%} - 1 if {zombiesslayed.%attacker%} is less than or equal to 0: send "&c&lWARNING! &cYour boss is spawning in 3 seconds!" to attacker wait 3 seconds spawn zombie above the attacker equip last spawned zombie with diamond chestplate equip last spawned zombie with diamond sword equip last spawned zombie with leather leggings equip last spawned zombie with leather boots apply speed to last spawned zombie for 1000000 days apply strength to last spawned zombie for 1000000 days set health of last spawned zombie to 500 heal last spawned zombie set name of last spawned zombie to "&aRevenant Horror I" delete {zombiesslayed.%attacker%} if name of victim is "&aRevenant Horror I": cancel drops drop 5 rotten flesh of unbreaking 1 named "&aRevenant Flesh" with lore "&a&lUNCOMMON" send "&c&lBOSS DOWN! &cYou just killed a Revenant Horror Tier I!" to attacker send " &d+6 Zombie Slayer EXP" to attacker add 6 to {zombieslayerexp.%attacker%} if {zombiesslayed2.%attacker%} > 0: set {zombiesslayed2.%attacker%} to {zombiesslayed2.%attacker%} - 1 if {zombiesslayed2.%attacker%} is less than or equal to 0: send "&c&lWARNING! &cYour boss is spawning in 3 seconds!" to attacker wait 3 seconds spawn zombie above the attacker equip last spawned zombie with diamond chestplate equip last spawned zombie with diamond sword equip last spawned zombie with leather leggings equip last spawned zombie with leather boots apply speed to last spawned zombie for 1000000 days apply strength to last spawned zombie for 1000000 days set health of last spawned zombie to 20000 heal last spawned zombie set name of last spawned zombie to "&eRevenant Horror II" delete {zombiesslayed2.%attacker%} if name of victim is "&eRevenant Horror II": cancel drops drop 15 rotten flesh of unbreaking 1 named "&aRevenant Flesh" with lore "&a&lUNCOMMON" send "&c&lBOSS DOWN! &cYou just killed a Revenant Horror Tier II!" to attacker send " &d+25 Zombie Slayer EXP" to attacker add 25 to {zombieslayerexp.%attacker%} if {zombiesslayed3.%attacker%} > 0: set {zombiesslayed3.%attacker%} to {zombiesslayed3.%attacker%} - 1 if health of victim >= 350000: send "&c&lENRAGE INCOMING! &cYour boss is now enraged! &7&o(Continue killing it!!!)" set victim's helmet to iron helmet set victim's chestplate to netherite chestplate set victim's boots to diamond boots set victim's leggings to diamond leggings if health of victim <= 349000: send "&c&lENRAGE OVER! &cYour boss is no longer enraged! &7&o(Continue killing it!!!)" equip last spawned zombie with diamond chestplate equip last spawned zombie with diamond sword equip last spawned zombie with leather leggings equip last spawned zombie with leather boots if {zombiesslayed3.%attacker%} is less than or equal to 0: send "&c&lWARNING! &cYour boss is spawning in 3 seconds!" to attacker wait 3 seconds spawn zombie above the attacker equip last spawned zombie with diamond chestplate equip last spawned zombie with diamond sword equip last spawned zombie with leather leggings equip last spawned zombie with leather boots apply speed to last spawned zombie for 1000000 days apply strength to last spawned zombie for 1000000 days set health of last spawned zombie to 400000 heal last spawned zombie set name of last spawned zombie to "&cRevenant Horror III" delete {zombiesslayed3.%attacker%} if name of victim is "&eRevenant Horror III": cancel drops drop 30 rotten flesh of unbreaking 1 named "&aRevenant Flesh" with lore "&a&lUNCOMMON" send "&c&lBOSS DOWN! &cYou just killed a Revenant Horror Tier III!" to attacker send " &d+25 Zombie Slayer EXP" to attacker add 25 to {zombieslayerexp.%attacker%}