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