execute unless score hardmode newgame matches 1 run place structure survivalplus:blackcastle
execute unless score hardmode newgame matches 1 at @s run playsound minecraft:entity.wither.spawn player @a
execute unless score hardmode newgame matches 1 run tellraw @a [{"selector":"@s"},{"text":" has spawned the Black Castle"}]
scoreboard players set hardmode newgame 1
advancement revoke @s only survivalplus:eatcastlespawn