How to trigger a Proximity Prompt without the player's input?

Why don’t you just call the function connected to the proximity prompt directly?

2 Likes

ig people do this most of the time:

script.Parent.ProximityPrompt.Triggered:Connect(function(player)
	print("Prompt triggered")
end)

rather than this:

function OnTriggered(player : Player) : ()
	print("Prompt triggered")
end

script.Parent.ProximityPrompt.Triggered:Connect(OnTriggered)

so basically you walked into this topic without ANY knowledge of a proximity prompt or even just knowing that this thing exists and offered a suggestion that involves REMAKING SOMETHING THAT ALREADY EXISTS

dude there needs to be some way to report people who do this sort of thing

I’ll try that later when I can. Currently working on something else.