How to know which player triggered a proximity prompt

Hi all

What do you want to achieve? I want to know how can I get the player who had triggered a proximity prompt as I have to fire a remote event client side and I ant to know who the client is.

Thank you

1 Like

.Triggered returns the player who triggered it as a parameter.

proximityPrompt.Triggered:Connect(function(player: Player)
    -- do stuff here
end)