Code Blocks
To make it easier for others to read your code, it is asked that you send it in a code block. On Discord, you can simply send this:
```
Code here
```
1 messages · Page 1 of 1 (latest)
Code Blocks
To make it easier for others to read your code, it is asked that you send it in a code block. On Discord, you can simply send this:
```
Code here
```
on load:
set victim to enderdragon
kill all enderdragons
set enderdragon to false
every 1 hour:
if victim is false:
set victim to true
spawn enderdragon at location(0, 75, 0, world "world_the_end")
set display name of last spawned enderdragon to "&c&lBOSS"
if victim is not set:
set victim to false
on death:
if victim is enderdragon:
give attacker 1 dragon egg named "&d&lDragon's Egg"
set enderdragon 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:
give attacker 1 diamond
What do I need to change here?
What is that mean?