# #VB.Result vb.dummy9 is a success score, set to 0 outside this function, to check if a mob was hit successfully

setblock ~ ~ ~ copper_bulb
execute if block ~ ~ ~ copper_bulb[lit=true] run scoreboard players set #VB.Result vb.dummy9 1
$setblock ~ ~ ~ $(block)