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?
COMMUNITY QUESTION
What would I use to check if something inside a model was touched?
1 answer
Okay from what I understood from the problem, here is the solution
--This is a simple code which check whether a player touched a part or not.
local Part = Instance.new("Part", workspace)
Part.Touched:Connect(function(hit) -- .Touched is the answer.
print(hit + "touched the part")
end)
1 comment
0
Ok thank you
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Have you ever heard of .Touched?
Can you explain in detail please?