#ProximityPrompts

1 messages · Page 1 of 1 (latest)

fair girder
#

Is there any event that allows me to do certain actions when the player is still holding on the proximity prompt?

proud perch
#

there a connection named PromptButtonholdbegan

proud wraithBOT
#

studio** You are now Level 1! **studio

proud perch
#

it only fires thought when the hold duration isnt equal to 0

north zealot
#

@fair girder ^

solid rivet
#

If you wanted to run a function or something for all proximityprompts, you could use proximitypromptservice instead

#

Instead of lua prompt.PromptButtonHoldBegan:Connect(function(player) --blablabla end)
You could do ```lua
ProximityPromptService.PromptButtonHoldBegan:Connect(function(Prompt, player)
--blablabla
end)

fair girder
#

alr ty