execute if score #tmp emk-id matches 1000.. run scoreboard players remove #tmp emk-id 1000 execute if score #tmp emk-id matches 0..999 if score #tmp emk-stun matches 0 run tp @s ~ ~ ~ ~90 0 execute if score #tmp emk-id matches 0..999 if score #tmp emk-stun matches 1 run tp @s ~ ~ ~ ~126 0 execute if score #tmp emk-id matches 0..999 if score #tmp emk-stun matches 2 run tp @s ~ ~ ~ ~162 0 execute if score #tmp emk-id matches 0..999 if score #tmp emk-stun matches 3 run tp @s ~ ~ ~ ~198 0 execute if score #tmp emk-id matches 0..999 if score #tmp emk-stun matches 4 run tp @s ~ ~ ~ ~234 0 execute if score #tmp emk-id matches 0..999 if score #tmp emk-stun matches 5 run tp @s ~ ~ ~ ~270 0 execute if score #tmp emk-id matches 0..999 if score #tmp emk-stun matches 6 run tp @s ~ ~ ~ ~306 0 execute if score #tmp emk-id matches 0..999 if score #tmp emk-stun matches 7 run tp @s ~ ~ ~ ~342 0 execute if score #tmp emk-id matches 0..999 if score #tmp emk-stun matches 8 run tp @s ~ ~ ~ ~18 0 execute if score #tmp emk-id matches 0..999 if score #tmp emk-stun matches 9 run tp @s ~ ~ ~ ~54 0 execute if score #tmp emk-id matches 1000.. positioned ^ ^ ^.4 run function emk:seat/movecart #execute if score #tmp emk-id matches 0..999 run scoreboard players set #tmp emk-id -1