execute if entity @s[tag=edit_mode] run return run tellraw @s ["",{"text":"You must use the ","color":"red"},{"text":"Nether Star","color":"white"},{"text":" to return!","color":"red"}]
gamemode adventure @s
tag @s remove picking_map
function pctf:tp/lobby