execute on target run function ws:work/misc/scavenger/checkprof
execute if entity @a[tag=notmusor] run data remove entity @s interaction
tag @a[tag=notmusor] remove notmusor
scoreboard players remove @s[scores={bin.cooldown=1..}] bin.cooldown 1
execute at @s[scores={bin.cooldown=1}] run particle minecraft:happy_villager ~ ~0.5 ~ 0.3 0.3 0.3 1 100
execute at @s[scores={bin.cooldown=1}] run playsound minecraft:block.copper_door.open block @a[distance=..20] ~ ~ ~ 0.4 1
execute if score @s bin.cooldown matches 1.. on target run return run function ws:work/misc/scavenger/cooldown
execute if data entity @s interaction run scoreboard players set @s bin.cooldown 3200
execute at @e[tag=bin,type=minecraft:interaction,scores={bin.cooldown=1600}] run particle minecraft:wax_off ~ ~0.5 ~ 0.3 0.3 0.3 1 10
execute on target run function ws:work/misc/scavenger/collect
data remove entity @s interaction