Strange operation of the touch

If Tangent is in a different model (shown in 1 picture) then it works. And if in this (shown in picture 2) it doesn’t work


Screenshot_946

function onTouched(hit)
	if hit.Name == "Tangent" then
		if ManualValue.Value == false then
			Functions.danger()
		end
	end
end
Reader.Touched:connect(onTouched)
1 Like

I’m pretty confused on what is happening, could you give more detail?

If the desk that activates the touch is located deeper, then it works. Otherwise it doesn’t work.

Sorry if I don’t speak well, I’m using a translator.

Screenshot_947
Screenshot_948

On the 1st screenshot Tangent passes the hit.name check, but on the second it does not.

Maybe it’s the manualvalue part, try removing it and seeing if the script works

still doesn’t work. ohhhhhhhhhhhhhhhhhh

Any errors?

textlimittextlimittextlimit

no errors hgj dfgfdgdfghyghjghjgjgjgjhghj

Wait what is the reader part? Where is it located?


Why are there 2 tangents?

textlimittextlimit

one. I just showed where it works and where it doesn’t.

There are two according to these pictures

1 Like

I moved them dfggdfgdfgdfgdfgdfgdfgdfgdfgdf

Ohhh try adding a print in the touch event that prints the name of every part that touches the reader and tell me what happens and if the tangent touches it.