scoreboard players add @s scp805function 1
execute as @s[scores={scp805function=5..302}] at @s run effect @s weakness 5 2 true
execute as @s[scores={scp805function=50..302}] at @s run effect @s weakness 5 5 true
execute as @s[scores={scp805function=150..302}] at @s run effect @s slowness 5 3 true
execute as @s[scores={scp805function=250..302}] at @s run effect @s slowness 5 5 true
execute as @s[scores={scp805function=301..}] at @s run summon scpcf:scp_805_frozen_human ~~~
execute as @s[scores={scp805function=301..}] at @s run kill @s
execute as @s[scores={scp805function=302..}] at @s run tag @s remove scp805function