execute @e[tag=tempinteract] ~ ~ ~ tp @s @e[tag=table,scores={tableorder=0}]
execute @e[tag=tempinteract] ~ ~ ~ tp @s ~ ~0.015 ~


#add score tableorder
scoreboard players add @e[scores={tableorder=0..}] tableorder 1
scoreboard players set @e[tag=tempinteract] tableorder 0

#x offset
execute @e[tag=dummy,scores={x_offset=1}] ~ ~ ~  execute @e[tag=tempinteract] ~ ~ ~ tp @s 38.35 ~ ~
execute @e[tag=dummy,scores={x_offset=2}] ~ ~ ~  execute @e[tag=tempinteract] ~ ~ ~ tp @s 38.4 ~ ~
execute @e[tag=dummy,scores={x_offset=3}] ~ ~ ~  execute @e[tag=tempinteract] ~ ~ ~ tp @s 38.45 ~ ~
execute @e[tag=dummy,scores={x_offset=4}] ~ ~ ~  execute @e[tag=tempinteract] ~ ~ ~ tp @s 38.5 ~ ~
execute @e[tag=dummy,scores={x_offset=5}] ~ ~ ~  execute @e[tag=tempinteract] ~ ~ ~ tp @s 38.55 ~ ~
execute @e[tag=dummy,scores={x_offset=6}] ~ ~ ~  execute @e[tag=tempinteract] ~ ~ ~ tp @s 38.6 ~ ~
execute @e[tag=dummy,scores={x_offset=7}] ~ ~ ~  execute @e[tag=tempinteract] ~ ~ ~ tp @s 38.65 ~ ~

#z offset
execute @e[tag=dummy,scores={z_offset=1}] ~ ~ ~  execute @e[tag=tempinteract] ~ ~ ~ tp @s ~ ~ -37.75
execute @e[tag=dummy,scores={z_offset=2}] ~ ~ ~  execute @e[tag=tempinteract] ~ ~ ~ tp @s ~ ~ -37.7
execute @e[tag=dummy,scores={z_offset=3}] ~ ~ ~  execute @e[tag=tempinteract] ~ ~ ~ tp @s ~ ~ -37.65
execute @e[tag=dummy,scores={z_offset=4}] ~ ~ ~  execute @e[tag=tempinteract] ~ ~ ~ tp @s ~ ~ -37.6
execute @e[tag=dummy,scores={z_offset=5}] ~ ~ ~  execute @e[tag=tempinteract] ~ ~ ~ tp @s ~ ~ -37.55
execute @e[tag=dummy,scores={z_offset=6}] ~ ~ ~  execute @e[tag=tempinteract] ~ ~ ~ tp @s ~ ~ -37.5
execute @e[tag=dummy,scores={z_offset=7}] ~ ~ ~  execute @e[tag=tempinteract] ~ ~ ~ tp @s ~ ~ -37.45

#rot offset offset
execute @e[tag=dummy,scores={rot_offset=1}] ~ ~ ~  execute @e[tag=tempinteract] ~ ~ ~ tp @s ~0.45 ~ ~0.20 -30 ~
execute @e[tag=dummy,scores={rot_offset=2}] ~ ~ ~  execute @e[tag=tempinteract] ~ ~ ~ tp @s ~0.30 ~ ~0.10 -20 ~
execute @e[tag=dummy,scores={rot_offset=3}] ~ ~ ~  execute @e[tag=tempinteract] ~ ~ ~ tp @s ~0.25 ~ ~0.05 -10 ~
execute @e[tag=dummy,scores={rot_offset=4}] ~ ~ ~  execute @e[tag=tempinteract] ~ ~ ~ tp @s ~ ~ ~ 0 ~
execute @e[tag=dummy,scores={rot_offset=5}] ~ ~ ~  execute @e[tag=tempinteract] ~ ~ ~ tp @s ~-0.25 ~ ~0.05 10 ~
execute @e[tag=dummy,scores={rot_offset=6}] ~ ~ ~  execute @e[tag=tempinteract] ~ ~ ~ tp @s ~-0.30 ~ ~0.10 20 ~
execute @e[tag=dummy,scores={rot_offset=7}] ~ ~ ~  execute @e[tag=tempinteract] ~ ~ ~ tp @s ~-0.45 ~ ~0.20 30 ~