data remove entity @s interaction
tag @e[tag=scientist.selector,tag=firstselected] remove firstselected
tag @e[tag=scientist.selector,tag=secondselected] add firstselected
tag @e[tag=scientist.selector,tag=secondselected] remove secondselected
tag @s add secondselected
execute at @s run playsound minecraft:ui.button.click block @a ~ ~ ~ 0.5
execute as @e[tag=scientist.craft,type=item_display] run function ws:work/misc/tier2/scientist/resetcapsule
execute as @e[tag=scientist.selector,tag=firstselected] run function ws:work/misc/tier2/scientist/modifycraft with entity @s Passengers[].data
function ws:work/misc/tier2/scientist/modifycraft with entity @s Passengers[].data
execute as @n[tag=scientist.craft] store result entity @s item.components."minecraft:dyed_color".rgb int 0.5 run scoreboard players get @s scientist.color