execute as @s[nbt={equipment:{chest:{components:{"minecraft:enchantments":{"survivalplus:panic_speed":1}}}}}] run effect give @s speed 10 0
execute as @s[nbt={equipment:{chest:{components:{"minecraft:enchantments":{"survivalplus:panic_speed":2}}}}}] run effect give @s speed 10 1
execute as @s[nbt={equipment:{chest:{components:{"minecraft:enchantments":{"survivalplus:panic_speed":3}}}}}] run effect give @s speed 10 2
execute as @s[nbt={equipment:{chest:{components:{"minecraft:enchantments":{"survivalplus:panic_speed":4}}}}}] run effect give @s speed 10 3
execute as @s[nbt={equipment:{chest:{components:{"minecraft:enchantments":{"survivalplus:panic_speed":5}}}}}] run effect give @s speed 10 4