scoreboard players set @s meteorite.study.damage 4
scoreboard players operation @s meteorite.study.health -= @s meteorite.study.damage
execute as @e[tag=meteorite.study,tag=!meteorite.passive.display] run function ws:work/misc/tier2/scientist/displaystudy
execute if score @s[tag=!layer2.reached] meteorite.study.health matches ..250 run function ws:work/misc/tier2/scientist/reachlayer2
execute if score @s[tag=!layer3.reached] meteorite.study.health matches ..100 run function ws:work/misc/tier2/scientist/reachlayer3
execute if score @s[tag=!final.reached] meteorite.study.health matches ..0 run function ws:work/misc/tier2/scientist/reachfinal