I have not tried as of yet because i do not know where to start. However if i were to have a follow brick that had health with code similar to this:
local torso = findNearestTorso(bin.Position)
if torso~=nil then
move(torso)
moveTo(torso)
end
wait()
end
how would i deny any of that script if i the health of the brick ai equaled 0?

2 comments
You're currently allowing the function to happen if the player is dead. Make it torso.Health > 0
Oh I am, thanks! Wasn't thinking!