Proximity Prompt Trigger won't fire

I have been fighting with the game to make a proximity prompt just send a message in the output, but nothing happens. No errors, message, nothing. And yes, this will have more functionality later on, but all I’m worried about right now is just getting the prompt to work. Also yes, I have tried both with and without ProximityPromptService, and even ClickDetector isn’t working.

Script:

local case = workspace.KeyCase
local character = game:GetService("Players").LocalPlayer.Character
local promptservice = game:GetService("ProximityPromptService")

promptservice.PromptTriggered:Connect(function()
	print("Triggered")
end)

Hierarchy:
image

You’re suppose to do that using a regular script as local scripts can’t function if it’s not in StarterScripts

1 Like

Oh, I had no idea, thank you so much!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.