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 ~ ~ ~ ~ 0 execute if score #tmp emk-id matches 0..999 if score #tmp emk-stun matches 1 run tp @s ~ ~ ~ ~36 0 execute if score #tmp emk-id matches 0..999 if score #tmp emk-stun matches 2 run tp @s ~ ~ ~ ~72 0 execute if score #tmp emk-id matches 0..999 if score #tmp emk-stun matches 3 run tp @s ~ ~ ~ ~108 0 execute if score #tmp emk-id matches 0..999 if score #tmp emk-stun matches 4 run tp @s ~ ~ ~ ~144 0 execute if score #tmp emk-id matches 0..999 if score #tmp emk-stun matches 5 run tp @s ~ ~ ~ ~180 0 execute if score #tmp emk-id matches 0..999 if score #tmp emk-stun matches 6 run tp @s ~ ~ ~ ~216 0 execute if score #tmp emk-id matches 0..999 if score #tmp emk-stun matches 7 run tp @s ~ ~ ~ ~252 0 execute if score #tmp emk-id matches 0..999 if score #tmp emk-stun matches 8 run tp @s ~ ~ ~ ~288 0 execute if score #tmp emk-id matches 0..999 if score #tmp emk-stun matches 9 run tp @s ~ ~ ~ ~324 0 execute if score #tmp emk-id matches 1000.. positioned ^ ^ ^2 run function emk:seat/move #execute if score #tmp emk-id matches 0..999 run scoreboard players set #tmp emk-id -1