Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #This skript is made by MightyTiger
- options:
- #names
- prefix: &9&lAppolloboxx
- shark: &9&lShark &bBoss
- devil: &4&lDevil &cBoss
- darkknight: &5&lDarkKnight &dboss
- sandstormer: &6SandStormer &eBoss
- #item drops
- sharkdrop: glowing prismarine_crystals named "&b&lShark Fragment"
- sharkdropname: &b&lShark Fragment
- devildrop: glowing prismarine_crystals named "&c&lA piece of the devil"
- devildropname: &c&lA piece of the devil
- darkknightdrop: glowing prismarine_crystals named "&d&lMagic bone"
- darkknightdropname: &d&lMagic bone
- sandstormerdrop: glowing prismarine_crystals named "&e&lA piece of sand"
- sandstormerdropname: &e&lA piece of sand
- #bosstimers
- sharktimer: 8
- deviltimer: 9
- darkknighttimer: 10
- sandstormertimer: 11
- command /bosshelp:
- permission: help.bosses
- permission message: {@prefix} &8» &7You do not have permission to do that.
- trigger:
- set {global.event.spawn} to player's position
- send "{@prefix} &8» &7BossHelp."
- send "&bhelp &8» &7/bosshelp"
- send "&bbosslist &8» &7/bosslist"
- send "&blocation bosses &8» &7/setbosslocation <bossname>"
- send "&benable a boss &8» &7/enableboss <bossname>"
- send "&bdisable a boss &8» &7/disableboss <bossname>"
- command /bosslist:
- permission: moblist.bosses
- permission message: {@prefix} &8» &7You do not have permission to do that.
- trigger:
- set {global.event.spawn} to player's position
- send "{@prefix} &8» &7BossList."
- send "&bBosslist"
- send "&8- &7Shark"
- send "&8- &7Devil"
- send "&8- &7DarkKnight"
- send "&8- &7Sandstormer"
- command /setbosslocation [<text>]:
- permission: setlocation.bosses
- permission message: {@prefix} &8» &7You do not have permission to do that.
- trigger:
- if arg 1 is not set:
- send "{@prefix} &8» &7You used the command wrong type /bosshelp for info."
- else:
- if arg 1 is "shark":
- set {boss.shark.location} to player's position
- send "{@prefix} &8» &7The location for the {@shark} has been set."
- else:
- if arg 1 is "devil":
- set {boss.devil.location} to player's position
- send "{@prefix} &8» &7The location for the {@devil} has been set."
- else:
- if arg 1 is "darkknight":
- set {boss.darkknight.location} to player's position
- send "{@prefix} &8» &7The location for the {@darkknight} has been set."
- else:
- if arg 1 is "sandstormer":
- set {boss.sandstormer.location} to player's position
- send "{@prefix} &8» &7The location for the {@sandstormer} has been set."
- command /enableboss [<text>]:
- permission: enable.bosses
- permission message: {@prefix} &8» &7You do not have permission to do that.
- trigger:
- if arg 1 is not set:
- send "{@prefix} &8» &7You used the command wrong type /bosshelp for info."
- else:
- if arg 1 is "shark":
- send "{@prefix} &8» &7The boss {@shark} is &benabled &7and now spawns every {@sharktimer} Min."
- set {spawn.shark} to true
- while {spawn.shark} is true:
- every {@sharktimer} minutes:
- spawn zombie at {boss.shark.location} with nbt "{Modified:true}"
- # helmet
- set last spawned zombie's helmet to skull of ("N0yerooPepsi" parsed as offline player)
- # chestplate
- set {_chestplate} to leather chestplate
- dye {_chestplate} blue
- set chestplate of last spawned zombie to {_chestplate}
- # leggings
- set {_leggings} to leather leggings
- dye {_leggings} blue
- set leggings of last spawned zombie to {_leggings}
- # boots
- set {_boots} to leather boots
- dye {_boots} blue
- set boots of last spawned zombie to {_boots}
- set tool of last spawned zombie to diamond axe of sharpness 10
- set max health of last spawned zombie to 40
- set health of last spawned zombie to 40
- set displayname of last spawned zombie to "{@shark}"
- apply strength 4 to the last spawned zombie for 9999 minutes
- else:
- if arg 1 is "devil":
- send "{@prefix} &8» &7The boss {@devil} is &benabled &7and now spawns every {@deviltimer} Min."
- set {spawn.devil} to true
- while {spawn.devil} is true:
- every {@deviltimer} minutes:
- spawn zombie at {boss.devil.location} with nbt "{Modified:true}"
- # helmet
- set last spawned zombie's helmet to skull of ("sleepy_neon" parsed as offline player)
- # chestplate
- set {_chestplate} to leather chestplate
- dye {_chestplate} red
- set chestplate of last spawned zombie to {_chestplate}
- # leggings
- set {_leggings} to leather leggings
- dye {_leggings} red
- set leggings of last spawned zombie to {_leggings}
- # boots
- set {_boots} to leather boots
- dye {_boots} red
- set boots of last spawned zombie to {_boots}
- set tool of last spawned zombie to diamond axe of sharpness 10
- set max health of last spawned zombie to 40
- set health of last spawned zombie to 40
- set displayname of last spawned zombie to "{@devil}"
- apply strength 4 to the last spawned zombie for 9999 minutes
- else:
- if arg 1 is "darkknight":
- send "{@prefix} &8» &7The boss {@darkknight} is &benabled &7and now spawns every {@darkknighttimer} Min."
- set {spawn.darkknight} to true
- while {spawn.darkknight} is true:
- every {@darkknighttimer} minutes:
- spawn zombie at {boss.darkknight.location} with nbt "{Modified:true}"
- # helmet
- set last spawned zombie's helmet to skull of ("WaktenGros" parsed as offline player)
- # chestplate
- set {_chestplate} to leather chestplate
- dye {_chestplate} black
- set chestplate of last spawned zombie to {_chestplate}
- # leggings
- set {_leggings} to leather leggings
- dye {_leggings} black
- set leggings of last spawned zombie to {_leggings}
- # boots
- set {_boots} to leather boots
- dye {_boots} black
- set boots of last spawned zombie to {_boots}
- set tool of last spawned zombie to diamond axe of sharpness 10
- set max health of last spawned zombie to 40
- set health of last spawned zombie to 40
- set displayname of last spawned zombie to "{@darkknight}"
- apply strength 4 to the last spawned zombie for 9999 minutes
- else:
- if arg 1 is "sandstormer":
- send "{@prefix} &8» &7The boss {@sandstormer} is &benabled &7and now spawns every {@sandstormertimer} Min."
- set {spawn.sandstormer} to true
- while {spawn.sandstormer} is true:
- every {@sandstormertimer} minutes:
- spawn zombie at {boss.sandstormer.location} with nbt "{Modified:true}"
- # helmet
- set last spawned zombie's helmet to skull of ("WaktenGros" parsed as offline player)
- # chestplate
- set {_chestplate} to leather chestplate
- dye {_chestplate} yellow
- set chestplate of last spawned zombie to {_chestplate}
- # leggings
- set {_leggings} to leather leggings
- dye {_leggings} yellow
- set leggings of last spawned zombie to {_leggings}
- # boots
- set {_boots} to leather boots
- dye {_boots} yellow
- set boots of last spawned zombie to {_boots}
- set tool of last spawned zombie to diamond axe of sharpness 10
- set max health of last spawned zombie to 40
- set health of last spawned zombie to 40
- set displayname of last spawned zombie to "{@sandstormer}"
- apply strength 4 to the last spawned zombie for 9999 minutes
- command /disableboss [<text>]:
- permission: enable.bosses
- permission message: {@prefix} &8» &7You do not have permission to do that.
- trigger:
- if arg 1 is not set:
- send "{@prefix} &8» &7You used the command wrong type /bosshelp for info."
- else:
- if arg 1 is "shark":
- send "{@prefix} &8» &7The boss {@shark} is now &bdisabled."
- set {spawn.shark} to false
- else:
- if arg 1 is "devil":
- send "{@prefix} &8» &7The boss {@devil} is now &bdisabled."
- set {spawn.devil} to false
- else:
- if arg 1 is "darkknight":
- send "{@prefix} &8» &7The boss {@darkknight} is now &bdisabled."
- set {spawn.darkknight} to false
- else:
- if arg 1 is "sandstormer":
- send "{@prefix} &8» &7The boss {@sandstormer} is now &bdisabled."
- set {spawn.sandstormer} to false
- on death:
- if attacker is a player:
- if victim is a zombie named "{@shark}":
- if {kill::%player%} is not set:
- set {kill::%player%} to true
- send "{@prefix} &8» &7You recieved a {@sharkdropname}"
- give 1 {@sharkdrop}
- else:
- if victim is a zombie named "{@devil}":
- if {kill::%player%} is not set:
- set {kill::%player%} to true
- send "{@prefix} &8» &7You recieved a {@devildropname}"
- give 1 {@devildrop}
- else:
- if victim is a zombie named "{@darkknight}":
- if {kill::%player%} is not set:
- set {kill::%player%} to true
- send "{@prefix} &8» &7You recieved a {@darkknightdropname}"
- give 1 {@darkknightdrop}
- else:
- if victim is a zombie named "{@sandstormer}":
- if {kill::%player%} is not set:
- set {kill::%player%} to true
- send "{@prefix} &8» &7You recieved a {@sandstormerdropname}"
- give 1 {@sandstormerdrop}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement