#Help

1 messages · Page 1 of 1 (latest)

crude vigil
#
  set {enderdragonSpawned} to enderdragon
  kill all enderdragons
  set {enderdragonSpawned} to false
  
every 1 second in world "world_the_end":
    if {enderdragonSpawned} is false:
        set {enderdragonSpawned} to true
        spawn enderdragon at location(0, 75, 0, world "world_the_end") 
        set display name of last spawned enderdragon to "&c&lBOSS"
        
on death:
  if {enderdragonSpawned} is enderdragon:
    give attacker 1 dragon egg named "&d&lDragon's Egg"
    set {enderdragonSpawned} to false
    send "&a&l--------------------------------------" to all players
    send "" to all players
    send "&a%attacker% killed the &c&lBOSS!" to all players
    send "" to all players
    send "&a&l--------------------------------------" to all players

on spawn of enderdragon:
   send "&c&l---------------------------------------" to all players
   send "" to all players
   send "&c&lBoss spawned!" to all players
   send "" to all players
   send "&c&l---------------------------------------" to all players
   
on damage:
    if damaged mob is enderdragon:
        if display name of last spawned enderdragon is "&c&lBOSS":
        give attacker 1 diamond
sacred ingot
#

💀