scoreboard players add .current lost 1
execute unless score .current lost matches 30.. run return 0
data merge entity @n[tag=lost.navigation] {text:[{"translate":"lost.navigation","with":[{"keybind":"key.jump","color":"green"},{"keybind":"key.sprint","color":"red"}]}],start_interpolation:-10}
data modify entity @n[tag=player.camera] teleport_duration set value 5
function funkalot:notesystem/disappear
kill @e[tag=key.note]
execute if score .current lost matches 30 run data merge entity @n[tag=lost.title] {transformation:{scale:[2f,2f,2f]},start_interpolation:0}
execute if score .current lost matches 32 run data merge entity @n[tag=lost.navigation] {transformation:{scale:[1f,1f,1f]},start_interpolation:0}
execute if score @s sprint.press matches 1 at @s run playsound funkalot:ui.goback ui @a ~ ~ ~ 0.8 1 0
execute if score @s sprint.press matches 1.. run return run scoreboard players reset @s
execute if score @s space.press matches 1.. run function funkalot:lost/again