healthtarget
The healthtarget command, when used, changes all the targets on the block's target list's health.



"then(healthtarget, amount)"


Argument Function
amount The target's new health. (Note, players and emeies have capped health, player health is capped at 600 if theyre not wearing the surgical gown.)



And example of the healthtarget command used in a script is as follows...




The following script kills all enemies in range when interacted with.


if(interact)
{
then(cleartarget)
then(addtarget,enemy)
then(filtertarget,distance,<,256)
then(healthtarget,0)
then(destroy)
}