#Proximity prompt not working

1 messages · Page 1 of 1 (latest)

severe cliff
#

i wanted to make a tween that open a trapdoor (hatch) but first i wanted to test how the proximityprompt worked and it seems to not work

lone shell
#

Try to use this:
local hatch = script.Parent
local prompt = hatch:WaitForChild("ProximityPrompt")

prompt.Triggered:Connect(function()
print("Prompt Activated by")
end)

severe finch
hoary ruin
#

just remove the “if prompt then” part then

#

so its just the triggered function