local Players = game:GetService("Players") part.Touched:Connect(function(otherPart) local player = Players:GetPlayerFromCharacter(otherPart.Parent) if player then print(player.Name .. " scored") end end)