Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #This skript is made by MightyTiger
- #V-1 (FULLY WORKING)
- options:
- #names
- prefix: &9&lApolloBoxx
- shark: &9&lShark &bBoss
- devil: &4&lDevil &cBoss
- darkknight: &5&lDarkKnight &dboss
- sandstormer: &6SandStormer &eBoss
- #item drops
- sharkdrop: prismarine crystals named "&b&lShark Fragment"
- sharkdropname: &b&lShark Fragment
- devildrop: prismarine crystals named "&c&lA piece of the devil"
- devildropname: &c&lA piece of the devil
- darkknightdrop: prismarine crystals named "&d&lMagic bone"
- darkknightdropname: &d&lMagic bone
- sandstormerdrop: prismarine crystals named "&e&lA piece of sand"
- sandstormerdropname: &e&lA piece of sand
- #timers
- sharktimer: 10
- deviltimer: 10
- darkknighttimer: 10
- sandstormertimer: 10
- 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» &7Boss &bCommands."
- send "&bhelp &8» &7/bosshelp"
- send "&bbosslist &8» &7/bosslist"
- send "&blocation bosses &8» &7/setbosslocation <bossname>"
- send "&bopen gui &8» &7/bossgui"
- 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» &7Boss &bList."
- send "&8- &7Shark"
- send "&8- &7Devil"
- send "&8- &7DarkKnight"
- send "&8- &7Sandstormer"
- command /bossgui:
- permission: gui.bosses
- permission message: {@prefix} &8» &7You do not have permission to do that.
- trigger:
- set {_gui} to a new chest inventory with 3 row with name "&9&lBosses &bGUI"
- set slot 0 of {_gui} to blue stained glass pane named "&0?"
- set slot 1 of {_gui} to light blue stained glass pane named "&0?"
- set slot 2 of {_gui} to light blue concrete named "&7click here to &9&lEnable &bBosses"
- set slot 3 of {_gui} to light blue stained glass pane named "&0?"
- set slot 4 of {_gui} to blue stained glass pane named "&0?"
- set slot 5 of {_gui} to light blue stained glass pane named "&0?"
- set slot 6 of {_gui} to light blue concrete named "&7click here to &9&lDisable &bBosses"
- set slot 7 of {_gui} to light blue stained glass pane named "&0?"
- set slot 8 of {_gui} to blue stained glass pane named "&0?"
- set slot 9 of {_gui} to blue stained glass pane named "&0?"
- set slot 10 of {_gui} to light blue stained glass pane named "&0?"
- set slot 11 of {_gui} to light blue stained glass pane named "&0?"
- set slot 12 of {_gui} to blue stained glass pane named "&0?"
- set slot 13 of {_gui} to blue concrete named "&7click here to Set the &9&lBoss &bLocations"
- set slot 14 of {_gui} to blue stained glass pane named "&0?"
- set slot 15 of {_gui} to light blue stained glass pane named "&0?"
- set slot 16 of {_gui} to light blue stained glass pane named "&0?"
- set slot 17 of {_gui} to blue stained glass pane named "&0?"
- set slot 18 of {_gui} to blue stained glass pane named "&0?"
- set slot 19 of {_gui} to light blue stained glass pane named "&0?"
- set slot 20 of {_gui} to light blue concrete named "&7click here for &9&lBoss &bHelp"
- set slot 21 of {_gui} to light blue stained glass pane named "&0?"
- set slot 22 of {_gui} to blue stained glass pane named "&0?"
- set slot 23 of {_gui} to light blue stained glass pane named "&0?"
- set slot 24 of {_gui} to light blue concrete named "&7click here to see the &9&lboss &bList"
- set slot 25 of {_gui} to light blue stained glass pane named "&0?"
- set slot 26 of {_gui} to blue stained glass pane named "&0?"
- open {_gui} to player
- # MAIN GUI ------------------------------------------
- on inventory click:
- if name of event-inventory is "&9&lBosses &bGUI":
- if index of event-slot = 20:
- cancel event
- make player execute command "/bosshelp"
- on inventory click:
- if name of event-inventory is "&9&lBosses &bGUI":
- if index of event-slot = 24:
- cancel event
- make player execute command "/bosslist"
- on inventory click:
- if name of event-inventory is "&9&lBosses &bGUI":
- if index of event-slot <= 26:
- cancel event
- # LOCATIONS GUI -------------------------------------
- on inventory click:
- if name of event-inventory is "&9&lBosses &bGUI":
- if index of event-slot = 13:
- cancel event
- set {_gui} to a new chest inventory with 3 row with name "&9&lBoss &bLocations"
- set slot 0 of {_gui} to blue stained glass pane named "&0?"
- set slot 1 of {_gui} to light blue stained glass pane named "&0?"
- set slot 2 of {_gui} to light blue stained glass pane named "&0?"
- set slot 3 of {_gui} to light blue stained glass pane named "&0?"
- set slot 4 of {_gui} to blue stained glass pane named "&0?"
- set slot 5 of {_gui} to light blue stained glass pane named "&0?"
- set slot 6 of {_gui} to light blue stained glass pane named "&0?"
- set slot 7 of {_gui} to light blue stained glass pane named "&0?"
- set slot 8 of {_gui} to blue stained glass pane named "&0?"
- set slot 9 of {_gui} to blue stained glass pane named "&0?"
- set slot 10 of {_gui} to light blue concrete named "&7Click here to set &9&lboss&7 location for &bShark"
- set slot 11 of {_gui} to light blue concrete named "&7Click here to set &9&lboss&7 location for &bDevil"
- set slot 12 of {_gui} to light blue concrete named "&7Click here to set &9&lboss&7 location for &bDarkknight"
- set slot 13 of {_gui} to blue concrete named "&7click here to go &9&lback"
- set slot 14 of {_gui} to light blue concrete named "&7Click here to set &9&lboss&7 location for &bSandstormer"
- set slot 15 of {_gui} to light blue concrete named "&bSoon"
- set slot 16 of {_gui} to light blue concrete named "&bSoon"
- set slot 17 of {_gui} to blue stained glass pane named "&0?"
- set slot 18 of {_gui} to blue stained glass pane named "&0?"
- set slot 19 of {_gui} to light blue stained glass pane named "&0?"
- set slot 20 of {_gui} to light blue stained glass pane named "&0?"
- set slot 21 of {_gui} to light blue stained glass pane named "&0?"
- set slot 22 of {_gui} to blue stained glass pane named "&0?"
- set slot 23 of {_gui} to light blue stained glass pane named "&0?"
- set slot 24 of {_gui} to light blue stained glass pane named "&0?"
- set slot 25 of {_gui} to light blue stained glass pane named "&0?"
- set slot 26 of {_gui} to blue stained glass pane named "&0?"
- open {_gui} to player
- on inventory click:
- if name of event-inventory is "&9&lBoss &bLocations":
- if index of event-slot = 10:
- cancel event
- make player execute command "/setbosslocation shark"
- on inventory click:
- if name of event-inventory is "&9&lBoss &bLocations":
- if index of event-slot = 11:
- cancel event
- make player execute command "/setbosslocation devil"
- on inventory click:
- if name of event-inventory is "&9&lBoss &bLocations":
- if index of event-slot = 12:
- cancel event
- make player execute command "/setbosslocation darkknight"
- on inventory click:
- if name of event-inventory is "&9&lBoss &bLocations":
- if index of event-slot = 13:
- cancel event
- make player execute command "/bossgui"
- on inventory click:
- if name of event-inventory is "&9&lBoss &bLocations":
- if index of event-slot = 14:
- cancel event
- make player execute command "/setbosslocation sandstormer"
- on inventory click:
- if name of event-inventory is "&9&lBoss &bLocations":
- if index of event-slot = 15:
- cancel event
- on inventory click:
- if name of event-inventory is "&9&lBoss &bLocations":
- if index of event-slot = 16:
- cancel event
- on inventory click:
- if name of event-inventory is "&9&lBoss &bLocations":
- if index of event-slot <= 26:
- cancel event
- # ENABLE GUI ---------------------------------------
- on inventory click:
- if name of event-inventory is "&9&lBosses &bGUI":
- if index of event-slot = 2:
- cancel event
- set {_gui} to a new chest inventory with 3 row with name "&9&lBoss &bEnable"
- set slot 0 of {_gui} to blue stained glass pane named "&0?"
- set slot 1 of {_gui} to light blue stained glass pane named "&0?"
- set slot 2 of {_gui} to light blue stained glass pane named "&0?"
- set slot 3 of {_gui} to light blue stained glass pane named "&0?"
- set slot 4 of {_gui} to blue stained glass pane named "&0?"
- set slot 5 of {_gui} to light blue stained glass pane named "&0?"
- set slot 6 of {_gui} to light blue stained glass pane named "&0?"
- set slot 7 of {_gui} to light blue stained glass pane named "&0?"
- set slot 8 of {_gui} to blue stained glass pane named "&0?"
- set slot 9 of {_gui} to blue stained glass pane named "&0?"
- set slot 10 of {_gui} to light blue concrete named "&7Click to &9&lenable &7the &9&lboss &bShark"
- set slot 11 of {_gui} to light blue concrete named "&7Click to &9&lenable &7the &9&lboss &bDevil"
- set slot 12 of {_gui} to light blue concrete named "&7Click to &9&lenable &7the &9&lboss &bDarkknight"
- set slot 13 of {_gui} to blue concrete named "&7click here to go &9&lback"
- set slot 14 of {_gui} to light blue concrete named "&7Click to &9&lenable &7the &9&lboss &bSandstormer"
- set slot 15 of {_gui} to light blue concrete named "&bSoon"
- set slot 16 of {_gui} to light blue concrete named "&bSoon"
- set slot 17 of {_gui} to blue stained glass pane named "&0?"
- set slot 18 of {_gui} to blue stained glass pane named "&0?"
- set slot 19 of {_gui} to light blue stained glass pane named "&0?"
- set slot 20 of {_gui} to light blue stained glass pane named "&0?"
- set slot 21 of {_gui} to light blue stained glass pane named "&0?"
- set slot 22 of {_gui} to blue stained glass pane named "&0?"
- set slot 23 of {_gui} to light blue stained glass pane named "&0?"
- set slot 24 of {_gui} to light blue stained glass pane named "&0?"
- set slot 25 of {_gui} to light blue stained glass pane named "&0?"
- set slot 26 of {_gui} to blue stained glass pane named "&0?"
- open {_gui} to player
- on inventory click:
- if name of event-inventory is "&9&lBoss &bEnable":
- if index of event-slot = 10:
- cancel event
- make player execute command "/enableboss shark"
- on inventory click:
- if name of event-inventory is "&9&lBoss &bEnable":
- if index of event-slot = 11:
- cancel event
- make player execute command "/enableboss devil"
- on inventory click:
- if name of event-inventory is "&9&lBoss &bEnable":
- if index of event-slot = 12:
- cancel event
- make player execute command "/enableboss darkknight"
- on inventory click:
- if name of event-inventory is "&9&lBoss &bEnable":
- if index of event-slot = 13:
- cancel event
- make player execute command "/bossgui"
- on inventory click:
- if name of event-inventory is "&9&lBoss &bEnable":
- if index of event-slot = 14:
- cancel event
- make player execute command "/enableboss sandstormer"
- on inventory click:
- if name of event-inventory is "&9&lBoss &bEnable":
- if index of event-slot = 15:
- cancel event
- on inventory click:
- if name of event-inventory is "&9&lBoss &bEnable":
- if index of event-slot = 16:
- cancel event
- on inventory click:
- if name of event-inventory is "&9&lBoss &bEnable":
- if index of event-slot <= 26:
- cancel event
- # DISABLE GUI --------------------------------------
- on inventory click:
- if name of event-inventory is "&9&lBosses &bGUI":
- if index of event-slot = 6:
- cancel event
- set {_gui} to a new chest inventory with 3 row with name "&9&lBoss &bDisable"
- set slot 0 of {_gui} to blue stained glass pane named "&0?"
- set slot 1 of {_gui} to light blue stained glass pane named "&0?"
- set slot 2 of {_gui} to light blue stained glass pane named "&0?"
- set slot 3 of {_gui} to light blue stained glass pane named "&0?"
- set slot 4 of {_gui} to blue stained glass pane named "&0?"
- set slot 5 of {_gui} to light blue stained glass pane named "&0?"
- set slot 6 of {_gui} to light blue stained glass pane named "&0?"
- set slot 7 of {_gui} to light blue stained glass pane named "&0?"
- set slot 8 of {_gui} to blue stained glass pane named "&0?"
- set slot 9 of {_gui} to blue stained glass pane named "&0?"
- set slot 10 of {_gui} to light blue concrete named "&7Click to &9&ldisable &7the &9&lboss &bShark"
- set slot 11 of {_gui} to light blue concrete named "&7Click to &9&ldisable &7the &9&lboss &bDevil"
- set slot 12 of {_gui} to light blue concrete named "&7Click to &9&ldisable &7the &9&lboss &bDarkknight"
- set slot 13 of {_gui} to blue concrete named "&7click here to go &9&lback"
- set slot 14 of {_gui} to light blue concrete named "&7Click to &9&ldisable &7the &9&lboss &bSandstormer"
- set slot 15 of {_gui} to light blue concrete named "&bSoon"
- set slot 16 of {_gui} to light blue concrete named "&bSoon"
- set slot 17 of {_gui} to blue stained glass pane named "&0?"
- set slot 18 of {_gui} to blue stained glass pane named "&0?"
- set slot 19 of {_gui} to light blue stained glass pane named "&0?"
- set slot 20 of {_gui} to light blue stained glass pane named "&0?"
- set slot 21 of {_gui} to light blue stained glass pane named "&0?"
- set slot 22 of {_gui} to blue stained glass pane named "&0?"
- set slot 23 of {_gui} to light blue stained glass pane named "&0?"
- set slot 24 of {_gui} to light blue stained glass pane named "&0?"
- set slot 25 of {_gui} to light blue stained glass pane named "&0?"
- set slot 26 of {_gui} to blue stained glass pane named "&0?"
- open {_gui} to player
- on inventory click:
- if name of event-inventory is "&9&lBoss &bDisable":
- if index of event-slot = 10:
- cancel event
- make player execute command "/disableboss shark"
- on inventory click:
- if name of event-inventory is "&9&lBoss &bDisable":
- if index of event-slot = 11:
- cancel event
- make player execute command "/disableboss devil"
- on inventory click:
- if name of event-inventory is "&9&lBoss &bDisable":
- if index of event-slot = 12:
- cancel event
- make player execute command "/disableboss darkknight"
- on inventory click:
- if name of event-inventory is "&9&lBoss &bDisable":
- if index of event-slot = 13:
- cancel event
- make player execute command "/bossgui"
- on inventory click:
- if name of event-inventory is "&9&lBoss &bDisable":
- if index of event-slot = 14:
- cancel event
- make player execute command "/disableboss sandstormer"
- on inventory click:
- if name of event-inventory is "&9&lBoss &bDisable":
- if index of event-slot = 15:
- cancel event
- on inventory click:
- if name of event-inventory is "&9&lBoss &bDisable":
- if index of event-slot = 16:
- cancel event
- on inventory click:
- if name of event-inventory is "&9&lBoss &bDisable":
- if index of event-slot <= 26:
- cancel event
- 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} &7has been set."
- else:
- if arg 1 is "devil":
- set {boss.devil.location} to player's position
- send "{@prefix} &8» &7The location for the {@devil} &7has been set."
- else:
- if arg 1 is "darkknight":
- set {boss.darkknight.location} to player's position
- send "{@prefix} &8» &7The location for the {@darkknight} &7has been set."
- else:
- if arg 1 is "sandstormer":
- set {boss.sandstormer.location} to player's position
- send "{@prefix} &8» &7The location for the {@sandstormer} &7has 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}&7 is &benabled &7and now spawns every 10 Min."
- set {spawn.shark} to true
- else:
- if arg 1 is "devil":
- send "{@prefix} &8» &7The boss {@devil} &7is &benabled &7and now spawns every 10 Min."
- set {spawn.devil} to true
- else:
- if arg 1 is "darkknight":
- send "{@prefix} &8» &7The boss {@darkknight}&7 is &benabled &7and now spawns every 10 Min."
- set {spawn.darkknight} to true
- else:
- if arg 1 is "sandstormer":
- send "{@prefix} &8» &7The boss {@sandstormer} is &benabled &7and now spawns every 10 Min."
- set {spawn.sandstormer} to true
- 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 {@shark}&7 is now &bdisabled."
- set {spawn.shark} to false
- else:
- if arg 1 is "devil":
- send "{@prefix} &8» &7The {@devil}&7 is now &bdisabled."
- set {spawn.devil} to false
- else:
- if arg 1 is "darkknight":
- send "{@prefix} &8» &7The {@darkknight}&7 is now &bdisabled."
- set {spawn.darkknight} to false
- else:
- if arg 1 is "sandstormer":
- send "{@prefix} &8» &7The {@sandstormer}&7 is now &bdisabled."
- set {spawn.sandstormer} to false
- every {@sharktimer} minutes in "world":
- if {spawn.shark} is true:
- spawn zombie at {boss.shark.location}
- # helmet
- set last spawned zombie's helmet to skull of ("builder4live" 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
- set {_s} to last spawned zombie
- wait 10 minutes
- kill {_s}
- stop
- every {@deviltimer} minutes in "world":
- if {spawn.devil} is true:
- spawn zombie at {boss.devil.location}
- # helmet
- set last spawned zombie's helmet to skull of ("builder4live" 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
- set {_d} to last spawned zombie
- wait 10 minutes
- kill {_d}
- stop
- every {@darkknighttimer} minutes in "world":
- if {spawn.darkknight} is true:
- spawn zombie at {boss.darkknight.location}
- # helmet
- set last spawned zombie's helmet to skull of ("builder4live" 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
- set {_k} to last spawned zombie
- wait 10 minutes
- kill {_k}
- stop
- every {@sandstormertimer} minutes in "world":
- if {spawn.sandstormer} is true:
- spawn zombie at {boss.sandstormer.location}
- # helmet
- set last spawned zombie's helmet to skull of ("builder4live" 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
- set {_sd} to last spawned zombie
- wait 10 minutes
- kill {_sd}
- stop
- on death:
- if attacker is a player:
- if name of victim is "{@shark}":
- clear the drops
- set {_drop} to glowing {@sharkdrop}
- drop {_drop} at victim's location
- on death:
- if attacker is a player:
- if name of victim is "{@devil}":
- clear the drops
- set {_drop} to glowing {@devildrop}
- drop {_drop} at victim's location
- on death:
- if attacker is a player:
- if name of victim is "{@darkknight}":
- clear the drops
- set {_drop} to glowing {@darkknightdrop}
- drop {_drop} at victim's location
- on death:
- if attacker is a player:
- if name of victim is "{@sandstormer":
- clear the drops
- set {_drop} to glowing {@sandstormerdrop}
- drop {_drop} at victim's location
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement