$scoreboard players set @e[tag=id$(id),tag=treadmill.timer] treadmill.timer 10
$scoreboard players operation @e[tag=id$(id),tag=treadmill.timer,limit=1] treadmill.timer *= @a[tag=treadmill.active$(id),limit=1] treadmill.level
$scoreboard players operation @e[tag=id$(id),tag=treadmill.timer,limit=1] treadmill.timer *= .ticktosec treadmill.timer