execute if entity @s[tag=mafioz] run return run title @s title {"translate":"police.mafia"}
execute if entity @s[tag=police] run return run title @s title {"translate":"police.already"}
scoreboard players operation @s law.count = @s law.drugs
scoreboard players operation @s law.count += @s law.kills
execute if score @s[tag=!police] law.count matches 1.. run return run function ws:misc/police/law

tag @s add police
title @s title {"translate":"police.nolawbreaks"}
title @s subtitle {"translate":"police.nolawbreaks.sub"}
tellraw @s {"translate":"police.description"}