scoreboard players add @s levitate 1
scoreboard players set @s levitateX 20
execute if score @s levitate matches 1 run effect give @s levitation 1 40 true
execute if score @s levitate matches 2 run function mctsts:game/death