execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=!damage] at @s run function koncept:checkpoint
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=damage] at @s run function koncept:checkpoint_damage
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand] at @s run spawnpoint @a[distance=..1] ~ ~ ~
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint1] at @s run spawnpoint @a[distance=..1] ~-1 ~ ~1 47.95 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint2] at @s run spawnpoint @a[distance=..1] ~1 ~ ~1 -21.15 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint3] at @s run spawnpoint @a[distance=..1] ~1 ~ ~-1 -479.36 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint4] at @s run spawnpoint @a[distance=..1] ~-1 ~ ~ -52.38 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint5] at @s run spawnpoint @a[distance=..1] ~ ~ ~ 40.18 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint6] at @s run spawnpoint @a[distance=..1] ~-1 ~ ~ 463.72 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint7] at @s run spawnpoint @a[distance=..1] ~1 ~ ~ 0 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint8] at @s run spawnpoint @a[distance=..1] ~ ~ ~ -90 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint9] at @s run spawnpoint @a[distance=..1] ~-1 ~ ~ 90 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint10] at @s run spawnpoint @a[distance=..1] ~1 ~ ~1 -23.36 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint11] at @s run spawnpoint @a[distance=..1] ~-1 ~ ~ 153.07 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint12] at @s run spawnpoint @a[distance=..1] ~ ~ ~ -199.57 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint13] at @s run spawnpoint @a[distance=..1] ~ ~ ~1 0 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint14] at @s run spawnpoint @a[distance=..1] ~1 ~ ~ -90 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint15] at @s run spawnpoint @a[distance=..1] ~ ~ ~ -90 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint16] at @s run spawnpoint @a[distance=..1] ~ ~ ~-1 -198.13 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint17] at @s run spawnpoint @a[distance=..1] ~ ~ ~ -418.44 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint18] at @s run spawnpoint @a[distance=..1] ~-1 ~ ~ 90 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint19] at @s run spawnpoint @a[distance=..1] ~ ~ ~-1 -251.85 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint20] at @s run spawnpoint @a[distance=..1] ~1 ~ ~ -219.53 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint21] at @s run spawnpoint @a[distance=..1] ~ ~ ~ -305.35 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint23] at @s run spawnpoint @a[distance=..1] ~-1 ~ ~-1 -238.41 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint24] at @s run spawnpoint @a[distance=..1] ~-1 ~ ~ 90 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint25] at @s run spawnpoint @a[distance=..1] ~ ~ ~-1 -180 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint27] at @s run spawnpoint @a[distance=..1] ~-1 ~ ~-1 -214.08 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint28] at @s run spawnpoint @a[distance=..1] ~ ~ ~1 -199.32 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint30] at @s run spawnpoint @a[distance=..1] ~-1 ~ ~2 -324.55 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint31] at @s run spawnpoint @a[distance=..1] ~-1 ~ ~1 30 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint32] at @s run spawnpoint @a[distance=..1] ~1 ~ ~-1 -135 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint33] at @s run spawnpoint @a[distance=..1] ~2 ~ ~ 55.95 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint34] at @s run spawnpoint @a[distance=..1] ~ ~ ~-1 574.52 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint35] at @s run spawnpoint @a[distance=..1] ~ ~ ~ 876.03 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint36] at @s run spawnpoint @a[distance=..1] ~1 ~ ~ 90 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint37] at @s run spawnpoint @a[distance=..1] ~1 ~ ~ -90 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint38] at @s run spawnpoint @a[distance=..1] ~ ~ ~-2 0 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint39] at @s run spawnpoint @a[distance=..1] ~ ~ ~-1 180 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint40] at @s run spawnpoint @a[distance=..1] ~1 ~ ~ -69.16 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint41] at @s run spawnpoint @a[distance=..1] ~-1 ~-2 ~ -90 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint42] at @s run spawnpoint @a[distance=..1] ~ ~ ~-1 180 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint43] at @s run spawnpoint @a[distance=..1] ~ ~ ~-1 0 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint44] at @s run spawnpoint @a[distance=..1] ~1 ~ ~1 -51.92 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint45] at @s run spawnpoint @a[distance=..1] ~-1 ~ ~ 90 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint46] at @s run spawnpoint @a[distance=..1] ~ ~ ~-1 153 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint47] at @s run spawnpoint @a[distance=..1] ~ ~ ~-1 180 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint48] at @s run spawnpoint @a[distance=..1] ~ ~ ~-1 -152 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint49] at @s run spawnpoint @a[distance=..1] ~ ~ ~-1 180 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint50] at @s run spawnpoint @a[distance=..1] ~ ~ ~1 0 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint51] at @s run spawnpoint @a[distance=..1] ~-1 ~ ~ 90 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint52] at @s run spawnpoint @a[distance=..1] ~3 ~-1 ~-3 5987.10 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint53] at @s run spawnpoint @a[distance=..1] ~1 ~ ~-1 -107 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint54] at @s run spawnpoint @a[distance=..1] ~-1 ~ ~1 37 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand,tag=checkpoint55] at @s run spawnpoint @a[distance=..1] ~-1 ~ ~-1 -180 0

execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand] at @s run playsound minecraft:entity.arrow.hit_player ambient @a ~ ~ ~ 1 1 0
execute as @e[tag=!checkpoint_2,tag=checkpoint_1,type=minecraft:armor_stand] at @s run particle minecraft:totem_of_undying ~ ~0.5 ~ 0.09 0.09 0.09 0.2 35