What is the event called when a player touches a part?

I cannot think what this would be, other that Touched, which isn’t it. Any idea?

1 Like

Examples of use included at the link

Humanoids have a custom version of the Touched event that fires if any limb of the humanoid touches another part. You get this event from the player’s humanoid to easily detect when the player touches another part.

What would I call this event in a script?

1 Like

I’m not too sure what you mean by that.

If you’re asking how to get the event, you can use the following sample code:

-- In a Script inside StarterCharacterScripts
local character = script.Parent
local humanoid = character:WaitForChild('Humanoid')

humanoid.Touched:Connect(function(touched,limb)
	print(character.Name.."'s "..limb.Name.." touched the part "..touched:GetFullName())
end)
3 Likes

This is what I was looking for, thanks!

1 Like