Advertisement
Builder4Life

EMPTY CONFIGURATION

May 20th, 2022
45
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.75 KB | None
  1. #This skript is made by MightyTiger
  2. options:
  3. #names
  4. prefix: &9&lAppolloboxx
  5. shark: &9&lShark &bBoss
  6. devil: &4&lDevil &cBoss
  7. darkknight: &5&lDarkKnight &dboss
  8. sandstormer: &6SandStormer &eBoss
  9.  
  10. #item drops
  11. sharkdrop: glowing prismarine_crystals named "&b&lShark Fragment"
  12. sharkdropname: &b&lShark Fragment
  13. devildrop: glowing prismarine_crystals named "&c&lA piece of the devil"
  14. devildropname: &c&lA piece of the devil
  15. darkknightdrop: glowing prismarine_crystals named "&d&lMagic bone"
  16. darkknightdropname: &d&lMagic bone
  17. sandstormerdrop: glowing prismarine_crystals named "&e&lA piece of sand"
  18. sandstormerdropname: &e&lA piece of sand
  19.  
  20. #bosstimers
  21. sharktimer: 8
  22. deviltimer: 9
  23. darkknighttimer: 10
  24. sandstormertimer: 11
  25.  
  26.  
  27. command /bosshelp:
  28. permission: help.bosses
  29. permission message: {@prefix} &8» &7You do not have permission to do that.
  30. trigger:
  31. set {global.event.spawn} to player's position
  32. send "{@prefix} &8» &7BossHelp."
  33. send "&bhelp &8» &7/bosshelp"
  34. send "&bbosslist &8» &7/bosslist"
  35. send "&blocation bosses &8» &7/setbosslocation <bossname>"
  36. send "&benable a boss &8» &7/enableboss <bossname>"
  37. send "&bdisable a boss &8» &7/disableboss <bossname>"
  38.  
  39. command /bosslist:
  40. permission: moblist.bosses
  41. permission message: {@prefix} &8» &7You do not have permission to do that.
  42. trigger:
  43. set {global.event.spawn} to player's position
  44. send "{@prefix} &8» &7BossList."
  45. send "&bBosslist"
  46. send "&8- &7Shark"
  47. send "&8- &7Devil"
  48. send "&8- &7DarkKnight"
  49. send "&8- &7Sandstormer"
  50.  
  51. command /setbosslocation [<text>]:
  52. permission: setlocation.bosses
  53. permission message: {@prefix} &8» &7You do not have permission to do that.
  54. trigger:
  55. if arg 1 is not set:
  56. send "{@prefix} &8» &7You used the command wrong type /bosshelp for info."
  57. else:
  58. if arg 1 is "shark":
  59. set {boss.shark.location} to player's position
  60. send "{@prefix} &8» &7The location for the {@shark} has been set."
  61. else:
  62. if arg 1 is "devil":
  63. set {boss.devil.location} to player's position
  64. send "{@prefix} &8» &7The location for the {@devil} has been set."
  65. else:
  66. if arg 1 is "darkknight":
  67. set {boss.darkknight.location} to player's position
  68. send "{@prefix} &8» &7The location for the {@darkknight} has been set."
  69. else:
  70. if arg 1 is "sandstormer":
  71. set {boss.sandstormer.location} to player's position
  72. send "{@prefix} &8» &7The location for the {@sandstormer} has been set."
  73.  
  74. command /enableboss [<text>]:
  75. permission: enable.bosses
  76. permission message: {@prefix} &8» &7You do not have permission to do that.
  77. trigger:
  78. if arg 1 is not set:
  79. send "{@prefix} &8» &7You used the command wrong type /bosshelp for info."
  80. else:
  81. if arg 1 is "shark":
  82. send "{@prefix} &8» &7The boss {@shark} is &benabled &7and now spawns every {@sharktimer} Min."
  83. set {spawn.shark} to true
  84. while {spawn.shark} is true:
  85. every {@sharktimer} minutes:
  86. spawn zombie at {boss.shark.location} with nbt "{Modified:true}"
  87. # helmet
  88. set last spawned zombie's helmet to skull of ("N0yerooPepsi" parsed as offline player)
  89. # chestplate
  90. set {_chestplate} to leather chestplate
  91. dye {_chestplate} blue
  92. set chestplate of last spawned zombie to {_chestplate}
  93. # leggings
  94. set {_leggings} to leather leggings
  95. dye {_leggings} blue
  96. set leggings of last spawned zombie to {_leggings}
  97. # boots
  98. set {_boots} to leather boots
  99. dye {_boots} blue
  100. set boots of last spawned zombie to {_boots}
  101. set tool of last spawned zombie to diamond axe of sharpness 10
  102. set max health of last spawned zombie to 40
  103. set health of last spawned zombie to 40
  104. set displayname of last spawned zombie to "{@shark}"
  105. apply strength 4 to the last spawned zombie for 9999 minutes
  106. else:
  107. if arg 1 is "devil":
  108. send "{@prefix} &8» &7The boss {@devil} is &benabled &7and now spawns every {@deviltimer} Min."
  109. set {spawn.devil} to true
  110. while {spawn.devil} is true:
  111. every {@deviltimer} minutes:
  112. spawn zombie at {boss.devil.location} with nbt "{Modified:true}"
  113. # helmet
  114. set last spawned zombie's helmet to skull of ("sleepy_neon" parsed as offline player)
  115. # chestplate
  116. set {_chestplate} to leather chestplate
  117. dye {_chestplate} red
  118. set chestplate of last spawned zombie to {_chestplate}
  119. # leggings
  120. set {_leggings} to leather leggings
  121. dye {_leggings} red
  122. set leggings of last spawned zombie to {_leggings}
  123. # boots
  124. set {_boots} to leather boots
  125. dye {_boots} red
  126. set boots of last spawned zombie to {_boots}
  127. set tool of last spawned zombie to diamond axe of sharpness 10
  128. set max health of last spawned zombie to 40
  129. set health of last spawned zombie to 40
  130. set displayname of last spawned zombie to "{@devil}"
  131. apply strength 4 to the last spawned zombie for 9999 minutes
  132. else:
  133. if arg 1 is "darkknight":
  134. send "{@prefix} &8» &7The boss {@darkknight} is &benabled &7and now spawns every {@darkknighttimer} Min."
  135. set {spawn.darkknight} to true
  136. while {spawn.darkknight} is true:
  137. every {@darkknighttimer} minutes:
  138. spawn zombie at {boss.darkknight.location} with nbt "{Modified:true}"
  139. # helmet
  140. set last spawned zombie's helmet to skull of ("WaktenGros" parsed as offline player)
  141. # chestplate
  142. set {_chestplate} to leather chestplate
  143. dye {_chestplate} black
  144. set chestplate of last spawned zombie to {_chestplate}
  145. # leggings
  146. set {_leggings} to leather leggings
  147. dye {_leggings} black
  148. set leggings of last spawned zombie to {_leggings}
  149. # boots
  150. set {_boots} to leather boots
  151. dye {_boots} black
  152. set boots of last spawned zombie to {_boots}
  153. set tool of last spawned zombie to diamond axe of sharpness 10
  154. set max health of last spawned zombie to 40
  155. set health of last spawned zombie to 40
  156. set displayname of last spawned zombie to "{@darkknight}"
  157. apply strength 4 to the last spawned zombie for 9999 minutes
  158. else:
  159. if arg 1 is "sandstormer":
  160. send "{@prefix} &8» &7The boss {@sandstormer} is &benabled &7and now spawns every {@sandstormertimer} Min."
  161. set {spawn.sandstormer} to true
  162. while {spawn.sandstormer} is true:
  163. every {@sandstormertimer} minutes:
  164. spawn zombie at {boss.sandstormer.location} with nbt "{Modified:true}"
  165. # helmet
  166. set last spawned zombie's helmet to skull of ("WaktenGros" parsed as offline player)
  167. # chestplate
  168. set {_chestplate} to leather chestplate
  169. dye {_chestplate} yellow
  170. set chestplate of last spawned zombie to {_chestplate}
  171. # leggings
  172. set {_leggings} to leather leggings
  173. dye {_leggings} yellow
  174. set leggings of last spawned zombie to {_leggings}
  175. # boots
  176. set {_boots} to leather boots
  177. dye {_boots} yellow
  178. set boots of last spawned zombie to {_boots}
  179. set tool of last spawned zombie to diamond axe of sharpness 10
  180. set max health of last spawned zombie to 40
  181. set health of last spawned zombie to 40
  182. set displayname of last spawned zombie to "{@sandstormer}"
  183. apply strength 4 to the last spawned zombie for 9999 minutes
  184.  
  185. command /disableboss [<text>]:
  186. permission: enable.bosses
  187. permission message: {@prefix} &8» &7You do not have permission to do that.
  188. trigger:
  189. if arg 1 is not set:
  190. send "{@prefix} &8» &7You used the command wrong type /bosshelp for info."
  191. else:
  192. if arg 1 is "shark":
  193. send "{@prefix} &8» &7The boss {@shark} is now &bdisabled."
  194. set {spawn.shark} to false
  195. else:
  196. if arg 1 is "devil":
  197. send "{@prefix} &8» &7The boss {@devil} is now &bdisabled."
  198. set {spawn.devil} to false
  199. else:
  200. if arg 1 is "darkknight":
  201. send "{@prefix} &8» &7The boss {@darkknight} is now &bdisabled."
  202. set {spawn.darkknight} to false
  203. else:
  204. if arg 1 is "sandstormer":
  205. send "{@prefix} &8» &7The boss {@sandstormer} is now &bdisabled."
  206. set {spawn.sandstormer} to false
  207.  
  208. on death:
  209. if attacker is a player:
  210. if victim is a zombie named "{@shark}":
  211. if {kill::%player%} is not set:
  212. set {kill::%player%} to true
  213. send "{@prefix} &8» &7You recieved a {@sharkdropname}"
  214. give 1 {@sharkdrop}
  215. else:
  216. if victim is a zombie named "{@devil}":
  217. if {kill::%player%} is not set:
  218. set {kill::%player%} to true
  219. send "{@prefix} &8» &7You recieved a {@devildropname}"
  220. give 1 {@devildrop}
  221. else:
  222. if victim is a zombie named "{@darkknight}":
  223. if {kill::%player%} is not set:
  224. set {kill::%player%} to true
  225. send "{@prefix} &8» &7You recieved a {@darkknightdropname}"
  226. give 1 {@darkknightdrop}
  227. else:
  228. if victim is a zombie named "{@sandstormer}":
  229. if {kill::%player%} is not set:
  230. set {kill::%player%} to true
  231. send "{@prefix} &8» &7You recieved a {@sandstormerdropname}"
  232. give 1 {@sandstormerdrop}
  233.  
Advertisement
RAW Paste Data Copied
Advertisement