Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /mobspawn [<text>]:
- trigger:
- if player is op:
- if arg 1 is "1":
- set {spawn.mob.1} to location of player
- send "Spawn 1"
- stop
- if arg 1 is "2":
- set {spawn.mob.2} to location of player
- send "Spawn 2"
- stop
- if arg 1 is "3":
- set {spawn.mob.4} to location of player
- send "Spawn 3"
- stop
- if arg 1 is "4":
- set {spawn.mob.3} to location of player
- send "Spawn 4"
- stop
- if arg 1 is "5":
- set {spawn.mob.5} to location of player
- send "Spawn 5"
- stop
- if arg 1 is "6":
- set {spawn.mob.6} to location of player
- send "Spawn 6"
- stop
- if arg 1 is "7":
- set {spawn.mob.7} to location of player
- send "Spawn 7"
- stop
- if arg 1 is "8":
- set {spawn.mob.8} to location of player
- send "Spawn 8"
- stop
- if arg 1 is "9":
- set {spawn.mob.9} to location of player
- send "Spawn 9"
- stop
- if arg 1 is "10":
- set {spawn.mob.10} to location of player
- send "Spawn 10"
- stop
- if arg 1 is "11":
- set {spawn.mob.11} to location of player
- send "Spawn 11"
- stop
- if arg 1 is "12":
- set {spawn.mob.12} to location of player
- send "Spawn 12"
- stop
- if arg 1 is "13":
- set {spawn.mob.13} to location of player
- send "Spawn 13"
- stop
- if arg 1 is "14":
- set {spawn.mob.14} to location of player
- send "Spawn 14"
- stop
- if arg 1 is "15":
- set {spawn.mob.15} to location of player
- send "Spawn 15"
- stop
- if arg 1 is "16":
- set {spawn.mob.16} to location of player
- send "Spawn 16"
- stop
- every 15 seconds:
- if health of {mob} > 0:
- stop
- if {spawn.mob.1} is set:
- spawn 1 zombie at {spawn.mob.1}
- set the spawned zombie's display name to "&2Ork &cLVL.1"
- set the last spawned entity's max health to 6
- heal the last spawned entity
- set tool of last spawned entity to stick
- set {mob} to last spawned entity
- every 15 seconds:
- if health of {mob1} > 0:
- stop
- if {spawn.mob.2} is set:
- spawn 1 zombie at {spawn.mob.2}
- set the spawned zombie's display name to "&2Ork &cLVL.1"
- set the last spawned entity's max health to 6
- heal the last spawned entity
- set tool of last spawned entity to stick
- set {mob1} to last spawned entity
- every 15 seconds:
- if health of {mob2} > 0:
- stop
- if {spawn.mob.3} is set:
- spawn 1 zombie at {spawn.mob.3}
- set the spawned zombie's display name to "&2Ork &cLVL.1"
- set the last spawned entity's max health to 6
- heal the last spawned entity
- set tool of last spawned entity to stick
- set {mob2} to last spawned entity
- every 15 seconds:
- if health of {mob3} > 0:
- stop
- if {spawn.mob.4} is set:
- spawn 1 zombie at {spawn.mob.4}
- set the spawned zombie's display name to "&2Ork &cLVL.1"
- set the last spawned entity's max health to 6
- heal the last spawned entity
- set tool of last spawned entity to stick
- set {mob3} to last spawned entity
- every 15 seconds:
- if health of {mob4} > 0:
- stop
- if {spawn.mob.5} is set:
- spawn 1 zombie at {spawn.mob.5}
- set the spawned zombie's display name to "&2Ork &cLVL.3"
- set the last spawned entity's max health to 8
- heal the last spawned entity
- set tool of last spawned entity to stick
- set {mob4} to last spawned entity
- every 15 seconds:
- if health of {mob5} > 0:
- stop
- if {spawn.mob.6} is set:
- spawn 1 zombie at {spawn.mob.6}
- set the spawned zombie's display name to "&2Ork &cLVL.3"
- set the last spawned entity's max health to 8
- heal the last spawned entity
- set tool of last spawned entity to stick
- set {mob5} to last spawned entity
- every 15 seconds:
- if health of {mob6} > 0:
- stop
- if {spawn.mob.7} is set:
- spawn 1 zombie at {spawn.mob.7}
- set the spawned zombie's display name to "&2Ork &cLVL.3"
- set the last spawned entity's max health to 8
- heal the last spawned entity
- set tool of last spawned entity to stick
- set {mob6} to last spawned entity
- every 15 seconds:
- if health of {mob7} > 0:
- stop
- if {spawn.mob.8} is set:
- spawn 1 zombie at {spawn.mob.8}
- set the spawned zombie's display name to "&2Ork &cLVL.3"
- set the last spawned entity's max health to 8
- heal the last spawned entity
- set tool of last spawned entity to stick
- set {mob7} to last spawned entity
- every 15 seconds:
- if health of {mob8} > 0:
- stop
- if {spawn.mob.9} is set:
- spawn 1 zombie at {spawn.mob.9}
- set the spawned zombie's display name to "&2Ork &cLVL.7"
- set the last spawned entity's max health to 10
- heal the last spawned entity
- set tool of last spawned entity to stick
- set {mob8} to last spawned entity
- every 15 seconds:
- if health of {mob9} or {mob10} > 0:
- stop
- if {spawn.mob.10} is set:
- spawn 1 zombie at {spawn.mob.10}
- set the spawned zombie's display name to "&2Ork &cLVL.7"
- set the last spawned entity's max health to 10
- heal the last spawned entity
- set tool of last spawned entity to stick
- set {mob9} to last spawned entity
- if {spawn.mob.11} is set:
- spawn 1 zombie at {spawn.mob.11}
- set the spawned zombie's display name to "&2Ork &cLVL.7"
- set the last spawned entity's max health to 10
- heal the last spawned entity
- set tool of last spawned entity to stick
- set {mob10} to last spawned entity
- every 15 seconds:
- if health of {mob11} > 0:
- stop
- if {spawn.mob.12} is set:
- spawn 1 zombie at {spawn.mob.12}
- set the spawned zombie's display name to "&cGenerał &2Orków"
- set the last spawned entity's max health to 10
- heal the last spawned entity
- set tool of last spawned entity to stone sword
- set {mob11} to last spawned entity
- on combust:
- event-entity is zombie:
- cancel event
- event-entity is drowned:
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement