execute at @s run playsound minecraft:block.anvil.land master @s ~ ~ ~ 0.2 1.7
scoreboard players add @s weight.pushes 1
scoreboard players set @s weight.holdfor 0
function ws:misc/gym/weightgenerate
tellraw @s {"translate":"gym.weight.squat.success","color":"dark_green"}
$execute if score @s weight.pushes > @s weight.level run function ws:misc/gym/weightreward {id:$(id)}