$execute as @e[tag=weight.active$(id)] at @s run function ws:misc/gym/weightfailplayer
$tag @e[tag=weight.active$(id)] remove weight.active$(id)
$execute at @n[tag=weight_default_pos,tag=id$(id)] run tp @n[tag=weight,tag=id$(id)] ~ ~ ~ 90 0
$execute unless entity @e[type=interaction,tag=weight.activator,tag=id$(id)] at @s align y run summon interaction ~ ~ ~ {Tags:["weight.activator","id$(id)"],height:3.0f,width:2.0f}
$execute at @e[type=interaction,tag=weight.activator,tag=id$(id)] unless entity @e[tag=weight.rmb,tag=id$(id)] run summon minecraft:text_display ~ ~1.8 ~ {Tags:["weight.rmb",id$(id)],Rotation:[90f,0f],text:'{"translate":"treadmill.rmb"}',background:0}