Touched

Event of: Part
Tags:  instance

Occurs when an object bumps into the part.

Parameters
Name Type Description
Dynamic
Example
local part = script.Parent

part.Touched:connect(function(hit)
    print('we have hit ' .. hit.name)
end)