Advertisement
Builder4Life

boss skript | need help

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