As the title says, is there a certain function or event I could use to check if a player had touched a certain part of a model?
Okay from what I understood from the problem, here is the solution
1 | --This is a simple code which check whether a player touched a part or not. |
2 | local Part = Instance.new( "Part" , workspace) |
3 | Part.Touched:Connect( function (hit) -- .Touched is the answer. |
4 | print (hit + "touched the part" ) |
5 | end ) |