$tag @s remove weight.active$(id)
scoreboard players reset @s weight.holdfor
attribute @s minecraft:generic.movement_speed modifier remove weight
scoreboard players add @s[scores={weight.level=..20}] weight.level 1
execute at @s run playsound minecraft:custom.questpassed player @s[scores={weight.level=..20}] ~ ~ ~ 0.3
title @s[scores={weight.level=..20}] title {"translate":"gym.levelup","bold":true,"color":"light_purple"}
title @s[scores={weight.level=..19}] subtitle {"translate":"gym.weight.levelup.subtitle"}
title @s[scores={weight.level=20}] subtitle {"translate":"gym.weight.levelup.final","bold":true}
title @s[scores={weight.level=21}] title {"translate":"gym.weight.restored"}
execute as @s[scores={weight.level=..20}] run function ws:misc/stats/addstrength
tp @s 2064 44 2093 0 0