scoreboard players add @s scp149function 1
execute as @s[scores={scp149function=50..302}] at @s run effect @s weakness 5 5 true
execute as @s[scores={scp149function=150..302}] at @s run effect @s slowness 5 3 true
execute as @s[scores={scp149function=250..302}] at @s run effect @s nausea 5 1 true
execute as @s[scores={scp149function=251..302}] at @s run title @s actionbar You are not feeling good.
execute as @s[scores={scp149function=300..}] at @s run summon scpcf:scp_149 ~~~
execute as @s[scores={scp149function=302..}] at @s run summon scpcf:scp_149 ~~~
execute as @s[scores={scp149function=301..}] at @s run kill @s
execute as @s[scores={scp149function=302..}] at @s run tag @s remove scp149function
