code_language.skript:
every 2 seconds:
loop all zombies:
loop all blocks in radius 10 of loop-zombie:
if line 1 of loop-block is "[Building]":
if line 2 of loop-block is "LightTower":
if line 3 of loop-block is "Level 1":
if loop-block is a sign:
damage loop-zombie by 0.5 heart
drawLine particle redstone, center loop-block, target location of loop-zombie, id "%loop-zombie%", rainbowMode true, solid true, density 5, length 6, zigZag count 0, height 0, visibleRange 32, displacementXYZ 0, 1, 0, pulseDelay 1
stop
I am trying to do that from sign particle line target loop-zombie
Ty for help