Advertisement
Guest User

Untitled

a guest
Nov 21st, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.91 KB | None | 0 0
  1. command /mob-block:
  2. trigger:
  3. give player 1 green concrete named "&8Zombie Level 1 Spawner" with lore "&7Place to make a level 1 zombie spawn.", and " "
  4. give player 1 pink concrete named "&8Pig Level 1 Spawner" with lore "&7Place to make a level 1 pig spawn.", and " "
  5.  
  6. command /test-items:
  7. trigger:
  8. set {_item} to wooden axe named "&bPig Machete" with lore "&7Normal Attack Speed", " ", "&6DMG: 5", "&cLv Min: 4", " ", "&a+10%% &7DMG to Pigs", and " "
  9. add "{Unbreakable:1}" to nbt of {_item} with all flags hidden
  10. give {_item} to player
  11. set {_item} to wooden pickaxe named "&bRusty Pickaxe" with lore "&7Normal Attack Speed", " ", "&6DMG: 12", "&cLv. Min: 8", " ", "&a+10%% &7DMG to Infected Miners", and " "
  12. add "{Unbreakable:1}" to nbt of {_item} with all flags hidden
  13. give {_item} to player
  14.  
  15. every 2 minutes in world "ul_rpg":
  16. broadcast " &8» &cClearing all named entities in &d5 seconds."
  17. wait 5 seconds
  18. make console execute command "mobkill named ul_rpg"
  19. broadcast " &8» &cCleared all named entities!"
  20.  
  21. on place of green concrete:
  22. if name of player's held item is "&8Zombie Level 1 Spawner":
  23. set {_loc} to location of event-block
  24. add {_loc} to {level.one.zombie::*}
  25.  
  26. on place of pink concrete:
  27. if name of player's held item is "&8Pig Level 1 Spawner":
  28. set {_loc} to location of event-block
  29. add {_loc} to {level.one.pig::*}
  30.  
  31. every 10 seconds:
  32. loop {level.one.zombie::*}:
  33. set {_loc} to loop-value
  34. add 1 to y-coordinate of {_loc}
  35. loop all players in radius 6 of {_loc}:
  36. if loop-player is set:
  37. spawn a zombie at {_loc}
  38. set name of the last spawned zombie to "&aInfected Miner"
  39. heal the last spawned zombie
  40. set the helmet of the last spawned zombie to iron helmet
  41. set the weapon of the last spawned zombie to iron pickaxe
  42. set the health of the last spawned zombie to 100
  43.  
  44. every 7 seconds:
  45. loop {level.one.pig::*}:
  46. set {_loc} to loop-value
  47. add 1 to y-coordinate of {_loc}
  48. loop all players in radius 6 of {_loc}:
  49. if loop-player is set:
  50. spawn a pig at {_loc}
  51. set name of the last spawned pig to "&dFriendly Pig"
  52. heal the last spawned pig
  53. set the health of the last spawned pig to 45
  54.  
  55. on break of green concrete:
  56. set {_loc} to location of event-block
  57. loop {level.one.zombie::*}:
  58. if {level.one.zombie::*} contains {_loc}:
  59. remove {_loc} from {level.one.zombie::*}
  60.  
  61. on break of pink concrete:
  62. set {_loc} to location of event-block
  63. loop {level.one.pig::*}:
  64. if {level.one.pig::*} contains {_loc}:
  65. remove {_loc} from {level.one.pig::*}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement