Npc with BoolValue

Hello, so what I am trying to do is that if a npc has a BoolValue inside of them that is true the script will work on them and they get highlightet
this is what I have right now

if you need more explaining tell me.

anyways have a great day :wink: