execute if entity @s[team=gruzchik] run return run function ws:misc/workdeathpost/loader
execute if entity @s[team=povar] run return run function ws:misc/workdeathpost/chef
execute if entity @s[team=fermer] run return run function ws:misc/workdeathpost/farmer
execute if entity @s[team=producer] run return run function ws:misc/workdeathpost/producer
execute if entity @s[team=miner] run return run function ws:misc/workdeathpost/tier2/miner
execute if entity @s[team=maid] run return run function ws:misc/workdeathpost/tier2/maid