#Reset Last Level
setblock -86 53 101 crimson_button[powered=false,face=ceiling,facing=east]
scoreboard players add @p[x=-86.76,y=48.50,z=99.49,distance=..2] level 1

#Next Level
execute in overworld run tp @p[x=-86.76,y=48.50,z=99.49,distance=..2] -62.29 48.00 110.55 60 0
title @p[x=-62.29,y=48.00,z=110.55,distance=..1] actionbar {"text":"Level 11: Ocean Floor","bold":true,"color":"blue"}
playsound block.note_block.chime master @p[x=-62.29,y=48.00,z=110.55,distance=..1] -63.19 48.44 116.67 1 2

#Reset Inventory
clear @p[x=-62.29,y=48.00,z=110.55,distance=..1]
item replace entity @p[x=-62.29,y=48.00,z=110.55,distance=..1] container.17 with warped_fungus_on_a_stick{display:{Name:'[{"text":"Right Click:","italic":false,"bold":true,"color":"gold"},{"text":" ","bold":false},{"text":"Return To Hub","bold":false,"color":"white"}]',Lore:['[{"text":"Teleports the player","italic":false,"color":"gray"}]','[{"text":"back to the hub.","italic":false,"color":"gray"}]']}} 1
item replace entity @p[x=-62.29,y=48.00,z=110.55,distance=..1] container.4 with birch_button{RepairCost:40,display:{Name:'[{"text":"Birch Button","italic":false}]',Lore:['[{"text":"You must find a ","italic":false,"color":"gray"},{"text":"Birch Button","underlined":true},{"text":" to progress","underlined":false}]']}} 1
item replace entity @p[x=-62.29,y=48.00,z=110.55,distance=..1] container.0 with ender_eye{RepairCost:40,display:{Name:'[{"text":"Right Click:","italic":false,"bold":true,"color":"gold"},{"text":" ","bold":false},{"text":"Button Locator","bold":false,"color":"white"}]',Lore:['[{"text":"WARNING:","italic":false,"color":"red","bold":true},{"text":" Using this item will","italic":false,"color":"red","bold":false}]','[{"text":"subtract from your total hints.","italic":false,"color":"red"}]']}} 1
execute if score var spyGlass matches 1 run item replace entity @p[x=-62.29,y=48.00,z=110.55,distance=..1] container.8 with spyglass{RepairCost:40,display:{Name:'[{"text":"Magnifier","italic":false,"color":"gold","bold":true}]',Lore:['[{"text":"Hold right-click to","italic":false,"color":"gray"}]','[{"text":"magnify your target.","italic":false,"color":"gray"}]']}} 1