Most simplest (looking) problem based on hit detector

Please, for the love of god, I really hope I’m not stupid on this problem.
I don’t know if I’m doing something wrong or not, but I am almost sure I aren’t;

script.Parent.Touched:Connect(function(hit)
	print(hit)
end)

This is in a tool’s handle & handle’s collision is false. Nothing gets outputted when the handle is touched.

2 Likes

Is the handle’s “CanTouch” property set to false?

1 Like

image
Nope.

1 Like

What type of script is it and where is it located?

1 Like

The script is a standard server-side script. It is located within the tool’s handle.

I should probably also mention I removed the tool’s “TouchInterest” instance, could this be the problem? I am attempting to create a system where you can only have one of a tool.

That is most likely the problem as a TouchInterest is created whenever a Touched or TouchEnded connection is made. Try adding that back.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.