vts3g
(ne_sabina)
December 9, 2023, 2:49pm
#1
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
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?
vts3g
(ne_sabina)
December 9, 2023, 2:53pm
#3
If the desk that activates the touch is located deeper, then it works. Otherwise it doesn’t work.
vts3g
(ne_sabina)
December 9, 2023, 2:54pm
#4
Sorry if I don’t speak well, I’m using a translator.
vts3g
(ne_sabina)
December 9, 2023, 2:57pm
#5
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
vts3g
(ne_sabina)
December 9, 2023, 3:01pm
#7
still doesn’t work. ohhhhhhhhhhhhhhhhhh
vts3g
(ne_sabina)
December 9, 2023, 3:07pm
#9
no errors hgj dfgfdgdfghyghjghjgjgjgjhghj
Wait what is the reader part? Where is it located?
Why are there 2 tangents?
vts3g
(ne_sabina)
December 9, 2023, 3:20pm
#13
one. I just showed where it works and where it doesn’t.
There are two according to these pictures
1 Like
vts3g
(ne_sabina)
December 9, 2023, 5:19pm
#15
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.