You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? I want to make my script detect zombie
-
What is the issue? It doesn’t print anything, no errors
-
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