How can I find the player who activates a proximity prompt?

Dose anyone know a function that finds the player who activated a proximity prompt?

I’m looking though the API but I don’t understand it that well.

1 Like

The first argument of a proximity prompt trigger event is the player. An example can be seen below.

    -- playerWhoActivated can be changed to any other name but it'll always be the player
    -- code here
1 Like