G’day dear Devforum. I’ve encountered a new problem that seems to blocking me from testing something. My touch event for a part isn’t registering and I don’t know why.
The parts CanTouch property is on the only thing disabled is can collide. robloxapp-20241223-2209138.wmv (1.6 MB)
Here’s an example to what I’ve been encountering
script.Parent.Touched:Connect(function(hit)
if hit:FindFirstChild(“Humanoid”) then
print(hit.Parent.Name)
end
end)
And here’s the code
Although I don’t see any issue with the code nor are there any errors in my output
its hit.Parent.Humanoid not hit.Humanoid hit is a part that touched the given instance and script couldnt find Humanoid inside the part that touched because there wasnt any