scoreboard players set @s meteorite.rotation 35
data merge entity @s {start_interpolation:-1,interpolation_duration:0,transformation:{scale:[6f,6f,6f]}}
execute at @s run particle minecraft:reverse_portal ~ ~ ~ 1.5 1.5 1.5 1 1000
execute at @s run playsound minecraft:entity.enderman.teleport block @a ~ ~ ~ 7 0
tag @s remove meteorite.deactivated
scoreboard players set @s meteorite.cd -1
tellraw @a[team=scientist] {"translate":"scientist.newmeteorite","color":"green"}
execute as @e[tag=scientist.text] run data merge entity @s {start_interpolation:-1,transformation:{scale:[4f,4f,4f]}}
execute as @e[tag=scientist.progressbar] run data merge entity @s {transformation:{scale:[5f,5f,5f]}}
function ws:work/misc/tier2/scientist/generatematerials
execute if data entity @s item.components."minecraft:custom_data".uncommon_material as @e[tag=meteorite.study.250] run data merge entity @s {transformation:{scale:[5f,5f,5f]}}
execute if data entity @s item.components."minecraft:custom_data".rare_material as @e[tag=meteorite.study.100] run data merge entity @s {transformation:{scale:[5f,5f,5f]}}
function ws:work/misc/tier2/scientist/meteoritedata