Script is not getting past print number 5

deleted
end
end
end
local char = Character
local player = game.Players[char.Name]
end
end
end
end

You could try printing out both values, and seeing which one is false which is causing your script to stop running.

It’s checking the HasTag, because before print(“4”) it already double checks the humanoid health.

This is my first time with Collection Service, so it’s probaby something with the tags.

Yeah I just saw that. Are you sure the Instance you are checking actually has the tag?

I put a brick with the tag right in front of the NPC’s face, so I’m not sure why it wont work. Does the tag’s value have to be true?

To add a tag to a part, you gotta use the CollectionService’s AddTag function. And yes, it has to be true.

local CollectionService = game:GetService("CollectionService")
local part = Instance.new("Part") -- example part
CollectionService:AddTag(part, "Suspicious")