setblock 0 103 -8 minecraft:polished_blackstone_button[powered=false,facing=south]
playsound minecraft:entity.arrow.hit_player master @a 0 103 -8 0.7 0.9
scoreboard players add difficulty difficulty 1
execute if entity @s[tag=!victory] if score difficulty difficulty matches 4.. run scoreboard players set difficulty difficulty 1
execute if entity @s[tag=!victory] if score difficulty difficulty matches 1 run tellraw @a [{"text":"Difficulty has been set to:","color":"yellow","bold":false},{"text":" Novice","color":"green","bold":true},{"text":" \nFood heals you. Instant Respawns. No Fall Damage.","color":"gray","bold":false,"italic":true}]
execute if entity @s[tag=!victory] if score difficulty difficulty matches 2 run tellraw @a [{"text":"Difficulty has been set to:","color":"yellow","bold":false},{"text":" Intermediate","color":"yellow","bold":true},{"text":" \nFood heals you. 10 second respawn delay.","color":"gray","bold":false,"italic":true}]
execute if entity @s[tag=!victory] if score difficulty difficulty matches 3 run tellraw @a [{"text":"Difficulty has been set to:","color":"yellow","bold":false},{"text":" Advanced","color":"red","bold":true},{"text":" \nFood doesn't heal you. 10 second respawn delay.","color":"gray","bold":false,"italic":true}]
execute if entity @s[tag=victory] if score difficulty difficulty matches 5.. run scoreboard players set difficulty difficulty 1
execute if entity @s[tag=victory] if score difficulty difficulty matches 1 run tellraw @a [{"text":"Difficulty has been set to:","color":"yellow","bold":false},{"text":" Novice","color":"green","bold":true},{"text":" \nFood heals you. Instant Respawns. No Fall Damage.","color":"gray","bold":false,"italic":true}]
execute if entity @s[tag=victory] if score difficulty difficulty matches 2 run tellraw @a [{"text":"Difficulty has been set to:","color":"yellow","bold":false},{"text":" Intermediate","color":"yellow","bold":true},{"text":" \nFood heals you. 10 second respawn delay.","color":"gray","bold":false,"italic":true}]
execute if entity @s[tag=victory] if score difficulty difficulty matches 3 run tellraw @a [{"text":"Difficulty has been set to:","color":"yellow","bold":false},{"text":" Advanced","color":"red","bold":true},{"text":" \nFood doesn't heal you. 10 second respawn delay.","color":"gray","bold":false,"italic":true}]
execute if entity @s[tag=victory] if score difficulty difficulty matches 4 run tellraw @a [{"text":"Difficulty has been set to:","color":"yellow","bold":false},{"text":" Master","color":"dark_red","bold":true},{"text":" \nHardcore: Food doesn't heal you. 1 life per player. Double Mob HP.","color":"dark_red","bold":false,"italic":true}]
tag @a remove difficulty