scoreboard players reset challenge
effect give @a minecraft:darkness 5 0 true
execute as @a at @s run playsound minecraft:entity.wither.spawn master @s ~ ~ ~ 1 0
execute as @a at @s run playsound minecraft:entity.wither.death master @s ~ ~ ~ 1 0

#remove titan challenge
execute as @a run attribute @s max_health modifier remove e13339a6-de2e-4c5a-a4a6-fa1c830239af
execute as @a run attribute @s attack_damage modifier remove 6c27a6a1-7e8c-4550-8466-50632506b092
execute as @a run attribute @s max_absorption modifier remove 118fb4ef-8557-43d4-8715-fb4dd5759661
execute as @a run attribute @s movement_speed modifier remove 157c9194-618f-42a1-8a66-af501720237c
execute as @a run attribute @s luck modifier remove 157c9194-618f-42a1-8a66-af501720237c
scoreboard players reset challenge hardmode
scoreboard players reset Titan hardmode
execute as @e[type=#survivalplus:changed] run attribute @s attack_damage modifier remove ee1d06d6-f420-49b1-bb2a-61ed30136bf3
execute as @e[type=#survivalplus:changed] run attribute @s movement_speed modifier remove e686965e-48e1-4ac3-9faa-b0ee903993de
effect clear @a hunger

tellraw @a {"text":"Titan's challenge has been abandoned!","bold":true,"color":"red"}
tellraw @a {"text":"Something has changed!","bold":true,"color":"dark_red"}
tellraw @a {"text":"But not yet, bc this is still a WIP"}
#summon item ~ ~ ~ {Item:{Count:1b,id}}
#scoreboard players set cursetitan hardmode 1