execute unless items entity @s armor.* *[minecraft:custom_data~{scavenger:1}] run return run function ws:work/join/fail {work:scavenger}
team join musor @s
execute unless score @s starterbonus.scavenger matches -3.. run scoreboard players set @s starterbonus.scavenger 30
tellraw @s[scores={starterbonus.scavenger=1..}] [{"translate":"starterbonus.active","color":"green"},{"translate":"starterbonus.scavenger"},{"translate":"starterbonus.left"},{"score":{"name":"*","objective":"starterbonus.scavenger"}},{"translate":"starterbonus.left2"}]
tp @s -1854.25 42 -2074.5 50 0
execute at @s[scores={starterbonus.scavenger=1..}] run playsound minecraft:entity.player.levelup player @s ~ ~ ~ 1 2