luke
1
Hello Cookie Tech!
This is my first time making a Proximity Prompt and I have a error,
The model looks like this

(I thought that is why it was making an error)
The proximity prompts properties
The proximity prompts script:
local ProximityPrompt = script.Parent
local Door = script.Parent.Parent
ProximityPrompt.Triggered:Connect(function()
if ProximityPrompt.ActionText == "Open door." then
Door.Transparency = .5
Door.CanCollide = false
ProximityPrompt.ActionText = "Close door."
else
Door.Transparency = 0
Door.CanCollide = true
ProximityPrompt.ActionText = "Open Door."
end
end)
You need to put the proximity prompt into a part or a Attachment. It will not work unlike ClickDetectors.
system
Closed
3
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.