My script doesn't detect Drooling Zombie

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? I want to make my script detect zombie

  2. What is the issue? It doesn’t print anything, no errors

  3. What solutions have you tried so far? Change script and zombie

local db = true
script.Parent.Touched:Connect(function(hit)
	if hit.Parent:FindFirstChild("Drooling Zombie") and db ~= false then
		db = false
		print(123)
	end
end)

Must read: my zombie is in the folder

Are you sure you didn’t mean to do hit.Parent.Name == "Drooling Zombie"? That seems like it could be the most likely issue,

Thank you! it worked perfectly