So this is my first time really touching the Proximity Prompts and I can’t seem to get a local script to work for the Proximity Prompt. It works perfectly fine using a server script but when I switch to local scripts it doesn’t error or anything. It simply doesn’t work.
local bankgui = require(game.ReplicatedStorage.Source.Controllers.PlayerBankPanel)
script.Parent.Triggered:Connect(function()
bankgui:OpenGui()
end)
That’s all I have code-wise, so I don’t know what’s happening. I’ve tried to add a print to see if it even triggers and it doesn’t.
It works just fine using local scripts, some events like PromptHidden and PromptShown only works with local scripts. Be sure the local script is in the right location.