How to find the player that triggered proximity prompt?

So I want to find out how to find the player that triggered a proximity prompt.

4 Likes
ProximityPrompt.Triggered:Connect(function(player)
    print("The player: " .. player)
end)
19 Likes
local proximityPrompt = script.Parent
proximityPrompt.Triggered:Connect(function(player)
	print("The player who triggered is", player.Name)
end)
6 Likes

characters typed here placed in wrong post for some reason

3 Likes