tag @s add inControl

function bd:game/check_for_advancements

#i like to be bold
kill @e[type=!player,tag=!nokill]

scoreboard players operation @s char_set_x = global char_set_x
scoreboard players operation @s char_set_y = global char_set_y
scoreboard players operation @s char_set_z = global char_set_z
scoreboard players operation @s faceDirection = global char_set_face

function bd:levels/_reload_level
scoreboard players set global moveCooldown 40

execute as @a at @s run playsound minecraft:block.beacon.activate master @s ~ ~100000 ~ 1000000 1.9
tellraw @a[tag=!inControl] ["",{"selector":"@s","color":"#FFAA00"},{"text":" is now controlling the bulldozer."}]
tellraw @s ["",{"text":"Welcome back!","color":"#FFAA00"}]