0

# How to Enable ProximityPrompt With Script?

Edited 1 month ago
local Trigger = game.Workspace.Exitdoor.ProximityPrompt
Trigger:Enabled(true)


I Tried That But It Didnt Worked

1

https://developer.roblox.com/en-us/api-reference/class/ProximityPrompt

Hello, I've read a bit here and the problem seems that on line 2 you put : instead of .

local Trigger = game.Workspace.Exitdoor.ProximityPrompt
Trigger.Enabled = true -- Making it true you can also disable it by putting false here.

local Trigger = game.Workspace.Exitdoor.ProximityPrompt