title @a title ["",{"text":"Figure out what the portal is!","color":"red"}]
tp @a -34 5 -82 0 0
effect @a 14 10 0 true
effect @a 11 0
title @a times 0 200 0
spawnpoint @a 2 6 -121
tellraw @a ["",{"text":"You've discovered a strange building and eventually reached this room! What could this portal be?","color":"gray"}]
scoreboard players tag @r add swordRan
give @a[tag=swordRan] iron_sword 1 0 {display:{Name:"§r§7§lGanon's Sword"},HideFlags:63,Unbreakable:1}
give @a[tag=!swordRan] diamond_sword 1 0 {display:{Name:"§r§7§lMaster Sword"},HideFlags:63,Unbreakable:1}
title @a subtitle [""]