

execute if score end map matches 1 run summon marker 100 46.85 -32 {OnGround:1b,NoGravity:1b,Silent:1b,Invulnerable:1b,Rotation:[180F,0F],Tags:["pov_camera"]}

execute if score end map matches 1 run scoreboard players set gamemode map 0
execute if score end map matches 1 run scoreboard players set equipment map 10
execute if score end map matches 50 run title @a title "\uE001"
execute if score end map matches 50 run title @a times 0 0 0
execute if score end map matches 50 run playsound minecraft:map_intro1 master @a ~ ~ ~ 9999999999999 0.5
execute if score end map matches 50..280 as @e[tag=pov_camera] at @s run tp @s ~ ~ ~0.001
execute if score end map matches 150..152 run title @a title "\uE001"
execute if score end map matches 150..152 run title @a times 10 99999 0

execute if score end map matches 165 as @e[tag=pov_camera] at @s run tp @s 108 46.9 -32

execute if score end map matches 170 run title @a title "\uE001"
execute if score end map matches 170 run title @a times 0 0 10

execute if score end map matches 260 run title @a title "\uE001"
execute if score end map matches 260 run title @a times 10 99999 0

execute if score end map matches 300 run kill @e[tag=pov_camera]
execute if score end map matches 300..310 run tp @a 115 46 -31 -90 -11
execute if score end map matches 300 run scoreboard players set equipment map 0
execute if score end map matches 300 run clear @a

execute if score end map matches 330 run playsound minecraft:entity.experience_orb.pickup master @a ~ ~ ~ 9999999999999
execute if score end map matches 310 run title @a times 0 0 20
execute if score end map matches 330 run title @a title {"text":""}
execute if score end map matches 330 run title @a times 10 80 10
execute if score end map matches 330 run title @a subtitle {"text":"THANKS FOR PLAYING","bold":true,"color":"green"}

execute if score end map matches 1..300 run tp @p @e[tag=pov_camera,limit=1]

execute if score end map matches 1..330 run scoreboard players add end map 1