local debounce = true script.Parent.Touched:Connect(function(hit) print("Touched") if hit.Parent:FindFirstChild("Humanoid") then if debounce then debounce = false while script.Parent.Transparency <= 1 do script.Parent.Transparency = script.Parent.Transparency + 0.004 wait(0.01) end script.Parent.CanCollide = false wait(3) script.Parent.CanCollide = true script.Parent.Transparency = 0 debounce = true end end end)
It checks if the object hitting it is a humanoid, so why is it still activating? Same goes with my kill brick, it keeps printing.
I don't know what you are talking about. The script works perfectly fine. I put the script into a normal part. When I touched it, it worked fine. The script acted like it was supposed to do.