

item replace entity @a[scores={spawn=85..}] hotbar.5 with carrot_on_a_stick[custom_name={"color":"#9ACFEE","italic":false,"text":"Return spawn"},custom_data={NoPickup:1b,return_spawn:1b},item_model="koncept:return_spawn"] 1
tag @s add count_return
item replace entity @a[scores={spawn=85..}] hotbar.3 with carrot_on_a_stick[custom_name={"color":"#80F968","italic":false,"text":"Return stage"},custom_data={NoPickup:1b,return_stage:1b},item_model="koncept:return_stage"] 1

scoreboard players set @a[scores={spawn=85..}] checkpoint 1
tag @a[scores={spawn=85..}] add player_start
tag @a[scores={spawn=85..}] add stopwatch
effect give @a[scores={spawn=85..}] minecraft:slow_falling 5 1 true
execute as @a[scores={spawn=1}] at @s run playsound minecraft:block.portal.trigger master @s ~ ~ ~ 5 1
execute as @a[scores={spawn=1..}] at @s run particle minecraft:portal ~ ~ ~ 0.1 0.1 0.1 1 2
effect give @a[scores={spawn=85..}] minecraft:saturation infinite 1 true
tp @a[scores={spawn=85..}] 38.96 29.04 10.79 42.62 5.29
playsound minecraft:entity.enderman.teleport master @a[scores={spawn=85..}] 36.95 25.00 12.13 3 1
tag @a[scores={spawn=85..}] remove start_player
tag @s[scores={spawn=85..}] remove start_player1
scoreboard players reset @a[scores={spawn=85..}] spawn

tag @s remove gamemode_creative
gamemode adventure @s
spawnpoint @s 36 25 10 45 0

team add collision
team modify collision collisionRule never

tag @s remove iceologer08_pl
tag @s remove iceologer08_pl_yes
scoreboard players set @s checkpoint_between_1 0
scoreboard players set @s checkpoint_between_2 0
scoreboard players set @s checkpoint_between_3 0
scoreboard players set @s checkpoint_between_4 0
scoreboard players set @s checkpoint_between_5 0
scoreboard players set @s checkpoint_between_6 0
scoreboard players set @s checkpoint_between_7 0
scoreboard players set @s checkpoint_between_8 0
scoreboard players set @s checkpoint_between_9 0
scoreboard players set @s checkpoint_between_10 0
scoreboard players set @s checkpoint_between_11 0
scoreboard players set @s checkpoint_between_12 0
scoreboard players set @s checkpoint_between_13 0
scoreboard players set @s checkpoint_between_14 0
scoreboard players set @s checkpoint_between_15 0
scoreboard players set @s checkpoint_between_16 0
scoreboard players set @s checkpoint_between_17 0
scoreboard players set @s checkpoint_between_18 0
scoreboard players set @s checkpoint_between_19 0
scoreboard players set @s checkpoint_between_20 0
scoreboard players set @s checkpoint_between_21 0
scoreboard players set @s checkpoint_between_22 0
scoreboard players set @s checkpoint_between_23 0
scoreboard players set @s checkpoint_between_24 0
scoreboard players set @s checkpoint_between_25 0
scoreboard players set @s checkpoint_between_26 0
scoreboard players set @s checkpoint_between_27 0
scoreboard players set @s checkpoint_between_28 0
scoreboard players set @s checkpoint_between_29 0
scoreboard players set @s checkpoint_between_30 0
scoreboard players set @s checkpoint_between_31 0
scoreboard players set @s checkpoint_between_32 0
scoreboard players set @s checkpoint_between_33 0
scoreboard players set @s checkpoint_between_34 0
scoreboard players set @s checkpoint_between_35 0
scoreboard players set @s checkpoint_between_36 0
scoreboard players set @s checkpoint_between_37 0
scoreboard players set @s checkpoint_between_38 0
scoreboard players set @s checkpoint_between_39 0
scoreboard players set @s checkpoint_between_40 0
scoreboard players set @s checkpoint_between_41 0
scoreboard players set @s checkpoint_between_42 0
scoreboard players set @s checkpoint_between_43 0
scoreboard players set @s checkpoint_between_44 0
scoreboard players set @s checkpoint_between_45 0
scoreboard players set @s checkpoint_between_46 0
scoreboard players set @s checkpoint_between_47 0
scoreboard players set @s checkpoint_between_48 0
scoreboard players set @s checkpoint_between_49 0
scoreboard players set @s checkpoint_between_50 0
scoreboard players set @s checkpoint_between_51 0
scoreboard players set @s checkpoint_between_52 0
scoreboard players set @s checkpoint_between_53 0
scoreboard players set @s checkpoint_between_54 0
scoreboard players set @s checkpoint_between_55 0