Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /boss [<text>] [<text>]:
- description: spawns bosses!
- permission: lb.spawn
- permission message: &cYou do not have permission to use this command!
- trigger:
- if arg 1 is not set:
- send "&8&l<&6Legendary &cBosses&8&l> &cYou need to specify a boss to spawn!"
- if arg 1 is set:
- if arg 2 is not set:
- if arg 1 is "start":
- spawn a Ravager at player's location
- send "&8&l<&6Legendary &cBosses&8&l> &aYou have spawned a &5&lRavager &e&lKing"
- set name of the last spawned Ravager to "&5&lRavager &e&lKing"
- apply health boost 25 to the last spawned Ravager for 9999 minutes
- heal the Ravager
- apply regeneration 1000 to the last spawned ravager for 5 seconds
- apply speed 3 to the last spawned Ravager for 9999 minutes
- apply strength 5 to the last spawned Ravager for 9999 minutes
- set the helmet of the last spawned Ravager to diamond helmet of protection 2 and unbreaking 15
- set the chestplate of the last spawned Ravager to diamond chestplate of protection 2 and unbreaking 15
- set the leggings of the last spawned Ravager to diamond leggings of protection 2 and unbreaking 15
- set the boots of the last spawned Ravager to diamond boots of protection 2 and unbreaking 15
- set the weapon of the last spawned Ravager to diamond sword of sharpness 25 and unbreaking 30
- on right click with ravager spawn egg:
- spawn a Ravager at player's location
- send "&8&l<&6Legendary &cBosses&8&l> &aYou have spawned a &5&lRavager &e&lKing"
- set name of the last spawned Ravager to "&5&lRavager &e&lKing"
- apply health boost 25 to the last spawned Ravager for 9999 minutes
- heal the Ravager
- apply regeneration 1000 to the last spawned ravager for 5 seconds
- apply speed 3 to the last spawned Ravager for 9999 minutes
- apply strength 5 to the last spawned Ravager for 9999 minutes
- set the helmet of the last spawned Ravager to diamond helmet of protection 2 and unbreaking 15
- set the chestplate of the last spawned Ravager to diamond chestplate of protection 2 and unbreaking 15
- set the leggings of the last spawned Ravager to diamond leggings of protection 2 and unbreaking 15
- set the boots of the last spawned Ravager to diamond boots of protection 2 and unbreaking 15
- set the weapon of the last spawned Ravager to diamond sword of sharpness 25 and unbreaking 30
- on death of ravager:
- if name of ravager is "&5&lRavager &e&lKing":
- broadcast "&5&lRavager &e&lKing! &ehas been slaint!"
- clear drops
- give attacker 1 end portal frames named "&e&lUltimate Drop Package &7(Right Click)" with lore "&7A cache of equipment packaged by Console" and "&7Earned by killing a &bBoss"
- on place of end portal frame:
- If player's tool is 1 end portal frame with lore "&7A cache of equipment packaged by Console" and "&7Earned by killing a &bBoss" named "&e&lUltimate Drop Package &7(Right Click)":
- cancel event
- remove 1 end portal frame from the player
- add 1000000 to player's balance
- message "&7&m-------------------------------------------" to player
- message "&e&l[&c&l!&e&l] &eYou claimed your reward!" to player
- message "&e&l[&c&l!&e&l] &a1.000.000&e Has been added to your account" to player
- message "&e&l[&c&l!&e&l] &eYou gained 3 &cExtreme&e keys" to player
- message "&e&l[&c&l!&e&l] &c&lBOSS&e Tag unlocked" to player
- message "&7&m-------------------------------------------" to player
- make console execute command "crate give p extreme 3 %player%"
- make console execute command "zperm player %player% set tagBOSS.use"
- else:
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement