I simply want to know if it's possible to detect if the humanoid is touching a certain surface EX: top/front surface.


Humanoid.Touched;connect(function(hit)
	--In here you detect what surface is touched
end)

If it's possible can you please point me in the that direction?

5 comments

0

What do you mean by Surface? (Smooth, Hinge, etc. OR Material, etc?)

0

i mean if the humanoid touches the top surface of the part, i want the script to print "Top" in the output.

0

Raycasting.

0

@incapaxx i understand that you can use raycasting to detect what surface the ray hits, but I'm asking if you can detect the surface when the humanoid's limbs touch it.