local workspace = game.Workspace
workspace.DescendantAdded:Connect(function(newDescendant)
local descendantName = newDescendant.Name
print(descendantName)
end)
The DescendantAdded event fires whenever an instance receives a new instance, in the above script workspace is the instance being inspected, when it receives a new instance the name of the new instance is printed to the console.