item replace entity @s armor.feet with leather_boots 1
clear @s
item replace entity @s 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 @s 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 @s 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