ProximityPrompt Breaks when deleting prompt

ProximityPrompt will continue rendering prompts that no longer exist. This is very easy to reproduce!

Step 1: Create a bunch of ProximityPrompts inside a part
Step 2: Create a LocalScript (this bug does not happen if you use a regular Script)
Step 3: Make the localscript delete all prompts when any prompt is interacted with

for i, v in pairs(workspace.Part:GetChildren()) do
	if v:IsA("ProximityPrompt") then
		v.Triggered:connect(function()
			workspace.Part:ClearAllChildren()
		end)
	end
end

Whatever option you choose will disappear, but the other ones remain. They will also no longer respect the MaxActivationDistance. Here is a video of the issue in action. This will reproduce on any platform.

6 Likes

Thank you for the report, and for the very clear, easy to reproduce description! We will address this issue before the feature is out of beta.

10 Likes