-- Homework 31, problem 3 -- solution. -- -- Assume `part` is already defined elsewhere. part.Touched:Connect(function(other) print(other.Name .. " touched the part") end)