Studio Basics

Roblox ProximityPrompt Not Showing? 8 Fixes to Try

Why a Roblox ProximityPrompt won't appear, from a wrong parent and line of sight to Exclusivity, Custom style, and scripts that clear PlayerGui, with fixes.

Roblox ProximityPrompt Not Showing? 8 Fixes to Try
On this page
  1. How Roblox decides whether to show a prompt
  2. 1. Put the prompt under a part, attachment, or Model with a PrimaryPart
  3. 2. Check Enabled on the prompt and on ProximityPromptService
  4. 3. Turn off RequiresLineOfSight to test
  5. 4. Increase MaxActivationDistance
  6. 5. Check Exclusivity when prompts are close together
  7. 6. Make sure Style isn’t set to Custom without your own UI
  8. 7. Look for scripts that clear PlayerGui
  9. 8. Use a quick diagnostic script
  10. The prompt shows, but pressing E does nothing
  11. If it still doesn’t work
  12. Related guides
  13. Sources

You put a ProximityPrompt on a door, a chest, or an NPC, pressed Play, walked right up to it, and got nothing. A ProximityPrompt not showing almost always comes down to one of a few properties, its parent, or a script that hides it without telling you. This guide walks through the likely causes in order, starting with the most common.

How Roblox decides whether to show a prompt

A prompt only appears when every one of these checks passes for that player:

flowchart TD
    A["Prompt is in Workspace"] --> B["Parent is a part or attachment"]
    B --> C["Enabled is true"]
    C --> D["Character is within range"]
    D --> E["Camera can see the parent"]
    E --> F["Exclusivity allows it"]
    F --> G["Prompt appears"]

If any step fails, the prompt stays hidden and Roblox shows no error in the Output window. That is why this problem feels so confusing. The fixes below follow the same order.

1. Put the prompt under a part, attachment, or Model with a PrimaryPart

According to the ProximityPrompt API reference, a prompt works when its parent is a BasePart, an Attachment, or a Model that has a PrimaryPart set, and that parent is in the Workspace. The prompt uses its parent’s position to know where to appear.

Common mistakes:

  • The prompt is inside a Model with no PrimaryPart. Select the model, then set PrimaryPart in the Properties window, or move the prompt into one of the model’s parts.
  • The prompt is inside a Folder, a Script, or a ScreenGui. These have no position, so move the prompt into a part.
  • The prompt’s part lives in ServerStorage or ReplicatedStorage. A prompt only works in the Workspace, so it shows up only after a script clones or moves it there.

If you want the prompt at a specific spot on a big part, such as a door handle, insert an Attachment into the part, move the attachment where you want it, and parent the prompt to the attachment.

2. Check Enabled on the prompt and on ProximityPromptService

Select the prompt and make sure Enabled is checked. Then search your scripts for Enabled = false. A cooldown or “already used” script that turns the prompt off and never turns it back on is a classic reason a prompt “stops appearing after using it once.”

There is also a global switch. ProximityPromptService.Enabled controls every prompt in the experience, and when it is false, no prompts show at all. ProximityPromptService.MaxPromptsVisible caps how many prompts a player can see at once. If a script set either of these, for example during a cutscene, and never reset it, every prompt in your game disappears together.

3. Turn off RequiresLineOfSight to test

This is the fix DevForum users suggest most often. When RequiresLineOfSight is true, the prompt hides whenever something blocks the path between the camera and the prompt’s parent. Roblox’s proximity prompt guide lists true as the default. The parent part or model itself is ignored in that check, but everything else counts: walls, invisible parts, trigger zones, accessories, or other parts of the same NPC rig.

Uncheck RequiresLineOfSight and play again. If the prompt now appears, something is in the way. You can leave the property off, or find the blocking part. Invisible parts with Transparency set to 1 are easy to miss, so look for those first.

Because the check starts at the camera, a prompt can also hide or flicker when you look at it from certain angles. That matches DevForum reports of prompts that “don’t work from close up or certain angles.”

4. Increase MaxActivationDistance

MaxActivationDistance is the maximum distance between the player’s character and the prompt for it to appear. If the prompt sits in the middle of a large part, on a tall object, or behind a counter, the character may never get close enough.

Raise the value in the Properties window (try doubling it) and test again. You can also move the prompt closer to where players stand by parenting it to an Attachment, as described in fix 1.

If you want players to notice a prompt from farther away, set MaxIndicatorDistance. That shows a small indicator before the full prompt appears. It defaults to 0, which means no indicator.

5. Check Exclusivity when prompts are close together

When several prompts are in range, Exclusivity decides which ones show:

Exclusivity valueWhat it does
OnePerButtonShows one prompt per key. If nearby prompts share a key (like E), only one is visible, usually the one the camera faces.
OneGloballyShows only one prompt, no matter which keys they use.
AlwaysShowThis prompt always shows when it’s in range and visible.

If two prompts sit next to each other and only one ever appears, set the hidden one’s Exclusivity to AlwaysShow, or give it a different KeyboardKeyCode and GamepadKeyCode.

6. Make sure Style isn’t set to Custom without your own UI

Setting Style to Custom turns off Roblox’s default prompt UI completely. The idea is that you draw your own UI from a LocalScript that listens to PromptShown and PromptHidden. If you switched to Custom (or copied a prompt from a model that used it) and have no custom UI script, the prompt is “working” but invisible. Set Style back to Default to confirm.

7. Look for scripts that clear PlayerGui

Roblox draws default prompts with a ScreenGui that the engine inserts into each player’s PlayerGui. One DevForum thread traced a missing prompt to the developer’s own cleanup script, which deleted any GUI in PlayerGui it didn’t recognize, including the engine’s prompt GUI.

If you have code that loops through PlayerGui:GetChildren() and destroys things, add an exception or only remove GUIs you created yourself.

8. Use a quick diagnostic script

If you still can’t tell what’s going on, let Roblox tell you when prompts appear and disappear. Put this in a LocalScript inside StarterPlayer › StarterPlayerScripts:

local ProximityPromptService = game:GetService("ProximityPromptService")

ProximityPromptService.PromptShown:Connect(function(prompt, inputType)
	print("Shown:", prompt:GetFullName(), inputType)
end)

ProximityPromptService.PromptHidden:Connect(function(prompt)
	print("Hidden:", prompt:GetFullName())
end)

What each part does:

  • game:GetService("ProximityPromptService") gets the service that manages every prompt in the experience.
  • PromptShown fires on the client when any prompt becomes visible. It passes the prompt and the input type (keyboard, gamepad, or touch).
  • PromptHidden fires when a prompt is hidden again.
  • prompt:GetFullName() prints the full path, so you can see exactly which prompt fired.

Walk up to your object while playtesting and watch the Output window. If you see “Shown” but nothing on screen, suspect a Custom style (fix 6) or a GUI cleanup script (fix 7). If nothing prints at all, the problem is earlier: parent, Enabled, distance, line of sight, or Exclusivity.

To check every prompt in your place at once, paste this into the Command Bar (View › Command Bar) while not playtesting:

for _, prompt in workspace:GetDescendants() do
	if prompt:IsA("ProximityPrompt") then
		local parent = prompt.Parent
		local parentOk = parent:IsA("BasePart") or parent:IsA("Attachment")
			or (parent:IsA("Model") and parent.PrimaryPart ~= nil)
		print(prompt:GetFullName(), "| Enabled:", prompt.Enabled,
			"| Parent OK:", parentOk, "| Range:", prompt.MaxActivationDistance,
			"| Line of sight:", prompt.RequiresLineOfSight, "| Style:", prompt.Style)
	end
end

This loops over everything in the Workspace, picks out the ProximityPrompts, and prints the properties covered above. Any line with Parent OK: false or Enabled: false points straight at the problem. Test both snippets in your own place in Studio. They only read and print values and don’t change anything.

The prompt shows, but pressing E does nothing

That’s a different problem: the prompt works, but no script responds. A minimal server-side handler looks like this. Put it in a Script inside the same part as the prompt:

local prompt = script.Parent:WaitForChild("ProximityPrompt")

prompt.Triggered:Connect(function(player)
	print(player.Name, "used the prompt")
end)

Triggered fires when the player presses the key, or once they finish holding it if HoldDuration is above 0. It passes the player who used the prompt. If the print never shows up, check that the script is a regular Script (LocalScripts don’t run inside Workspace parts), that the prompt’s name matches, and that you’re connecting to the right prompt. If you see an “Infinite yield possible” warning for that WaitForChild, see our guide on fixing the Infinite yield possible warning.

If it still doesn’t work

  • Test in a fresh baseplate: insert a Part, add a ProximityPrompt with default settings, and press Play. If that works, compare its properties with your broken prompt one by one.
  • Check whether the prompt is enabled in Studio but turned off by a script during play. Select it in the Explorer while playtesting to see its live values.
  • If your game builds prompts from a script, confirm the script runs and parents the prompt into the Workspace.

Once the prompt appears, connect it to your game. If it’s a shop prompt, our guide to game passes vs developer products explains which purchase type to use.

Sources

Frequently asked questions

Why is my ProximityPrompt not showing in Roblox?

The usual causes are a parent the prompt can't use, something blocking the camera's view while RequiresLineOfSight is on, a MaxActivationDistance that is too small, or Enabled set to false. Exclusivity, a Custom style with no UI, and scripts that delete PlayerGui contents can also hide it.

Can I put a ProximityPrompt inside a Model?

Yes, but the Model needs a PrimaryPart set. Without one the prompt has no position to show at. Parenting the prompt to a BasePart or an Attachment avoids the problem.

What does RequiresLineOfSight do on a ProximityPrompt?

When it is true, the prompt is hidden if anything blocks the path between the camera and the prompt's parent. The prompt's own parent part or model is ignored in that check. Roblox's guide lists true as the default.

Why does only one of my ProximityPrompts show when several are close together?

That is Exclusivity at work. With OnePerButton, prompts that share a key show one at a time, and OneGlobally shows just one prompt overall. Set Exclusivity to AlwaysShow or give each prompt a different key.

My ProximityPrompt shows but nothing happens when I press E. Why?

The prompt is working, so check your script. Make sure a Script (not a LocalScript in Workspace) connects to the prompt's Triggered event, and that it points to the right prompt.

Related guides