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.
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.
The first argument of a proximity prompt trigger event is the player. An example can be seen below.
ProximityPrompt.Triggered:Connect(function(playerWhoActivated)
-- playerWhoActivated can be changed to any other name but it'll always be the player
-- code here
end)